[INFO] cloning repository https://github.com/skalermo/advent-of-code-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skalermo/advent-of-code-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskalermo%2Fadvent-of-code-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskalermo%2Fadvent-of-code-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d0bc69682ce21d82e195b7c7c3aceb4825b7e5c [INFO] testing skalermo/advent-of-code-rust against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskalermo%2Fadvent-of-code-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/skalermo/advent-of-code-rust on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/skalermo/advent-of-code-rust [INFO] finished tweaking git repo https://github.com/skalermo/advent-of-code-rust [INFO] tweaked toml for git repo https://github.com/skalermo/advent-of-code-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/skalermo/advent-of-code-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97bc77d3c63fbd581942767cac5439820c010a1db8c4f7fb5e9831ff2b655d8d [INFO] running `Command { std: "docker" "start" "-a" "97bc77d3c63fbd581942767cac5439820c010a1db8c4f7fb5e9831ff2b655d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97bc77d3c63fbd581942767cac5439820c010a1db8c4f7fb5e9831ff2b655d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97bc77d3c63fbd581942767cac5439820c010a1db8c4f7fb5e9831ff2b655d8d", kill_on_drop: false }` [INFO] [stdout] 97bc77d3c63fbd581942767cac5439820c010a1db8c4f7fb5e9831ff2b655d8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 221fc4cb56bc2bfb76cf36add5a355f733cf8e5080fdbcc3b6af9bb7b3bdd50d [INFO] running `Command { std: "docker" "start" "-a" "221fc4cb56bc2bfb76cf36add5a355f733cf8e5080fdbcc3b6af9bb7b3bdd50d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling advent-of-code-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> days/day_2.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!(format!("Undefined opcode: {}", cur_opcode)), [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] 64 | _ => panic!("Undefined opcode: {}", cur_opcode), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> days/day_3.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | c => panic!(format!("Character '{}' doesn't correspond to direction.", c)) [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] 141 | c => panic!("Character '{}' doesn't correspond to direction.", c) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | _ => panic!(format!("Solution not implemented for day {}", day_to_solve)), [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] 23 | _ => panic!("Solution not implemented for day {}", day_to_solve), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "221fc4cb56bc2bfb76cf36add5a355f733cf8e5080fdbcc3b6af9bb7b3bdd50d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221fc4cb56bc2bfb76cf36add5a355f733cf8e5080fdbcc3b6af9bb7b3bdd50d", kill_on_drop: false }` [INFO] [stdout] 221fc4cb56bc2bfb76cf36add5a355f733cf8e5080fdbcc3b6af9bb7b3bdd50d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b44a6f6fbb5ef1c1ad1ea6908557d7bb582ad0e06150d0ecd99d1d736f7f68b4 [INFO] running `Command { std: "docker" "start" "-a" "b44a6f6fbb5ef1c1ad1ea6908557d7bb582ad0e06150d0ecd99d1d736f7f68b4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling advent-of-code-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> days/day_2.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!(format!("Undefined opcode: {}", cur_opcode)), [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] 64 | _ => panic!("Undefined opcode: {}", cur_opcode), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> days/day_3.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | c => panic!(format!("Character '{}' doesn't correspond to direction.", c)) [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] 141 | c => panic!("Character '{}' doesn't correspond to direction.", c) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | _ => panic!(format!("Solution not implemented for day {}", day_to_solve)), [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] 23 | _ => panic!("Solution not implemented for day {}", day_to_solve), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "b44a6f6fbb5ef1c1ad1ea6908557d7bb582ad0e06150d0ecd99d1d736f7f68b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b44a6f6fbb5ef1c1ad1ea6908557d7bb582ad0e06150d0ecd99d1d736f7f68b4", kill_on_drop: false }` [INFO] [stdout] b44a6f6fbb5ef1c1ad1ea6908557d7bb582ad0e06150d0ecd99d1d736f7f68b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 50d6f008242018ab84d913edd6d508ef1f197d2fc584ef340eb4889f71fd1773 [INFO] running `Command { std: "docker" "start" "-a" "50d6f008242018ab84d913edd6d508ef1f197d2fc584ef340eb4889f71fd1773", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> days/day_2.rs:64:25 [INFO] [stderr] | [INFO] [stderr] 64 | _ => panic!(format!("Undefined opcode: {}", cur_opcode)), [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] 64 | _ => panic!("Undefined opcode: {}", cur_opcode), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> days/day_3.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | c => panic!(format!("Character '{}' doesn't correspond to direction.", c)) [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] 141 | c => panic!("Character '{}' doesn't correspond to direction.", c) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> main.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | _ => panic!(format!("Solution not implemented for day {}", day_to_solve)), [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] 23 | _ => panic!("Solution not implemented for day {}", day_to_solve), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: `advent-of-code-rust` (bin "advent-of-code-rust" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code_rust-e84bbb2af95829c1) [INFO] [stdout] [INFO] [stdout] running 51 tests [INFO] [stdout] test days::day_1::test::task1_example ... ok [INFO] [stdout] test days::day_1::test::task2_example1 ... ok [INFO] [stdout] test days::day_1::test::task2_example2 ... ok [INFO] [stdout] test days::day_2::test::task1_example ... ok [INFO] [stdout] test days::day_1::test::task1_example3 ... ok [INFO] [stdout] test days::day_1::test::task1_example2 ... ok [INFO] [stdout] test days::day_3::test::task2_example1 ... ok [INFO] [stdout] test days::day_3::test::task2_example2 ... ok [INFO] [stdout] test days::day_2::test::task1_example4 ... ok [INFO] [stdout] test days::day_3::test::task1_example2 ... ok [INFO] [stdout] test days::day_3::test::task1_example1 ... ok [INFO] [stdout] test days::day_1::test::task1_example4 ... ok [INFO] [stdout] test days::day_1::test::task2_example3 ... ok [INFO] [stdout] test days::day_2::test::task1_example5 ... ok [INFO] [stdout] test days::day_2::test::task1_example3 ... ok [INFO] [stdout] test days::day_3::test::task2_example3 ... ok [INFO] [stdout] test days::day_3::test::task1_example3 ... ok [INFO] [stdout] test days::day_2::test::task1_example2 ... ok [INFO] [stdout] test days::day_3::test::test_build_line_from ... ok [INFO] [stdout] test days::day_3::test::test_has_same_orientation ... ok [INFO] [stdout] test days::day_5::test::task2_example3_less_than_immediate_mode ... ok [INFO] [stdout] test days::day_5::test::task2_example1_less_than_position_mode ... ok [INFO] [stdout] test days::day_3::test::test_get_translation_by ... ok [INFO] [stdout] test days::day_7::test::test_permutations ... ok [INFO] [stdout] test days::day_6::test::task2_example ... ok [INFO] [stdout] test days::day_7::test::task1_example1 ... ok [INFO] [stdout] test days::day_3::test::test_horizontal_orientation ... ok [INFO] [stdout] test days::day_5::test::task2_example6_jump_if_true_immediate_mode ... ok [INFO] [stdout] test days::day_5::test::task2_example5_jump_if_false_position_mode ... ok [INFO] [stdout] test days::day_3::test::test_not_contains ... ok [INFO] [stdout] test days::day_3::test::test_no_intersection ... ok [INFO] [stdout] test days::day_5::test::task2_example4_eq_immediate_mode ... ok [INFO] [stdout] test days::day_4::test::test_custom ... ok [INFO] [stdout] test days::day_4::test::task2_check_if_password ... ok [INFO] [stdout] test days::day_3::test::test_intersection ... ok [INFO] [stdout] test days::day_7::test::task1_example2 ... ok [INFO] [stdout] test days::day_8::test::task1_example ... ok [INFO] [stdout] test days::day_3::test::test_has_not_same_orientation ... ok [INFO] [stdout] test days::day_5::test::test_handle_modes_opcode ... ok [INFO] [stdout] test days::day_6::test::task1_example ... ok [INFO] [stdout] test days::day_5::test::task2_example7_larger_example ... ok [INFO] [stdout] test days::day_5::test::task2_example2_eq_position_mode ... ok [INFO] [stdout] test days::day_5::test::task1_example1 ... ok [INFO] [stdout] test days::day_4::test::test_parse_input ... ok [INFO] [stdout] test days::day_4::test::task1_check_if_password ... ok [INFO] [stdout] test days::day_3::test::test_vertical_orientation ... ok [INFO] [stdout] test days::day_3::test::test_new ... ok [INFO] [stdout] test days::day_3::test::test_contains ... ok [INFO] [stdout] test days::day_7::test::task1_example3 ... ok [INFO] [stdout] test days::day_7::test::task2_example1 ... ok [INFO] [stdout] test days::day_7::test::task2_example2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 51 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "50d6f008242018ab84d913edd6d508ef1f197d2fc584ef340eb4889f71fd1773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50d6f008242018ab84d913edd6d508ef1f197d2fc584ef340eb4889f71fd1773", kill_on_drop: false }` [INFO] [stdout] 50d6f008242018ab84d913edd6d508ef1f197d2fc584ef340eb4889f71fd1773