[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#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [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 ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parse-display-derive v0.4.0 [INFO] [stderr] Downloaded parse-display v0.4.0 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4601b226efe61b4a566890635ceb79c28749dfbec8307e6188df5af4e2a842bb [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" "4601b226efe61b4a566890635ceb79c28749dfbec8307e6188df5af4e2a842bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4601b226efe61b4a566890635ceb79c28749dfbec8307e6188df5af4e2a842bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4601b226efe61b4a566890635ceb79c28749dfbec8307e6188df5af4e2a842bb", kill_on_drop: false }` [INFO] [stdout] 4601b226efe61b4a566890635ceb79c28749dfbec8307e6188df5af4e2a842bb [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 82c51d868f9714eb06d52aae9fd9671dbd3711f43214852997e0dab147905c0c [INFO] running `Command { std: "docker" "start" "-a" "82c51d868f9714eb06d52aae9fd9671dbd3711f43214852997e0dab147905c0c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("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 is no longer accepted in Rust 2021 [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!("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 is no longer accepted in Rust 2021 [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!("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 43.86s [INFO] running `Command { std: "docker" "inspect" "82c51d868f9714eb06d52aae9fd9671dbd3711f43214852997e0dab147905c0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c51d868f9714eb06d52aae9fd9671dbd3711f43214852997e0dab147905c0c", kill_on_drop: false }` [INFO] [stdout] 82c51d868f9714eb06d52aae9fd9671dbd3711f43214852997e0dab147905c0c [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a7ed876e30d171332d0312dda98d105762ce06e76d2f2a284a551f2666e3563 [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" "2a7ed876e30d171332d0312dda98d105762ce06e76d2f2a284a551f2666e3563", 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("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 is no longer accepted in Rust 2021 [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!("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 is no longer accepted in Rust 2021 [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!("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.78s [INFO] running `Command { std: "docker" "inspect" "2a7ed876e30d171332d0312dda98d105762ce06e76d2f2a284a551f2666e3563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7ed876e30d171332d0312dda98d105762ce06e76d2f2a284a551f2666e3563", kill_on_drop: false }` [INFO] [stdout] 2a7ed876e30d171332d0312dda98d105762ce06e76d2f2a284a551f2666e3563 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7375eef0a07dc1d6367eb2f1a642594f9a32148fe381c0bb5b4895540639dcc [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" "a7375eef0a07dc1d6367eb2f1a642594f9a32148fe381c0bb5b4895540639dcc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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!("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 is no longer accepted in Rust 2021 [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!("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 is no longer accepted in Rust 2021 [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!("Illegal char: [{}]", str_val), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode-1728e78d522834ee) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test day2::validates_expected ... ok [INFO] [stdout] test day3::count_trees_all_slopes_as_expectes ... 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 day4::creates_a_valid_passport_1 ... ok [INFO] [stdout] test day6::test_form_from_str4 ... ok [INFO] [stdout] test day4::creates_an_invalid_passport_2 ... ok [INFO] [stdout] test day6::test_form_from_str3 ... ok [INFO] [stdout] test day4::creates_a_valid_passport_3 ... ok [INFO] [stdout] test day6::test_form_from_str2 ... ok [INFO] [stdout] test day6::test_form_from_str1 ... ok [INFO] [stdout] test day4::creates_an_invalid_passport_4 ... ok [INFO] [stdout] test day6::test_form_from_str6 ... ok [INFO] [stdout] test day5::test_seat_from_str1 ... ok [INFO] [stdout] test day5::test_seat_from_str3 ... ok [INFO] [stdout] test day7::from_str_test_2 ... ok [INFO] [stdout] test day6::test_form_from_str5 ... ok [INFO] [stdout] test day8::test_run_code ... ok [INFO] [stdout] test day7::from_str_test_1 ... ok [INFO] [stdout] test day5::test_seat_from_str2 ... 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.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a7375eef0a07dc1d6367eb2f1a642594f9a32148fe381c0bb5b4895540639dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7375eef0a07dc1d6367eb2f1a642594f9a32148fe381c0bb5b4895540639dcc", kill_on_drop: false }` [INFO] [stdout] a7375eef0a07dc1d6367eb2f1a642594f9a32148fe381c0bb5b4895540639dcc