[INFO] cloning repository https://github.com/sdobz/rust-follow-along [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sdobz/rust-follow-along" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdobz%2Frust-follow-along", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdobz%2Frust-follow-along'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15471338aa916f44df49638cd48fa6ff21536e5e [INFO] building sdobz/rust-follow-along against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdobz%2Frust-follow-along" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sdobz/rust-follow-along on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sdobz/rust-follow-along [INFO] finished tweaking git repo https://github.com/sdobz/rust-follow-along [INFO] tweaked toml for git repo https://github.com/sdobz/rust-follow-along written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sdobz/rust-follow-along already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/ch19_advancedfeatures/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfe163985812d49d6f993e5bdf3765e9c5a7c7749a496565a2fdb5f59c52636a [INFO] running `Command { std: "docker" "start" "-a" "cfe163985812d49d6f993e5bdf3765e9c5a7c7749a496565a2fdb5f59c52636a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfe163985812d49d6f993e5bdf3765e9c5a7c7749a496565a2fdb5f59c52636a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe163985812d49d6f993e5bdf3765e9c5a7c7749a496565a2fdb5f59c52636a", kill_on_drop: false }` [INFO] [stdout] cfe163985812d49d6f993e5bdf3765e9c5a7c7749a496565a2fdb5f59c52636a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89525a56c42f269d1b017be6e1dd9064aa940e37cc46f57b3e063edf63e7e4e0 [INFO] running `Command { std: "docker" "start" "-a" "89525a56c42f269d1b017be6e1dd9064aa940e37cc46f57b3e063edf63e7e4e0", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/ch19_advancedfeatures/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling ch07_modules v0.1.0 (/opt/rustwide/workdir/ch07_modules) [INFO] [stderr] Compiling ch17_objectoriented v0.1.0 (/opt/rustwide/workdir/ch17_objectoriented) [INFO] [stderr] Compiling ch20_webserver v0.1.0 (/opt/rustwide/workdir/ch20_webserver) [INFO] [stderr] Compiling ch13b_minigrep2 v0.1.0 (/opt/rustwide/workdir/ch13b_minigrep2) [INFO] [stderr] Compiling ch12_minigrep v0.1.0 (/opt/rustwide/workdir/ch12_minigrep) [INFO] [stderr] Compiling ch15_smartpointers v0.1.0 (/opt/rustwide/workdir/ch15_smartpointers) [INFO] [stderr] Compiling ch18_patterns v0.1.0 (/opt/rustwide/workdir/ch18_patterns) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18_patterns/src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | 'a' ... 'j' => println!("Early ASCII letter"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18_patterns/src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | 'k' ... 'z' => println!("Late ASCII letter"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18_patterns/src/main.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | HelloMessage::Hello { id: id_variable @ 3...7 } => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18_patterns/src/main.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | HelloMessage::Hello { id: 10...12 } => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `setting_value` is never read [INFO] [stdout] --> ch18_patterns/src/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | setting_value = new_setting_value; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Messenger` is never used [INFO] [stdout] --> ch15_smartpointers/src/refcell.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Messenger { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LimitTracker` is never constructed [INFO] [stdout] --> ch15_smartpointers/src/refcell.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LimitTracker<'a, T: 'a + Messenger> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_value` are never used [INFO] [stdout] --> ch15_smartpointers/src/refcell.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T> [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T: Messenger, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn new(messenger: &T, max: usize) -> LimitTracker { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn set_value(&mut self, value: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> ch15_smartpointers/src/refcell.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | Cons(Rc>, Rc), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RcRefCellList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 45 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ch16_concurrency v0.1.0 (/opt/rustwide/workdir/ch16_concurrency) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch15_smartpointers/src/refcell.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | Cons(i32, RefCell>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TailList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> ch15_smartpointers/src/refcount.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RcList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 5 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> ch15_smartpointers/src/weakrc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | parent: RefCell>, [INFO] [stdout] 8 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y` and `z` are never read [INFO] [stdout] --> ch18_patterns/src/main.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 255 | struct Point3D { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 256 | x: i32, [INFO] [stdout] 257 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 258 | z: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `Write` are never constructed [INFO] [stdout] --> ch18_patterns/src/main.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 261 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 262 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 264 | Write(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rgb` is never constructed [INFO] [stdout] --> ch18_patterns/src/main.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 268 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 269 | Rgb(i32, i32, i32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> ch17_objectoriented/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ch03a_variables v0.1.0 (/opt/rustwide/workdir/ch03a_variables) [INFO] [stderr] Compiling ch11_tests v0.1.0 (/opt/rustwide/workdir/ch11_tests) [INFO] [stdout] warning: constant `MAX_POINTS` is never used [INFO] [stdout] --> ch03a_variables/src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MAX_POINTS: u128 = 200_000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ch19_advacedfeatures v0.1.0 (/opt/rustwide/workdir/ch19_advancedfeatures) [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> ch11_tests/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Guess { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling ch10_generics v0.1.0 (/opt/rustwide/workdir/ch10_generics) [INFO] [stderr] Compiling ch08_collections v0.1.0 (/opt/rustwide/workdir/ch08_collections) [INFO] [stderr] Compiling ch04a_ownership v0.1.0 (/opt/rustwide/workdir/ch04a_ownership) [INFO] [stderr] Compiling ch04b_slices v0.1.0 (/opt/rustwide/workdir/ch04b_slices) [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> ch19_advancedfeatures/src/lifetimes.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Context<'s>(&'s str); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> ch19_advancedfeatures/src/lifetimes.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Parser<'c, 's: 'c> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse` is never used [INFO] [stdout] --> ch19_advancedfeatures/src/lifetimes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'c, 's> Parser<'c, 's> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 9 | fn parse(&self) -> Result<(), &'s str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_context` is never used [INFO] [stdout] --> ch19_advancedfeatures/src/lifetimes.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_context(context: Context) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `diameter` is never read [INFO] [stdout] --> ch19_advancedfeatures/src/lifetimes.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Ball<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 21 | diameter: &'a i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StrWrap` is never constructed [INFO] [stdout] --> ch19_advancedfeatures/src/lifetimes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct StrWrap<'a>(&'a str); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> ch19_advancedfeatures/src/lifetimes.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn foo<'a>(string: &'a str) -> StrWrap<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo_anon_lifetime` is never used [INFO] [stdout] --> ch19_advancedfeatures/src/lifetimes.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn foo_anon_lifetime(string: &str) -> StrWrap<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> ch19_advancedfeatures/src/unsafe_demo.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | println!("Counter is now: {}", COUNTER); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> ch10_generics/src/traits.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read [INFO] [stdout] --> ch10_generics/src/traits.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 51 | pub username: String, [INFO] [stdout] 52 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ch01_getting_started v0.1.0 (/opt/rustwide/workdir/ch01_getting_started) [INFO] [stderr] Compiling ch05_structs v0.1.0 (/opt/rustwide/workdir/ch05_structs) [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb41 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7cc184781caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x7cc184e13cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x7cc185d28e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x7cc184781b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x7cc184783ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x7cc184783e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x7cc1838eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7cc1847847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x7cc18392a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x7cc18391f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x7cc18391f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7cc1839342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x7cc183e84fdc - ::span_bug:: [INFO] [stderr] 13: 0x7cc183f0a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7cc183ef006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7cc183eefefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x7cc182334437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7cc1857d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x7cc1857cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x7cc184e07714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x7cc184e076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x7cc1850953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x7cc185094f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x7cc181e67185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x7cc1856e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x7cc1856e9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x7cc1856e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x7cc18529bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x7cc185d2cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x7cc185d2cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x7cc185d7b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x7cc185d7b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x7cc185d701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x7cc185ddff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x7cc185cf5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x7cc185cf551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x7cc185cf6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x7cc1874d9ac3 - [INFO] [stderr] 38: 0x7cc18756aa04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.4.3/rustc-ice-2025-01-01T02_26_16-213.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `read::fill` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `read::fill` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] Compiling ch06_enums v0.1.0 (/opt/rustwide/workdir/ch06_enums) [INFO] [stderr] Compiling ch09_errors v0.1.0 (/opt/rustwide/workdir/ch09_errors) [INFO] [stderr] Compiling ch13a_functional v0.1.0 (/opt/rustwide/workdir/ch13a_functional) [INFO] [stderr] error: could not compile `rand` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name rand --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "i128_support", "libc", "nightly", "std"))' -C metadata=60a401f9b02a04ef -C extra-filename=-4043e7c3ebd39f67 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern libc=/opt/rustwide/target/debug/deps/liblibc-4b9666d3e12a9382.rmeta --cap-lints allow --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `Alaska` is never constructed [INFO] [stdout] --> ch06_enums/src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum UsState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 29 | Alabama, [INFO] [stdout] 30 | Alaska, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> ch06_enums/src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 35 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shoe` is never constructed [INFO] [stdout] --> ch13a_functional/src/iterators.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Shoe { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Counter` is never constructed [INFO] [stdout] --> ch13a_functional/src/iterators.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Counter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ch13a_functional/src/iterators.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Counter { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 38 | fn new() -> Counter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "89525a56c42f269d1b017be6e1dd9064aa940e37cc46f57b3e063edf63e7e4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89525a56c42f269d1b017be6e1dd9064aa940e37cc46f57b3e063edf63e7e4e0", kill_on_drop: false }` [INFO] [stdout] 89525a56c42f269d1b017be6e1dd9064aa940e37cc46f57b3e063edf63e7e4e0