[INFO] fetching crate duplicate 0.2.9... [INFO] checking duplicate-0.2.9 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate duplicate 0.2.9 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate duplicate 0.2.9 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] baf8a4dba542cdf68b156306b87368ecb1092aea94791cc016eb9da9527e33f1 [INFO] running `Command { std: "docker" "start" "-a" "baf8a4dba542cdf68b156306b87368ecb1092aea94791cc016eb9da9527e33f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baf8a4dba542cdf68b156306b87368ecb1092aea94791cc016eb9da9527e33f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baf8a4dba542cdf68b156306b87368ecb1092aea94791cc016eb9da9527e33f1", kill_on_drop: false }` [INFO] [stdout] baf8a4dba542cdf68b156306b87368ecb1092aea94791cc016eb9da9527e33f1 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 082bde2367c8402ea497403c4f64856b685a764279e384cb2b378be87f0a56bb [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" "082bde2367c8402ea497403c4f64856b685a764279e384cb2b378be87f0a56bb", 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.63 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [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] [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 toml v0.5.8 [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: 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 panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.06s [INFO] running `Command { std: "docker" "inspect" "082bde2367c8402ea497403c4f64856b685a764279e384cb2b378be87f0a56bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082bde2367c8402ea497403c4f64856b685a764279e384cb2b378be87f0a56bb", kill_on_drop: false }` [INFO] [stdout] 082bde2367c8402ea497403c4f64856b685a764279e384cb2b378be87f0a56bb