[INFO] cloning repository https://github.com/dten/AOC2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dten/AOC2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdten%2FAOC2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdten%2FAOC2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37b2c5fd743a5bc57b0a170fc53529afe844cbb0 [INFO] testing dten/AOC2019/37b2c5fd743a5bc57b0a170fc53529afe844cbb0 against master#8c0ec05f7dc9ef185eea9f36c5638e74e43935bf for pr-130285 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdten%2FAOC2019" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dten/AOC2019 on toolchain 8c0ec05f7dc9ef185eea9f36c5638e74e43935bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dten/AOC2019 [INFO] finished tweaking git repo https://github.com/dten/AOC2019 [INFO] tweaked toml for git repo https://github.com/dten/AOC2019 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dten/AOC2019 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" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathfinding v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 731ad268544795efdc48d8c3cf2086d501d9cfbe0847e57e7051e7f9460012fe [INFO] running `Command { std: "docker" "start" "-a" "731ad268544795efdc48d8c3cf2086d501d9cfbe0847e57e7051e7f9460012fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "731ad268544795efdc48d8c3cf2086d501d9cfbe0847e57e7051e7f9460012fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731ad268544795efdc48d8c3cf2086d501d9cfbe0847e57e7051e7f9460012fe", kill_on_drop: false }` [INFO] [stdout] 731ad268544795efdc48d8c3cf2086d501d9cfbe0847e57e7051e7f9460012fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb6da9c0e6d82cafc924c4642b52650ae10bad239d1c6d9d41669f901f0f8e28 [INFO] running `Command { std: "docker" "start" "-a" "fb6da9c0e6d82cafc924c4642b52650ae10bad239d1c6d9d41669f901f0f8e28", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling pathfinding v2.0.0 [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/day6.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct OrbitNode<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 71 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrbitNode` 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: panic message is not a string literal [INFO] [stdout] --> src/day5.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 - _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stdout] 83 + _ => unreachable!("bad opcode {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day5.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 - _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stdout] 98 + _ => unreachable!("bad mode {}", mode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 - _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stdout] 90 + _ => unreachable!("bad opcode {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stdout] 105 + _ => unreachable!("bad mode {}", mode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "fb6da9c0e6d82cafc924c4642b52650ae10bad239d1c6d9d41669f901f0f8e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb6da9c0e6d82cafc924c4642b52650ae10bad239d1c6d9d41669f901f0f8e28", kill_on_drop: false }` [INFO] [stdout] fb6da9c0e6d82cafc924c4642b52650ae10bad239d1c6d9d41669f901f0f8e28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d30b5de23f05375c1f434e04b360dd348329234318a3cf4b662df17d0007b69 [INFO] running `Command { std: "docker" "start" "-a" "9d30b5de23f05375c1f434e04b360dd348329234318a3cf4b662df17d0007b69", kill_on_drop: false }` [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/day6.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct OrbitNode<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 71 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrbitNode` 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: panic message is not a string literal [INFO] [stdout] --> src/day5.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 - _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stdout] 83 + _ => unreachable!("bad opcode {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day5.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 - _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stdout] 98 + _ => unreachable!("bad mode {}", mode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 - _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stdout] 90 + _ => unreachable!("bad opcode {}", opcode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stdout] 105 + _ => unreachable!("bad mode {}", mode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "9d30b5de23f05375c1f434e04b360dd348329234318a3cf4b662df17d0007b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d30b5de23f05375c1f434e04b360dd348329234318a3cf4b662df17d0007b69", kill_on_drop: false }` [INFO] [stdout] 9d30b5de23f05375c1f434e04b360dd348329234318a3cf4b662df17d0007b69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad9bd6a1c9c0cdd810cee8940cd9af1fc1d8cc3f23edd82c8031c95ccebf26fa [INFO] running `Command { std: "docker" "start" "-a" "ad9bd6a1c9c0cdd810cee8940cd9af1fc1d8cc3f23edd82c8031c95ccebf26fa", kill_on_drop: false }` [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/day6.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 70 | struct OrbitNode<'a> { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 71 | name: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OrbitNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day5.rs:83:27 [INFO] [stderr] | [INFO] [stderr] 83 | _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 83 - _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stderr] 83 + _ => unreachable!("bad opcode {}", opcode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day5.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 98 - _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stderr] 98 + _ => unreachable!("bad mode {}", mode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day7.rs:90:27 [INFO] [stderr] | [INFO] [stderr] 90 | _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 - _ => unreachable!(format!("bad opcode {}", opcode)), [INFO] [stderr] 90 + _ => unreachable!("bad opcode {}", opcode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day7.rs:105:27 [INFO] [stderr] | [INFO] [stderr] 105 | _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 105 - _ => unreachable!(format!("bad mode {}", mode)), [INFO] [stderr] 105 + _ => unreachable!("bad mode {}", mode), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `aoc2019` (bin "aoc2019" test) generated 5 warnings (run `cargo fix --bin "aoc2019" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc2019-e7eb740523174475) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test day1::tests::day1a ... ok [INFO] [stdout] test day1::tests::day1b ... ok [INFO] [stdout] test day2::tests::day2a ... ok [INFO] [stdout] test day2::tests::day2 ... ok [INFO] [stdout] test day5::tests::day5 ... ok [INFO] [stdout] test day5::tests::day5_2a ... ok [INFO] [stdout] test day4::tests::day4a ... ok [INFO] [stdout] test day4::tests::day4 ... ok [INFO] [stdout] test day5::tests::day5a ... ok [INFO] [stdout] test day5::tests::day5b ... ok [INFO] [stdout] test day4::tests::day4b ... ok [INFO] [stdout] test day6::tests::day6 ... ok [INFO] [stdout] test day7::tests::day7 ... ok [INFO] [stdout] test day7::tests::day7a ... ok [INFO] [stdout] test day2::tests::day2b ... ok [INFO] [stdout] test day8::tests::day8 ... ok [INFO] [stdout] test day8::tests::day8a ... ok [INFO] [stdout] test day8::tests::day8b ... ok [INFO] [stdout] test day7::tests::day7b ... FAILED [INFO] [stdout] test day5::tests::day5_2b ... ok [INFO] [stdout] test day6::tests::day6a ... ok [INFO] [stdout] test day3::tests::day3a ... ok [INFO] [stdout] test day3::tests::day3b ... ok [INFO] [stdout] test day3::tests::day3 ... ok [INFO] [stdout] test day6::tests::day6b ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- day7::tests::day7b stdout ---- [INFO] [stdout] thread 'day7::tests::day7b' panicked at src/day7.rs:306:13: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 14365052 [INFO] [stdout] right: 139629729 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b5b8fec5dba - std::backtrace_rs::backtrace::libunwind::trace::hb26ad70b37260289 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5b5b8fec5dba - std::backtrace_rs::backtrace::trace_unsynchronized::h2c0187153633e231 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5b5b8fec5dba - std::sys::backtrace::_print_fmt::ha9596eb1af5e3a29 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b5b8fec5dba - ::fmt::h8f2981dcab006960 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b5b8feec3bb - core::fmt::rt::Argument::fmt::h1029a118dbae0125 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5b5b8feec3bb - core::fmt::write::h25ada94a2189c1b9 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5b5b8fec2ab3 - std::io::Write::write_fmt::h6ca394d5de12dd64 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5b5b8fec5c02 - std::sys::backtrace::BacktraceLock::print::hc25a90d456c1b686 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5b5b8fec7535 - std::panicking::default_hook::{{closure}}::h73dd81cb71929aa4 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5b5b8fec7328 - std::panicking::default_hook::h0e337668e919fc53 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5b5b8fe92919 - as core::ops::function::Fn>::call::h0a5b2697e83d3de2 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 11: 0x5b5b8fe92919 - test::test_main::{{closure}}::ha5c571fce018b26f [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5b5b8fec7c48 - as core::ops::function::Fn>::call::h41d416f4073097a8 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 13: 0x5b5b8fec7c48 - std::panicking::rust_panic_with_hook::h442c26b690a626f4 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5b5b8fec7a17 - std::panicking::begin_panic_handler::{{closure}}::h7cfa3ab758eb5a73 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x5b5b8fec6299 - std::sys::backtrace::__rust_end_short_backtrace::hf609a1dcd6f8b9f9 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5b5b8fec76a4 - rust_begin_unwind [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5b5b8feeaa73 - core::panicking::panic_fmt::he4002baf06927918 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5b5b8feeae3b - core::panicking::assert_failed_inner::h91fb4a8613a12d33 [INFO] [stdout] 19: 0x5b5b8fe32788 - core::panicking::assert_failed::hed5fe4a56d169750 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x5b5b8fe35862 - aoc2019::day7::tests::day7b::{{closure}}::ha27f74058d19aa62 [INFO] [stdout] at /opt/rustwide/workdir/src/day7.rs:306:13 [INFO] [stdout] 21: 0x5b5b8fe19091 - test::bench::ns_iter_inner::hed216394659f1acc [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/bench.rs:118:19 [INFO] [stdout] 22: 0x5b5b8fe21b62 - test::bench::Bencher::iter::hb2af975f25b15644 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/bench.rs:43:13 [INFO] [stdout] 23: 0x5b5b8fe3571a - aoc2019::day7::tests::day7b::h9d80bf2108033a52 [INFO] [stdout] at /opt/rustwide/workdir/src/day7.rs:241:9 [INFO] [stdout] 24: 0x5b5b8fe356f8 - aoc2019::day7::tests::day7b::{{closure}}::he204694fb96a0255 [INFO] [stdout] at /opt/rustwide/workdir/src/day7.rs:240:30 [INFO] [stdout] 25: 0x5b5b8fe37c2f - core::ops::function::FnOnce::call_once::h14bb7d5d10c4fe04 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5b5b8fe971e1 - test::types::RunnableTest::run::{{closure}}::{{closure}}::h4d6e562a1c234358 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/types.rs:148:76 [INFO] [stdout] 27: 0x5b5b8fe971e1 - test::__rust_begin_short_backtrace::h0ccd5f1c24d6bc0e [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:620:18 [INFO] [stdout] 28: 0x5b5b8fe916f9 - test::types::RunnableTest::run::{{closure}}::h86f8eeec0d9e2c0a [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/types.rs:148:44 [INFO] [stdout] 29: 0x5b5b8fe916f9 - test::bench::Bencher::bench::h8353e3fa1ccc07c8 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/bench.rs:54:22 [INFO] [stdout] 30: 0x5b5b8fe916f9 - test::bench::run_once::hfbc7fc4ab151599f [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/bench.rs:243:5 [INFO] [stdout] 31: 0x5b5b8fe916f9 - test::types::RunnableTest::run::hd7633ccd5a5a37c3 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/types.rs:148:17 [INFO] [stdout] 32: 0x5b5b8fe96b08 - test::run_test_in_process::{{closure}}::h2a83a0a65ed3c222 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:643:60 [INFO] [stdout] 33: 0x5b5b8fe96b08 - as core::ops::function::FnOnce<()>>::call_once::h86af6a43b3d339fd [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 34: 0x5b5b8fe96b08 - std::panicking::try::do_call::h06bb3a6ef41e33d4 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:557:40 [INFO] [stdout] 35: 0x5b5b8fe96b08 - std::panicking::try::hbe4ce21e81168e19 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:520:19 [INFO] [stdout] 36: 0x5b5b8fe96b08 - std::panic::catch_unwind::h9216a5b93914ba30 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panic.rs:345:14 [INFO] [stdout] 37: 0x5b5b8fe96b08 - test::run_test_in_process::hd5f710dbb42ac3ac [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:643:27 [INFO] [stdout] 38: 0x5b5b8fe96b08 - test::run_test::{{closure}}::ha3c5aa83f018eb90 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:564:43 [INFO] [stdout] 39: 0x5b5b8fe5ab94 - test::run_test::{{closure}}::h106c33754fb7ad93 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:594:41 [INFO] [stdout] 40: 0x5b5b8fe5ab94 - std::sys::backtrace::__rust_begin_short_backtrace::h72b607f200d489e1 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 41: 0x5b5b8fe5e2e2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4c13dee51575b1d5 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 42: 0x5b5b8fe5e2e2 - as core::ops::function::FnOnce<()>>::call_once::hc15ba15cced82411 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 43: 0x5b5b8fe5e2e2 - std::panicking::try::do_call::ha2b96a5442f2b7a6 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:557:40 [INFO] [stdout] 44: 0x5b5b8fe5e2e2 - std::panicking::try::h3249b845d1609c7f [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:520:19 [INFO] [stdout] 45: 0x5b5b8fe5e2e2 - std::panic::catch_unwind::hb1234c1714481772 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panic.rs:345:14 [INFO] [stdout] 46: 0x5b5b8fe5e2e2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf2ecca2087a712d7 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 47: 0x5b5b8fe5e2e2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h33604033fff0c135 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 48: 0x5b5b8fecbc5b - as core::ops::function::FnOnce>::call_once::hed0705102829bfb8 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 49: 0x5b5b8fecbc5b - as core::ops::function::FnOnce>::call_once::h88dbb0360840e1a3 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 50: 0x5b5b8fecbc5b - std::sys::pal::unix::thread::Thread::new::thread_start::hed3d760d9bfb1ad1 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 51: 0x7df96f31dac3 - [INFO] [stdout] 52: 0x7df96f3aea04 - clone [INFO] [stdout] 53: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] day7::tests::day7b [INFO] [stdout] [INFO] [stdout] test result: FAILED. 24 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin aoc2019` [INFO] running `Command { std: "docker" "inspect" "ad9bd6a1c9c0cdd810cee8940cd9af1fc1d8cc3f23edd82c8031c95ccebf26fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad9bd6a1c9c0cdd810cee8940cd9af1fc1d8cc3f23edd82c8031c95ccebf26fa", kill_on_drop: false }` [INFO] [stdout] ad9bd6a1c9c0cdd810cee8940cd9af1fc1d8cc3f23edd82c8031c95ccebf26fa