[INFO] fetching crate duplicate 0.2.9... [INFO] checking duplicate-0.2.9 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate duplicate 0.2.9 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate duplicate 0.2.9 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] f8ad454fba9180a94abea9b35888bdae7842a6b2df5b27e5ab4dcf4d3487743d [INFO] running `Command { std: "docker" "start" "-a" "f8ad454fba9180a94abea9b35888bdae7842a6b2df5b27e5ab4dcf4d3487743d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8ad454fba9180a94abea9b35888bdae7842a6b2df5b27e5ab4dcf4d3487743d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ad454fba9180a94abea9b35888bdae7842a6b2df5b27e5ab4dcf4d3487743d", kill_on_drop: false }` [INFO] [stdout] f8ad454fba9180a94abea9b35888bdae7842a6b2df5b27e5ab4dcf4d3487743d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] bb0452574f37d0da88ec9fff09af0f9638765f6ad87e420d55036bed3626cbac [INFO] running `Command { std: "docker" "start" "-a" "bb0452574f37d0da88ec9fff09af0f9638765f6ad87e420d55036bed3626cbac", 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 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 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] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking 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 serde v1.0.124 [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 30.82s [INFO] running `Command { std: "docker" "inspect" "bb0452574f37d0da88ec9fff09af0f9638765f6ad87e420d55036bed3626cbac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0452574f37d0da88ec9fff09af0f9638765f6ad87e420d55036bed3626cbac", kill_on_drop: false }` [INFO] [stdout] bb0452574f37d0da88ec9fff09af0f9638765f6ad87e420d55036bed3626cbac