[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexghr%2Faocrs-2019" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexghr/aocrs-2019 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-61/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c4b70f72baf0671b7473441b619534f483ec1e1d5359ba8951caee4761cf53e [INFO] running `Command { std: "docker" "start" "-a" "3c4b70f72baf0671b7473441b619534f483ec1e1d5359ba8951caee4761cf53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c4b70f72baf0671b7473441b619534f483ec1e1d5359ba8951caee4761cf53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4b70f72baf0671b7473441b619534f483ec1e1d5359ba8951caee4761cf53e", kill_on_drop: false }` [INFO] [stdout] 3c4b70f72baf0671b7473441b619534f483ec1e1d5359ba8951caee4761cf53e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97616d6bf6d586513c77cb1877b722d9f3863508aa4086d5d9a21143169490eb [INFO] running `Command { std: "docker" "start" "-a" "97616d6bf6d586513c77cb1877b722d9f3863508aa4086d5d9a21143169490eb", 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - if (dist < min_so_far) { [INFO] [stdout] 33 + if dist < min_so_far { [INFO] [stdout] | [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unrecognized input {} {}", dir, delta)), [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Invalid memory referenced {}", pos)); [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unknown op code {}", x)), [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 7.35s [INFO] running `Command { std: "docker" "inspect" "97616d6bf6d586513c77cb1877b722d9f3863508aa4086d5d9a21143169490eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97616d6bf6d586513c77cb1877b722d9f3863508aa4086d5d9a21143169490eb", kill_on_drop: false }` [INFO] [stdout] 97616d6bf6d586513c77cb1877b722d9f3863508aa4086d5d9a21143169490eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa8c683f9850f7f7284330df375f40f0dda0c790757b94b32aeb1a436bca0e5a [INFO] running `Command { std: "docker" "start" "-a" "aa8c683f9850f7f7284330df375f40f0dda0c790757b94b32aeb1a436bca0e5a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - if (dist < min_so_far) { [INFO] [stdout] 33 + if dist < min_so_far { [INFO] [stdout] | [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unrecognized input {} {}", dir, delta)), [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Invalid memory referenced {}", pos)); [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unknown op code {}", x)), [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - if (dist < min_so_far) { [INFO] [stdout] 33 + if dist < min_so_far { [INFO] [stdout] | [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unrecognized input {} {}", dir, delta)), [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Invalid memory referenced {}", pos)); [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unknown op code {}", x)), [INFO] [stdout] 83 + x => panic!("Unknown op code {}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.54s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/aocrs-a5e9a6808d66fa38) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/aocrs-c8484c0e45cd4a00) [INFO] running `Command { std: "docker" "inspect" "aa8c683f9850f7f7284330df375f40f0dda0c790757b94b32aeb1a436bca0e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa8c683f9850f7f7284330df375f40f0dda0c790757b94b32aeb1a436bca0e5a", kill_on_drop: false }` [INFO] [stdout] aa8c683f9850f7f7284330df375f40f0dda0c790757b94b32aeb1a436bca0e5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 601e81c3c926de2be9334a2102ce9f37bac0cfc76f2e15c66de2bf3c0bdac89f [INFO] running `Command { std: "docker" "start" "-a" "601e81c3c926de2be9334a2102ce9f37bac0cfc76f2e15c66de2bf3c0bdac89f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 33 - if (dist < min_so_far) { [INFO] [stderr] 33 + if dist < min_so_far { [INFO] [stderr] | [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_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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!(format!("Unrecognized input {} {}", dir, delta)), [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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!(format!("Invalid memory referenced {}", pos)); [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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!(format!("Unknown op code {}", x)), [INFO] [stderr] 83 + x => panic!("Unknown op code {}", x), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `aocrs` (lib) generated 6 warnings [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: `aocrs` (lib test) generated 7 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.95s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aocrs-a5e9a6808d66fa38) [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 day3::tests::test_intersection ... ok [INFO] [stdout] test intcode::interpreter::tests::test_execute ... ok [INFO] [stdout] test intcode::interpreter::tests::test_execute_2 ... 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 src/main.rs (/opt/rustwide/target/debug/deps/aocrs-c8484c0e45cd4a00) [INFO] [stdout] [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] Doc-tests aocrs [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 33 - if (dist < min_so_far) { [INFO] [stderr] 33 + if dist < min_so_far { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [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.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "601e81c3c926de2be9334a2102ce9f37bac0cfc76f2e15c66de2bf3c0bdac89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601e81c3c926de2be9334a2102ce9f37bac0cfc76f2e15c66de2bf3c0bdac89f", kill_on_drop: false }` [INFO] [stdout] 601e81c3c926de2be9334a2102ce9f37bac0cfc76f2e15c66de2bf3c0bdac89f