[INFO] fetching crate sftool 0.2.1... [INFO] checking sftool-0.2.1 against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] extracting crate sftool 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate sftool 0.2.1 [INFO] finished tweaking crates.io crate sftool 0.2.1 [INFO] tweaked toml for crates.io crate sftool 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sftool 0.2.1 on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sftool 0.2.1 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42f98b2103f4451222191be8c3d04270e07e120488a71b9b834809c1dfc83dad [INFO] running `Command { std: "docker" "start" "-a" "42f98b2103f4451222191be8c3d04270e07e120488a71b9b834809c1dfc83dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42f98b2103f4451222191be8c3d04270e07e120488a71b9b834809c1dfc83dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f98b2103f4451222191be8c3d04270e07e120488a71b9b834809c1dfc83dad", kill_on_drop: false }` [INFO] [stdout] 42f98b2103f4451222191be8c3d04270e07e120488a71b9b834809c1dfc83dad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dfa857a6bdf1fb0752347a71dbe2fc8ff74cc27c105356fef357a756175ae8c [INFO] running `Command { std: "docker" "start" "-a" "6dfa857a6bdf1fb0752347a71dbe2fc8ff74cc27c105356fef357a756175ae8c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling dary_heap v0.3.7 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling hidapi v2.6.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking parse_int v0.6.0 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling rustix v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking zero v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking xmas-elf v0.9.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking udev v0.8.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Compiling rust-embed-utils v8.6.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking linux-raw-sys v0.9.2 [INFO] [stderr] Checking clap_builder v4.5.31 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking nusb v0.1.13 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling miette-derive v7.5.0 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking unescaper v0.1.5 [INFO] [stderr] Checking miette v7.5.0 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Compiling bitfield-macros v0.18.1 [INFO] [stderr] Compiling include-flate-codegen v0.2.0 [INFO] [stderr] Compiling docsplay-macros v0.1.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.8.24 [INFO] [stderr] Checking include-flate v0.3.0 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking bitfield v0.18.1 [INFO] [stderr] Checking serialport v4.7.0 [INFO] [stderr] Checking docsplay v0.1.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling bitfield-macros v0.19.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling rust-embed-impl v8.6.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling jep106 v0.2.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Checking ihex v3.0.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking uf2-decode v0.2.0 [INFO] [stderr] Checking svg v0.18.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking tempfile v3.18.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking goblin v0.9.3 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking probe-rs-target v0.27.0 [INFO] [stderr] Checking clap v4.5.31 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking rust-embed v8.6.0 [INFO] [stderr] Checking bitfield v0.19.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling deku_derive v0.16.0 [INFO] [stderr] Compiling probe-rs v0.27.0 [INFO] [stderr] Checking deku v0.16.0 [INFO] [stderr] Checking esp-idf-part v0.5.0 [INFO] [stderr] Checking espflash v3.3.0 [INFO] [stderr] Checking sftool-lib v0.2.1 [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sftool-lib-0.2.1/src/ram_stub.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sftool-lib-0.2.1/src/ram_stub.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sftool-lib-0.2.1/src/ram_stub.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[folder = "stub/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(RustEmbed)] [INFO] [stdout] 8 | pub(crate) struct RamStubFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `RamStubFile` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sftool-lib-0.2.1/src/ram_stub.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct RamStubFile; [INFO] [stdout] | ----------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | let stub = RamStubFile::get(stub_file_name).ok_or_else(|| { [INFO] [stdout] | ^^^ function or associated item not found in `RamStubFile` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `bitvec::slice::api::BitSliceIndex` [INFO] [stdout] candidate #4: `itertools::Itertools` [INFO] [stdout] candidate #5: `object::read::elf::relocation::Relr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `RamStubFile` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sftool-lib-0.2.1/src/sf32lb55/mod.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | let sig_pub_data = ram_stub::RamStubFile::get(SIG_PUB_FILE).ok_or_else(|| { [INFO] [stdout] | ^^^ function or associated item not found in `RamStubFile` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sftool-lib-0.2.1/src/ram_stub.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct RamStubFile; [INFO] [stdout] | ----------------------------- function or associated item `get` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `bitvec::slice::api::BitSliceIndex` [INFO] [stdout] candidate #4: `itertools::Itertools` [INFO] [stdout] candidate #5: `object::read::elf::relocation::Relr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `RamStubFile` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sftool-lib-0.2.1/src/sf32lb58/mod.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | let sig_pub_data = ram_stub::RamStubFile::get(SIG_PUB_FILE).ok_or_else(|| { [INFO] [stdout] | ^^^ function or associated item not found in `RamStubFile` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sftool-lib-0.2.1/src/ram_stub.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct RamStubFile; [INFO] [stdout] | ----------------------------- function or associated item `get` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `bitvec::slice::api::BitSliceIndex` [INFO] [stdout] candidate #4: `itertools::Itertools` [INFO] [stdout] candidate #5: `object::read::elf::relocation::Relr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sftool-lib` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6dfa857a6bdf1fb0752347a71dbe2fc8ff74cc27c105356fef357a756175ae8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dfa857a6bdf1fb0752347a71dbe2fc8ff74cc27c105356fef357a756175ae8c", kill_on_drop: false }` [INFO] [stdout] 6dfa857a6bdf1fb0752347a71dbe2fc8ff74cc27c105356fef357a756175ae8c