[INFO] cloning repository https://github.com/kschat/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/kschat/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkschat%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkschat%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26fb64f501a412a42e4800d0d104052de1979ccd [INFO] testing kschat/advent-of-code-2020 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkschat%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/kschat/advent-of-code-2020 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/kschat/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/kschat/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/kschat/advent-of-code-2020 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/kschat/advent-of-code-2020 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 cached v0.22.0 [INFO] [stderr] Downloaded darling_macro v0.10.3 [INFO] [stderr] Downloaded darling v0.10.3 [INFO] [stderr] Downloaded darling_core v0.10.3 [INFO] [stderr] Downloaded cached_proc_macro v0.6.0 [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.0 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", 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] c2a4df33abbd45d0ce0602dcbff37a6a30a48293c907d91efc16d63c00d28a63 [INFO] running `Command { std: "docker" "start" "-a" "c2a4df33abbd45d0ce0602dcbff37a6a30a48293c907d91efc16d63c00d28a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2a4df33abbd45d0ce0602dcbff37a6a30a48293c907d91efc16d63c00d28a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a4df33abbd45d0ce0602dcbff37a6a30a48293c907d91efc16d63c00d28a63", kill_on_drop: false }` [INFO] [stdout] c2a4df33abbd45d0ce0602dcbff37a6a30a48293c907d91efc16d63c00d28a63 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a02df392f87e776d3a25dcf5ab4cb47c7aba98b651a32dc01e30b49f889c42d [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" "7a02df392f87e776d3a25dcf5ab4cb47c7aba98b651a32dc01e30b49f889c42d", 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.54 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling darling_core v0.10.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling darling_macro v0.10.3 [INFO] [stderr] Compiling darling v0.10.3 [INFO] [stderr] Compiling cached_proc_macro v0.6.0 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling cached v0.22.0 [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/d14.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &'static str = include_str!("../data/docking-program.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d03.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | value => panic!(format!("Unknown value \"{}\" in map", value)), [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] 84 | value => panic!("Unknown value \"{}\" in map", value), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d05.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | _ => panic!(format!("Unknown direction \"{}\"", direction)), [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] 46 | _ => panic!("Unknown direction \"{}\"", direction), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | Some(token) => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 141 | Some(token) => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 190 | _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | Some(token) => panic!(format!("Expected 'contain', found \"{:?}\"", token)), [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] 202 | Some(token) => panic!("Expected 'contain', found \"{:?}\"", token), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:219:25 [INFO] [stdout] | [INFO] [stdout] 219 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 219 | _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d08.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | value => panic!(format!("Unexpected int code \"{}\"", value)), [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] 108 | value => panic!("Unexpected int code \"{}\"", value), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d10.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | val => panic!(format!("Unexpected difference {}", 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] 15 | val => panic!("Unexpected difference {}", val), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!(format!("Unknown day {}", action)), [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] 55 | _ => panic!("Unknown day {}", action), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.29s [INFO] running `Command { std: "docker" "inspect" "7a02df392f87e776d3a25dcf5ab4cb47c7aba98b651a32dc01e30b49f889c42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a02df392f87e776d3a25dcf5ab4cb47c7aba98b651a32dc01e30b49f889c42d", kill_on_drop: false }` [INFO] [stdout] 7a02df392f87e776d3a25dcf5ab4cb47c7aba98b651a32dc01e30b49f889c42d [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 763b407af18dbabcc919c98798a38bcc2400bd246599d9c3f0470d957ed15954 [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" "763b407af18dbabcc919c98798a38bcc2400bd246599d9c3f0470d957ed15954", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/d14.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &'static str = include_str!("../data/docking-program.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d03.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | value => panic!(format!("Unknown value \"{}\" in map", value)), [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] 84 | value => panic!("Unknown value \"{}\" in map", value), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d05.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | _ => panic!(format!("Unknown direction \"{}\"", direction)), [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] 46 | _ => panic!("Unknown direction \"{}\"", direction), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | Some(token) => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 141 | Some(token) => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 190 | _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | Some(token) => panic!(format!("Expected 'contain', found \"{:?}\"", token)), [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] 202 | Some(token) => panic!("Expected 'contain', found \"{:?}\"", token), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:219:25 [INFO] [stdout] | [INFO] [stdout] 219 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 219 | _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d08.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | value => panic!(format!("Unexpected int code \"{}\"", value)), [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] 108 | value => panic!("Unexpected int code \"{}\"", value), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d10.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | val => panic!(format!("Unexpected difference {}", 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] 15 | val => panic!("Unexpected difference {}", val), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!(format!("Unknown day {}", action)), [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] 55 | _ => panic!("Unknown day {}", action), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.61s [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "763b407af18dbabcc919c98798a38bcc2400bd246599d9c3f0470d957ed15954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "763b407af18dbabcc919c98798a38bcc2400bd246599d9c3f0470d957ed15954", kill_on_drop: false }` [INFO] [stdout] 763b407af18dbabcc919c98798a38bcc2400bd246599d9c3f0470d957ed15954 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c56e3206e3bc14ad583e2bb8e244b2b296acc5384c29f1209ca7761a0b546fae [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" "c56e3206e3bc14ad583e2bb8e244b2b296acc5384c29f1209ca7761a0b546fae", kill_on_drop: false }` [INFO] [stderr] warning: constant is never used: `INPUT` [INFO] [stderr] --> src/d14.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | const INPUT: &'static str = include_str!("../data/docking-program.txt"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/d03.rs:84:37 [INFO] [stderr] | [INFO] [stderr] 84 | value => panic!(format!("Unknown value \"{}\" in map", value)), [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] 84 | value => panic!("Unknown value \"{}\" in map", value), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/d05.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | _ => panic!(format!("Unknown direction \"{}\"", direction)), [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] 46 | _ => panic!("Unknown direction \"{}\"", direction), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/d07.rs:141:31 [INFO] [stderr] | [INFO] [stderr] 141 | Some(token) => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 141 | Some(token) => panic!("Unexpected token \"{:?}\"", token), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/d07.rs:190:25 [INFO] [stderr] | [INFO] [stderr] 190 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 190 | _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/d07.rs:202:31 [INFO] [stderr] | [INFO] [stderr] 202 | Some(token) => panic!(format!("Expected 'contain', found \"{:?}\"", token)), [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] 202 | Some(token) => panic!("Expected 'contain', found \"{:?}\"", token), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/d07.rs:219:25 [INFO] [stderr] | [INFO] [stderr] 219 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 219 | _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/d08.rs:108:33 [INFO] [stderr] | [INFO] [stderr] 108 | value => panic!(format!("Unexpected int code \"{}\"", value)), [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] 108 | value => panic!("Unexpected int code \"{}\"", value), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/d10.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | val => panic!(format!("Unexpected difference {}", 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] 15 | val => panic!("Unexpected difference {}", val), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:55:21 [INFO] [stderr] | [INFO] [stderr] 55 | _ => panic!(format!("Unknown day {}", action)), [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] 55 | _ => panic!("Unknown day {}", action), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code_2020-bb89de7586269a68) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c56e3206e3bc14ad583e2bb8e244b2b296acc5384c29f1209ca7761a0b546fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c56e3206e3bc14ad583e2bb8e244b2b296acc5384c29f1209ca7761a0b546fae", kill_on_drop: false }` [INFO] [stdout] c56e3206e3bc14ad583e2bb8e244b2b296acc5384c29f1209ca7761a0b546fae