[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexghr%2Faocrs-2019" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexghr/aocrs-2019 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-10/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86a24ff33f59089e94a14a8b5ab39307f421f0ae04d17598bd87234c31b80cfc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "86a24ff33f59089e94a14a8b5ab39307f421f0ae04d17598bd87234c31b80cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86a24ff33f59089e94a14a8b5ab39307f421f0ae04d17598bd87234c31b80cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86a24ff33f59089e94a14a8b5ab39307f421f0ae04d17598bd87234c31b80cfc", kill_on_drop: false }` [INFO] [stdout] 86a24ff33f59089e94a14a8b5ab39307f421f0ae04d17598bd87234c31b80cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1377de8d4d236f667e89d7f13ee63d8a9e8051056815df770e174dd966ce438b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1377de8d4d236f667e89d7f13ee63d8a9e8051056815df770e174dd966ce438b", 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 3.66s [INFO] running `Command { std: "docker" "inspect" "1377de8d4d236f667e89d7f13ee63d8a9e8051056815df770e174dd966ce438b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1377de8d4d236f667e89d7f13ee63d8a9e8051056815df770e174dd966ce438b", kill_on_drop: false }` [INFO] [stdout] 1377de8d4d236f667e89d7f13ee63d8a9e8051056815df770e174dd966ce438b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aec55d968ef64219fb0cc2569d97092aa0a181b8f8673b3c2a23ba9d465a7e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0aec55d968ef64219fb0cc2569d97092aa0a181b8f8673b3c2a23ba9d465a7e1", kill_on_drop: false }` [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 2.19s [INFO] running `Command { std: "docker" "inspect" "0aec55d968ef64219fb0cc2569d97092aa0a181b8f8673b3c2a23ba9d465a7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aec55d968ef64219fb0cc2569d97092aa0a181b8f8673b3c2a23ba9d465a7e1", kill_on_drop: false }` [INFO] [stdout] 0aec55d968ef64219fb0cc2569d97092aa0a181b8f8673b3c2a23ba9d465a7e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0d1501e6c7501e93f42344486073d86fe176105bfc3d766d4d3c5d7693eea04 [INFO] running `Command { std: "docker" "start" "-a" "a0d1501e6c7501e93f42344486073d86fe176105bfc3d766d4d3c5d7693eea04", 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 0.30s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aocrs-28e98e63f58fb76e) [INFO] [stdout] running 6 tests [INFO] [stdout] test day1::tests::test_negative_fuel ... ok [INFO] [stdout] test day1::tests::test_naive_calculate_fuel ... ok [INFO] [stdout] test intcode::interpreter::tests::test_execute_2 ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aocrs-4d44c6e0f0e7be45) [INFO] [stdout] test day3::tests::test_intersection ... ok [INFO] [stdout] test day1::tests::test_calculate_fuel ... 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.01s [INFO] [stdout] [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] [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" "a0d1501e6c7501e93f42344486073d86fe176105bfc3d766d4d3c5d7693eea04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d1501e6c7501e93f42344486073d86fe176105bfc3d766d4d3c5d7693eea04", kill_on_drop: false }` [INFO] [stdout] a0d1501e6c7501e93f42344486073d86fe176105bfc3d766d4d3c5d7693eea04