[INFO] fetching crate duplicate 0.2.9... [INFO] checking duplicate-0.2.9 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [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 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 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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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] 337769031c23c5e78cd2f7e5ed90457028d8a32c4db5ea0c69ead279479046dc [INFO] running `Command { std: "docker" "start" "-a" "337769031c23c5e78cd2f7e5ed90457028d8a32c4db5ea0c69ead279479046dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "337769031c23c5e78cd2f7e5ed90457028d8a32c4db5ea0c69ead279479046dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "337769031c23c5e78cd2f7e5ed90457028d8a32c4db5ea0c69ead279479046dc", kill_on_drop: false }` [INFO] [stdout] 337769031c23c5e78cd2f7e5ed90457028d8a32c4db5ea0c69ead279479046dc [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f60122e7875ad92272dba9bde3961fb014cb076a52341fa93933588a6d83bf15 [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" "f60122e7875ad92272dba9bde3961fb014cb076a52341fa93933588a6d83bf15", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [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] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking diff v0.1.12 [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] 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.125 [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: 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 34.06s [INFO] running `Command { std: "docker" "inspect" "f60122e7875ad92272dba9bde3961fb014cb076a52341fa93933588a6d83bf15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f60122e7875ad92272dba9bde3961fb014cb076a52341fa93933588a6d83bf15", kill_on_drop: false }` [INFO] [stdout] f60122e7875ad92272dba9bde3961fb014cb076a52341fa93933588a6d83bf15