[INFO] fetching crate strfmt 0.2.4... [INFO] checking strfmt-0.2.4 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate strfmt 0.2.4 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate strfmt 0.2.4 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate strfmt 0.2.4 [INFO] finished tweaking crates.io crate strfmt 0.2.4 [INFO] tweaked toml for crates.io crate strfmt 0.2.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae723fa6fad22c0b1c55f78f3d6adcdd419ff82ce7127c26c1da8303b34055a6 [INFO] running `Command { std: "docker" "start" "-a" "ae723fa6fad22c0b1c55f78f3d6adcdd419ff82ce7127c26c1da8303b34055a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae723fa6fad22c0b1c55f78f3d6adcdd419ff82ce7127c26c1da8303b34055a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae723fa6fad22c0b1c55f78f3d6adcdd419ff82ce7127c26c1da8303b34055a6", kill_on_drop: false }` [INFO] [stdout] ae723fa6fad22c0b1c55f78f3d6adcdd419ff82ce7127c26c1da8303b34055a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36ea39bc16c7c23ba73c7637296408a9b96173c6139759a6527eaa558c2ff3e4 [INFO] running `Command { std: "docker" "start" "-a" "36ea39bc16c7c23ba73c7637296408a9b96173c6139759a6527eaa558c2ff3e4", kill_on_drop: false }` [INFO] [stderr] Checking strfmt v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/fmtstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/formatter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/formatter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/fmtstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/formatter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/formatter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/tests/key.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::*; [INFO] [stdout] | --------------- the item `HashMap` is already imported here [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/tests/key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::*; [INFO] [stdout] | --------------- the item `FromStr` is already imported here [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/tests/strfmt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::*; [INFO] [stdout] | --------------- the item `HashMap` is already imported here [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/tests/strfmt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::*; [INFO] [stdout] | --------------- the item `fmt` is already imported here [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/tests/test_trait.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::*; [INFO] [stdout] | --------------- the item `HashMap` is already imported here [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "36ea39bc16c7c23ba73c7637296408a9b96173c6139759a6527eaa558c2ff3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ea39bc16c7c23ba73c7637296408a9b96173c6139759a6527eaa558c2ff3e4", kill_on_drop: false }` [INFO] [stdout] 36ea39bc16c7c23ba73c7637296408a9b96173c6139759a6527eaa558c2ff3e4