[INFO] fetching crate hammersbald 3.0.1... [INFO] testing hammersbald-3.0.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate hammersbald 3.0.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate hammersbald 3.0.1 [INFO] finished tweaking crates.io crate hammersbald 3.0.1 [INFO] tweaked toml for crates.io crate hammersbald 3.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hammersbald 3.0.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding bitcoin v0.26.2 (available: v0.32.7) [INFO] [stderr] Adding bitcoin_hashes v0.9.7 (available: v0.16.0) [INFO] [stderr] Adding hex v0.3.2 (available: v0.4.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 834a1c4003400c70c741fcd22e5f1214fdab5baf3a898d0cd044d1b1a51e7524 [INFO] running `Command { std: "docker" "start" "-a" "834a1c4003400c70c741fcd22e5f1214fdab5baf3a898d0cd044d1b1a51e7524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "834a1c4003400c70c741fcd22e5f1214fdab5baf3a898d0cd044d1b1a51e7524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834a1c4003400c70c741fcd22e5f1214fdab5baf3a898d0cd044d1b1a51e7524", kill_on_drop: false }` [INFO] [stdout] 834a1c4003400c70c741fcd22e5f1214fdab5baf3a898d0cd044d1b1a51e7524 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f939cf86fc8c6183c7e360ea8723509ea1f26ba3b071b8de90f8db73b82ff880 [INFO] running `Command { std: "docker" "start" "-a" "f939cf86fc8c6183c7e360ea8723509ea1f26ba3b071b8de90f8db73b82ff880", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bitcoin_hashes v0.9.7 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hammersbald v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memtable.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(mut bucket) = self.buckets.write().unwrap().get_mut(bucket_number) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![deny(unused_mut)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PagedFileRead` is never used [INFO] [stdout] --> src/pagedfile.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait PagedFileRead { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PagedFileWrite` is never used [INFO] [stdout] --> src/pagedfile.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait PagedFileWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pagedfile.rs:171:59 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator { [INFO] [stdout] | ----- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'file` [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator<'file> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/logfile.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn page_iter(&self) -> PagedFileIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn page_iter(&self) -> PagedFileIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rolledfile.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | ... let ni = Path::new(name_index.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OsStr` does not implement `Clone`, so calling `clone` on `&OsStr` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - let ni = Path::new(name_index.clone()); [INFO] [stdout] 63 + let ni = Path::new(name_index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs:119:1: 119:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs" }) } [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/format.rs:84:51 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn deserialize(slice: &'e [u8]) -> Result { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'e` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn deserialize(slice: &'e [u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/format.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn deserialize(slice: &'e [u8]) -> Data { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'e` [INFO] [stdout] | [INFO] [stdout] 115 | pub fn deserialize(slice: &'e [u8]) -> Data<'e> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | fn iter(&self) -> HammersbaldIterator; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn iter(&self) -> HammersbaldIterator<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | fn iter(&self) -> HammersbaldIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | fn iter(&self) -> HammersbaldIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.04s [INFO] running `Command { std: "docker" "inspect" "f939cf86fc8c6183c7e360ea8723509ea1f26ba3b071b8de90f8db73b82ff880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f939cf86fc8c6183c7e360ea8723509ea1f26ba3b071b8de90f8db73b82ff880", kill_on_drop: false }` [INFO] [stdout] f939cf86fc8c6183c7e360ea8723509ea1f26ba3b071b8de90f8db73b82ff880 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea08d16bed0f05cd88a58145607892b763457f6973b715778f76e40c5cd9cd1c [INFO] running `Command { std: "docker" "start" "-a" "ea08d16bed0f05cd88a58145607892b763457f6973b715778f76e40c5cd9cd1c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs:119:1: 119:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs" }) } [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memtable.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(mut bucket) = self.buckets.write().unwrap().get_mut(bucket_number) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![deny(unused_mut)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PagedFileRead` is never used [INFO] [stdout] --> src/pagedfile.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait PagedFileRead { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PagedFileWrite` is never used [INFO] [stdout] --> src/pagedfile.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait PagedFileWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pagedfile.rs:171:59 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator { [INFO] [stdout] | ----- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'file` [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator<'file> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/logfile.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn page_iter(&self) -> PagedFileIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn page_iter(&self) -> PagedFileIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rolledfile.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | ... let ni = Path::new(name_index.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OsStr` does not implement `Clone`, so calling `clone` on `&OsStr` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - let ni = Path::new(name_index.clone()); [INFO] [stdout] 63 + let ni = Path::new(name_index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/format.rs:84:51 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn deserialize(slice: &'e [u8]) -> Result { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'e` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn deserialize(slice: &'e [u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/format.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn deserialize(slice: &'e [u8]) -> Data { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'e` [INFO] [stdout] | [INFO] [stdout] 115 | pub fn deserialize(slice: &'e [u8]) -> Data<'e> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | fn iter(&self) -> HammersbaldIterator; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn iter(&self) -> HammersbaldIterator<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | fn iter(&self) -> HammersbaldIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | fn iter(&self) -> HammersbaldIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hammersbald v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memtable.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(mut bucket) = self.buckets.write().unwrap().get_mut(bucket_number) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![deny(unused_mut)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PagedFileRead` is never used [INFO] [stdout] --> src/pagedfile.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait PagedFileRead { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PagedFileWrite` is never used [INFO] [stdout] --> src/pagedfile.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait PagedFileWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pagedfile.rs:171:59 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator { [INFO] [stdout] | ----- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'file` [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator<'file> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/logfile.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn page_iter(&self) -> PagedFileIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn page_iter(&self) -> PagedFileIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs:119:1: 119:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rolledfile.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | ... let ni = Path::new(name_index.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OsStr` does not implement `Clone`, so calling `clone` on `&OsStr` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - let ni = Path::new(name_index.clone()); [INFO] [stdout] 63 + let ni = Path::new(name_index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/format.rs:84:51 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn deserialize(slice: &'e [u8]) -> Result { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'e` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn deserialize(slice: &'e [u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/format.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn deserialize(slice: &'e [u8]) -> Data { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'e` [INFO] [stdout] | [INFO] [stdout] 115 | pub fn deserialize(slice: &'e [u8]) -> Data<'e> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | fn iter(&self) -> HammersbaldIterator; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn iter(&self) -> HammersbaldIterator<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | fn iter(&self) -> HammersbaldIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | fn iter(&self) -> HammersbaldIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "ea08d16bed0f05cd88a58145607892b763457f6973b715778f76e40c5cd9cd1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea08d16bed0f05cd88a58145607892b763457f6973b715778f76e40c5cd9cd1c", kill_on_drop: false }` [INFO] [stdout] ea08d16bed0f05cd88a58145607892b763457f6973b715778f76e40c5cd9cd1c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4f2002e3330a840289f34c313529b7f1a5b8111d2f96341eef04cc64b717eda [INFO] running `Command { std: "docker" "start" "-a" "d4f2002e3330a840289f34c313529b7f1a5b8111d2f96341eef04cc64b717eda", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/memtable.rs:190:29 [INFO] [stderr] | [INFO] [stderr] 190 | if let Some(mut bucket) = self.buckets.write().unwrap().get_mut(bucket_number) { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | #![deny(unused_mut)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `PagedFileRead` is never used [INFO] [stderr] --> src/pagedfile.rs:47:11 [INFO] [stderr] | [INFO] [stderr] 47 | pub trait PagedFileRead { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `PagedFileWrite` is never used [INFO] [stderr] --> src/pagedfile.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 52 | pub trait PagedFileWrite { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pagedfile.rs:171:59 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator { [INFO] [stderr] | ----- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'file` [INFO] [stderr] | [INFO] [stderr] 171 | pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator<'file> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/logfile.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn page_iter(&self) -> PagedFileIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 51 | pub fn page_iter(&self) -> PagedFileIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs:119:1: 119:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/rolledfile.rs:63:58 [INFO] [stderr] | [INFO] [stderr] 63 | ... let ni = Path::new(name_index.clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `OsStr` does not implement `Clone`, so calling `clone` on `&OsStr` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 63 - let ni = Path::new(name_index.clone()); [INFO] [stderr] 63 + let ni = Path::new(name_index); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/format.rs:84:51 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn deserialize(slice: &'e [u8]) -> Result { [INFO] [stderr] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'e` [INFO] [stderr] | [INFO] [stderr] 84 | pub fn deserialize(slice: &'e [u8]) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/format.rs:115:44 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn deserialize(slice: &'e [u8]) -> Data { [INFO] [stderr] | -- ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'e` [INFO] [stderr] | [INFO] [stderr] 115 | pub fn deserialize(slice: &'e [u8]) -> Data<'e> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | fn iter(&self) -> HammersbaldIterator; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 84 | fn iter(&self) -> HammersbaldIterator<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 241 | fn iter(&self) -> HammersbaldIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 241 | fn iter(&self) -> HammersbaldIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs:119:1: 119:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs" }) } [INFO] [stderr] warning: `hammersbald` (lib) generated 10 warnings (run `cargo fix --lib -p hammersbald` to apply 8 suggestions) [INFO] [stderr] warning: `hammersbald` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hammersbald-9b5e96d767ea514b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test memtable::test::test_dirty ... ok [INFO] [stdout] test memtable::test::test ... ok [INFO] [stderr] Doc-tests hammersbald [INFO] [stdout] test api::test::test_two_batches ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.68s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d4f2002e3330a840289f34c313529b7f1a5b8111d2f96341eef04cc64b717eda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f2002e3330a840289f34c313529b7f1a5b8111d2f96341eef04cc64b717eda", kill_on_drop: false }` [INFO] [stdout] d4f2002e3330a840289f34c313529b7f1a5b8111d2f96341eef04cc64b717eda