[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandersquist%2Faoc2020" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andersquist/aoc2020 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-12/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" "+beta-2022-04-10" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a555e00fc7e9efe9c2062666b7f080f7d3f79d1a8df9035400edf71a38dca74 [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" "4a555e00fc7e9efe9c2062666b7f080f7d3f79d1a8df9035400edf71a38dca74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a555e00fc7e9efe9c2062666b7f080f7d3f79d1a8df9035400edf71a38dca74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a555e00fc7e9efe9c2062666b7f080f7d3f79d1a8df9035400edf71a38dca74", kill_on_drop: false }` [INFO] [stdout] 4a555e00fc7e9efe9c2062666b7f080f7d3f79d1a8df9035400edf71a38dca74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 22a6f16b69368601390339fc1145b4e9be93668799c7cbf3ddf8684862392025 [INFO] running `Command { std: "docker" "start" "-a" "22a6f16b69368601390339fc1145b4e9be93668799c7cbf3ddf8684862392025", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [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 26.11s [INFO] running `Command { std: "docker" "inspect" "22a6f16b69368601390339fc1145b4e9be93668799c7cbf3ddf8684862392025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a6f16b69368601390339fc1145b4e9be93668799c7cbf3ddf8684862392025", kill_on_drop: false }` [INFO] [stdout] 22a6f16b69368601390339fc1145b4e9be93668799c7cbf3ddf8684862392025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 70bc05cabaedadbda77582501303e3a59bdbae21087bdedeede7d1496b8af8ac [INFO] running `Command { std: "docker" "start" "-a" "70bc05cabaedadbda77582501303e3a59bdbae21087bdedeede7d1496b8af8ac", 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 3.83s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/adventofcode-eb9886ed5152ed7f) [INFO] running `Command { std: "docker" "inspect" "70bc05cabaedadbda77582501303e3a59bdbae21087bdedeede7d1496b8af8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70bc05cabaedadbda77582501303e3a59bdbae21087bdedeede7d1496b8af8ac", kill_on_drop: false }` [INFO] [stdout] 70bc05cabaedadbda77582501303e3a59bdbae21087bdedeede7d1496b8af8ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 1234c730cba743adadfc2a13b479056bcd48b7af25ee54ac9d1e1f1a993748ad [INFO] running `Command { std: "docker" "start" "-a" "1234c730cba743adadfc2a13b479056bcd48b7af25ee54ac9d1e1f1a993748ad", 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.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/adventofcode-eb9886ed5152ed7f) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test day2::validate_second_expected ... ok [INFO] [stdout] test day2::validates_expected ... ok [INFO] [stdout] test day3::count_trees_as_expected ... ok [INFO] [stdout] test day4::creates_an_invalid_passport_2 ... ok [INFO] [stdout] test day2::parse_line_expected ... ok [INFO] [stdout] test day3::count_trees_all_slopes_as_expectes ... ok [INFO] [stdout] test day7::from_str_test_2 ... ok [INFO] [stdout] test day8::test_run_code ... ok [INFO] [stdout] test day7::parse_to_hash ... ok [INFO] [stdout] test day4::creates_an_invalid_passport_4 ... 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_a_valid_passport_3 ... 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_1 ... ok [INFO] [stdout] test day5::test_seat_from_str2 ... ok [INFO] [stdout] test day5::test_seat_from_str3 ... 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_str4 ... ok [INFO] [stdout] test day6::test_form_from_str1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1234c730cba743adadfc2a13b479056bcd48b7af25ee54ac9d1e1f1a993748ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1234c730cba743adadfc2a13b479056bcd48b7af25ee54ac9d1e1f1a993748ad", kill_on_drop: false }` [INFO] [stdout] 1234c730cba743adadfc2a13b479056bcd48b7af25ee54ac9d1e1f1a993748ad