[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#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavel1269%2Fadvent-of-code-2020" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pavel1269/advent-of-code-2020 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.1.16 [INFO] [stderr] Downloaded time-test v0.2.2 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d85c25494d3cb4c9920bc5e05158c25e1fd3930e913d897d2530c99492299f14 [INFO] running `Command { std: "docker" "start" "-a" "d85c25494d3cb4c9920bc5e05158c25e1fd3930e913d897d2530c99492299f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d85c25494d3cb4c9920bc5e05158c25e1fd3930e913d897d2530c99492299f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85c25494d3cb4c9920bc5e05158c25e1fd3930e913d897d2530c99492299f14", kill_on_drop: false }` [INFO] [stdout] d85c25494d3cb4c9920bc5e05158c25e1fd3930e913d897d2530c99492299f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cba1a8d552b6b3149b5eb442d94f6248f54891678f37a1c07d89d1d4d3918e22 [INFO] running `Command { std: "docker" "start" "-a" "cba1a8d552b6b3149b5eb442d94f6248f54891678f37a1c07d89d1d4d3918e22", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [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 thread_local v1.0.1 [INFO] [stderr] Checking time-test v0.2.2 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.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_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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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_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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 8.28s [INFO] running `Command { std: "docker" "inspect" "cba1a8d552b6b3149b5eb442d94f6248f54891678f37a1c07d89d1d4d3918e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba1a8d552b6b3149b5eb442d94f6248f54891678f37a1c07d89d1d4d3918e22", kill_on_drop: false }` [INFO] [stdout] cba1a8d552b6b3149b5eb442d94f6248f54891678f37a1c07d89d1d4d3918e22