[INFO] fetching crate leveldb_minimal 0.1.0... [INFO] testing leveldb_minimal-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate leveldb_minimal 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate leveldb_minimal 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate leveldb_minimal 0.1.0 [INFO] tweaked toml for crates.io crate leveldb_minimal 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate leveldb_minimal 0.1.0 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 18 packages to latest compatible versions [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] Downloading crates ... [INFO] [stderr] Downloaded ffi-opaque v2.0.1 [INFO] [stderr] Downloaded leveldb-sys v2.0.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 85d252eb35fec0f67335f654f35d960435dd72bd672aa22472726e4a7b109fd3 [INFO] running `Command { std: "docker" "start" "-a" "85d252eb35fec0f67335f654f35d960435dd72bd672aa22472726e4a7b109fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d252eb35fec0f67335f654f35d960435dd72bd672aa22472726e4a7b109fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d252eb35fec0f67335f654f35d960435dd72bd672aa22472726e4a7b109fd3", kill_on_drop: false }` [INFO] [stdout] 85d252eb35fec0f67335f654f35d960435dd72bd672aa22472726e4a7b109fd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] dc7afb9a758e2133027edea0a88c5441613867000d29a55d12a64bc0269d68d7 [INFO] running `Command { std: "docker" "start" "-a" "dc7afb9a758e2133027edea0a88c5441613867000d29a55d12a64bc0269d68d7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling ffi-opaque v2.0.1 [INFO] [stderr] Compiling leveldb-sys v2.0.9 [INFO] [stderr] Compiling leveldb_minimal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | fn snapshot(&self) -> Snapshot; [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] 41 | fn snapshot(&self) -> Snapshot<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | fn snapshot(&self) -> Snapshot { [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] 45 | fn snapshot(&self) -> Snapshot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.06s [INFO] running `Command { std: "docker" "inspect" "dc7afb9a758e2133027edea0a88c5441613867000d29a55d12a64bc0269d68d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7afb9a758e2133027edea0a88c5441613867000d29a55d12a64bc0269d68d7", kill_on_drop: false }` [INFO] [stdout] dc7afb9a758e2133027edea0a88c5441613867000d29a55d12a64bc0269d68d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6f44846d0126d68d7de72fff9aba76cbfdb05fdaf18854bdcaaba8b2b92800d [INFO] running `Command { std: "docker" "start" "-a" "b6f44846d0126d68d7de72fff9aba76cbfdb05fdaf18854bdcaaba8b2b92800d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | fn snapshot(&self) -> Snapshot; [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] 41 | fn snapshot(&self) -> Snapshot<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | fn snapshot(&self) -> Snapshot { [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] 45 | fn snapshot(&self) -> Snapshot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling leveldb_minimal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | key.borrow().as_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/kv.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | key.borrow().len() as size_t, [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | fn snapshot(&self) -> Snapshot; [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] 41 | fn snapshot(&self) -> Snapshot<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | fn snapshot(&self) -> Snapshot { [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] 45 | fn snapshot(&self) -> Snapshot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "b6f44846d0126d68d7de72fff9aba76cbfdb05fdaf18854bdcaaba8b2b92800d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f44846d0126d68d7de72fff9aba76cbfdb05fdaf18854bdcaaba8b2b92800d", kill_on_drop: false }` [INFO] [stdout] b6f44846d0126d68d7de72fff9aba76cbfdb05fdaf18854bdcaaba8b2b92800d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7402e6bdd4887a440a9f691611bec181e11569e5501bcbf6f94c15df3a4dbece [INFO] running `Command { std: "docker" "start" "-a" "7402e6bdd4887a440a9f691611bec181e11569e5501bcbf6f94c15df3a4dbece", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/database/kv.rs:62:20 [INFO] [stderr] | [INFO] [stderr] 62 | key.borrow().as_ptr() as *mut c_char, [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/database/kv.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | key.borrow().len() as size_t, [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/database/kv.rs:91:20 [INFO] [stderr] | [INFO] [stderr] 91 | key.borrow().as_ptr() as *mut c_char, [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/database/kv.rs:92:20 [INFO] [stderr] | [INFO] [stderr] 92 | key.borrow().len() as size_t, [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/database/kv.rs:112:20 [INFO] [stderr] | [INFO] [stderr] 112 | key.borrow().as_ptr() as *mut c_char, [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/database/kv.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | key.borrow().len() as size_t, [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/database/snapshots.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | fn snapshot(&self) -> Snapshot; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | fn snapshot(&self) -> Snapshot<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/database/snapshots.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | fn snapshot(&self) -> Snapshot { [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] 45 | fn snapshot(&self) -> Snapshot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `leveldb_minimal` (lib) generated 8 warnings (run `cargo fix --lib -p leveldb_minimal` to apply 8 suggestions) [INFO] [stderr] warning: `leveldb_minimal` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/leveldb_minimal-e0ca6122d22fccbe) [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] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-5348d1ee860e9595) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test database::test_create_options ... ok [INFO] [stdout] test database::test_open_non_existant_database_without_create ... ok [INFO] [stdout] test comparator::test_ord_comparator ... ok [INFO] [stdout] test iterator::test_iterator_last ... ok [INFO] [stdout] test iterator::test_iterator_reverse ... ok [INFO] [stdout] test database::test_open_database ... ok [INFO] [stdout] test iterator::test_iterator ... ok [INFO] [stdout] test iterator::test_iterator_from_to ... ok [INFO] [stdout] test binary::test_write_to_database ... ok [INFO] [stdout] test binary::test_get_from_filled_database ... ok [INFO] [stdout] test snapshots::test_snapshot_iterator ... ok [INFO] [stdout] test writebatch::test_writebatch ... ok [INFO] [stdout] test binary::test_delete_from_database ... ok [INFO] [stdout] test comparator::test_comparator ... ok [INFO] [stdout] test writebatch::test_writebatchiter ... ok [INFO] [stdout] test snapshots::test_snapshots ... ok [INFO] [stdout] test concurrent_access::access_from_threads ... ok [INFO] [stdout] test management::test_repair_database ... ok [INFO] [stdout] test cache::test_open_database_with_cache ... ok [INFO] [stdout] test binary::test_get_from_empty_database ... ok [INFO] [stdout] test management::test_destroy_database ... ok [INFO] [stderr] Doc-tests leveldb_minimal [INFO] [stdout] test compaction::test_iterator_from_to ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7402e6bdd4887a440a9f691611bec181e11569e5501bcbf6f94c15df3a4dbece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7402e6bdd4887a440a9f691611bec181e11569e5501bcbf6f94c15df3a4dbece", kill_on_drop: false }` [INFO] [stdout] 7402e6bdd4887a440a9f691611bec181e11569e5501bcbf6f94c15df3a4dbece