[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb/branches/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/sendemail-validate.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb/hooks/sendemail-validate.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb/hooks/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [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] checking yuki-takeichi/reveldb against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-takeichi%2Freveldb" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuki-takeichi/reveldb on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "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] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v1.3.0 [INFO] [stderr] Downloaded nix v0.7.0 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be6a83999074892cfdf808b0fdcf3d4cd659517213037a048f02ce155764e3a8 [INFO] running `Command { std: "docker" "start" "-a" "be6a83999074892cfdf808b0fdcf3d4cd659517213037a048f02ce155764e3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be6a83999074892cfdf808b0fdcf3d4cd659517213037a048f02ce155764e3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be6a83999074892cfdf808b0fdcf3d4cd659517213037a048f02ce155764e3a8", kill_on_drop: false }` [INFO] [stdout] be6a83999074892cfdf808b0fdcf3d4cd659517213037a048f02ce155764e3a8 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f819867ef80c41333f2b22299f76def91b433cd78ee58157bf229c19d0254772 [INFO] running `Command { std: "docker" "start" "-a" "f819867ef80c41333f2b22299f76def91b433cd78ee58157bf229c19d0254772", 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] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking 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] Checking 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[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] 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)]` 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::rc::Rc` [INFO] [stdout] --> src/memtable.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/memtable.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [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] 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)]` 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)]` 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] 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)]` 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: 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: 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)]` on by default [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)]` 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: unused variable: `iter` [INFO] [stdout] --> src/c.rs:541:13 [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: 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: 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: 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: `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: `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: `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: `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)]` 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: unused variable: `memtable` [INFO] [stdout] --> src/memtable.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut memtable = MemTable::::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memtable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memtable.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut memtable = MemTable::::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: `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: 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)]` on by default [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] 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)]` 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: unused variable: `iter` [INFO] [stdout] --> src/c.rs:541:13 [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: 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: 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] For more information about this error, try `rustc --explain E0583`. [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: `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: `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: `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] [stderr] error: could not compile `reveldb` (lib test) due to 1 previous error; 50 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reveldb` (lib) due to 1 previous error; 46 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f819867ef80c41333f2b22299f76def91b433cd78ee58157bf229c19d0254772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f819867ef80c41333f2b22299f76def91b433cd78ee58157bf229c19d0254772", kill_on_drop: false }` [INFO] [stdout] f819867ef80c41333f2b22299f76def91b433cd78ee58157bf229c19d0254772