[INFO] fetching crate leveldb_minimal 0.1.0... [INFO] building leveldb_minimal-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate leveldb_minimal 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate leveldb_minimal 0.1.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db970845c9a834336fe3a306caa33a2bf3b86201156a40193ca00c490a29aa58 [INFO] running `Command { std: "docker" "start" "-a" "db970845c9a834336fe3a306caa33a2bf3b86201156a40193ca00c490a29aa58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db970845c9a834336fe3a306caa33a2bf3b86201156a40193ca00c490a29aa58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db970845c9a834336fe3a306caa33a2bf3b86201156a40193ca00c490a29aa58", kill_on_drop: false }` [INFO] [stdout] db970845c9a834336fe3a306caa33a2bf3b86201156a40193ca00c490a29aa58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4460bea3a5d6cdb93febcfd6cc3aac4b7895f85ece5f7635f5a97dc0c06770e8 [INFO] running `Command { std: "docker" "start" "-a" "4460bea3a5d6cdb93febcfd6cc3aac4b7895f85ece5f7635f5a97dc0c06770e8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling ffi-opaque v2.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling cmake v0.1.52 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.64s [INFO] running `Command { std: "docker" "inspect" "4460bea3a5d6cdb93febcfd6cc3aac4b7895f85ece5f7635f5a97dc0c06770e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4460bea3a5d6cdb93febcfd6cc3aac4b7895f85ece5f7635f5a97dc0c06770e8", kill_on_drop: false }` [INFO] [stdout] 4460bea3a5d6cdb93febcfd6cc3aac4b7895f85ece5f7635f5a97dc0c06770e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4287a875417f745437824a2153a95182ed4c47bd21142502dcc3f7c296497ab4 [INFO] running `Command { std: "docker" "start" "-a" "4287a875417f745437824a2153a95182ed4c47bd21142502dcc3f7c296497ab4", 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] [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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "4287a875417f745437824a2153a95182ed4c47bd21142502dcc3f7c296497ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4287a875417f745437824a2153a95182ed4c47bd21142502dcc3f7c296497ab4", kill_on_drop: false }` [INFO] [stdout] 4287a875417f745437824a2153a95182ed4c47bd21142502dcc3f7c296497ab4