[INFO] cloning repository https://github.com/gpwclark/learnrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gpwclark/learnrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpwclark%2Flearnrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpwclark%2Flearnrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc02c9b4e669a3865709ba3108457a9e86a8df2b [INFO] checking gpwclark/learnrust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpwclark%2Flearnrust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gpwclark/learnrust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gpwclark/learnrust [INFO] finished tweaking git repo https://github.com/gpwclark/learnrust [INFO] tweaked toml for git repo https://github.com/gpwclark/learnrust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gpwclark/learnrust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded confy v0.3.1 [INFO] [stderr] Downloaded directories v0.10.0 [INFO] [stderr] Downloaded enum-display-derive v0.1.1 [INFO] [stderr] Downloaded libc v0.2.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6de95bb0af4c1a92ddfd7c544e19bb9848e92c04758e6082e06550d6b7df85a0 [INFO] running `Command { std: "docker" "start" "-a" "6de95bb0af4c1a92ddfd7c544e19bb9848e92c04758e6082e06550d6b7df85a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6de95bb0af4c1a92ddfd7c544e19bb9848e92c04758e6082e06550d6b7df85a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6de95bb0af4c1a92ddfd7c544e19bb9848e92c04758e6082e06550d6b7df85a0", kill_on_drop: false }` [INFO] [stdout] 6de95bb0af4c1a92ddfd7c544e19bb9848e92c04758e6082e06550d6b7df85a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aec62377eabcb716c46d571db827b427b77b7056caeb125773151f461b4fd905 [INFO] running `Command { std: "docker" "start" "-a" "aec62377eabcb716c46d571db827b427b77b7056caeb125773151f461b4fd905", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking directories v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking confy v0.3.1 [INFO] [stderr] Checking learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/advent_of_code/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | ... if let Ok(item) = l.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/advent_of_code/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | ... if let Ok(item) = l.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Password` is never constructed [INFO] [stdout] --> src/advent_of_code/mod.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Password { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Password` 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: associated items `new`, `make_password`, `is_valid_new`, and `is_valid` are never used [INFO] [stdout] --> src/advent_of_code/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Password { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(line: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn make_password(line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn is_valid_new(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_puzzle_1` is never used [INFO] [stdout] --> src/advent_of_code/mod.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn solve_puzzle_1() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_puzzle_2` is never used [INFO] [stdout] --> src/advent_of_code/mod.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn solve_puzzle_2() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/advent_of_code/mod.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 241 | impl CircArr { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 242 | pub fn new(arr: Vec) -> CircArr { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn get(&self, idx: usize) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_puzzle_1` is never used [INFO] [stdout] --> src/advent_of_code/mod.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn solve_puzzle_1() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_puzzle_2` is never used [INFO] [stdout] --> src/advent_of_code/mod.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn solve_puzzle_2() {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bar` and `tup` are never read [INFO] [stdout] --> src/data_structures/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct MyStruct { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | foo: String, [INFO] [stdout] 5 | bar: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | tup: (u32, u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bar` and `tup` are never read [INFO] [stdout] --> src/data_structures/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct MyStruct { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | foo: String, [INFO] [stdout] 5 | bar: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | tup: (u32, u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyStruct` 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.10s [INFO] running `Command { std: "docker" "inspect" "aec62377eabcb716c46d571db827b427b77b7056caeb125773151f461b4fd905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec62377eabcb716c46d571db827b427b77b7056caeb125773151f461b4fd905", kill_on_drop: false }` [INFO] [stdout] aec62377eabcb716c46d571db827b427b77b7056caeb125773151f461b4fd905 [INFO] checking gpwclark/learnrust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpwclark%2Flearnrust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gpwclark/learnrust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gpwclark/learnrust [INFO] finished tweaking git repo https://github.com/gpwclark/learnrust [INFO] tweaked toml for git repo https://github.com/gpwclark/learnrust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gpwclark/learnrust 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9578d27e5ccc1d0e72ef7123ea46bc0939c686e0204cbbf2fb1a9e143fae202d [INFO] running `Command { std: "docker" "start" "-a" "9578d27e5ccc1d0e72ef7123ea46bc0939c686e0204cbbf2fb1a9e143fae202d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9578d27e5ccc1d0e72ef7123ea46bc0939c686e0204cbbf2fb1a9e143fae202d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9578d27e5ccc1d0e72ef7123ea46bc0939c686e0204cbbf2fb1a9e143fae202d", kill_on_drop: false }` [INFO] [stdout] 9578d27e5ccc1d0e72ef7123ea46bc0939c686e0204cbbf2fb1a9e143fae202d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c418a1bc608768d1d7498b52bf4e3e484b4384d627da0bff02a441809373b98 [INFO] running `Command { std: "docker" "start" "-a" "2c418a1bc608768d1d7498b52bf4e3e484b4384d627da0bff02a441809373b98", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking directories v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking confy v0.3.1 [INFO] [stderr] Checking learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/advent_of_code/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | ... if let Ok(item) = l.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Password` is never constructed [INFO] [stdout] --> src/advent_of_code/mod.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Password { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Password` 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: associated items `new`, `make_password`, `is_valid_new`, and `is_valid` are never used [INFO] [stdout] --> src/advent_of_code/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Password { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(line: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn make_password(line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn is_valid_new(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_puzzle_1` is never used [INFO] [stdout] --> src/advent_of_code/mod.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn solve_puzzle_1() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_puzzle_2` is never used [INFO] [stdout] --> src/advent_of_code/mod.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn solve_puzzle_2() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/advent_of_code/mod.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 241 | impl CircArr { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 242 | pub fn new(arr: Vec) -> CircArr { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn get(&self, idx: usize) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_puzzle_1` is never used [INFO] [stdout] --> src/advent_of_code/mod.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn solve_puzzle_1() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_puzzle_2` is never used [INFO] [stdout] --> src/advent_of_code/mod.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn solve_puzzle_2() {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bar` and `tup` are never read [INFO] [stdout] --> src/data_structures/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct MyStruct { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | foo: String, [INFO] [stdout] 5 | bar: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | tup: (u32, u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/advent_of_code/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 110 | fn read_lines

(filename: P) -> std::io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Ok(std::io::BufReader::new(file).lines()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learn` (bin "learn") due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/advent_of_code/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | ... if let Ok(item) = l.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bar` and `tup` are never read [INFO] [stdout] --> src/data_structures/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct MyStruct { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | foo: String, [INFO] [stdout] 5 | bar: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | tup: (u32, u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyStruct` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/advent_of_code/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 110 | fn read_lines

(filename: P) -> std::io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Ok(std::io::BufReader::new(file).lines()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learn` (bin "learn" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c418a1bc608768d1d7498b52bf4e3e484b4384d627da0bff02a441809373b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c418a1bc608768d1d7498b52bf4e3e484b4384d627da0bff02a441809373b98", kill_on_drop: false }` [INFO] [stdout] 2c418a1bc608768d1d7498b52bf4e3e484b4384d627da0bff02a441809373b98