[INFO] fetching crate vecdb 0.2.5... [INFO] testing vecdb-0.2.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate vecdb 0.2.5 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate vecdb 0.2.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate vecdb 0.2.5 [INFO] tweaked toml for crates.io crate vecdb 0.2.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vecdb 0.2.5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vecdb 0.2.5 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded seqdb v0.2.5 [INFO] [stderr] Downloaded better_io v0.1.0 [INFO] [stderr] Downloaded vecdb_derive v0.2.5 [INFO] [stderr] Downloaded dtype_dispatch v0.1.1 [INFO] [stderr] Downloaded pco v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a4f983cc1a45a8ca012e43dbf3de68d8b2e75b7a56105882850ab86f7e4f1cc [INFO] running `Command { std: "docker" "start" "-a" "1a4f983cc1a45a8ca012e43dbf3de68d8b2e75b7a56105882850ab86f7e4f1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a4f983cc1a45a8ca012e43dbf3de68d8b2e75b7a56105882850ab86f7e4f1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a4f983cc1a45a8ca012e43dbf3de68d8b2e75b7a56105882850ab86f7e4f1cc", kill_on_drop: false }` [INFO] [stdout] 1a4f983cc1a45a8ca012e43dbf3de68d8b2e75b7a56105882850ab86f7e4f1cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fa48b08c21455f7ed04642801dd4fbd4968003c2d3042d8d7c2a8a2ade2d211 [INFO] running `Command { std: "docker" "start" "-a" "9fa48b08c21455f7ed04642801dd4fbd4968003c2d3042d8d7c2a8a2ade2d211", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pco v0.4.6 [INFO] [stderr] Compiling seqdb v0.2.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling memmap2 v0.9.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling vecdb v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling better_io v0.1.0 [INFO] [stderr] Compiling dtype_dispatch v0.1.1 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] warning: unused variable: `prev_stored_len` [INFO] [stdout] --> src/traits/generic.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let prev_stored_len = usize::read_from_bytes(&bytes[pos..pos + len])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_stored_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pushed` [INFO] [stdout] --> src/traits/generic.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let pushed = bytes[pos..pos + len] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pushed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_updated` [INFO] [stdout] --> src/traits/generic.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let mut prev_updated: BTreeMap = prev_indexes [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/traits/generic.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let mut prev_updated: BTreeMap = prev_indexes [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.73s [INFO] running `Command { std: "docker" "inspect" "9fa48b08c21455f7ed04642801dd4fbd4968003c2d3042d8d7c2a8a2ade2d211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa48b08c21455f7ed04642801dd4fbd4968003c2d3042d8d7c2a8a2ade2d211", kill_on_drop: false }` [INFO] [stdout] 9fa48b08c21455f7ed04642801dd4fbd4968003c2d3042d8d7c2a8a2ade2d211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc55c88a70cef26190fb6a2f98dcb56677e7ea66ae2ebca38424241d929667a4 [INFO] running `Command { std: "docker" "start" "-a" "dc55c88a70cef26190fb6a2f98dcb56677e7ea66ae2ebca38424241d929667a4", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `prev_stored_len` [INFO] [stdout] --> src/traits/generic.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let prev_stored_len = usize::read_from_bytes(&bytes[pos..pos + len])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_stored_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pushed` [INFO] [stdout] --> src/traits/generic.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let pushed = bytes[pos..pos + len] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pushed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_updated` [INFO] [stdout] --> src/traits/generic.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let mut prev_updated: BTreeMap = prev_indexes [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/traits/generic.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let mut prev_updated: BTreeMap = prev_indexes [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vecdb v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `prev_stored_len` [INFO] [stdout] --> src/traits/generic.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let prev_stored_len = usize::read_from_bytes(&bytes[pos..pos + len])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_stored_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pushed` [INFO] [stdout] --> src/traits/generic.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let pushed = bytes[pos..pos + len] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pushed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_updated` [INFO] [stdout] --> src/traits/generic.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let mut prev_updated: BTreeMap = prev_indexes [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/traits/generic.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let mut prev_updated: BTreeMap = prev_indexes [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.52s [INFO] running `Command { std: "docker" "inspect" "dc55c88a70cef26190fb6a2f98dcb56677e7ea66ae2ebca38424241d929667a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc55c88a70cef26190fb6a2f98dcb56677e7ea66ae2ebca38424241d929667a4", kill_on_drop: false }` [INFO] [stdout] dc55c88a70cef26190fb6a2f98dcb56677e7ea66ae2ebca38424241d929667a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 120a7ef9eebca52e87a39eda32e2e7a6712100405e284b8b0b7b23127230c3d3 [INFO] running `Command { std: "docker" "start" "-a" "120a7ef9eebca52e87a39eda32e2e7a6712100405e284b8b0b7b23127230c3d3", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `prev_stored_len` [INFO] [stderr] --> src/traits/generic.rs:349:13 [INFO] [stderr] | [INFO] [stderr] 349 | let prev_stored_len = usize::read_from_bytes(&bytes[pos..pos + len])?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_stored_len` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pushed` [INFO] [stderr] --> src/traits/generic.rs:393:13 [INFO] [stderr] | [INFO] [stderr] 393 | let pushed = bytes[pos..pos + len] [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pushed` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prev_updated` [INFO] [stderr] --> src/traits/generic.rs:408:17 [INFO] [stderr] | [INFO] [stderr] 408 | let mut prev_updated: BTreeMap = prev_indexes [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_updated` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/traits/generic.rs:408:13 [INFO] [stderr] | [INFO] [stderr] 408 | let mut prev_updated: BTreeMap = prev_indexes [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `vecdb` (lib) generated 4 warnings (run `cargo fix --lib -p vecdb` to apply 1 suggestion) [INFO] [stderr] warning: `vecdb` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vecdb-ffea436c6235129c) [INFO] [stderr] Doc-tests vecdb [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - (line 152) ... FAILED [INFO] [stdout] test src/lib.rs - (line 134) ... FAILED [INFO] [stdout] test src/lib.rs - (line 203) ... FAILED [INFO] [stdout] test src/lib.rs - (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - (line 1133) ... FAILED [INFO] [stdout] test src/lib.rs - (line 229) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 106) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RawVec` in this scope [INFO] [stdout] --> src/lib.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut vec: RawVec = RawVec::forced_import(&db, "data", Version::TWO)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vecdb::RawVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawVec` [INFO] [stdout] --> src/lib.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 3 | let mut vec: RawVec = RawVec::forced_import(&db, "data", Version::TWO)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `RawVec` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vecdb::RawVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:107:58 [INFO] [stdout] | [INFO] [stdout] 3 | let mut vec: RawVec = RawVec::forced_import(&db, "data", Version::TWO)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> src/lib.rs:107:70 [INFO] [stdout] | [INFO] [stdout] 3 | let mut vec: RawVec = RawVec::forced_import(&db, "data", Version::TWO)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vecdb::Version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 152) stdout ---- [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/lib.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 8 | vec.stamped_flush(Stamp::new(42))?; [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/lib.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 11 | vec.rollback_stamp(Stamp::new(41))?; [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 134) stdout ---- [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/lib.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 4 | let values: Vec = vec.collect()?; [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/lib.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 7 | let with_holes: Vec> = vec.collect_holed()?; [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/lib.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 10 | for (index, value) in &vec { [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/lib.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 15 | let last_5: Vec = vec.collect_signed_range(Some(-5), None)?; [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 203) stdout ---- [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/lib.rs:207:7 [INFO] [stdout] | [INFO] [stdout] 7 | match vec.get_or_read(index, &reader) { [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `index` in this scope [INFO] [stdout] --> src/lib.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 7 | match vec.get_or_read(index, &reader) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reader` in this scope [INFO] [stdout] --> src/lib.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 7 | match vec.get_or_read(index, &reader) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `index` in this scope [INFO] [stdout] --> src/lib.rs:209:46 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(None) => println!("Hole at index {}", index), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 57) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 7 | let db = Database::open(Path::new("data"))?; [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let db = Database::open(Path::new("data"))?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() -> Result<(), Box> { [INFO] [stdout] 5 | use vecdb::{Database, CompressedVec, Version}; [INFO] [stdout] ... [INFO] [stdout] 20| let value = vec.get_or_read(500, &reader)?; [INFO] [stdout] 21+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:63:68 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | CompressedVec::forced_import(&db, "measurements", Version::TWO)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() -> Result<(), Box> { [INFO] [stdout] 5 | use vecdb::{Database, CompressedVec, Version}; [INFO] [stdout] ... [INFO] [stdout] 20| let value = vec.get_or_read(500, &reader)?; [INFO] [stdout] 21+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `CompressedVec` in the current scope [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 13 | vec.push(i as f64 * 3.14159); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn push(&mut self, value: T) { [INFO] [stdout] | ---- the method is available for `CompressedVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `pushed` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/traits/generic.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn pushed(&self) -> &[T]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `GenericStoredVec` which provides `push` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `CompressedVec` in the current scope [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 16 | vec.flush()?; // Data compressed on flush [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/stored.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn flush(&mut self) -> Result<()>; [INFO] [stdout] | ----- the method is available for `CompressedVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `safe_flush` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/traits/stored.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn safe_flush(&mut self, exit: &Exit) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `AnyStoredVec` which provides `flush` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::AnyStoredVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_static_reader` found for struct `CompressedVec` in the current scope [INFO] [stdout] --> src/lib.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 19 | let reader = vec.create_static_reader(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn create_static_reader(&self) -> Reader<'static> { [INFO] [stdout] | -------------------- the method is available for `CompressedVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericStoredVec` which provides `create_static_reader` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] help: there is a method `create_reader` with a similar name [INFO] [stdout] | [INFO] [stdout] 19 - let reader = vec.create_static_reader(); [INFO] [stdout] 19 + let reader = vec.create_reader(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_or_read` found for struct `CompressedVec` in the current scope [INFO] [stdout] --> src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 20 | let value = vec.get_or_read(500, &reader)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_or_read(&'_ self, index: I, reader: &Reader) -> Result>> { [INFO] [stdout] | ----------- the method is available for `CompressedVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericStoredVec` which provides `get_or_read` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_or_read_` with a similar name [INFO] [stdout] | [INFO] [stdout] 20 | let value = vec.get_or_read_(500, &reader)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 30) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_30_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let db = Database::open(Path::new("data"))?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_30_0() -> Result<(), Box> { [INFO] [stdout] 5 | use vecdb::{Database, RawVec, Version}; [INFO] [stdout] ... [INFO] [stdout] 25| vec.flush()?; [INFO] [stdout] 26+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:36:86 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_30_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let mut vec: RawVec = RawVec::forced_import(&db, "numbers", Version::TWO)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_30_0() -> Result<(), Box> { [INFO] [stdout] 5 | use vecdb::{Database, RawVec, Version}; [INFO] [stdout] ... [INFO] [stdout] 25| vec.flush()?; [INFO] [stdout] 26+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 12 | vec.push(42); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn push(&mut self, value: T) { [INFO] [stdout] | ---- the method is available for `RawVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `pushed` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/traits/generic.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn pushed(&self) -> &[T]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `GenericStoredVec` which provides `push` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 13 | vec.push(84); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn push(&mut self, value: T) { [INFO] [stdout] | ---- the method is available for `RawVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `pushed` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/traits/generic.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn pushed(&self) -> &[T]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `GenericStoredVec` which provides `push` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_static_reader` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 16 | let reader = vec.create_static_reader(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn create_static_reader(&self) -> Reader<'static> { [INFO] [stdout] | -------------------- the method is available for `RawVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericStoredVec` which provides `create_static_reader` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] help: there is a method `create_reader` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - let reader = vec.create_static_reader(); [INFO] [stdout] 16 + let reader = vec.create_reader(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_or_read` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 17 | let value = vec.get_or_read(0, &reader)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_or_read(&'_ self, index: I, reader: &Reader) -> Result>> { [INFO] [stdout] | ----------- the method is available for `RawVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericStoredVec` which provides `get_or_read` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_or_read_` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 | let value = vec.get_or_read_(0, &reader)?.unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 22 | vec.update(0, 100)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn update(&mut self, index: I, value: T) -> Result<()> { [INFO] [stdout] | ------ the method is available for `RawVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericStoredVec` which provides `update` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] help: there is a method `update_` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | vec.update_(0, 100)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0599]: `RawVec` is not an iterator [INFO] [stdout] --> src/lib.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 23 | let removed = vec.take(1, &vec.create_static_reader())?; // Creates a hole [INFO] [stdout] | ^^^^ `RawVec` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/variants/raw/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct RawVec { [INFO] [stdout] | ----------------------- doesn't satisfy `RawVec: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `RawVec: Iterator` [INFO] [stdout] which is required by `&mut RawVec: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericStoredVec` which provides `take` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_static_reader` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 23 | let removed = vec.take(1, &vec.create_static_reader())?; // Creates a hole [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/generic.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn create_static_reader(&self) -> Reader<'static> { [INFO] [stdout] | -------------------- the method is available for `RawVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericStoredVec` which provides `create_static_reader` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::GenericStoredVec; [INFO] [stdout] | [INFO] [stdout] help: there is a method `create_reader` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - let removed = vec.take(1, &vec.create_static_reader())?; // Creates a hole [INFO] [stdout] 23 + let removed = vec.take(1, &vec.create_reader())?; // Creates a hole [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 25 | vec.flush()?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/stored.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn flush(&mut self) -> Result<()>; [INFO] [stdout] | ----- the method is available for `RawVec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `safe_flush` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/traits/stored.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn safe_flush(&mut self, exit: &Exit) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `AnyStoredVec` which provides `flush` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::vecdb::AnyStoredVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 79) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RawVec` in this scope [INFO] [stdout] --> src/lib.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut source: RawVec = RawVec::forced_import(&db, "source", Version::TWO)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vecdb::RawVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawVec` [INFO] [stdout] --> src/lib.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 8 | let mut source: RawVec = RawVec::forced_import(&db, "source", Version::TWO)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `RawVec` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vecdb::RawVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:84:61 [INFO] [stdout] | [INFO] [stdout] 8 | let mut source: RawVec = RawVec::forced_import(&db, "source", Version::TWO)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> src/lib.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 8 | let mut source: RawVec = RawVec::forced_import(&db, "source", Version::TWO)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vecdb::Version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 15 | &db, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 17 | Version::TWO, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vecdb::Version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for mutable reference `&mut dyn BaseVecIterator)>` in the current scope [INFO] [stdout] --> src/lib.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 22 | iter.get(_index).map(|(_, value)| value.as_ref() * value.as_ref()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `ge` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - iter.get(_index).map(|(_, value)| value.as_ref() * value.as_ref()) [INFO] [stdout] 22 + iter.ge(_index).map(|(_, value)| value.as_ref() * value.as_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 1133) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 229) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 106) [INFO] [stdout] src/lib.rs - (line 1133) [INFO] [stdout] src/lib.rs - (line 134) [INFO] [stdout] src/lib.rs - (line 152) [INFO] [stdout] src/lib.rs - (line 203) [INFO] [stdout] src/lib.rs - (line 229) [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] src/lib.rs - (line 57) [INFO] [stdout] src/lib.rs - (line 79) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.88s [INFO] [stdout] [INFO] [stdout] all doctests ran in 3.34s; merged doctests compilation took 0.46s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "120a7ef9eebca52e87a39eda32e2e7a6712100405e284b8b0b7b23127230c3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "120a7ef9eebca52e87a39eda32e2e7a6712100405e284b8b0b7b23127230c3d3", kill_on_drop: false }` [INFO] [stdout] 120a7ef9eebca52e87a39eda32e2e7a6712100405e284b8b0b7b23127230c3d3