[INFO] cloning repository https://github.com/zoldseges/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zoldseges/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoldseges%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoldseges%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ed0323be493021f44ad8d1a324e594e9ca87bb2 [INFO] building zoldseges/aoc2021 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoldseges%2Faoc2021" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zoldseges/aoc2021 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zoldseges/aoc2021 [INFO] finished tweaking git repo https://github.com/zoldseges/aoc2021 [INFO] tweaked toml for git repo https://github.com/zoldseges/aoc2021 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zoldseges/aoc2021 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b188554d5a2d537de2f9dd233421cdfe0192086d64b1f00744c0024706905682 [INFO] running `Command { std: "docker" "start" "-a" "b188554d5a2d537de2f9dd233421cdfe0192086d64b1f00744c0024706905682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b188554d5a2d537de2f9dd233421cdfe0192086d64b1f00744c0024706905682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b188554d5a2d537de2f9dd233421cdfe0192086d64b1f00744c0024706905682", kill_on_drop: false }` [INFO] [stdout] b188554d5a2d537de2f9dd233421cdfe0192086d64b1f00744c0024706905682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89df478203bd793d228139c211c8eddfc785d34f86b1b69c70ab9ed20bdaf2c8 [INFO] running `Command { std: "docker" "start" "-a" "89df478203bd793d228139c211c8eddfc785d34f86b1b69c70ab9ed20bdaf2c8", kill_on_drop: false }` [INFO] [stderr] Compiling aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `base` is never read [INFO] [stdout] --> src/puzzles/day14/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut base: String = String::new(); [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: value assigned to `from` is never read [INFO] [stdout] --> src/puzzles/day14/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut from = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzles/day10/mod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Opening(char), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 45 | Opening(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/puzzles/day14/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/puzzles/day14/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Input { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | fn new(input: &str) -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/puzzles/day10/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | return Some(SOLUTIONS.0.to_string()); [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/puzzles/day10/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | return Some(SOLUTIONS.1.to_string()); [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "89df478203bd793d228139c211c8eddfc785d34f86b1b69c70ab9ed20bdaf2c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89df478203bd793d228139c211c8eddfc785d34f86b1b69c70ab9ed20bdaf2c8", kill_on_drop: false }` [INFO] [stdout] 89df478203bd793d228139c211c8eddfc785d34f86b1b69c70ab9ed20bdaf2c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84a2ca9042080b8a4330ca837762ae35be62c11e57655de1a8b19450c6cc7cf7 [INFO] running `Command { std: "docker" "start" "-a" "84a2ca9042080b8a4330ca837762ae35be62c11e57655de1a8b19450c6cc7cf7", kill_on_drop: false }` [INFO] [stdout] warning: value assigned to `base` is never read [INFO] [stdout] --> src/puzzles/day14/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut base: String = String::new(); [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: value assigned to `from` is never read [INFO] [stdout] --> src/puzzles/day14/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut from = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzles/day10/mod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Opening(char), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 45 | Opening(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/puzzles/day14/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/puzzles/day14/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Input { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | fn new(input: &str) -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/puzzles/day10/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | return Some(SOLUTIONS.0.to_string()); [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/puzzles/day10/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | return Some(SOLUTIONS.1.to_string()); [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] [INFO] [stdout] [INFO] [stderr] Compiling aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `base` is never read [INFO] [stdout] --> src/puzzles/day14/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut base: String = String::new(); [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: value assigned to `from` is never read [INFO] [stdout] --> src/puzzles/day14/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut from = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/puzzles/day14/mod.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let input = Input::new(get_input()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzles/day10/mod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Opening(char), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 45 | Opening(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base` and `rules` are never read [INFO] [stdout] --> src/puzzles/day14/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Input { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 16 | base: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | rules: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/puzzles/day10/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | return Some(SOLUTIONS.0.to_string()); [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/puzzles/day10/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | return Some(SOLUTIONS.1.to_string()); [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "84a2ca9042080b8a4330ca837762ae35be62c11e57655de1a8b19450c6cc7cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84a2ca9042080b8a4330ca837762ae35be62c11e57655de1a8b19450c6cc7cf7", kill_on_drop: false }` [INFO] [stdout] 84a2ca9042080b8a4330ca837762ae35be62c11e57655de1a8b19450c6cc7cf7