[INFO] fetching crate libimagstore 0.10.1... [INFO] testing libimagstore-0.10.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate libimagstore 0.10.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate libimagstore 0.10.1 [INFO] finished tweaking crates.io crate libimagstore 0.10.1 [INFO] tweaked toml for crates.io crate libimagstore 0.10.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libimagstore 0.10.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 153 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.10) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.28) [INFO] [stderr] Adding toml v0.5.11 (available: v1.1.2+spec-1.1.0) [INFO] [stderr] Adding toml-query v0.9.2 (available: v0.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45756bed0946d82fa83e4cebd87cbedfd8cdf26598bbd1dd7c92f546a7383918 [INFO] running `Command { std: "docker" "start" "-a" "45756bed0946d82fa83e4cebd87cbedfd8cdf26598bbd1dd7c92f546a7383918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45756bed0946d82fa83e4cebd87cbedfd8cdf26598bbd1dd7c92f546a7383918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45756bed0946d82fa83e4cebd87cbedfd8cdf26598bbd1dd7c92f546a7383918", kill_on_drop: false }` [INFO] [stdout] 45756bed0946d82fa83e4cebd87cbedfd8cdf26598bbd1dd7c92f546a7383918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05c40be67d148e938e862666e9ccacb75a81f0a9335fbb736c8fde9ed175dc3c [INFO] running `Command { std: "docker" "start" "-a" "05c40be67d148e938e862666e9ccacb75a81f0a9335fbb736c8fde9ed175dc3c", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling libimagerror v0.10.1 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling toml-query_derive v0.9.2 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling toml-query v0.9.2 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling libimagutil v0.10.1 [INFO] [stderr] Compiling libimagstore v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `fs-lock` [INFO] [stdout] --> src/store.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(feature = "fs-lock")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `early-panic`, `fs-locking`, and `verify` [INFO] [stdout] = help: consider adding `fs-lock` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fs-lock` [INFO] [stdout] --> src/store.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "fs-lock")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `early-panic`, `fs-locking`, and `verify` [INFO] [stdout] = help: consider adding `fs-lock` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: methods `drain` and `fill` are never used [INFO] [stdout] --> src/file_abstraction/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) trait FileAbstraction : Debug { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | fn drain(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | fn fill(&mut self, d: Drain) -> Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | dead_code, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Drain` is never constructed [INFO] [stdout] --> src/file_abstraction/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Drain(HashMap); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated items `new`, `empty`, and `iter` are never used [INFO] [stdout] --> src/file_abstraction/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Drain { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 68 | [INFO] [stdout] 69 | pub fn new(hm: HashMap) -> Drain { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn empty() -> Drain { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn iter(&mut self) -> DrainIter<'_> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `DrainIter` is never constructed [INFO] [stdout] --> src/file_abstraction/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct DrainIter<'a>(::std::collections::hash_map::Drain<'a, PathBuf, Entry>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: method `backend_cloned` is never used [INFO] [stdout] --> src/file_abstraction/inmemory.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl InMemoryFileAbstraction { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn backend_cloned(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storeid.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn components(&self) -> Components { [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] 88 | pub fn components(&self) -> Components<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libimagstore` (lib) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05c40be67d148e938e862666e9ccacb75a81f0a9335fbb736c8fde9ed175dc3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c40be67d148e938e862666e9ccacb75a81f0a9335fbb736c8fde9ed175dc3c", kill_on_drop: false }` [INFO] [stdout] 05c40be67d148e938e862666e9ccacb75a81f0a9335fbb736c8fde9ed175dc3c