[INFO] fetching crate dfu-core 0.7.0... [INFO] checking dfu-core-0.7.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate dfu-core 0.7.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate dfu-core 0.7.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dfu-core 0.7.0 [INFO] tweaked toml for crates.io crate dfu-core 0.7.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dfu-core 0.7.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding pretty-hex v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da40392e99e407482a708a6740aa682b689988ee37ee3d36fdd0246a2ab4bd3f [INFO] running `Command { std: "docker" "start" "-a" "da40392e99e407482a708a6740aa682b689988ee37ee3d36fdd0246a2ab4bd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da40392e99e407482a708a6740aa682b689988ee37ee3d36fdd0246a2ab4bd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da40392e99e407482a708a6740aa682b689988ee37ee3d36fdd0246a2ab4bd3f", kill_on_drop: false }` [INFO] [stdout] da40392e99e407482a708a6740aa682b689988ee37ee3d36fdd0246a2ab4bd3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 640fc6d42dce1ba4ad994747b736bdbc0243e47f6fb3e58b975d85c2d21755e1 [INFO] running `Command { std: "docker" "start" "-a" "640fc6d42dce1ba4ad994747b736bdbc0243e47f6fb3e58b975d85c2d21755e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking dfu-core v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking futures-test v0.3.31 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/get_status.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_status(self, buffer: &mut [u8]) -> (GetStatusRecv, UsbReadControl) { [INFO] [stdout] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_status(self, buffer: &mut [u8]) -> (GetStatusRecv, UsbReadControl<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dfu_core::memory_layout::MemoryLayout` [INFO] [stdout] --> tests/mock.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | functional_descriptor::FunctionalDescriptor, memory_layout::MemoryLayout, DfuIo, DfuProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MemoryLayout` in `memory_layout` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/memory_layout.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(any(feature = "std", test))] [INFO] [stdout] | ----------------------- the item is gated here [INFO] [stdout] 32 | #[cfg_attr(docsrs, doc(cfg(feature = "std")))] [INFO] [stdout] 33 | pub struct MemoryLayout(Vec); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sync` in `dfu_core` [INFO] [stdout] --> tests/download.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | let mut dfu = dfu_core::sync::DfuSync::new(mock); [INFO] [stdout] | ^^^^ could not find `sync` in `dfu_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(any(feature = "std", test))] [INFO] [stdout] | ----------------------- the item is gated here [INFO] [stdout] 27 | #[cfg_attr(docsrs, doc(cfg(feature = "std")))] [INFO] [stdout] 28 | pub mod sync; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> tests/mock.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::TryFrom, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_dyn_error` exists for reference `&dfu_core::Error`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mock.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | #[error(transparent)] [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `&dfu_core::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | -------------- doesn't satisfy `dfu_core::Error: AsDynError<'_>` or `dfu_core::Error: std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dfu_core::Error: std::error::Error` [INFO] [stdout] which is required by `dfu_core::Error: AsDynError<'_>` [INFO] [stdout] `&dfu_core::Error: std::error::Error` [INFO] [stdout] which is required by `&dfu_core::Error: AsDynError<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::prelude::v1::*` [INFO] [stdout] --> src/lib.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dfu-core` (test "download") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/get_status.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_status(self, buffer: &mut [u8]) -> (GetStatusRecv, UsbReadControl) { [INFO] [stdout] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_status(self, buffer: &mut [u8]) -> (GetStatusRecv, UsbReadControl<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "640fc6d42dce1ba4ad994747b736bdbc0243e47f6fb3e58b975d85c2d21755e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "640fc6d42dce1ba4ad994747b736bdbc0243e47f6fb3e58b975d85c2d21755e1", kill_on_drop: false }` [INFO] [stdout] 640fc6d42dce1ba4ad994747b736bdbc0243e47f6fb3e58b975d85c2d21755e1