
Mastodon - @jwarlander@mastodon.nu
- Tweets3.5K
- Following481
- Followers116
- Likes4K

ALT GitHub PR screenshot showing commit titled "Fix semver error." Underneath, a user commented: "CI just caught an accidental breaking change! How good is this 😍" and linked to the CI job: https://github.com/libp2p/rust-libp2p/actions/runs/3374939365/jobs/5601093378#step:8:21 Link to the GitHub PR from the screenshot: https://github.com/libp2p/rust-libp2p/pull/3073#issuecomment-1299582893

ALT GitHub Actions screenshot showing the output of the step titled "Semver Check". The output shows a cargo-semver-checks run result with 19 checks passed, and 1 failed as follows: --- failure struct_missing: pub struct removed or renamed --- Description: A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely. ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove impl: https://github.com/obi1kenobi/cargo-semver-check/tree/v0.12.1/src/queries/struct_missing.ron Failed in: struct libp2p_swarm::ConnectionLimits, previously in file /.../src/connection/pool.rs:1091 struct libp2p_swarm::ConnectionCounters, previously in file /.../src/connection/pool.rs:927

ALT Two pages from the preface of my book, showing a section titled: Overview of the Chapters The full text doesn't fit in Twitter's alt text. The full text can be found on https://tinyurl.com/2ymfx58u This book consists of ten chapters. Here's what to expect from each chapter, and what to look forward to: Chapter 1 — Basics of Rust Concurrency Chapter 2 — Atomics Chapter 3 — Memory Ordering Chapter 4 — Building Our Own Spin Lock Chapter 5 — Building Our Own Channels Chapter 6 — Building Our Own "Arc" Chapter 7 — Understanding the Processor Chapter 8 — Operating System Primitives Chapter 9 — Building Our Own Locks Chapter 10 — Ideas and Inspiration
![rust compiler output: ``` error[E0425]: cannot find function `len` in this scope --> /home/gh-compiler-errors/test.rs:3:13 | 3 | let x = len([1, 2, 3]); | ^^^ not found in this scope | help: use the `.` operator to call the method `len` on `&[{integer}]` | 3 - let x = len([1, 2, 3]); 3 + let x = [1, 2, 3].len(); | ```](https://pbs.twimg.com/media/FeSfz41VQAAfWhq.png?name=small&format=webp)
ALT rust compiler output: ``` error[E0425]: cannot find function `len` in this scope --> /home/gh-compiler-errors/test.rs:3:13 | 3 | let x = len([1, 2, 3]); | ^^^ not found in this scope | help: use the `.` operator to call the method `len` on `&[{integer}]` | 3 - let x = len([1, 2, 3]); 3 + let x = [1, 2, 3].len(); | ```











![rust code: ``` fn main() { let x = len([1, 2, 3]); } ```](https://pbs.twimg.com/media/FeSffy5VQAAVFND.png?name=small&format=webp)









