[INFO] fetching crate crates-mirror 0.2.1... [INFO] extracting crate crates-mirror 0.2.1 into work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/reg/crates-mirror/0.2.1 [INFO] extracting crate crates-mirror 0.2.1 into work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/reg/crates-mirror/0.2.1 [INFO] validating manifest of crates-mirror-0.2.1 on toolchain master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of crates-mirror-0.2.1 on toolchain try#8f81d0bf6baf07b92f1246696722485c4ca0b049 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing crates-mirror-0.2.1 [INFO] finished frobbing crates-mirror-0.2.1 [INFO] frobbed toml for crates-mirror-0.2.1 written to work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/reg/crates-mirror/0.2.1/Cargo.toml [INFO] started frobbing crates-mirror-0.2.1 [INFO] finished frobbing crates-mirror-0.2.1 [INFO] frobbed toml for crates-mirror-0.2.1 written to work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/reg/crates-mirror/0.2.1/Cargo.toml [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.2.0 [INFO] [stderr] Downloaded digest-buffer v0.1.2 [INFO] [stderr] Downloaded digest v0.2.1 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking crates-mirror-0.2.1 against try#8f81d0bf6baf07b92f1246696722485c4ca0b049 for pr-62008 [INFO] running `"docker" "create" "-v" "/mnt/big/ec2-user/crater/work/local/target-dirs/pr-62008/worker-1/try#8f81d0bf6baf07b92f1246696722485c4ca0b049:/opt/crater/target:rw,Z" "-v" "/mnt/big/ec2-user/crater/work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/reg/crates-mirror/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7c870e7b9a4117f4c1f2a124f36266bdba7e57c86337e4ba02f43c9f2164a338 [INFO] running `"docker" "start" "-a" "7c870e7b9a4117f4c1f2a124f36266bdba7e57c86337e4ba02f43c9f2164a338"` [INFO] [stderr] Checking digest-buffer v0.1.2 [INFO] [stderr] Checking digest v0.2.1 [INFO] [stderr] Checking sha2 v0.2.0 [INFO] [stderr] Checking crates-mirror v0.2.1 (/opt/crater/workdir) [INFO] [stderr] error: the item `File` is imported redundantly [INFO] [stderr] --> src/main.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 25 | use std::fs::{create_dir_all, File}; [INFO] [stderr] | ---- the item `File` is already imported here [INFO] [stderr] ... [INFO] [stderr] 70 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(unused_imports)] implied by #[deny(warnings)] [INFO] [stderr] [INFO] [stderr] error: the item `Read` is imported redundantly [INFO] [stderr] --> src/main.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 26 | use std::io::{BufWriter, Write, Read, BufReader, BufRead}; [INFO] [stderr] | ---- the item `Read` is already imported here [INFO] [stderr] ... [INFO] [stderr] 71 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: the item `File` is imported redundantly [INFO] [stderr] --> src/main.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 25 | use std::fs::{create_dir_all, File}; [INFO] [stderr] | ---- the item `File` is already imported here [INFO] [stderr] ... [INFO] [stderr] 70 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(unused_imports)] implied by #[deny(warnings)] [INFO] [stderr] [INFO] [stderr] error: the item `Read` is imported redundantly [INFO] [stderr] --> src/main.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 26 | use std::io::{BufWriter, Write, Read, BufReader, BufRead}; [INFO] [stderr] | ---- the item `Read` is already imported here [INFO] [stderr] ... [INFO] [stderr] 71 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `crates-mirror`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `crates-mirror`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7c870e7b9a4117f4c1f2a124f36266bdba7e57c86337e4ba02f43c9f2164a338"` [INFO] running `"docker" "rm" "-f" "7c870e7b9a4117f4c1f2a124f36266bdba7e57c86337e4ba02f43c9f2164a338"` [INFO] [stdout] 7c870e7b9a4117f4c1f2a124f36266bdba7e57c86337e4ba02f43c9f2164a338