[INFO] cloning repository https://github.com/yuki-takeichi/reveldb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuki-takeichi/reveldb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a15ef9ffd4d7b8b6f5dcb940a905fdf24cc7bef2 [INFO] building yuki-takeichi/reveldb against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yuki-takeichi/reveldb [INFO] finished tweaking git repo https://github.com/yuki-takeichi/reveldb [INFO] tweaked toml for git repo https://github.com/yuki-takeichi/reveldb written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yuki-takeichi/reveldb on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yuki-takeichi/reveldb already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v1.3.0 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24407612857fbe0bc33701abdf96da2dd9f54ebcaff83c47e8b0221d31cf7532 [INFO] running `Command { std: "docker" "start" "-a" "24407612857fbe0bc33701abdf96da2dd9f54ebcaff83c47e8b0221d31cf7532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24407612857fbe0bc33701abdf96da2dd9f54ebcaff83c47e8b0221d31cf7532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24407612857fbe0bc33701abdf96da2dd9f54ebcaff83c47e8b0221d31cf7532", kill_on_drop: false }` [INFO] [stdout] 24407612857fbe0bc33701abdf96da2dd9f54ebcaff83c47e8b0221d31cf7532 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 3989ef9d8ce048b00351d7ae1ca447af1ae5fe13800136258a7d22303881776e [INFO] running `Command { std: "docker" "start" "-a" "3989ef9d8ce048b00351d7ae1ca447af1ae5fe13800136258a7d22303881776e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling typed-arena v1.3.0 [INFO] [stderr] Compiling crc v1.7.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling reveldb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `log` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod log; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `log`, create file "src/log.rs" or "src/log/mod.rs" [INFO] [stdout] = note: if there is a `mod log` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc::flock` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::flock; [INFO] [stdout] | ^^^^^^^^^^^ no `flock` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::fcntl` [INFO] [stdout] --> src/lib.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use nix::fcntl::{fcntl, FcntlArg}; [INFO] [stdout] | ^^^^^ could not find `fcntl` in `nix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::c_void`, `libc::free` [INFO] [stdout] --> src/c.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{c_void, free}; [INFO] [stdout] | ^^^^^^ ^^^^ no `free` in the root [INFO] [stdout] | | [INFO] [stdout] | no `c_void` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::ffi::c_void [INFO] [stdout] std::os::raw::c_void [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.40/src/lib.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 106 | / cfg_if! { [INFO] [stdout] 107 | | if #[cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))] { [INFO] [stdout] 108 | | // empty ... [INFO] [stdout] 109 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 115 | | pub enum c_void { [INFO] [stdout] | | ^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 286 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct leveldb_t { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_env_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct leveldb_env_t {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbEnvT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_cache_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct leveldb_cache_t {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbCacheT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_logger_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct leveldb_logger_t {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbLoggerT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_comparator_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct leveldb_comparator_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbComparatorT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_options_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct leveldb_options_t<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbOptionsT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_readoptions_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct leveldb_readoptions_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbReadoptionsT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_writeoptions_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct leveldb_writeoptions_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbWriteoptionsT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_writebatch_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct leveldb_writebatch_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbWritebatchT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `leveldb_iterator_t` should have an upper camel case name [INFO] [stdout] --> src/c.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct leveldb_iterator_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeveldbIteratorT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/skiplist.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/skiplist.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/skiplist.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for reference `&File` in the current scope [INFO] [stdout] --> src/lib.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let fd = file.as_raw_fd(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 95 - let fd = file.as_raw_fd(); [INFO] [stdout] 95 + let fd = file.as_fd(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/c.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | options: *const leveldb_readoptions_t, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errptr` [INFO] [stdout] --> src/c.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | errptr: *mut *mut c_char, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/c.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | pub extern "C" fn leveldb_cache_create_lru(capacity: usize) -> *mut leveldb_cache_t { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/c.rs:265:84 [INFO] [stdout] | [INFO] [stdout] 265 | pub extern "C" fn leveldb_options_set_error_if_exists(opt: *mut leveldb_options_t, v: bool) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/c.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe { CString::new("/tmp/reveldbtest-0").unwrap().into_raw() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/c.rs:346:50 [INFO] [stdout] | [INFO] [stdout] 346 | pub extern "C" fn leveldb_env_get_test_directory(env: *mut leveldb_env_t) -> *const c_char { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/c.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | options: *const leveldb_options_t, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/c.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | name: *const c_char, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errptr` [INFO] [stdout] --> src/c.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | errptr: *mut *mut c_char, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/c.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | options: *const leveldb_writeoptions_t, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errptr` [INFO] [stdout] --> src/c.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | errptr: *mut *mut c_char, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/c.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | db: *mut leveldb_t, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_key` [INFO] [stdout] --> src/c.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | start_key: *const c_char, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_key_len` [INFO] [stdout] --> src/c.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | start_key_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_key_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit_key` [INFO] [stdout] --> src/c.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | limit_key: *const c_char, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit_key_len` [INFO] [stdout] --> src/c.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | limit_key_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_key_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `woptions` [INFO] [stdout] --> src/c.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | woptions: *const leveldb_writeoptions_t, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_woptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/c.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | err: *mut *mut c_char, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/c.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | let options = unsafe { options.as_ref().expect("null pointer") }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/c.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | let mut iter = unsafe { iter.as_mut().expect("null pointer") }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/c.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | let mut iter = unsafe { iter.as_mut().expect("null pointer") }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/c.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | let mut iter = unsafe { iter.as_mut().expect("null pointer") }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/c.rs:540:68 [INFO] [stdout] | [INFO] [stdout] 540 | pub extern "C" fn leveldb_iter_seek(iter: *mut leveldb_iterator_t, k: *const c_char, klen: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klen` [INFO] [stdout] --> src/c.rs:540:86 [INFO] [stdout] | [INFO] [stdout] 540 | pub extern "C" fn leveldb_iter_seek(iter: *mut leveldb_iterator_t, k: *const c_char, klen: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_klen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/c.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | let mut iter = unsafe { iter.as_mut().expect("null pointer") }; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/c.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | let mut iter = unsafe { iter.as_mut().expect("null pointer") }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/c.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | let mut iter = unsafe { iter.as_mut().expect("null pointer") }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errptr` [INFO] [stdout] --> src/c.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | errptr: *mut *mut c_char, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/c.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | let iter = unsafe { iter.as_ref().expect("null pointer") }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/memtable.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | fn add(&mut self, key: i8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/skiplist.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn next(&self, level: u8) -> *mut Node { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxHeight` [INFO] [stdout] --> src/skiplist.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(maxHeight: u8) -> SkipList { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxHeight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/skiplist.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let order = Ordering::SeqCst; // XXX relax [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reveldb` (lib) due to 6 previous errors; 46 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3989ef9d8ce048b00351d7ae1ca447af1ae5fe13800136258a7d22303881776e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3989ef9d8ce048b00351d7ae1ca447af1ae5fe13800136258a7d22303881776e", kill_on_drop: false }` [INFO] [stdout] 3989ef9d8ce048b00351d7ae1ca447af1ae5fe13800136258a7d22303881776e