[INFO] cloning repository https://github.com/alexghr/aocrs-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexghr/aocrs-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexghr%2Faocrs-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexghr%2Faocrs-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38fb4ab24b80a74a5f380a5ee8c154c7ee516532 [INFO] testing alexghr/aocrs-2019 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexghr%2Faocrs-2019" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexghr/aocrs-2019 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexghr/aocrs-2019 [INFO] finished tweaking git repo https://github.com/alexghr/aocrs-2019 [INFO] tweaked toml for git repo https://github.com/alexghr/aocrs-2019 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/alexghr/aocrs-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tramp v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8a1a9406dab12090b27caecbe0a8a0dcbd14630ae3cd78088bbc4e9178d1faf [INFO] running `Command { std: "docker" "start" "-a" "b8a1a9406dab12090b27caecbe0a8a0dcbd14630ae3cd78088bbc4e9178d1faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8a1a9406dab12090b27caecbe0a8a0dcbd14630ae3cd78088bbc4e9178d1faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8a1a9406dab12090b27caecbe0a8a0dcbd14630ae3cd78088bbc4e9178d1faf", kill_on_drop: false }` [INFO] [stdout] b8a1a9406dab12090b27caecbe0a8a0dcbd14630ae3cd78088bbc4e9178d1faf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 549cb45f7af84a8a4659053060e0f2a806e414326f2c742d54cce55986391004 [INFO] running `Command { std: "docker" "start" "-a" "549cb45f7af84a8a4659053060e0f2a806e414326f2c742d54cce55986391004", kill_on_drop: false }` [INFO] [stderr] Compiling tramp v0.3.0 [INFO] [stderr] Compiling aocrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day3.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | ... if (dist < min_so_far) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/intcode/interpreter.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | _ => panic!("Unknown operation"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_intersection_point_pt_1` [INFO] [stdout] --> src/day3.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn find_intersection_point_pt_1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/day3.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | _ => panic!(format!("Unrecognized input {} {}", dir, delta)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 136 | _ => panic!("Unrecognized input {} {}", dir, delta), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/memory.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(format!("Invalid memory referenced {}", pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 33 | panic!("Invalid memory referenced {}", pos); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/parser.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | x => panic!(format!("Unknown op code {}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 83 | x => panic!("Unknown op code {}", x), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "549cb45f7af84a8a4659053060e0f2a806e414326f2c742d54cce55986391004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549cb45f7af84a8a4659053060e0f2a806e414326f2c742d54cce55986391004", kill_on_drop: false }` [INFO] [stdout] 549cb45f7af84a8a4659053060e0f2a806e414326f2c742d54cce55986391004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34fc299b7df8c29319b3b7d6b602c80b4c88e93e496afe6961eb0aa301439ab2 [INFO] running `Command { std: "docker" "start" "-a" "34fc299b7df8c29319b3b7d6b602c80b4c88e93e496afe6961eb0aa301439ab2", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day3.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | ... if (dist < min_so_far) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/intcode/interpreter.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | _ => panic!("Unknown operation"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aocrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `find_intersection_point_pt_1` [INFO] [stdout] --> src/day3.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn find_intersection_point_pt_1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/day3.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | _ => panic!(format!("Unrecognized input {} {}", dir, delta)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 136 | _ => panic!("Unrecognized input {} {}", dir, delta), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/memory.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(format!("Invalid memory referenced {}", pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 33 | panic!("Invalid memory referenced {}", pos); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/parser.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | x => panic!(format!("Unknown op code {}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 83 | x => panic!("Unknown op code {}", x), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day3.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | ... if (dist < min_so_far) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::direction::*` [INFO] [stdout] --> src/day3.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | use super::direction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/intcode/interpreter.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | _ => panic!("Unknown operation"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_intersection_point_pt_1` [INFO] [stdout] --> src/day3.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn find_intersection_point_pt_1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/day3.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | _ => panic!(format!("Unrecognized input {} {}", dir, delta)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 136 | _ => panic!("Unrecognized input {} {}", dir, delta), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/memory.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(format!("Invalid memory referenced {}", pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 33 | panic!("Invalid memory referenced {}", pos); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/parser.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | x => panic!(format!("Unknown op code {}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 83 | x => panic!("Unknown op code {}", x), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.43s [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "34fc299b7df8c29319b3b7d6b602c80b4c88e93e496afe6961eb0aa301439ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34fc299b7df8c29319b3b7d6b602c80b4c88e93e496afe6961eb0aa301439ab2", kill_on_drop: false }` [INFO] [stdout] 34fc299b7df8c29319b3b7d6b602c80b4c88e93e496afe6961eb0aa301439ab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0d6f50cf80047313f64ecb78389069a6f60039c8a6a4dfcfd7e201e0057f559 [INFO] running `Command { std: "docker" "start" "-a" "d0d6f50cf80047313f64ecb78389069a6f60039c8a6a4dfcfd7e201e0057f559", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/day3.rs:33:32 [INFO] [stderr] | [INFO] [stderr] 33 | ... if (dist < min_so_far) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/intcode/interpreter.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | _ => panic!("Unknown operation"), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_intersection_point_pt_1` [INFO] [stderr] --> src/day3.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | fn find_intersection_point_pt_1( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day3.rs:136:33 [INFO] [stderr] | [INFO] [stderr] 136 | _ => panic!(format!("Unrecognized input {} {}", dir, delta)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() 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] 136 | _ => panic!("Unrecognized input {} {}", dir, delta), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/intcode/memory.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | panic!(format!("Invalid memory referenced {}", pos)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() 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] 33 | panic!("Invalid memory referenced {}", pos); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/intcode/parser.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | x => panic!(format!("Unknown op code {}", x)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() 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] 83 | x => panic!("Unknown op code {}", x), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/day3.rs:33:32 [INFO] [stderr] | [INFO] [stderr] 33 | ... if (dist < min_so_far) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::direction::*` [INFO] [stderr] --> src/day3.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | use super::direction::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/intcode/interpreter.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | _ => panic!("Unknown operation"), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_intersection_point_pt_1` [INFO] [stderr] --> src/day3.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | fn find_intersection_point_pt_1( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day3.rs:136:33 [INFO] [stderr] | [INFO] [stderr] 136 | _ => panic!(format!("Unrecognized input {} {}", dir, delta)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() 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] 136 | _ => panic!("Unrecognized input {} {}", dir, delta), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/intcode/memory.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | panic!(format!("Invalid memory referenced {}", pos)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() 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] 33 | panic!("Invalid memory referenced {}", pos); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/intcode/parser.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | x => panic!(format!("Unknown op code {}", x)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() 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] 83 | x => panic!("Unknown op code {}", x), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aocrs-89431db7321d86f3) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test day1::tests::test_calculate_fuel ... ok [INFO] [stdout] test day1::tests::test_naive_calculate_fuel ... ok [INFO] [stdout] test day1::tests::test_negative_fuel ... ok [INFO] [stdout] test intcode::interpreter::tests::test_execute_2 ... ok [INFO] [stdout] test day3::tests::test_intersection ... ok [INFO] [stdout] test intcode::interpreter::tests::test_execute ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aocrs-2ae411a1398cac26) [INFO] [stdout] [INFO] [stderr] Doc-tests aocrs [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/src/day3.rs:33:32 [INFO] [stderr] | [INFO] [stderr] 33 | ... if (dist < min_so_far) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0d6f50cf80047313f64ecb78389069a6f60039c8a6a4dfcfd7e201e0057f559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d6f50cf80047313f64ecb78389069a6f60039c8a6a4dfcfd7e201e0057f559", kill_on_drop: false }` [INFO] [stdout] d0d6f50cf80047313f64ecb78389069a6f60039c8a6a4dfcfd7e201e0057f559