[INFO] fetching crate dfu-core 0.8.0... [INFO] testing dfu-core-0.8.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate dfu-core 0.8.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate dfu-core 0.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dfu-core 0.8.0 [INFO] tweaked toml for crates.io crate dfu-core 0.8.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dfu-core 0.8.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dfu-core 0.8.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45575423b1002a9653efe0344ab2f9cf1843118d43047afbb452067d8759b0e2 [INFO] running `Command { std: "docker" "start" "-a" "45575423b1002a9653efe0344ab2f9cf1843118d43047afbb452067d8759b0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45575423b1002a9653efe0344ab2f9cf1843118d43047afbb452067d8759b0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45575423b1002a9653efe0344ab2f9cf1843118d43047afbb452067d8759b0e2", kill_on_drop: false }` [INFO] [stdout] 45575423b1002a9653efe0344ab2f9cf1843118d43047afbb452067d8759b0e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 090f20c5bf6bf4343a394c2adab8a94922bdcbc0f65f37f956a3d8e7cfde4d9e [INFO] running `Command { std: "docker" "start" "-a" "090f20c5bf6bf4343a394c2adab8a94922bdcbc0f65f37f956a3d8e7cfde4d9e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pretty-hex v0.3.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling dfu-core v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `got` is never read [INFO] [stdout] --> src/lib.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | BufferTooBig { got: usize, expected: usize }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expected` is never read [INFO] [stdout] --> src/lib.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | BufferTooBig { got: usize, expected: usize }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.57s [INFO] running `Command { std: "docker" "inspect" "090f20c5bf6bf4343a394c2adab8a94922bdcbc0f65f37f956a3d8e7cfde4d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "090f20c5bf6bf4343a394c2adab8a94922bdcbc0f65f37f956a3d8e7cfde4d9e", kill_on_drop: false }` [INFO] [stdout] 090f20c5bf6bf4343a394c2adab8a94922bdcbc0f65f37f956a3d8e7cfde4d9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e6a924ea94aba502f6cc35076ec414a3785d8291afe582273ca90bb905541d3 [INFO] running `Command { std: "docker" "start" "-a" "6e6a924ea94aba502f6cc35076ec414a3785d8291afe582273ca90bb905541d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stdout] warning: value assigned to `got` is never read [INFO] [stdout] --> src/lib.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | BufferTooBig { got: usize, expected: usize }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expected` is never read [INFO] [stdout] --> src/lib.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | BufferTooBig { got: usize, expected: usize }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling futures-test v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling dfu-core v0.8.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | #[derive(Debug, Error)] [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] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [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: value assigned to `got` is never read [INFO] [stdout] --> src/lib.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | BufferTooBig { got: usize, expected: usize }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expected` is never read [INFO] [stdout] --> src/lib.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | BufferTooBig { got: usize, expected: usize }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e6a924ea94aba502f6cc35076ec414a3785d8291afe582273ca90bb905541d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6a924ea94aba502f6cc35076ec414a3785d8291afe582273ca90bb905541d3", kill_on_drop: false }` [INFO] [stdout] 6e6a924ea94aba502f6cc35076ec414a3785d8291afe582273ca90bb905541d3