[INFO] fetching crate duplicate 0.2.9... [INFO] checking duplicate-0.2.9 against master#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] extracting crate duplicate 0.2.9 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate duplicate 0.2.9 on toolchain 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd50f45dc888eef22f066c0f3da75d75b906608f220ba27d521bb575dba2b837 [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" "fd50f45dc888eef22f066c0f3da75d75b906608f220ba27d521bb575dba2b837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd50f45dc888eef22f066c0f3da75d75b906608f220ba27d521bb575dba2b837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd50f45dc888eef22f066c0f3da75d75b906608f220ba27d521bb575dba2b837", kill_on_drop: false }` [INFO] [stdout] fd50f45dc888eef22f066c0f3da75d75b906608f220ba27d521bb575dba2b837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+50e1dc1536264ab71c0850f346b12309477f29f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b24e9e9fb25bc2847016a53aaee2c7fd44a91c3bf1fa2643c92f3f585b50c332 [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" "b24e9e9fb25bc2847016a53aaee2c7fd44a91c3bf1fa2643c92f3f585b50c332", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [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 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] [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/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: 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: 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 47.32s [INFO] running `Command { std: "docker" "inspect" "b24e9e9fb25bc2847016a53aaee2c7fd44a91c3bf1fa2643c92f3f585b50c332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24e9e9fb25bc2847016a53aaee2c7fd44a91c3bf1fa2643c92f3f585b50c332", kill_on_drop: false }` [INFO] [stdout] b24e9e9fb25bc2847016a53aaee2c7fd44a91c3bf1fa2643c92f3f585b50c332