[INFO] fetching crate libimagstore 0.10.1... [INFO] testing libimagstore-0.10.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate libimagstore 0.10.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libimagstore 0.10.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 151 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.26) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.5) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 670abd6c6a8402a6ae3e26f9f6cf7d5f4414a32447ec282bc3243b3f94125832 [INFO] running `Command { std: "docker" "start" "-a" "670abd6c6a8402a6ae3e26f9f6cf7d5f4414a32447ec282bc3243b3f94125832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "670abd6c6a8402a6ae3e26f9f6cf7d5f4414a32447ec282bc3243b3f94125832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "670abd6c6a8402a6ae3e26f9f6cf7d5f4414a32447ec282bc3243b3f94125832", kill_on_drop: false }` [INFO] [stdout] 670abd6c6a8402a6ae3e26f9f6cf7d5f4414a32447ec282bc3243b3f94125832 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a46daed8a36ba79391ab963b9a8f4916f83fdd5392458094bc3dbcbc9ccd2d69 [INFO] running `Command { std: "docker" "start" "-a" "a46daed8a36ba79391ab963b9a8f4916f83fdd5392458094bc3dbcbc9ccd2d69", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tempfile v3.21.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 icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling backtrace v0.3.75 [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 regex v1.11.2 [INFO] [stderr] Compiling libimagutil v0.10.1 [INFO] [stderr] Compiling darling_macro v0.8.6 [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" "a46daed8a36ba79391ab963b9a8f4916f83fdd5392458094bc3dbcbc9ccd2d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46daed8a36ba79391ab963b9a8f4916f83fdd5392458094bc3dbcbc9ccd2d69", kill_on_drop: false }` [INFO] [stdout] a46daed8a36ba79391ab963b9a8f4916f83fdd5392458094bc3dbcbc9ccd2d69