[INFO] cloning repository https://github.com/alanbriolat/AdventOfCode2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alanbriolat/AdventOfCode2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falanbriolat%2FAdventOfCode2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falanbriolat%2FAdventOfCode2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daf15c372ed4fd0ba679b6796c28a6d10c98bfca [INFO] checking alanbriolat/AdventOfCode2019 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falanbriolat%2FAdventOfCode2019" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alanbriolat/AdventOfCode2019 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alanbriolat/AdventOfCode2019 [INFO] finished tweaking git repo https://github.com/alanbriolat/AdventOfCode2019 [INFO] tweaked toml for git repo https://github.com/alanbriolat/AdventOfCode2019 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/alanbriolat/AdventOfCode2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87e3855e2fe066a132f19b6d572d716e2e39c92d4180b79475529b432d9304d5 [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" "87e3855e2fe066a132f19b6d572d716e2e39c92d4180b79475529b432d9304d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87e3855e2fe066a132f19b6d572d716e2e39c92d4180b79475529b432d9304d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87e3855e2fe066a132f19b6d572d716e2e39c92d4180b79475529b432d9304d5", kill_on_drop: false }` [INFO] [stdout] 87e3855e2fe066a132f19b6d572d716e2e39c92d4180b79475529b432d9304d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTUP_TOOLCHAIN=3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "-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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e00c03a2a5b043af25531a6d82cb3061fae1a429b5143b4ba0efa5cb5b36c607 [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" "e00c03a2a5b043af25531a6d82cb3061fae1a429b5143b4ba0efa5cb5b36c607", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-utils v0.7.0 [INFO] [stderr] Checking memchr v2.2.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day02.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 'outer: for x in 0..=99 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `segments` [INFO] [stdout] --> src/day18.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn segments<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_path_from_route` [INFO] [stdout] --> src/day18.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn get_path_from_route(&mut self, route: &Route) -> Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `segments` [INFO] [stdout] --> src/day18.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | fn segments<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(("unrecognised mode", mode)), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!("{}", ("unrecognised mode", mode)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | _ => std::panic::panic_any(("unrecognised mode", mode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | _ => panic!(("unknown opcode", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 201 | _ => panic!("{}", ("unknown opcode", opcode)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 201 | _ => std::panic::panic_any(("unknown opcode", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day11.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(("unknown rotation", direction)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!("{}", ("unknown rotation", direction)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | _ => std::panic::panic_any(("unknown rotation", direction)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day11.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | _ => panic!(("unknown direction", self.direction)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 49 | _ => panic!("{}", ("unknown direction", self.direction)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 49 | _ => std::panic::panic_any(("unknown direction", self.direction)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day13.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | _ => panic!(format!("unrecognised tile {}", v)), [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] 23 | _ => panic!("unrecognised tile {}", v), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day18.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 186 | Some(TILE_ENTRANCE) => panic!(format!("revisited entrance location!?!? from {:?} {:?}", from_pos, from_node)), [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] 186 | Some(TILE_ENTRANCE) => panic!("revisited entrance location!?!? from {:?} {:?}", from_pos, from_node), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day18.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | unknown => panic!(format!("unknown tile: {:?}", unknown)), [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] 206 | unknown => panic!("unknown tile: {:?}", unknown), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day18.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | panic!(format!("no route between {:?} and {:?}", from, to)); [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] 344 | panic!("no route between {:?} and {:?}", from, to); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day02.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 'outer: for x in 0..=99 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day18.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(part1(), unimplemented!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day18.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(part1(), unimplemented!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day18.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(part1(), unimplemented!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day18.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | assert_eq!(part2(), unimplemented!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day18.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | assert_eq!(part2(), unimplemented!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day18.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | assert_eq!(part2(), unimplemented!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `segments` [INFO] [stdout] --> src/day18.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn segments<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_path_from_route` [INFO] [stdout] --> src/day18.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn get_path_from_route(&mut self, route: &Route) -> Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `segments` [INFO] [stdout] --> src/day18.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | fn segments<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(("unrecognised mode", mode)), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!("{}", ("unrecognised mode", mode)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | _ => std::panic::panic_any(("unrecognised mode", mode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | _ => panic!(("unknown opcode", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 201 | _ => panic!("{}", ("unknown opcode", opcode)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 201 | _ => std::panic::panic_any(("unknown opcode", opcode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day11.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(("unknown rotation", direction)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!("{}", ("unknown rotation", direction)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | _ => std::panic::panic_any(("unknown rotation", direction)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day11.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | _ => panic!(("unknown direction", self.direction)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 49 | _ => panic!("{}", ("unknown direction", self.direction)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 49 | _ => std::panic::panic_any(("unknown direction", self.direction)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day13.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | _ => panic!(format!("unrecognised tile {}", v)), [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] 23 | _ => panic!("unrecognised tile {}", v), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day18.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 186 | Some(TILE_ENTRANCE) => panic!(format!("revisited entrance location!?!? from {:?} {:?}", from_pos, from_node)), [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] 186 | Some(TILE_ENTRANCE) => panic!("revisited entrance location!?!? from {:?} {:?}", from_pos, from_node), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day18.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | unknown => panic!(format!("unknown tile: {:?}", unknown)), [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] 206 | unknown => panic!("unknown tile: {:?}", unknown), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day18.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | panic!(format!("no route between {:?} and {:?}", from, to)); [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] 344 | panic!("no route between {:?} and {:?}", from, to); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.97s [INFO] running `Command { std: "docker" "inspect" "e00c03a2a5b043af25531a6d82cb3061fae1a429b5143b4ba0efa5cb5b36c607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00c03a2a5b043af25531a6d82cb3061fae1a429b5143b4ba0efa5cb5b36c607", kill_on_drop: false }` [INFO] [stdout] e00c03a2a5b043af25531a6d82cb3061fae1a429b5143b4ba0efa5cb5b36c607