[INFO] cloning repository https://github.com/fresh88888888/rust-bmp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fresh88888888/rust-bmp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffresh88888888%2Frust-bmp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffresh88888888%2Frust-bmp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba3fd0e9e7cf616169f214e29e92e5bfbcce3041 [INFO] checking fresh88888888/rust-bmp against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffresh88888888%2Frust-bmp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fresh88888888/rust-bmp 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 git repo https://github.com/fresh88888888/rust-bmp [INFO] finished tweaking git repo https://github.com/fresh88888888/rust-bmp [INFO] tweaked toml for git repo https://github.com/fresh88888888/rust-bmp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fresh88888888/rust-bmp already has a lockfile, it will not be regenerated [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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/four/Cargo.toml: file `/workspace/builds/worker-5-tc1/source/four/examples/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `clist` [INFO] [stderr] * `example` target `main` [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] 9ffe0ee98e5fbdc301cf107531908cab25c5b9dabd95ac4894d00b59bb15f308 [INFO] running `Command { std: "docker" "start" "-a" "9ffe0ee98e5fbdc301cf107531908cab25c5b9dabd95ac4894d00b59bb15f308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ffe0ee98e5fbdc301cf107531908cab25c5b9dabd95ac4894d00b59bb15f308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ffe0ee98e5fbdc301cf107531908cab25c5b9dabd95ac4894d00b59bb15f308", kill_on_drop: false }` [INFO] [stdout] 9ffe0ee98e5fbdc301cf107531908cab25c5b9dabd95ac4894d00b59bb15f308 [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] aca1721fcb7bcdc1eb9042512a00dfe2905bdf06e525515d428240011c01d39f [INFO] running `Command { std: "docker" "start" "-a" "aca1721fcb7bcdc1eb9042512a00dfe2905bdf06e525515d428240011c01d39f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/four/Cargo.toml: file `/opt/rustwide/workdir/four/examples/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `clist` [INFO] [stderr] * `example` target `main` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking four v0.1.0 (/opt/rustwide/workdir/four) [INFO] [stderr] Checking three v0.1.0 (/opt/rustwide/workdir/three) [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking two v0.1.0 (/opt/rustwide/workdir/two) [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> two/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> two/src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{AsRef, From}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `AsRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `From` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{AsRef, From}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `fmt` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `io` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Cursor` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Read` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> two/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> two/src/lib.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{AsRef, From}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `AsRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `From` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{AsRef, From}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `fmt` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `io` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Cursor` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Read` is imported redundantly [INFO] [stdout] --> two/src/decoder.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Read` is imported redundantly [INFO] [stdout] --> two/src/lib.rs:358:19 [INFO] [stdout] | [INFO] [stdout] 357 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] 358 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `two` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `two` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "aca1721fcb7bcdc1eb9042512a00dfe2905bdf06e525515d428240011c01d39f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca1721fcb7bcdc1eb9042512a00dfe2905bdf06e525515d428240011c01d39f", kill_on_drop: false }` [INFO] [stdout] aca1721fcb7bcdc1eb9042512a00dfe2905bdf06e525515d428240011c01d39f