[INFO] cloning repository https://github.com/pavel1269/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/pavel1269/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavel1269%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavel1269%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6cc758d3cf55f3a6dbd2f2ab4e1a7b8ea9339af [INFO] checking pavel1269/advent-of-code-2020 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavel1269%2Fadvent-of-code-2020" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pavel1269/advent-of-code-2020 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pavel1269/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/pavel1269/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/pavel1269/advent-of-code-2020 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pavel1269/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] [stderr] Downloaded time-test v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b3d921923d80cc872c4ebc908064231bf96914a3b084d249f6ed4a28a392f4d [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" "3b3d921923d80cc872c4ebc908064231bf96914a3b084d249f6ed4a28a392f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b3d921923d80cc872c4ebc908064231bf96914a3b084d249f6ed4a28a392f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b3d921923d80cc872c4ebc908064231bf96914a3b084d249f6ed4a28a392f4d", kill_on_drop: false }` [INFO] [stdout] 3b3d921923d80cc872c4ebc908064231bf96914a3b084d249f6ed4a28a392f4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39e0a34f32b35070c60d633a65402a7b1ed836241307a605c37bfdcce90cc539 [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" "39e0a34f32b35070c60d633a65402a7b1ed836241307a605c37bfdcce90cc539", kill_on_drop: false }` [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking time-test v0.2.2 [INFO] [stderr] Checking aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day08.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | Operation::Acc => panic!(format!("Unexpected operation after program end '{:?}'", instruction.operation)), [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] 86 | Operation::Acc => panic!("Unexpected operation after program end '{:?}'", instruction.operation), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day08.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | panic!(format!("Loop not detected, {:?}", result)); [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] 104 | panic!("Loop not detected, {:?}", result); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day12.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | _ => panic!(format!("Unown direction '{}'", &captures[1])), [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] 209 | _ => panic!("Unown direction '{}'", &captures[1]), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day16.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 74 | | "Could not find any column for retriction '{}'", [INFO] [stdout] 75 | | restriction.name [INFO] [stdout] 76 | | )); [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] 73 | panic!( [INFO] [stdout] 74 | "Could not find any column for retriction '{}'", [INFO] [stdout] 75 | restriction.name [INFO] [stdout] 76 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day17/space.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 151 | | "Unexpected input dimension, found {}, expected: {}", [INFO] [stdout] 152 | | line.len(), [INFO] [stdout] 153 | | max_x [INFO] [stdout] 154 | | )); [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] 150 | panic!( [INFO] [stdout] 151 | "Unexpected input dimension, found {}, expected: {}", [INFO] [stdout] 152 | line.len(), [INFO] [stdout] 153 | max_x [INFO] [stdout] 154 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day18/parser.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!(format!("Unexpected char '{}'", char)), [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] 61 | _ => panic!("Unexpected char '{}'", char), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day19/mod.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | None => panic!(format!("Rule {} not found", index_rule)), [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] 73 | None => panic!("Rule {} not found", index_rule), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day19/mod.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 140 | | "Not all rules solved, rules: {:?}", [INFO] [stdout] 141 | | rules_to_rework [INFO] [stdout] 142 | | )); [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] 139 | panic!( [INFO] [stdout] 140 | "Not all rules solved, rules: {:?}", [INFO] [stdout] 141 | rules_to_rework [INFO] [stdout] 142 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day08.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | Operation::Acc => panic!(format!("Unexpected operation after program end '{:?}'", instruction.operation)), [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] 86 | Operation::Acc => panic!("Unexpected operation after program end '{:?}'", instruction.operation), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day08.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | panic!(format!("Loop not detected, {:?}", result)); [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] 104 | panic!("Loop not detected, {:?}", result); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day12.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | _ => panic!(format!("Unown direction '{}'", &captures[1])), [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] 209 | _ => panic!("Unown direction '{}'", &captures[1]), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day16.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 74 | | "Could not find any column for retriction '{}'", [INFO] [stdout] 75 | | restriction.name [INFO] [stdout] 76 | | )); [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] 73 | panic!( [INFO] [stdout] 74 | "Could not find any column for retriction '{}'", [INFO] [stdout] 75 | restriction.name [INFO] [stdout] 76 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day17/space.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 151 | | "Unexpected input dimension, found {}, expected: {}", [INFO] [stdout] 152 | | line.len(), [INFO] [stdout] 153 | | max_x [INFO] [stdout] 154 | | )); [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] 150 | panic!( [INFO] [stdout] 151 | "Unexpected input dimension, found {}, expected: {}", [INFO] [stdout] 152 | line.len(), [INFO] [stdout] 153 | max_x [INFO] [stdout] 154 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day18/parser.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!(format!("Unexpected char '{}'", char)), [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] 61 | _ => panic!("Unexpected char '{}'", char), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day19/mod.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | None => panic!(format!("Rule {} not found", index_rule)), [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] 73 | None => panic!("Rule {} not found", index_rule), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day19/mod.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 140 | | "Not all rules solved, rules: {:?}", [INFO] [stdout] 141 | | rules_to_rework [INFO] [stdout] 142 | | )); [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] 139 | panic!( [INFO] [stdout] 140 | "Not all rules solved, rules: {:?}", [INFO] [stdout] 141 | rules_to_rework [INFO] [stdout] 142 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.87s [INFO] running `Command { std: "docker" "inspect" "39e0a34f32b35070c60d633a65402a7b1ed836241307a605c37bfdcce90cc539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e0a34f32b35070c60d633a65402a7b1ed836241307a605c37bfdcce90cc539", kill_on_drop: false }` [INFO] [stdout] 39e0a34f32b35070c60d633a65402a7b1ed836241307a605c37bfdcce90cc539