[INFO] fetching crate binfmt 0.1.1... [INFO] testing binfmt-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate binfmt 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate binfmt 0.1.1 [INFO] finished tweaking crates.io crate binfmt 0.1.1 [INFO] tweaked toml for crates.io crate binfmt 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate binfmt 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arch-ops v0.1.1 [INFO] [stderr] Downloaded target-tuples v0.5.13 [INFO] [stderr] Downloaded fake-enum v0.1.4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b734dc82aaa524b598326fad14c28e3004ca87999f98f23a4c6fc42058f3ce6 [INFO] running `Command { std: "docker" "start" "-a" "7b734dc82aaa524b598326fad14c28e3004ca87999f98f23a4c6fc42058f3ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b734dc82aaa524b598326fad14c28e3004ca87999f98f23a4c6fc42058f3ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b734dc82aaa524b598326fad14c28e3004ca87999f98f23a4c6fc42058f3ce6", kill_on_drop: false }` [INFO] [stdout] 7b734dc82aaa524b598326fad14c28e3004ca87999f98f23a4c6fc42058f3ce6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a11066668f698d822c50ca89559c99381b7f0ac4e1fbb8e5c6d19a20a8b91b57 [INFO] running `Command { std: "docker" "start" "-a" "a11066668f698d822c50ca89559c99381b7f0ac4e1fbb8e5c6d19a20a8b91b57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling target-tuples v0.5.13 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling fake-enum v0.1.4 [INFO] [stderr] Compiling arch-ops v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling binfmt v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_file(&self, ty: FileType) -> BinaryFile; [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | fn create_file(&self, ty: FileType) -> BinaryFile<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_file(&self, file: &mut (dyn ReadSeek + '_)) -> io::Result>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 35 | fn read_file(&self, file: &mut (dyn ReadSeek + '_)) -> io::Result>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn symbols(&self) -> Symbols { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | pub fn symbols(&self) -> Symbols<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn relocs(&self) -> Relocs { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn relocs(&self) -> Relocs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/binary.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn create_file(&self, ty: FileType) -> crate::fmt::BinaryFile { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | fn create_file(&self, ty: FileType) -> crate::fmt::BinaryFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/binary.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 31 | file: &mut (dyn ReadSeek + '_), [INFO] [stdout] 32 | ) -> std::io::Result> { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 32 | ) -> std::io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `binfmt` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "a11066668f698d822c50ca89559c99381b7f0ac4e1fbb8e5c6d19a20a8b91b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a11066668f698d822c50ca89559c99381b7f0ac4e1fbb8e5c6d19a20a8b91b57", kill_on_drop: false }` [INFO] [stdout] a11066668f698d822c50ca89559c99381b7f0ac4e1fbb8e5c6d19a20a8b91b57