[INFO] fetching crate brk_store 0.0.111... [INFO] testing brk_store-0.0.111 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate brk_store 0.0.111 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate brk_store 0.0.111 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate brk_store 0.0.111 [INFO] tweaked toml for crates.io crate brk_store 0.0.111 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate brk_store 0.0.111 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate brk_store 0.0.111 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded path-dedot v3.1.1 [INFO] [stderr] Downloaded std-semaphore v0.1.0 [INFO] [stderr] Downloaded compare v0.0.6 [INFO] [stderr] Downloaded path-absolutize v3.1.1 [INFO] [stderr] Downloaded interval-heap v0.0.5 [INFO] [stderr] Downloaded varint-rs v2.2.0 [INFO] [stderr] Downloaded sonic-simd v0.1.1 [INFO] [stderr] Downloaded rkyv_derive v0.8.12 [INFO] [stderr] Downloaded value-log v1.9.0 [INFO] [stderr] Downloaded jiff-tzdb-platform v0.1.3 [INFO] [stderr] Downloaded fjall v2.11.2 [INFO] [stderr] Downloaded allocative_derive v0.3.3 [INFO] [stderr] Downloaded munge_macro v0.4.7 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.1 [INFO] [stderr] Downloaded dtype_dispatch v0.1.1 [INFO] [stderr] Downloaded double-ended-peekable v0.1.0 [INFO] [stderr] Downloaded vecdb_derive v0.2.16 [INFO] [stderr] Downloaded vecdb v0.2.16 [INFO] [stderr] Downloaded ptr_meta v0.3.1 [INFO] [stderr] Downloaded guardian v1.3.0 [INFO] [stderr] Downloaded brk_error v0.0.111 [INFO] [stderr] Downloaded rancor v0.1.1 [INFO] [stderr] Downloaded munge v0.4.7 [INFO] [stderr] Downloaded byteview v0.6.1 [INFO] [stderr] Downloaded better_io v0.1.0 [INFO] [stderr] Downloaded allocative v0.3.4 [INFO] [stderr] Downloaded sonic-number v0.1.0 [INFO] [stderr] Downloaded rend v0.5.3 [INFO] [stderr] Downloaded enum_dispatch v0.3.13 [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] [stderr] Downloaded minreq v2.14.1 [INFO] [stderr] Downloaded jiff-tzdb v0.1.4 [INFO] [stderr] Downloaded rapidhash v4.1.0 [INFO] [stderr] Downloaded pco v0.4.6 [INFO] [stderr] Downloaded brk_structs v0.0.111 [INFO] [stderr] Downloaded lsm-tree v2.10.4 [INFO] [stderr] Downloaded quick_cache v0.6.16 [INFO] [stderr] Downloaded sonic-rs v0.5.5 [INFO] [stderr] Downloaded rkyv v0.8.12 [INFO] [stderr] Downloaded sonic-rs v0.3.17 [INFO] [stderr] Downloaded seqdb v0.2.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f871fab4ad1eb499d6fb219d45c465a0edb4eb089d366ef8b6e09f9a47c6ac9 [INFO] running `Command { std: "docker" "start" "-a" "0f871fab4ad1eb499d6fb219d45c465a0edb4eb089d366ef8b6e09f9a47c6ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f871fab4ad1eb499d6fb219d45c465a0edb4eb089d366ef8b6e09f9a47c6ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f871fab4ad1eb499d6fb219d45c465a0edb4eb089d366ef8b6e09f9a47c6ac9", kill_on_drop: false }` [INFO] [stdout] 0f871fab4ad1eb499d6fb219d45c465a0edb4eb089d366ef8b6e09f9a47c6ac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 201d0b118c0183322b503d2277616e39ebe7607f51cc4beac9fc24b516237660 [INFO] running `Command { std: "docker" "start" "-a" "201d0b118c0183322b503d2277616e39ebe7607f51cc4beac9fc24b516237660", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling allocative v0.3.4 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling compare v0.0.6 [INFO] [stderr] Compiling interval-heap v0.0.5 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling sonic-simd v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling sonic-number v0.1.0 [INFO] [stderr] Compiling seqdb v0.2.16 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling vecdb_derive v0.2.16 [INFO] [stderr] Compiling pco v0.4.6 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling byteview v0.6.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling varint-rs v2.2.0 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling value-log v1.9.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling quick_cache v0.6.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling allocative_derive v0.3.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling dtype_dispatch v0.1.1 [INFO] [stderr] Compiling vecdb v0.2.16 [INFO] [stderr] Compiling better_io v0.1.0 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling double-ended-peekable v0.1.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling lsm-tree v2.10.4 [INFO] [stderr] Compiling ctrlc v3.5.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling brk_error v0.0.111 [INFO] [stderr] Compiling std-semaphore v0.1.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling brk_structs v0.0.111 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling rapidhash v4.1.0 [INFO] [stderr] Compiling derive_deref v1.1.1 [INFO] [stderr] Compiling fjall v2.11.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling brk_store v0.0.111 (/opt/rustwide/workdir) [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling faststr v0.2.32 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling minreq v2.14.1 [INFO] [stderr] Compiling jsonrpc v0.18.0 [INFO] [stderr] Compiling sonic-rs v0.3.17 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling sonic-rs v0.5.5 [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 2m 02s [INFO] running `Command { std: "docker" "inspect" "201d0b118c0183322b503d2277616e39ebe7607f51cc4beac9fc24b516237660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201d0b118c0183322b503d2277616e39ebe7607f51cc4beac9fc24b516237660", kill_on_drop: false }` [INFO] [stdout] 201d0b118c0183322b503d2277616e39ebe7607f51cc4beac9fc24b516237660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67e5c5eae9470d55f372175641f83d8bcfa01bf6849f9757b9b756d272652083 [INFO] running `Command { std: "docker" "start" "-a" "67e5c5eae9470d55f372175641f83d8bcfa01bf6849f9757b9b756d272652083", kill_on_drop: false }` [INFO] [stderr] Compiling brk_store v0.0.111 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "67e5c5eae9470d55f372175641f83d8bcfa01bf6849f9757b9b756d272652083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67e5c5eae9470d55f372175641f83d8bcfa01bf6849f9757b9b756d272652083", kill_on_drop: false }` [INFO] [stdout] 67e5c5eae9470d55f372175641f83d8bcfa01bf6849f9757b9b756d272652083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b730fc50b57111f621ee059b89e359e4dba1ead542254f15d3ca52ab9b2097d3 [INFO] running `Command { std: "docker" "start" "-a" "b730fc50b57111f621ee059b89e359e4dba1ead542254f15d3ca52ab9b2097d3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/brk_store-35bd06378eaebd34) [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 7 tests [INFO] [stdout] test src/../README.md - (line 37) ... FAILED [INFO] [stdout] test src/../README.md - (line 245) ... FAILED [INFO] [stdout] test src/../README.md - (line 105) ... FAILED [INFO] [stdout] test src/../README.md - (line 135) ... FAILED [INFO] [stdout] test src/../README.md - (line 191) ... FAILED [INFO] [stdout] test src/../README.md - (line 166) ... FAILED [INFO] [stdout] test src/../README.md - (line 255) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 37) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/../README.md:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | let mut store: Store = Store::import( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use brk_structs::BlockHash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `block_hash` in this scope [INFO] [stdout] --> src/../README.md:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | block_hash, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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:44:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_37_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 44 | 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] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_37_0() -> Result<(), Box> { [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:53:2 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_37_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 53 | )?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_37_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 245) stdout ---- [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/../README.md:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | let keyspace = Config::new(path) [INFO] [stdout] | ^^^^ not a value [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:250:26 [INFO] [stdout] | [INFO] [stdout] 245 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_245_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 250 | .open_transactional()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 245 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_245_0() -> Result<(), Box> { [INFO] [stdout] 246 | use fjall::Config; [INFO] [stdout] ... [INFO] [stdout] 250 | .open_transactional()?; [INFO] [stdout] 251 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 105) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `brk_structs::TxId` [INFO] [stdout] --> src/../README.md:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | use brk_structs::{Height, TxId, Version}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `TxId` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Txid` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/../README.md:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | let keyspace = open_keyspace(Path::new("./blockchain_data"))?; [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + 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:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Path::new("./blockchain_data/txid_to_height"), [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + 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:110:61 [INFO] [stdout] | [INFO] [stdout] 106 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_105_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 110 | let keyspace = open_keyspace(Path::new("./blockchain_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] 106 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_105_0() -> Result<(), Box> { [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:119:2 [INFO] [stdout] | [INFO] [stdout] 106 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_105_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 119 | )?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 106 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_105_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 135) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/../README.md:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | let mut store: Store = Store::import(/* ... */)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 136 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0
() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AddressData` in this scope [INFO] [stdout] --> src/../README.md:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | let mut store: Store = Store::import(/* ... */)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 136 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Height` [INFO] [stdout] --> src/../README.md:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let height = Height::new(block_height); [INFO] [stdout] | ^^^^^^ use of undeclared type `Height` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 134 + use brk_structs::Height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 0 arguments were supplied [INFO] [stdout] --> src/../README.md:139:46 [INFO] [stdout] | [INFO] [stdout] 139 | let mut store: Store = Store::import(/* ... */)?; [INFO] [stdout] | ^^^^^^^^^^^^^----------- multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn import( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 139 - let mut store: Store = Store::import(/* ... */)?; [INFO] [stdout] 139 + let mut store: Store = Store::import(/* &fjall::tx::keyspace::TransactionalKeyspace */, /* &Path */, /* &str */, /* vecdb::version::Version */, /* Option */)?; [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:139:70 [INFO] [stdout] | [INFO] [stdout] 136 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 139 | let mut store: Store = Store::import(/* ... */)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 136 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() -> Result<(), Box> { [INFO] [stdout] 137 | use brk_store::{Store, AnyStore}; [INFO] [stdout] ... [INFO] [stdout] 162 | store.persist()?; [INFO] [stdout] 163 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `process_block` in this scope [INFO] [stdout] --> src/../README.md:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | for (address, data) in process_block(block_height)? { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 191) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Height` in this scope [INFO] [stdout] --> src/../README.md:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | let store: Store = Store::import(/* ... */)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use brk_structs::Height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/../README.md:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | let store: Store = Store::import(/* ... */)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use brk_structs::BlockHash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 0 arguments were supplied [INFO] [stdout] --> src/../README.md:195:39 [INFO] [stdout] | [INFO] [stdout] 195 | let store: Store = Store::import(/* ... */)?; [INFO] [stdout] | ^^^^^^^^^^^^^----------- multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn import( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 195 - let store: Store = Store::import(/* ... */)?; [INFO] [stdout] 195 + let store: Store = Store::import(/* &fjall::tx::keyspace::TransactionalKeyspace */, /* &Path */, /* &str */, /* vecdb::version::Version */, /* Option */)?; [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:195:63 [INFO] [stdout] | [INFO] [stdout] 192 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_191_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 195 | let store: Store = Store::import(/* ... */)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 192 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_191_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/../README.md:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | if height.as_u32() % 10000 == 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 166) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Height` in this scope [INFO] [stdout] --> src/../README.md:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | let mut store: Store = Store::import( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 165 + use brk_structs::Height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> src/../README.md:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | let mut store: Store = Store::import( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 167 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_166_0() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `keyspace` in this scope [INFO] [stdout] --> src/../README.md:173:6 [INFO] [stdout] | [INFO] [stdout] 173 | &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:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | path, [INFO] [stdout] | ^^^^ not a value [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:178:2 [INFO] [stdout] | [INFO] [stdout] 167 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_166_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 178 | )?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 167 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_166_0() -> Result<(), Box> { [INFO] [stdout] 168 | use brk_store::{Store, AnyStore}; [INFO] [stdout] ... [INFO] [stdout] 187 | assert!(store.is_empty()?); [INFO] [stdout] 188 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0423, E0425. [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 105) [INFO] [stdout] src/../README.md - (line 135) [INFO] [stdout] src/../README.md - (line 166) [INFO] [stdout] src/../README.md - (line 191) [INFO] [stdout] src/../README.md - (line 245) [INFO] [stdout] src/../README.md - (line 37) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.26s; merged doctests compilation took 0.19s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b730fc50b57111f621ee059b89e359e4dba1ead542254f15d3ca52ab9b2097d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b730fc50b57111f621ee059b89e359e4dba1ead542254f15d3ca52ab9b2097d3", kill_on_drop: false }` [INFO] [stdout] b730fc50b57111f621ee059b89e359e4dba1ead542254f15d3ca52ab9b2097d3