[INFO] cloning repository https://github.com/sinclairzx81/black [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sinclairzx81/black" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinclairzx81%2Fblack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinclairzx81%2Fblack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f2de656837bcd92163e8fec4dc82da753ff356d [INFO] checking sinclairzx81/black against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinclairzx81%2Fblack" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sinclairzx81/black on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sinclairzx81/black [INFO] finished tweaking git repo https://github.com/sinclairzx81/black [INFO] tweaked toml for git repo https://github.com/sinclairzx81/black written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/sinclairzx81/black already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6390d44ccbe8154de5bdef4ece02fba2e34b8145e8c5306cc458260bcf8b89c [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" "b6390d44ccbe8154de5bdef4ece02fba2e34b8145e8c5306cc458260bcf8b89c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6390d44ccbe8154de5bdef4ece02fba2e34b8145e8c5306cc458260bcf8b89c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6390d44ccbe8154de5bdef4ece02fba2e34b8145e8c5306cc458260bcf8b89c", kill_on_drop: false }` [INFO] [stdout] b6390d44ccbe8154de5bdef4ece02fba2e34b8145e8c5306cc458260bcf8b89c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6861a4ad6e01e0016fc90de68b2470321704ecf892a9928af9be92a699928ef9 [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" "6861a4ad6e01e0016fc90de68b2470321704ecf892a9928af9be92a699928ef9", kill_on_drop: false }` [INFO] [stderr] Checking black-math v0.1.0 (/opt/rustwide/workdir/black-math) [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling black-codegen v0.1.0 (/opt/rustwide/workdir/black-codegen) [INFO] [stderr] Checking syn v0.11.11 [INFO] [stderr] Checking black-raster v0.1.0 (/opt/rustwide/workdir/black-raster) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 68 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 134 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 257 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 58 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 110 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)) [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] 163 | _ => panic!("Cannot interpolate type '{}'", field.kind) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/metadata.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!(format!("Unable to read field '{}'", name)) [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] 58 | _ => panic!("Unable to read field '{}'", name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling minifb v0.12.0 [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking black v0.1.0 (/opt/rustwide/workdir/black) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 68 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 134 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 257 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 58 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 110 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)) [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] 163 | _ => panic!("Cannot interpolate type '{}'", field.kind) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/metadata.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!(format!("Unable to read field '{}'", name)) [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] 58 | _ => panic!("Unable to read field '{}'", name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 68 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 134 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate_sse41.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 257 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 58 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)), [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] 110 | _ => panic!("Cannot interpolate type '{}'", field.kind), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/interpolate.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | _ => panic!(format!("Cannot interpolate type '{}'", field.kind)) [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] 163 | _ => panic!("Cannot interpolate type '{}'", field.kind) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> black-codegen/src/metadata.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!(format!("Unable to read field '{}'", name)) [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] 58 | _ => panic!("Unable to read field '{}'", name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking workbench v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.56s [INFO] running `Command { std: "docker" "inspect" "6861a4ad6e01e0016fc90de68b2470321704ecf892a9928af9be92a699928ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6861a4ad6e01e0016fc90de68b2470321704ecf892a9928af9be92a699928ef9", kill_on_drop: false }` [INFO] [stdout] 6861a4ad6e01e0016fc90de68b2470321704ecf892a9928af9be92a699928ef9