[INFO] fetching crate brk_store 0.0.95... [INFO] testing brk_store-0.0.95 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate brk_store 0.0.95 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate brk_store 0.0.95 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate brk_store 0.0.95 [INFO] tweaked toml for crates.io crate brk_store 0.0.95 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate brk_store 0.0.95 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 brk_store 0.0.95 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] 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] 20d521966e5716aa467be67b51dc7d491b3e65a4c188b3f3dbf9390020b63888 [INFO] running `Command { std: "docker" "start" "-a" "20d521966e5716aa467be67b51dc7d491b3e65a4c188b3f3dbf9390020b63888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20d521966e5716aa467be67b51dc7d491b3e65a4c188b3f3dbf9390020b63888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d521966e5716aa467be67b51dc7d491b3e65a4c188b3f3dbf9390020b63888", kill_on_drop: false }` [INFO] [stdout] 20d521966e5716aa467be67b51dc7d491b3e65a4c188b3f3dbf9390020b63888 [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] 6bafc7b11352848d14ff25ee6e3785656bb74ccb143a17aac8b99b4fb065f496 [INFO] running `Command { std: "docker" "start" "-a" "6bafc7b11352848d14ff25ee6e3785656bb74ccb143a17aac8b99b4fb065f496", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling compare v0.0.6 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling interval-heap v0.0.5 [INFO] [stderr] Compiling byteview v0.6.1 [INFO] [stderr] Compiling varint-rs v2.2.0 [INFO] [stderr] Compiling pco v0.4.6 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling seqdb v0.2.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling vecdb_derive v0.2.5 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling dtype_dispatch v0.1.1 [INFO] [stderr] Compiling double-ended-peekable v0.1.0 [INFO] [stderr] Compiling better_io v0.1.0 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling vecdb v0.2.5 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling quick_cache v0.6.16 [INFO] [stderr] Compiling std-semaphore v0.1.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling brk_error v0.0.95 [INFO] [stderr] Compiling brk_structs v0.0.95 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling rapidhash v4.0.0 [INFO] [stderr] Compiling brk_store v0.0.95 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling value-log v1.9.0 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_deref v1.1.1 [INFO] [stderr] Compiling lsm-tree v2.10.3 [INFO] [stderr] Compiling fjall v2.11.2 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling minreq v2.14.0 [INFO] [stderr] Compiling jsonrpc v0.18.0 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Compiling bitcoincore-rpc v0.19.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.63s [INFO] running `Command { std: "docker" "inspect" "6bafc7b11352848d14ff25ee6e3785656bb74ccb143a17aac8b99b4fb065f496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bafc7b11352848d14ff25ee6e3785656bb74ccb143a17aac8b99b4fb065f496", kill_on_drop: false }` [INFO] [stdout] 6bafc7b11352848d14ff25ee6e3785656bb74ccb143a17aac8b99b4fb065f496 [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] ce61d4a34bbbc24d898bafb4796ac7b792ed9761c5c53dc3f63cb90b1adcec7a [INFO] running `Command { std: "docker" "start" "-a" "ce61d4a34bbbc24d898bafb4796ac7b792ed9761c5c53dc3f63cb90b1adcec7a", kill_on_drop: false }` [INFO] [stderr] Compiling brk_store v0.0.95 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "ce61d4a34bbbc24d898bafb4796ac7b792ed9761c5c53dc3f63cb90b1adcec7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce61d4a34bbbc24d898bafb4796ac7b792ed9761c5c53dc3f63cb90b1adcec7a", kill_on_drop: false }` [INFO] [stdout] ce61d4a34bbbc24d898bafb4796ac7b792ed9761c5c53dc3f63cb90b1adcec7a [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] e79d9cdde4fea60b1af5d97a5799f190799a155b52fba2518c7c8c4dc0cf4fa9 [INFO] running `Command { std: "docker" "start" "-a" "e79d9cdde4fea60b1af5d97a5799f190799a155b52fba2518c7c8c4dc0cf4fa9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/brk_store-7d8e4914a4822044) [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] [stderr] Doc-tests brk_store [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/../README.md - (line 78) ... FAILED [INFO] [stdout] test src/../README.md - (line 102) ... FAILED [INFO] [stdout] test src/../README.md - (line 64) ... FAILED [INFO] [stdout] test src/../README.md - (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Height` [INFO] [stdout] --> src/../README.md:83:18 [INFO] [stdout] | [INFO] [stdout] 8 | let height = Height::new(800_000); [INFO] [stdout] | ^^^^^^ use of undeclared type `Height` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use brk_structs::Height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 102) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `store` in this scope [INFO] [stdout] --> src/../README.md:104:1 [INFO] [stdout] | [INFO] [stdout] 4 | store.reset()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Store` in this scope [INFO] [stdout] --> src/../README.md:107:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut fresh_store: Store = Store::import( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use brk_store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/../README.md:107:43 [INFO] [stdout] | [INFO] [stdout] 7 | let mut fresh_store: Store = Store::import( [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use brk_store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `keyspace` in this scope [INFO] [stdout] --> src/../README.md:108:6 [INFO] [stdout] | [INFO] [stdout] 8 | &keyspace, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/../README.md:109:5 [INFO] [stdout] | [INFO] [stdout] 9 | path, [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> src/../README.md:111:5 [INFO] [stdout] | [INFO] [stdout] 11 | Version::ZERO, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use brk_structs::Version; [INFO] [stdout] | [INFO] [stdout] 2 + use fjall::Version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 64) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `store` in this scope [INFO] [stdout] --> src/../README.md:66:22 [INFO] [stdout] | [INFO] [stdout] 4 | if let Some(value) = store.get(&"key1".to_string())? { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `store` in this scope [INFO] [stdout] --> src/../README.md:71:4 [INFO] [stdout] | [INFO] [stdout] 9 | if store.needs(Height::new(800_000)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Height` [INFO] [stdout] --> src/../README.md:71:16 [INFO] [stdout] | [INFO] [stdout] 9 | if store.needs(Height::new(800_000)) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Height` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use brk_structs::Height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/../README.md:42:30 [INFO] [stdout] | [INFO] [stdout] 9 | let keyspace = open_keyspace(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[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/../README.md:47:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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/../README.md:42:50 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_36_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let keyspace = open_keyspace(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____README_md_36_0() -> Result<(), Box> { [INFO] [stdout] 5 | use brk_store::{Store, open_keyspace}; [INFO] [stdout] ... [INFO] [stdout] 27| store.persist()?; [INFO] [stdout] 28+ 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/../README.md:51:2 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_36_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 18 | )?; [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____README_md_36_0() -> Result<(), Box> { [INFO] [stdout] 5 | use brk_store::{Store, open_keyspace}; [INFO] [stdout] ... [INFO] [stdout] 27 | store.persist()?; [INFO] [stdout] 28 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert_if_needed` exists for struct `Store`, but its trait bounds were not satisfied [INFO] [stdout] --> src/../README.md:54:7 [INFO] [stdout] | [INFO] [stdout] 21 | store.insert_if_needed("key1".to_string(), 42u64, Height::new(800_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method cannot be called on `Store` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteview-0.6.1/src/byteview.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ByteView { [INFO] [stdout] | ------------------- doesn't satisfy `byteview::byteview::ByteView: From<&String>` or `byteview::byteview::ByteView: From` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `String: From` [INFO] [stdout] `u64: From` [INFO] [stdout] `byteview::byteview::ByteView: From<&String>` [INFO] [stdout] `byteview::byteview::ByteView: From` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: From` is not satisfied [INFO] [stdout] --> src/../README.md:45:37 [INFO] [stdout] | [INFO] [stdout] 12 | let mut store: Store = Store::import( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 13 | | &keyspace, [INFO] [stdout] 14 | | Path::new("./data"), [INFO] [stdout] 15 | | "store_name", [INFO] [stdout] 16 | | Version::ZERO, [INFO] [stdout] 17 | | Some(true), // Enable bloom filters [INFO] [stdout] 18 | | )?; [INFO] [stdout] | |_^ the trait `From` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] note: required by a bound in `Store::::import` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | K: Debug + Clone + From + Ord + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Store::::import` [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn import( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From` is not satisfied [INFO] [stdout] --> src/../README.md:45:37 [INFO] [stdout] | [INFO] [stdout] 12 | let mut store: Store = Store::import( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 13 | | &keyspace, [INFO] [stdout] 14 | | Path::new("./data"), [INFO] [stdout] 15 | | "store_name", [INFO] [stdout] 16 | | Version::ZERO, [INFO] [stdout] 17 | | Some(true), // Enable bloom filters [INFO] [stdout] 18 | | )?; [INFO] [stdout] | |_^ the trait `From` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] and 31 others [INFO] [stdout] note: required by a bound in `Store::::import` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | V: Debug + Clone + From, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Store::::import` [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn import( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `byteview::byteview::ByteView: From<&String>` is not satisfied [INFO] [stdout] --> src/../README.md:45:37 [INFO] [stdout] | [INFO] [stdout] 12 | let mut store: Store = Store::import( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 13 | | &keyspace, [INFO] [stdout] 14 | | Path::new("./data"), [INFO] [stdout] 15 | | "store_name", [INFO] [stdout] 16 | | Version::ZERO, [INFO] [stdout] 17 | | Some(true), // Enable bloom filters [INFO] [stdout] 18 | | )?; [INFO] [stdout] | |_^ the trait `From<&String>` is not implemented for `byteview::byteview::ByteView` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&AddressBytesHash>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&BlockHashPrefix>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&TxidPrefix>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&TypeIndexWithOutputindex>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&[u8]>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&str>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From` [INFO] [stdout] `byteview::byteview::ByteView` implements `From>` [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `Store::::import` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | ByteView: From + From<&'a K> + From, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Store::::import` [INFO] [stdout] 52 | { [INFO] [stdout] 53 | pub fn import( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `byteview::byteview::ByteView: From` is not satisfied [INFO] [stdout] --> src/../README.md:45:37 [INFO] [stdout] | [INFO] [stdout] 12 | let mut store: Store = Store::import( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 13 | | &keyspace, [INFO] [stdout] 14 | | Path::new("./data"), [INFO] [stdout] 15 | | "store_name", [INFO] [stdout] 16 | | Version::ZERO, [INFO] [stdout] 17 | | Some(true), // Enable bloom filters [INFO] [stdout] 18 | | )?; [INFO] [stdout] | |_^ the trait `From` is not implemented for `byteview::byteview::ByteView` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&AddressBytesHash>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&BlockHashPrefix>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&TxidPrefix>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&TypeIndexWithOutputindex>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&[u8]>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From<&str>` [INFO] [stdout] `byteview::byteview::ByteView` implements `From` [INFO] [stdout] `byteview::byteview::ByteView` implements `From>` [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `Store::::import` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | ByteView: From + From<&'a K> + From, [INFO] [stdout] | ^^^^^^^ required by this bound in `Store::::import` [INFO] [stdout] 52 | { [INFO] [stdout] 53 | pub fn import( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `commit` found for struct `Store` in the current scope [INFO] [stdout] --> src/../README.md:57:7 [INFO] [stdout] | [INFO] [stdout] 24 | store.commit(Height::new(800_000))?; [INFO] [stdout] | ^^^^^^ method not found in `Store` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `persist` found for struct `Store` in the current scope [INFO] [stdout] --> src/../README.md:60:7 [INFO] [stdout] | [INFO] [stdout] 27 | store.persist()?; [INFO] [stdout] | ^^^^^^^ method not found in `Store` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 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] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 102) [INFO] [stdout] src/../README.md - (line 36) [INFO] [stdout] src/../README.md - (line 64) [INFO] [stdout] src/../README.md - (line 78) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.29s; merged doctests compilation took 0.16s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e79d9cdde4fea60b1af5d97a5799f190799a155b52fba2518c7c8c4dc0cf4fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79d9cdde4fea60b1af5d97a5799f190799a155b52fba2518c7c8c4dc0cf4fa9", kill_on_drop: false }` [INFO] [stdout] e79d9cdde4fea60b1af5d97a5799f190799a155b52fba2518c7c8c4dc0cf4fa9