[INFO] fetching crate libimagstore 0.10.1... [INFO] testing libimagstore-0.10.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [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 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 133 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.27) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.8) [INFO] [stderr] Adding toml-query v0.9.2 (available: v0.10.0) [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] [stderr] warning: no edition set: defaulting to the 2015 edition 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcf65ca0ff89a8fcbf97b517b44ecb82628578f9a623e417576a10780814fd4f [INFO] running `Command { std: "docker" "start" "-a" "bcf65ca0ff89a8fcbf97b517b44ecb82628578f9a623e417576a10780814fd4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcf65ca0ff89a8fcbf97b517b44ecb82628578f9a623e417576a10780814fd4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf65ca0ff89a8fcbf97b517b44ecb82628578f9a623e417576a10780814fd4f", kill_on_drop: false }` [INFO] [stdout] bcf65ca0ff89a8fcbf97b517b44ecb82628578f9a623e417576a10780814fd4f [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 338d9b2671bdd0a9d8ea11c73a214ca8e8b204c4142f4bfed07a186c4378ab59 [INFO] running `Command { std: "docker" "start" "-a" "338d9b2671bdd0a9d8ea11c73a214ca8e8b204c4142f4bfed07a186c4378ab59", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling libimagutil v0.10.1 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling libimagerror v0.10.1 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling toml-query_derive v0.9.2 [INFO] [stderr] Compiling toml-query v0.9.2 [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" "338d9b2671bdd0a9d8ea11c73a214ca8e8b204c4142f4bfed07a186c4378ab59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "338d9b2671bdd0a9d8ea11c73a214ca8e8b204c4142f4bfed07a186c4378ab59", kill_on_drop: false }` [INFO] [stdout] 338d9b2671bdd0a9d8ea11c73a214ca8e8b204c4142f4bfed07a186c4378ab59