[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexghr%2Faocrs-2019" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexghr/aocrs-2019 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-11/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", 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] 04628d7ec78dbf7426408d391d1105a81a4db00a95151747fb1efe85b84ece6e [INFO] running `Command { std: "docker" "start" "-a" "04628d7ec78dbf7426408d391d1105a81a4db00a95151747fb1efe85b84ece6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04628d7ec78dbf7426408d391d1105a81a4db00a95151747fb1efe85b84ece6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04628d7ec78dbf7426408d391d1105a81a4db00a95151747fb1efe85b84ece6e", kill_on_drop: false }` [INFO] [stdout] 04628d7ec78dbf7426408d391d1105a81a4db00a95151747fb1efe85b84ece6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53a6bb046ad22ccfde05e214ab4a3426640a00e6c85ba56b81a89ab566695cf9 [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" "53a6bb046ad22ccfde05e214ab4a3426640a00e6c85ba56b81a89ab566695cf9", 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 2.47s [INFO] running `Command { std: "docker" "inspect" "53a6bb046ad22ccfde05e214ab4a3426640a00e6c85ba56b81a89ab566695cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a6bb046ad22ccfde05e214ab4a3426640a00e6c85ba56b81a89ab566695cf9", kill_on_drop: false }` [INFO] [stdout] 53a6bb046ad22ccfde05e214ab4a3426640a00e6c85ba56b81a89ab566695cf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", 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] 138632f3678e0197baa41843e5ad674ed73a233c44574c0a369d85914aafeb9e [INFO] running `Command { std: "docker" "start" "-a" "138632f3678e0197baa41843e5ad674ed73a233c44574c0a369d85914aafeb9e", 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 1.62s [INFO] running `Command { std: "docker" "inspect" "138632f3678e0197baa41843e5ad674ed73a233c44574c0a369d85914aafeb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138632f3678e0197baa41843e5ad674ed73a233c44574c0a369d85914aafeb9e", kill_on_drop: false }` [INFO] [stdout] 138632f3678e0197baa41843e5ad674ed73a233c44574c0a369d85914aafeb9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06531fd06c14a9c347f5baf614e89d56f51135ab589b8c21272fe93dee8466b1 [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" "06531fd06c14a9c347f5baf614e89d56f51135ab589b8c21272fe93dee8466b1", 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] | ^ ^ [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.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aocrs-8b776ead0143d2e4) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aocrs-4a9a22b69af6aa6a) [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_2 ... 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] [stderr] Doc-tests aocrs [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] 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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06531fd06c14a9c347f5baf614e89d56f51135ab589b8c21272fe93dee8466b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06531fd06c14a9c347f5baf614e89d56f51135ab589b8c21272fe93dee8466b1", kill_on_drop: false }` [INFO] [stdout] 06531fd06c14a9c347f5baf614e89d56f51135ab589b8c21272fe93dee8466b1