[INFO] fetching crate vsdbsled 0.34.7-patched... [INFO] testing vsdbsled-0.34.7-patched against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate vsdbsled 0.34.7-patched into /workspace/builds/worker-35/source [INFO] validating manifest of crates.io crate vsdbsled 0.34.7-patched on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vsdbsled 0.34.7-patched [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate vsdbsled 0.34.7-patched [INFO] tweaked toml for crates.io crate vsdbsled 0.34.7-patched written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate crates.io crate vsdbsled 0.34.7-patched already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.0+zstd.1.5.0` for dependency `zstd` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_distr v0.3.0 [INFO] [stderr] Downloaded color-backtrace v0.5.1 [INFO] [stderr] Downloaded rio v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 946388510f1dce7659411a4828541879045e36c517d4f4cfa0bd1e5e831ce7de [INFO] running `Command { std: "docker" "start" "-a" "946388510f1dce7659411a4828541879045e36c517d4f4cfa0bd1e5e831ce7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "946388510f1dce7659411a4828541879045e36c517d4f4cfa0bd1e5e831ce7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946388510f1dce7659411a4828541879045e36c517d4f4cfa0bd1e5e831ce7de", kill_on_drop: false }` [INFO] [stdout] 946388510f1dce7659411a4828541879045e36c517d4f4cfa0bd1e5e831ce7de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d213bb85b71719c974047d4a54fc1257681ebfbe17bf4ba062eb6a755ab315ba [INFO] running `Command { std: "docker" "start" "-a" "d213bb85b71719c974047d4a54fc1257681ebfbe17bf4ba062eb6a755ab315ba", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.0+zstd.1.5.0` for dependency `zstd` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling vsdbsled v0.34.7-patched (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pagecache/iterator.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | std::sync::atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | std::sync::atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/config.rs:761:35 [INFO] [stdout] | [INFO] [stdout] 761 | let _ = self.global_error.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/fastlock.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let lock_result = self.lock.compare_and_swap(false, true, Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lazy.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | while self.init_mu.compare_and_swap(false, true, SeqCst) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lru.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | self.writing.compare_and_swap(head, new, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lru.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | ret = self.full_list.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/iobuf.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | let res = self.header.compare_and_swap(old, new, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/pagetable.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let ret = l1[l1k].compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicI64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/mod.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | let last = atomic_lsn.compare_and_swap(current, to, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1090:27 [INFO] [stdout] | [INFO] [stdout] 1090 | old.entry.compare_and_set(old.read, page_ptr, SeqCst, guard); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1280:46 [INFO] [stdout] | [INFO] [stdout] 1280 | let result = page_view.entry.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1522:27 [INFO] [stdout] | [INFO] [stdout] 1522 | old.entry.compare_and_set(old.read, page_ptr, SeqCst, guard); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1747:38 [INFO] [stdout] | [INFO] [stdout] 1747 | let result = page_view.entry.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1947:26 [INFO] [stdout] | [INFO] [stdout] 1947 | .compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/stack.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | if self.head.compare_and_set(head, node, Release, guard).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/tree.rs:1552:29 [INFO] [stdout] | [INFO] [stdout] 1552 | while self.root.compare_and_swap(from, new_root_pid, SeqCst) != from [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | if !SPAWNING.compare_and_swap(false, true, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | if !E.compare_and_swap(false, true, Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/tree.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `View` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tree.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.35s [INFO] running `Command { std: "docker" "inspect" "d213bb85b71719c974047d4a54fc1257681ebfbe17bf4ba062eb6a755ab315ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d213bb85b71719c974047d4a54fc1257681ebfbe17bf4ba062eb6a755ab315ba", kill_on_drop: false }` [INFO] [stdout] d213bb85b71719c974047d4a54fc1257681ebfbe17bf4ba062eb6a755ab315ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9003c28ee86ea6a6211e5b5b483794d5135e5c2c06cca4a1d8d8dfadc8cc85df [INFO] running `Command { std: "docker" "start" "-a" "9003c28ee86ea6a6211e5b5b483794d5135e5c2c06cca4a1d8d8dfadc8cc85df", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.0+zstd.1.5.0` for dependency `zstd` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pagecache/iterator.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | std::sync::atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | std::sync::atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/config.rs:761:35 [INFO] [stdout] | [INFO] [stdout] 761 | let _ = self.global_error.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/fastlock.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let lock_result = self.lock.compare_and_swap(false, true, Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lazy.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | while self.init_mu.compare_and_swap(false, true, SeqCst) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lru.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | self.writing.compare_and_swap(head, new, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lru.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | ret = self.full_list.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/iobuf.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | let res = self.header.compare_and_swap(old, new, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/pagetable.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let ret = l1[l1k].compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicI64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/mod.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | let last = atomic_lsn.compare_and_swap(current, to, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1090:27 [INFO] [stdout] | [INFO] [stdout] 1090 | old.entry.compare_and_set(old.read, page_ptr, SeqCst, guard); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1280:46 [INFO] [stdout] | [INFO] [stdout] 1280 | let result = page_view.entry.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1522:27 [INFO] [stdout] | [INFO] [stdout] 1522 | old.entry.compare_and_set(old.read, page_ptr, SeqCst, guard); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1747:38 [INFO] [stdout] | [INFO] [stdout] 1747 | let result = page_view.entry.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1947:26 [INFO] [stdout] | [INFO] [stdout] 1947 | .compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/stack.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | if self.head.compare_and_set(head, node, Release, guard).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/tree.rs:1552:29 [INFO] [stdout] | [INFO] [stdout] 1552 | while self.root.compare_and_swap(from, new_root_pid, SeqCst) != from [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | if !SPAWNING.compare_and_swap(false, true, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | if !E.compare_and_swap(false, true, Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/tree.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `View` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tree.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling vsdbsled v0.34.7-patched (/opt/rustwide/workdir) [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_space_leaks.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | fn size_leak() -> sled::Result<()> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sled` [INFO] [stdout] --> tests/test_crash_recovery.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sled::Config; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_crash_recovery.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | fn verify(tree: &sled::Tree) -> (u32, u32) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_crash_recovery.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let (k, v): (sled::IVec, _) = res.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_crash_recovery.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | fn verify_batches(tree: &sled::Tree) -> u32 { [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_crash_recovery.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | fn run_batches_inner(db: sled::Db) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_crash_recovery.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | fn do_batch(i: u32, db: &sled::Db) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sled` [INFO] [stdout] --> tests/test_log.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sled::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sled` [INFO] [stdout] --> tests/test_log.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sled::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_crash_recovery.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | let mut batch = sled::Batch::default(); [INFO] [stdout] | ^^^^^ not found in `sled` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::Batch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_quiescent.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let db = sled::open(DB_DIR).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_space_leaks.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let tree = sled::Config::new() [INFO] [stdout] | ^^^^^^ not found in `sled` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in the crate root [INFO] [stdout] --> tests/test_log.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | fn log_writebatch() -> crate::Result<()> { [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use core::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_log.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let config = Config::new().temporary(true); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | log.reserve(REPLACE, PID, &IVec::from(b"1"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 | log.reserve(REPLACE, PID, &Vec::from(b"1"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | log.reserve(REPLACE, PID, &IVec::from(b"2"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | log.reserve(REPLACE, PID, &Vec::from(b"2"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | log.reserve(REPLACE, PID, &IVec::from(b"3"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 | log.reserve(REPLACE, PID, &Vec::from(b"3"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | log.reserve(REPLACE, PID, &IVec::from(b"4"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 | log.reserve(REPLACE, PID, &Vec::from(b"4"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | log.reserve(REPLACE, PID, &IVec::from(b"5"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 28 | log.reserve(REPLACE, PID, &Vec::from(b"5"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | log.reserve(REPLACE, PID, &IVec::from(b"6"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 37 | log.reserve(REPLACE, PID, &Vec::from(b"6"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | log.reserve(REPLACE, PID, &IVec::from(b"7"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 | log.reserve(REPLACE, PID, &Vec::from(b"7"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | log.reserve(REPLACE, PID, &IVec::from(b"8"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 | log.reserve(REPLACE, PID, &Vec::from(b"8"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | let last_res = log.reserve(REPLACE, PID, &IVec::from(b"9"), &guard)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | let last_res = log.reserve(REPLACE, PID, &Vec::from(b"9"), &guard)?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | log.reserve(REPLACE, PID, &IVec::from(b"10"), &guard)?.complete()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 | log.reserve(REPLACE, PID, &Vec::from(b"10"), &guard)?.complete()?; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_log.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let config = Config::new().temporary(true).segment_size(256); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_MSG_HEADER_LEN` in this scope [INFO] [stdout] --> tests/test_log.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let big_msg_overhead = MAX_MSG_HEADER_LEN + total_seg_overhead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::MAX_MSG_HEADER_LEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | log.reserve(REPLACE, PID, &IVec::from(vec![0; big_msg_sz]), &guard) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 73 | log.reserve(REPLACE, PID, &Vec::from(vec![0; big_msg_sz]), &guard) [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_log.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let config = Config::new().temporary(true).segment_size(1024); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MINIMUM_ITEMS_PER_SEGMENT` in this scope [INFO] [stdout] --> tests/test_log.rs:94:42 [INFO] [stdout] | [INFO] [stdout] 94 | let buf_len = (config.segment_size / MINIMUM_ITEMS_PER_SEGMENT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::MINIMUM_ITEMS_PER_SEGMENT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_MSG_HEADER_LEN` in this scope [INFO] [stdout] --> tests/test_log.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | - (MAX_MSG_HEADER_LEN + seg_overhead); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::MAX_MSG_HEADER_LEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | .reserve(REPLACE, PID, &IVec::from(vec![0; buf_len]), &guard) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 | .reserve(REPLACE, PID, &Vec::from(vec![0; buf_len]), &guard) [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | .reserve(REPLACE, PID, &IVec::from(vec![0; buf_len]), &guard) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 102 | .reserve(REPLACE, PID, &Vec::from(vec![0; buf_len]), &guard) [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_log.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let config = Config::new() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MINIMUM_ITEMS_PER_SEGMENT` in this scope [INFO] [stdout] --> tests/test_log.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | let buf_len = (config.segment_size / MINIMUM_ITEMS_PER_SEGMENT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::MINIMUM_ITEMS_PER_SEGMENT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_MSG_HEADER_LEN` in this scope [INFO] [stdout] --> tests/test_log.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | - (MAX_MSG_HEADER_LEN + seg_overhead); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::MAX_MSG_HEADER_LEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let buf = IVec::from(vec![1; i % buf_len]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 140 | let buf = Vec::from(vec![1; i % buf_len]); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | let buf = IVec::from(vec![2; i % buf_len]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 | let buf = Vec::from(vec![2; i % buf_len]); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | let buf = IVec::from(vec![3; i % buf_len]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 170 | let buf = Vec::from(vec![3; i % buf_len]); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:185:31 [INFO] [stdout] | [INFO] [stdout] 185 | let buf = IVec::from(vec![4; i % buf_len]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 185 | let buf = Vec::from(vec![4; i % buf_len]); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sled` [INFO] [stdout] --> tests/tree/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sled::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | let buf = IVec::from(vec![5; i % buf_len]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 200 | let buf = Vec::from(vec![5; i % buf_len]); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sled::{transaction::*, *}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:214:31 [INFO] [stdout] | [INFO] [stdout] 214 | let buf = IVec::from(vec![6; i % buf_len]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 214 | let buf = Vec::from(vec![6; i % buf_len]); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | let data_bytes = IVec::from(b"yoyoyoyo"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 238 | let data_bytes = Vec::from(b"yoyoyoyo"); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vsdbsled` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:255:42 [INFO] [stdout] | [INFO] [stdout] 255 | let res = log.reserve(REPLACE, PID, &IVec::from(&[0; 5]), &guard).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 255 | let res = log.reserve(REPLACE, PID, &Vec::from(&[0; 5]), &guard).unwrap(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_log.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | let config = Config::new().temporary(true); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_log.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | Config::new().flush_every_ms(None).temporary(true).segment_size(256); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_MSG_HEADER_LEN` in this scope [INFO] [stdout] --> tests/test_log.rs:295:32 [INFO] [stdout] | [INFO] [stdout] 295 | config.segment_size - (MAX_MSG_HEADER_LEN + SEG_HEADER_LEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::MAX_MSG_HEADER_LEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sled`, `sled::transaction::*` [INFO] [stdout] --> tests/test_tree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sled::Transactional; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] 12 | use sled::{transaction::*, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | let buf = IVec::from(vec![item; len]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 300 | let buf = Vec::from(vec![item; len]); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sled` [INFO] [stdout] --> tests/test_tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sled::{transaction::*, *}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_log.rs:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | let config = Config::new().temporary(true).segment_size(512); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_MSG_HEADER_LEN` in this scope [INFO] [stdout] --> tests/test_log.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | let big_msg_overhead = MAX_MSG_HEADER_LEN + total_seg_overhead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::MAX_MSG_HEADER_LEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/test_log.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | let buf = IVec::from(vec![i as u8; big_msg_sz * i]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 342 | let buf = Vec::from(vec![i as u8; big_msg_sz * i]); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/test_log.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | fn more_log_reservations_than_buffers() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 59 | fn more_log_reservations_than_buffers() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/test_log.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | fn non_contiguous_log_flush() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 87 | fn non_contiguous_log_flush() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/test_log.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | fn concurrent_logging() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 113 | fn concurrent_logging() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/test_log.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | fn multi_segment_log_iteration() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 328 | fn multi_segment_log_iteration() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_tree.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | fn concurrent_tree_pops() -> sled::Result<()> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_tree.rs:528:30 [INFO] [stdout] | [INFO] [stdout] 528 | tree.transaction::<_, _, sled::transaction::TransactionError>(|tree| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `sled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/tree/mod.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | let config = Config::new() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/tree/mod.rs:289:36 [INFO] [stdout] | [INFO] [stdout] 289 | .map(|(k, _v)| IVec::from(&*k.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 289 | .map(|(k, _v)| Vec::from(&*k.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IVec` [INFO] [stdout] --> tests/tree/mod.rs:303:36 [INFO] [stdout] | [INFO] [stdout] 303 | .map(|(k, _v)| IVec::from(&*k.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 303 | .map(|(k, _v)| Vec::from(&*k.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vsdbsled::IVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SPACE_AMPLIFICATION` in this scope [INFO] [stdout] --> tests/tree/mod.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | space_amplification < MAX_SPACE_AMPLIFICATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use vsdbsled::MAX_SPACE_AMPLIFICATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SPACE_AMPLIFICATION` in this scope [INFO] [stdout] --> tests/tree/mod.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | MAX_SPACE_AMPLIFICATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use vsdbsled::MAX_SPACE_AMPLIFICATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let db = Config::new() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_tree.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let tree = sled::Config::default() [INFO] [stdout] | ^^^^^^ not found in `sled` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_tree.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let tree = sled::Config::default() [INFO] [stdout] | ^^^^^^ not found in `sled` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_tree.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | let db = sled::Config::new().temporary(true).open()?; [INFO] [stdout] | ^^^^^^ not found in `sled` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let config = Config::new() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tree` in this scope [INFO] [stdout] --> tests/test_tree.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | par! {t, |tree: &Tree, k: Vec| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Tree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tree` in this scope [INFO] [stdout] --> tests/test_tree.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | par! {t, |tree: &Tree, k: Vec| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Tree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tree` in this scope [INFO] [stdout] --> tests/test_tree.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | par! {t, |tree: &Tree, k: Vec| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Tree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tree` in this scope [INFO] [stdout] --> tests/test_tree.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | par! {t, |tree: &Tree, k: Vec| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Tree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tree` in this scope [INFO] [stdout] --> tests/test_tree.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | par! {t, |tree: &Tree, k: Vec| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Tree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tree` in this scope [INFO] [stdout] --> tests/test_tree.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | par! {t, |tree: &Tree, k: Vec| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Tree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | let config = Config::new().temporary(true).flush_every_ms(Some(1)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionResult` in this scope [INFO] [stdout] --> tests/test_tree.rs:428:38 [INFO] [stdout] | [INFO] [stdout] 428 | fn concurrent_tree_transactions() -> TransactionResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::transaction::TransactionResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:433:18 [INFO] [stdout] | [INFO] [stdout] 433 | let config = Config::new() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionResult` in this scope [INFO] [stdout] --> tests/test_tree.rs:442:50 [INFO] [stdout] | [INFO] [stdout] 442 | let mut threads: Vec>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::transaction::TransactionResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sled` [INFO] [stdout] --> tests/test_tree.rs:524:24 [INFO] [stdout] | [INFO] [stdout] 524 | let config = sled::Config::new().temporary(true); [INFO] [stdout] | ^^^^^^ not found in `sled` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionResult` in this scope [INFO] [stdout] --> tests/test_tree.rs:538:44 [INFO] [stdout] | [INFO] [stdout] 538 | fn incorrect_multiple_db_transactions() -> TransactionResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::transaction::TransactionResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | Config::new().temporary(true).flush_every_ms(Some(1)).open().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | Config::new().temporary(true).flush_every_ms(Some(1)).open().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionResult` in this scope [INFO] [stdout] --> tests/test_tree.rs:546:17 [INFO] [stdout] | [INFO] [stdout] 546 | let result: TransactionResult<()> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::transaction::TransactionResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionResult` in this scope [INFO] [stdout] --> tests/test_tree.rs:555:32 [INFO] [stdout] | [INFO] [stdout] 555 | fn many_tree_transactions() -> TransactionResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::transaction::TransactionResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:558:18 [INFO] [stdout] | [INFO] [stdout] 558 | let config = Config::new().temporary(true).flush_every_ms(Some(1)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionResult` in this scope [INFO] [stdout] --> tests/test_tree.rs:578:38 [INFO] [stdout] | [INFO] [stdout] 578 | fn batch_outside_of_transaction() -> TransactionResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::transaction::TransactionResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:581:18 [INFO] [stdout] | [INFO] [stdout] 581 | let config = Config::new().temporary(true).flush_every_ms(Some(1)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Batch` [INFO] [stdout] --> tests/test_tree.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 586 | let mut b1 = Batch::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Batch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:610:18 [INFO] [stdout] | [INFO] [stdout] 610 | let config = Config::new().path(&path); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | let config = Config::new().path(&path); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:634:18 [INFO] [stdout] | [INFO] [stdout] 634 | let config = Config::new().temporary(true).flush_every_ms(Some(1)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:682:18 [INFO] [stdout] | [INFO] [stdout] 682 | let config = Config::new().temporary(true).flush_every_ms(Some(1)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:722:18 [INFO] [stdout] | [INFO] [stdout] 722 | let config = Config::new().temporary(true).flush_every_ms(Some(1)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pin` in this scope [INFO] [stdout] --> tests/test_tree.rs:738:17 [INFO] [stdout] | [INFO] [stdout] 738 | let guard = pin(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use crossbeam_epoch::pin; [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pin` in this scope [INFO] [stdout] --> tests/test_tree.rs:764:17 [INFO] [stdout] | [INFO] [stdout] 764 | let guard = pin(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use crossbeam_epoch::pin; [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test_tree.rs:784:33 [INFO] [stdout] | [INFO] [stdout] 784 | assert_eq!(t1.get(b""), Err(Error::CollectionNotFound(b"1".into()))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test_tree.rs:786:33 [INFO] [stdout] | [INFO] [stdout] 786 | assert_eq!(t2.get(b""), Err(Error::CollectionNotFound(b"2".into()))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pin` in this scope [INFO] [stdout] --> tests/test_tree.rs:788:17 [INFO] [stdout] | [INFO] [stdout] 788 | let guard = pin(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use crossbeam_epoch::pin; [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:812:18 [INFO] [stdout] | [INFO] [stdout] 812 | let config = Config::new().temporary(true).flush_every_ms(Some(1)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:862:18 [INFO] [stdout] | [INFO] [stdout] 862 | let config = Config::new() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:897:22 [INFO] [stdout] | [INFO] [stdout] 897 | let config = Config::new().create_new(true).path(path); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:901:18 [INFO] [stdout] | [INFO] [stdout] 901 | let config = Config::new().create_new(true).path(path); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:911:20 [INFO] [stdout] | [INFO] [stdout] 911 | let config_1 = Config::new().temporary(true); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/test_tree.rs:912:20 [INFO] [stdout] | [INFO] [stdout] 912 | let config_2 = Config::new().temporary(true); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use vsdbsled::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/test_tree.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | fn concurrent_tree_iter() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 254 | fn concurrent_tree_iter() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/test_tree.rs:721:40 [INFO] [stdout] | [INFO] [stdout] 721 | fn tree_subscribers_and_keyspaces() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 721 | fn tree_subscribers_and_keyspaces() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/test_tree.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 908 | fn tree_import_export() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 908 | fn tree_import_export() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/tree/mod.rs:239:6 [INFO] [stdout] | [INFO] [stdout] 239 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 239 | ) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 57 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pagecache/iterator.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | std::sync::atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | std::sync::atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/config.rs:761:35 [INFO] [stdout] | [INFO] [stdout] 761 | let _ = self.global_error.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/fastlock.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let lock_result = self.lock.compare_and_swap(false, true, Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lazy.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | while self.init_mu.compare_and_swap(false, true, SeqCst) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lru.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | self.writing.compare_and_swap(head, new, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lru.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | ret = self.full_list.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/iobuf.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | let res = self.header.compare_and_swap(old, new, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/pagetable.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let ret = l1[l1k].compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicI64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/mod.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | let last = atomic_lsn.compare_and_swap(current, to, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1090:27 [INFO] [stdout] | [INFO] [stdout] 1090 | old.entry.compare_and_set(old.read, page_ptr, SeqCst, guard); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1280:46 [INFO] [stdout] | [INFO] [stdout] 1280 | let result = page_view.entry.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1522:27 [INFO] [stdout] | [INFO] [stdout] 1522 | old.entry.compare_and_set(old.read, page_ptr, SeqCst, guard); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1747:38 [INFO] [stdout] | [INFO] [stdout] 1747 | let result = page_view.entry.compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/pagecache/mod.rs:1947:26 [INFO] [stdout] | [INFO] [stdout] 1947 | .compare_and_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/stack.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | if self.head.compare_and_set(head, node, Release, guard).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/stack.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | match self.head.compare_and_set(head, next, Release, guard) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/tree.rs:1552:29 [INFO] [stdout] | [INFO] [stdout] 1552 | while self.root.compare_and_swap(from, new_root_pid, SeqCst) != from [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | if !SPAWNING.compare_and_swap(false, true, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | if !E.compare_and_swap(false, true, Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/tree.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `View` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tree.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9003c28ee86ea6a6211e5b5b483794d5135e5c2c06cca4a1d8d8dfadc8cc85df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9003c28ee86ea6a6211e5b5b483794d5135e5c2c06cca4a1d8d8dfadc8cc85df", kill_on_drop: false }` [INFO] [stdout] 9003c28ee86ea6a6211e5b5b483794d5135e5c2c06cca4a1d8d8dfadc8cc85df