[INFO] fetching crate duplicate 0.2.9... [INFO] checking duplicate-0.2.9 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate duplicate 0.2.9 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate duplicate 0.2.9 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate duplicate 0.2.9 [INFO] finished tweaking crates.io crate duplicate 0.2.9 [INFO] tweaked toml for crates.io crate duplicate 0.2.9 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macrotest v1.0.5 [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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f322f0ce1085dae103ad6d9799a0ca34c0e7e2f13063302ebb531bd6f34c4dd [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" "0f322f0ce1085dae103ad6d9799a0ca34c0e7e2f13063302ebb531bd6f34c4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f322f0ce1085dae103ad6d9799a0ca34c0e7e2f13063302ebb531bd6f34c4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f322f0ce1085dae103ad6d9799a0ca34c0e7e2f13063302ebb531bd6f34c4dd", kill_on_drop: false }` [INFO] [stdout] 0f322f0ce1085dae103ad6d9799a0ca34c0e7e2f13063302ebb531bd6f34c4dd [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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c167526e948b5e9f94b84cb05a2137186f2ff753f19fc17333dc4a633f38bf6 [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" "4c167526e948b5e9f94b84cb05a2137186f2ff753f19fc17333dc4a633f38bf6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking duplicate v0.2.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/substitute.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 235 | | "Substitution identifier '{}' takes {} arguments but was supplied \ [INFO] [stdout] 236 | | with none.", [INFO] [stdout] 237 | | ident.to_string(), [INFO] [stdout] 238 | | subst.arg_count [INFO] [stdout] 239 | | )) [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] 234 | panic!( [INFO] [stdout] 235 | "Substitution identifier '{}' takes {} arguments but was supplied \ [INFO] [stdout] 236 | with none.", [INFO] [stdout] 237 | ident.to_string(), [INFO] [stdout] 238 | subst.arg_count [INFO] [stdout] 239 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/substitute.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 235 | | "Substitution identifier '{}' takes {} arguments but was supplied \ [INFO] [stdout] 236 | | with none.", [INFO] [stdout] 237 | | ident.to_string(), [INFO] [stdout] 238 | | subst.arg_count [INFO] [stdout] 239 | | )) [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] 234 | panic!( [INFO] [stdout] 235 | "Substitution identifier '{}' takes {} arguments but was supplied \ [INFO] [stdout] 236 | with none.", [INFO] [stdout] 237 | ident.to_string(), [INFO] [stdout] 238 | subst.arg_count [INFO] [stdout] 239 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking macrotest v1.0.5 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | panic!(format!("Error accessing source file: {:?}", file)) [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] 107 | panic!("Error accessing source file: {:?}", file) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/default_features/mod.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(IS_DEFAULT, format!("Feature '{}' is not enabled by default.", $feature_string)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | default_features!(pretty_errors "pretty_errors"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `default_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | assert!(IS_DEFAULT, "Feature '{}' is not enabled by default.", $feature_string); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/default_features/mod.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(IS_DEFAULT, format!("Feature '{}' is not enabled by default.", $feature_string)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | default_features!(module_disambiguation "module_disambiguation"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `default_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | assert!(IS_DEFAULT, "Feature '{}' is not enabled by default.", $feature_string); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | panic!(format!("Error accessing source file: {:?}", file)) [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] 107 | panic!("Error accessing source file: {:?}", file) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/substitute.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 235 | | "Substitution identifier '{}' takes {} arguments but was supplied \ [INFO] [stdout] 236 | | with none.", [INFO] [stdout] 237 | | ident.to_string(), [INFO] [stdout] 238 | | subst.arg_count [INFO] [stdout] 239 | | )) [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] 234 | panic!( [INFO] [stdout] 235 | "Substitution identifier '{}' takes {} arguments but was supplied \ [INFO] [stdout] 236 | with none.", [INFO] [stdout] 237 | ident.to_string(), [INFO] [stdout] 238 | subst.arg_count [INFO] [stdout] 239 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.41s [INFO] running `Command { std: "docker" "inspect" "4c167526e948b5e9f94b84cb05a2137186f2ff753f19fc17333dc4a633f38bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c167526e948b5e9f94b84cb05a2137186f2ff753f19fc17333dc4a633f38bf6", kill_on_drop: false }` [INFO] [stdout] 4c167526e948b5e9f94b84cb05a2137186f2ff753f19fc17333dc4a633f38bf6