[INFO] fetching crate hammersbald 3.0.1... [INFO] testing hammersbald-3.0.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate hammersbald 3.0.1 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hammersbald 3.0.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "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] Downloading crates ... [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded bech32 v0.7.3 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded secp256k1 v0.20.3 [INFO] [stderr] Downloaded bitcoin_hashes v0.9.7 [INFO] [stderr] Downloaded bitcoin v0.26.2 [INFO] [stderr] Downloaded secp256k1-sys v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cbe9623468adc8e1ac7d4e4b340acc9912d2b288536fbfff25876f7bf1647e7 [INFO] running `Command { std: "docker" "start" "-a" "1cbe9623468adc8e1ac7d4e4b340acc9912d2b288536fbfff25876f7bf1647e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cbe9623468adc8e1ac7d4e4b340acc9912d2b288536fbfff25876f7bf1647e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cbe9623468adc8e1ac7d4e4b340acc9912d2b288536fbfff25876f7bf1647e7", kill_on_drop: false }` [INFO] [stdout] 1cbe9623468adc8e1ac7d4e4b340acc9912d2b288536fbfff25876f7bf1647e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1a6731d9c3b102fc026bb2fa65c68fe5bf5ce455fc318d6c6d6b53309a23723 [INFO] running `Command { std: "docker" "start" "-a" "c1a6731d9c3b102fc026bb2fa65c68fe5bf5ce455fc318d6c6d6b53309a23723", 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)]` 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:23 [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:32 [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:32 [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 9.61s [INFO] running `Command { std: "docker" "inspect" "c1a6731d9c3b102fc026bb2fa65c68fe5bf5ce455fc318d6c6d6b53309a23723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a6731d9c3b102fc026bb2fa65c68fe5bf5ce455fc318d6c6d6b53309a23723", kill_on_drop: false }` [INFO] [stdout] c1a6731d9c3b102fc026bb2fa65c68fe5bf5ce455fc318d6c6d6b53309a23723 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5b3be3d23af2165c8cf5d9bd2a84a50a5afc14d855dbed9e6473b8df331311b [INFO] running `Command { std: "docker" "start" "-a" "e5b3be3d23af2165c8cf5d9bd2a84a50a5afc14d855dbed9e6473b8df331311b", 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] [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)]` 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:23 [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:32 [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:32 [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)]` 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:23 [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:32 [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:32 [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 1.82s [INFO] running `Command { std: "docker" "inspect" "e5b3be3d23af2165c8cf5d9bd2a84a50a5afc14d855dbed9e6473b8df331311b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b3be3d23af2165c8cf5d9bd2a84a50a5afc14d855dbed9e6473b8df331311b", kill_on_drop: false }` [INFO] [stdout] e5b3be3d23af2165c8cf5d9bd2a84a50a5afc14d855dbed9e6473b8df331311b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f752601cbfb7acf5b8a78d89e383c8d7350251aa82acbdfe68198eaaa71fdda0 [INFO] running `Command { std: "docker" "start" "-a" "f752601cbfb7acf5b8a78d89e383c8d7350251aa82acbdfe68198eaaa71fdda0", 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)]` 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:23 [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] 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:32 [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:32 [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] warning: `hammersbald` (lib) generated 10 warnings (run `cargo fix --lib -p hammersbald` to apply 2 suggestions) [INFO] [stderr] warning: `hammersbald` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hammersbald-dc1278626ef7bb4f) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test memtable::test::test_dirty ... ok [INFO] [stdout] test memtable::test::test ... ok [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 5.29s [INFO] [stdout] [INFO] [stderr] Doc-tests hammersbald [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" "f752601cbfb7acf5b8a78d89e383c8d7350251aa82acbdfe68198eaaa71fdda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f752601cbfb7acf5b8a78d89e383c8d7350251aa82acbdfe68198eaaa71fdda0", kill_on_drop: false }` [INFO] [stdout] f752601cbfb7acf5b8a78d89e383c8d7350251aa82acbdfe68198eaaa71fdda0