[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 try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandersquist%2Faoc2020" "/workspace/builds/worker-49/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-49/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andersquist/aoc2020 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-49/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe3d2f2e982dde6cf76021ef06e285abea9b868c11cad3953587f1e8a5b213a9 [INFO] running `Command { std: "docker" "start" "-a" "fe3d2f2e982dde6cf76021ef06e285abea9b868c11cad3953587f1e8a5b213a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe3d2f2e982dde6cf76021ef06e285abea9b868c11cad3953587f1e8a5b213a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3d2f2e982dde6cf76021ef06e285abea9b868c11cad3953587f1e8a5b213a9", kill_on_drop: false }` [INFO] [stdout] fe3d2f2e982dde6cf76021ef06e285abea9b868c11cad3953587f1e8a5b213a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13a6b40d492e6dcf16a0ccc5498d7ccad6c5a2757397721b34ff594d9ef3731b [INFO] running `Command { std: "docker" "start" "-a" "13a6b40d492e6dcf16a0ccc5498d7ccad6c5a2757397721b34ff594d9ef3731b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.7.15 [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 30.13s [INFO] running `Command { std: "docker" "inspect" "13a6b40d492e6dcf16a0ccc5498d7ccad6c5a2757397721b34ff594d9ef3731b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a6b40d492e6dcf16a0ccc5498d7ccad6c5a2757397721b34ff594d9ef3731b", kill_on_drop: false }` [INFO] [stdout] 13a6b40d492e6dcf16a0ccc5498d7ccad6c5a2757397721b34ff594d9ef3731b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fac536bc965e91a8d9da79ec1dd18726bb1b20926372a7ac19d0caec0d41b89 [INFO] running `Command { std: "docker" "start" "-a" "8fac536bc965e91a8d9da79ec1dd18726bb1b20926372a7ac19d0caec0d41b89", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 2.25s [INFO] running `Command { std: "docker" "inspect" "8fac536bc965e91a8d9da79ec1dd18726bb1b20926372a7ac19d0caec0d41b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fac536bc965e91a8d9da79ec1dd18726bb1b20926372a7ac19d0caec0d41b89", kill_on_drop: false }` [INFO] [stdout] 8fac536bc965e91a8d9da79ec1dd18726bb1b20926372a7ac19d0caec0d41b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfb4f7aefe0e7175715a3fb14b529d3e898850f9c1b1a2342036ee7a0bc27d2a [INFO] running `Command { std: "docker" "start" "-a" "bfb4f7aefe0e7175715a3fb14b529d3e898850f9c1b1a2342036ee7a0bc27d2a", 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.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode-db58692c6a5d1bb1) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test day2::parse_line_expected ... ok [INFO] [stdout] test day2::validates_expected ... ok [INFO] [stdout] test day2::validate_second_expected ... ok [INFO] [stdout] test day3::count_trees_all_slopes_as_expectes ... ok [INFO] [stdout] test day3::count_trees_as_expected ... ok [INFO] [stdout] test day4::creates_an_invalid_passport_2 ... ok [INFO] [stdout] test day6::test_form_from_str1 ... ok [INFO] [stdout] test day6::test_form_from_str2 ... ok [INFO] [stdout] test day6::test_form_from_str6 ... ok [INFO] [stdout] test day4::creates_a_valid_passport_1 ... ok [INFO] [stdout] test day6::test_form_from_str5 ... ok [INFO] [stdout] test day6::test_form_from_str4 ... ok [INFO] [stdout] test day6::test_form_from_str3 ... 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 day5::test_seat_from_str1 ... ok [INFO] [stdout] test day5::test_seat_from_str2 ... ok [INFO] [stdout] test day5::test_seat_from_str3 ... ok [INFO] [stdout] test day7::from_str_test_1 ... ok [INFO] [stdout] test day4::creates_an_invalid_passport_4 ... 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.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bfb4f7aefe0e7175715a3fb14b529d3e898850f9c1b1a2342036ee7a0bc27d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb4f7aefe0e7175715a3fb14b529d3e898850f9c1b1a2342036ee7a0bc27d2a", kill_on_drop: false }` [INFO] [stdout] bfb4f7aefe0e7175715a3fb14b529d3e898850f9c1b1a2342036ee7a0bc27d2a