[INFO] cloning repository https://github.com/kamioftea/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamioftea/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamioftea%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamioftea%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7592646436f26bcea7531952b6f8db8af7633f13 [INFO] testing kamioftea/advent-of-code-2020 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamioftea%2Fadvent-of-code-2020" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamioftea/advent-of-code-2020 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamioftea/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/kamioftea/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/kamioftea/advent-of-code-2020 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/kamioftea/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b19d511a3a1d9280a439a54a60cc76f37bcc8e878042d97582bccf109dab588 [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" "7b19d511a3a1d9280a439a54a60cc76f37bcc8e878042d97582bccf109dab588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b19d511a3a1d9280a439a54a60cc76f37bcc8e878042d97582bccf109dab588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b19d511a3a1d9280a439a54a60cc76f37bcc8e878042d97582bccf109dab588", kill_on_drop: false }` [INFO] [stdout] 7b19d511a3a1d9280a439a54a60cc76f37bcc8e878042d97582bccf109dab588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd9ffdb5e5f7b6da6fb5b2cfcb0c16bce0bd7bb3358c9807431a5d9135a363eb [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" "fd9ffdb5e5f7b6da6fb5b2cfcb0c16bce0bd7bb3358c9807431a5d9135a363eb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling text_io v0.1.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling sized-chunks v0.6.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day_11.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | format!("x = {} is out of bounds for Grid with row size {}", x, self.row_length) [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 assert!() 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] 33 | "x = {} is out of bounds for Grid with row size {}", x, self.row_length [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day_12.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | _ => panic!(format!("Invalid instruction {}", magnitude)) [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] 129 | _ => panic!("Invalid instruction {}", magnitude) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.49s [INFO] running `Command { std: "docker" "inspect" "fd9ffdb5e5f7b6da6fb5b2cfcb0c16bce0bd7bb3358c9807431a5d9135a363eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9ffdb5e5f7b6da6fb5b2cfcb0c16bce0bd7bb3358c9807431a5d9135a363eb", kill_on_drop: false }` [INFO] [stdout] fd9ffdb5e5f7b6da6fb5b2cfcb0c16bce0bd7bb3358c9807431a5d9135a363eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d91ca821630433784c1813422f642563e75fde92062e49d5677459252c9a0a4 [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" "4d91ca821630433784c1813422f642563e75fde92062e49d5677459252c9a0a4", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day_11.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | format!("x = {} is out of bounds for Grid with row size {}", x, self.row_length) [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 assert!() 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] 33 | "x = {} is out of bounds for Grid with row size {}", x, self.row_length [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day_12.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | _ => panic!(format!("Invalid instruction {}", magnitude)) [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] 129 | _ => panic!("Invalid instruction {}", magnitude) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.63s [INFO] running `Command { std: "docker" "inspect" "4d91ca821630433784c1813422f642563e75fde92062e49d5677459252c9a0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d91ca821630433784c1813422f642563e75fde92062e49d5677459252c9a0a4", kill_on_drop: false }` [INFO] [stdout] 4d91ca821630433784c1813422f642563e75fde92062e49d5677459252c9a0a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74237250682db65d16987bf3f958d59b12bcb5a1122fd50f9cade0b1538f0c26 [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" "74237250682db65d16987bf3f958d59b12bcb5a1122fd50f9cade0b1538f0c26", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 66 tests [INFO] [stderr] --> src/day_11.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | format!("x = {} is out of bounds for Grid with row size {}", x, self.row_length) [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 assert!() 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] 33 | "x = {} is out of bounds for Grid with row size {}", x, self.row_length [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day_12.rs:129:25 [INFO] [stderr] | [INFO] [stderr] 129 | _ => panic!(format!("Invalid instruction {}", magnitude)) [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] 129 | _ => panic!("Invalid instruction {}", magnitude) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code_2020-f022bce0ef581f42) [INFO] [stdout] test day_10::tests::can_calculate_jolts ... ok [INFO] [stdout] test day_10::tests::can_calculate_combinations ... ok [INFO] [stdout] test day_11::tests::can_size_grid ... ok [INFO] [stdout] test day_12::tests::can_calc_distance ... ok [INFO] [stdout] test day_11::tests::can_lookup_surrounds ... ok [INFO] [stdout] test day_12::tests::can_navigate_with_waypoint ... ok [INFO] [stdout] test day_11::tests::can_lookup_visible_seats ... ok [INFO] [stdout] test day_11::tests::can_parse ... ok [INFO] [stdout] test day_12::tests::can_parse ... ok [INFO] [stdout] test day_12::tests::can_navigate ... ok [INFO] [stdout] test day_10::tests::can_parse ... ok [INFO] [stdout] test day_11::tests::can_iterate_cell ... ok [INFO] [stdout] test day_11::tests::can_count_stable_adjacent_occupation ... ok [INFO] [stdout] test day_11::tests::can_iterate_part_2 ... ok [INFO] [stdout] test day_11::tests::can_iterate_grid ... ok [INFO] [stdout] test day_11::tests::can_look_up_visible_seat ... ok [INFO] [stdout] test day_16::tests::can_map_ticket ... ok [INFO] [stdout] test day_5::tests::can_extract_column ... ok [INFO] [stdout] test day_14::tests::can_explode_addresses ... ok [INFO] [stdout] test day_5::tests::can_extract_row ... ok [INFO] [stdout] test day_1::tests::can_parse_file ... ok [INFO] [stdout] test day_14::tests::can_run_program_v1 ... ok [INFO] [stdout] test day_13::tests::can_find_next_departure ... ok [INFO] [stdout] test day_12::tests::can_process_example ... ok [INFO] [stdout] test day_5::tests::can_find_seat ... ok [INFO] [stdout] test day_4::tests::can_parse_passports ... ok [INFO] [stdout] test day_15::tests::can_parse ... ok [INFO] [stdout] test day_17::tests::can_count_adjacent ... ok [INFO] [stdout] test day_14::tests::can_run_program_v2 ... ok [INFO] [stdout] test day_17::tests::can_parse ... ok [INFO] [stdout] test day_13::tests::can_parse ... ok [INFO] [stdout] test day_13::tests::can_find_best_departure ... ok [INFO] [stdout] test day_2::tests::can_validate_official_toboggan ... ok [INFO] [stdout] test day_17::tests::can_toggle_cell ... ok [INFO] [stdout] test day_2::tests::can_parse_line ... ok [INFO] [stdout] test day_16::tests::can_calculate_error_rate ... ok [INFO] [stdout] test day_2::tests::can_validate_sled_rental ... ok [INFO] [stdout] test day_3::tests::can_count_trees ... ok [INFO] [stdout] test day_1::tests::can_find_triple_sum ... ok [INFO] [stdout] test day_13::tests::can_find_sequential_departure ... ok [INFO] [stdout] test day_1::tests::can_find_sum ... ok [INFO] [stdout] test day_11::tests::can_count_stable_visible_occupation ... ok [INFO] [stdout] test day_3::tests::can_parse_file ... ok [INFO] [stdout] test day_6::tests::can_parse_union_group ... ok [INFO] [stdout] test day_6::tests::can_parse_intersect_group ... ok [INFO] [stdout] test day_6::tests::can_parse_and_count_union_groups ... ok [INFO] [stdout] test day_16::tests::can_validate_positions ... ok [INFO] [stdout] test day_5::tests::can_parse_seat_code ... ok [INFO] [stdout] test day_8::tests::can_run_infinite_program ... ok [INFO] [stdout] test day_8::tests::can_find_finite_program ... ok [INFO] [stdout] test day_6::tests::can_parse_and_count_intersect_groups ... ok [INFO] [stdout] test day_9::tests::can_find_first_invalid ... ok [INFO] [stdout] test day_8::tests::can_run_finite_program ... ok [INFO] [stdout] test day_9::tests::can_find_weakness ... ok [INFO] [stdout] test day_7::tests::can_find_possible_containers ... ok [INFO] [stdout] test day_14::tests::can_parse ... ok [INFO] [stdout] test day_16::tests::can_parse ... ok [INFO] [stdout] test day_7::tests::can_parse_rule ... ok [INFO] [stdout] test day_7::tests::can_build_direct_containers ... ok [INFO] [stdout] test day_8::tests::can_parse ... ok [INFO] [stdout] test day_7::tests::can_parse_rules ... ok [INFO] [stdout] test day_7::tests::can_count_bag_contents ... ok [INFO] [stdout] test day_4::tests::can_validate_passport_fields ... ok [INFO] [stdout] test day_17::tests::can_iterate ... ok [INFO] [stdout] test day_17::tests::can_expand_to_4d ... ok [INFO] [stdout] test day_15::tests::can_play_memory_game ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 66 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 59.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "74237250682db65d16987bf3f958d59b12bcb5a1122fd50f9cade0b1538f0c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74237250682db65d16987bf3f958d59b12bcb5a1122fd50f9cade0b1538f0c26", kill_on_drop: false }` [INFO] [stdout] 74237250682db65d16987bf3f958d59b12bcb5a1122fd50f9cade0b1538f0c26