[INFO] cloning repository https://github.com/andersquist/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andersquist/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandersquist%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandersquist%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcc4047f783dfa1369781a60f26c97cdd15f4c17 [INFO] testing andersquist/aoc2020 against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandersquist%2Faoc2020" "/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/andersquist/aoc2020 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/andersquist/aoc2020 [INFO] finished tweaking git repo https://github.com/andersquist/aoc2020 [INFO] tweaked toml for git repo https://github.com/andersquist/aoc2020 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/andersquist/aoc2020 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] [stderr] Blocking waiting for file lock on package cache [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] 4ce652cb9b065a7543828af539768d6824c557148251ebaeeeb94db0cee05724 [INFO] running `Command { std: "docker" "start" "-a" "4ce652cb9b065a7543828af539768d6824c557148251ebaeeeb94db0cee05724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ce652cb9b065a7543828af539768d6824c557148251ebaeeeb94db0cee05724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce652cb9b065a7543828af539768d6824c557148251ebaeeeb94db0cee05724", kill_on_drop: false }` [INFO] [stdout] 4ce652cb9b065a7543828af539768d6824c557148251ebaeeeb94db0cee05724 [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] 11e670fce87a504e746d51727de1153f890cc40494deb17821a1602ed4bcdcca [INFO] running `Command { std: "docker" "start" "-a" "11e670fce87a504e746d51727de1153f890cc40494deb17821a1602ed4bcdcca", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling parse-display-derive v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling parse-display v0.4.0 [INFO] [stderr] Compiling adventofcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day2.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(format!("Illegal value: [{}]", str_val)), [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] 50 - _ => panic!(format!("Illegal value: [{}]", str_val)), [INFO] [stdout] 50 + _ => panic!("Illegal value: [{}]", str_val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day2.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | _ => panic!(format!("Illegal char: [{}]", str_val)), [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] 57 - _ => panic!(format!("Illegal char: [{}]", str_val)), [INFO] [stdout] 57 + _ => panic!("Illegal char: [{}]", str_val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day2.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!(format!("Illegal char: [{}]", str_val)), [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] 64 - _ => panic!(format!("Illegal char: [{}]", str_val)), [INFO] [stdout] 64 + _ => panic!("Illegal char: [{}]", str_val), [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 10.66s [INFO] running `Command { std: "docker" "inspect" "11e670fce87a504e746d51727de1153f890cc40494deb17821a1602ed4bcdcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e670fce87a504e746d51727de1153f890cc40494deb17821a1602ed4bcdcca", kill_on_drop: false }` [INFO] [stdout] 11e670fce87a504e746d51727de1153f890cc40494deb17821a1602ed4bcdcca [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] 2b1c8fc066af6782c93ac9e12e9bd43c8513f13cdf627451894643426b7455ff [INFO] running `Command { std: "docker" "start" "-a" "2b1c8fc066af6782c93ac9e12e9bd43c8513f13cdf627451894643426b7455ff", kill_on_drop: false }` [INFO] [stderr] Compiling adventofcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day2.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(format!("Illegal value: [{}]", str_val)), [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] 50 - _ => panic!(format!("Illegal value: [{}]", str_val)), [INFO] [stdout] 50 + _ => panic!("Illegal value: [{}]", str_val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day2.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | _ => panic!(format!("Illegal char: [{}]", str_val)), [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] 57 - _ => panic!(format!("Illegal char: [{}]", str_val)), [INFO] [stdout] 57 + _ => panic!("Illegal char: [{}]", str_val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day2.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!(format!("Illegal char: [{}]", str_val)), [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] 64 - _ => panic!(format!("Illegal char: [{}]", str_val)), [INFO] [stdout] 64 + _ => panic!("Illegal char: [{}]", str_val), [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 1.30s [INFO] running `Command { std: "docker" "inspect" "2b1c8fc066af6782c93ac9e12e9bd43c8513f13cdf627451894643426b7455ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1c8fc066af6782c93ac9e12e9bd43c8513f13cdf627451894643426b7455ff", kill_on_drop: false }` [INFO] [stdout] 2b1c8fc066af6782c93ac9e12e9bd43c8513f13cdf627451894643426b7455ff [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] [stdout] 48529da7313021a3af905573b2c7816f311dc70ca9ed8294fc5b2278b0547c88 [INFO] running `Command { std: "docker" "start" "-a" "48529da7313021a3af905573b2c7816f311dc70ca9ed8294fc5b2278b0547c88", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day2.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 50 | _ => panic!(format!("Illegal value: [{}]", str_val)), [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] 50 - _ => panic!(format!("Illegal value: [{}]", str_val)), [INFO] [stderr] 50 + _ => panic!("Illegal value: [{}]", str_val), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day2.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | _ => panic!(format!("Illegal char: [{}]", str_val)), [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] 57 - _ => panic!(format!("Illegal char: [{}]", str_val)), [INFO] [stderr] 57 + _ => panic!("Illegal char: [{}]", str_val), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day2.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | _ => panic!(format!("Illegal char: [{}]", str_val)), [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] 64 - _ => panic!(format!("Illegal char: [{}]", str_val)), [INFO] [stderr] 64 + _ => panic!("Illegal char: [{}]", str_val), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `adventofcode` (bin "adventofcode" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode-fd69dcaab7fb8c40) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test day2::validates_expected ... ok [INFO] [stdout] test day2::validate_second_expected ... ok [INFO] [stdout] test day2::parse_line_expected ... ok [INFO] [stdout] test day3::count_trees_as_expected ... ok [INFO] [stdout] test day3::count_trees_all_slopes_as_expectes ... ok [INFO] [stdout] test day4::creates_an_invalid_passport_2 ... ok [INFO] [stdout] test day6::test_form_from_str2 ... ok [INFO] [stdout] test day6::test_form_from_str3 ... ok [INFO] [stdout] test day6::test_form_from_str1 ... ok [INFO] [stdout] test day6::test_form_from_str4 ... ok [INFO] [stdout] test day6::test_form_from_str5 ... ok [INFO] [stdout] test day6::test_form_from_str6 ... ok [INFO] [stdout] test day7::from_str_test_2 ... ok [INFO] [stdout] test day8::test_run_code ... ok [INFO] [stdout] test day4::creates_a_valid_passport_3 ... ok [INFO] [stdout] test day4::creates_a_valid_passport_1 ... ok [INFO] [stdout] test day5::test_seat_from_str1 ... ok [INFO] [stdout] test day4::creates_an_invalid_passport_4 ... ok [INFO] [stdout] test day5::test_seat_from_str3 ... ok [INFO] [stdout] test day5::test_seat_from_str2 ... ok [INFO] [stdout] test day7::from_str_test_1 ... ok [INFO] [stdout] test day7::parse_to_hash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "48529da7313021a3af905573b2c7816f311dc70ca9ed8294fc5b2278b0547c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48529da7313021a3af905573b2c7816f311dc70ca9ed8294fc5b2278b0547c88", kill_on_drop: false }` [INFO] [stdout] 48529da7313021a3af905573b2c7816f311dc70ca9ed8294fc5b2278b0547c88