[INFO] fetching crate brk_fetcher 0.0.95... [INFO] testing brk_fetcher-0.0.95 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate brk_fetcher 0.0.95 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate brk_fetcher 0.0.95 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate brk_fetcher 0.0.95 [INFO] tweaked toml for crates.io crate brk_fetcher 0.0.95 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate brk_fetcher 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_fetcher 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c36f8f4eb0895d89e94251af006578d83a86dae8ef66f21f946e7e3a948c27c0 [INFO] running `Command { std: "docker" "start" "-a" "c36f8f4eb0895d89e94251af006578d83a86dae8ef66f21f946e7e3a948c27c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c36f8f4eb0895d89e94251af006578d83a86dae8ef66f21f946e7e3a948c27c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36f8f4eb0895d89e94251af006578d83a86dae8ef66f21f946e7e3a948c27c0", kill_on_drop: false }` [INFO] [stdout] c36f8f4eb0895d89e94251af006578d83a86dae8ef66f21f946e7e3a948c27c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] dc790db54cf0b488c198395f5b1edba434ee0ab2ef19fb5ff8cb29e333e0f494 [INFO] running `Command { std: "docker" "start" "-a" "dc790db54cf0b488c198395f5b1edba434ee0ab2ef19fb5ff8cb29e333e0f494", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [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 sct v0.7.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling compare v0.0.6 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling interval-heap v0.0.5 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling varint-rs v2.2.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling pco v0.4.6 [INFO] [stderr] Compiling vecdb_derive v0.2.5 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling seqdb v0.2.5 [INFO] [stderr] Compiling byteview v0.6.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling quick_cache v0.6.16 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling value-log v1.9.0 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling dtype_dispatch v0.1.1 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling double-ended-peekable v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling better_io v0.1.0 [INFO] [stderr] Compiling vecdb v0.2.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling brk_error v0.0.95 [INFO] [stderr] Compiling std-semaphore v0.1.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling brk_structs v0.0.95 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling brk_logger v0.0.95 [INFO] [stderr] Compiling rapidhash v4.0.0 [INFO] [stderr] Compiling brk_fetcher v0.0.95 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling lsm-tree v2.10.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling derive_deref v1.1.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling fjall v2.11.2 [INFO] [stderr] Compiling env_logger v0.11.8 [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 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 45.96s [INFO] running `Command { std: "docker" "inspect" "dc790db54cf0b488c198395f5b1edba434ee0ab2ef19fb5ff8cb29e333e0f494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc790db54cf0b488c198395f5b1edba434ee0ab2ef19fb5ff8cb29e333e0f494", kill_on_drop: false }` [INFO] [stdout] dc790db54cf0b488c198395f5b1edba434ee0ab2ef19fb5ff8cb29e333e0f494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9381c75b0104853604645893bd556dff64879093a33fd49636c6e104865d88b6 [INFO] running `Command { std: "docker" "start" "-a" "9381c75b0104853604645893bd556dff64879093a33fd49636c6e104865d88b6", kill_on_drop: false }` [INFO] [stderr] Compiling brk_fetcher v0.0.95 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "9381c75b0104853604645893bd556dff64879093a33fd49636c6e104865d88b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9381c75b0104853604645893bd556dff64879093a33fd49636c6e104865d88b6", kill_on_drop: false }` [INFO] [stdout] 9381c75b0104853604645893bd556dff64879093a33fd49636c6e104865d88b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e7a6a67c6a411481fc4e5a74f4403c8ada6443dc921833efd4f4ae68cefcebcb [INFO] running `Command { std: "docker" "start" "-a" "e7a6a67c6a411481fc4e5a74f4403c8ada6443dc921833efd4f4ae68cefcebcb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/brk_fetcher-c333cbd376e47357) [INFO] [stderr] Doc-tests brk_fetcher [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 6 tests [INFO] [stdout] test src/../README.md - (line 55) ... FAILED [INFO] [stdout] test src/../README.md - (line 38) ... FAILED [INFO] [stdout] test src/../README.md - (line 83) ... FAILED [INFO] [stdout] test src/../README.md - (line 117) ... FAILED [INFO] [stdout] test src/../README.md - (line 69) ... FAILED [INFO] [stdout] test src/../README.md - (line 101) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 55) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `fetcher` in this scope [INFO] [stdout] --> src/../README.md:60:12 [INFO] [stdout] | [INFO] [stdout] 7 | let ohlc = fetcher.get_date(date)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/../README.md:50:16 [INFO] [stdout] | [INFO] [stdout] 15 | let har_path = Path::new("./binance.har"); [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:44:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_38_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let mut fetcher = Fetcher::import(true, None)?; [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_38_0() -> Result<(), Box> { [INFO] [stdout] 5 | use brk_fetcher::Fetcher; [INFO] [stdout] ... [INFO] [stdout] 16| let mut fetcher = Fetcher::import(true, Some(har_path))?; [INFO] [stdout] 17+ 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:47:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_38_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 12 | let mut fetcher = Fetcher::import(false, None)?; [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_38_0() -> Result<(), Box> { [INFO] [stdout] 5 | use brk_fetcher::Fetcher; [INFO] [stdout] ... [INFO] [stdout] 16 | let mut fetcher = Fetcher::import(true, Some(har_path))?; [INFO] [stdout] 17 + 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:56 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_38_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 16 | let mut fetcher = Fetcher::import(true, Some(har_path))?; [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_38_0() -> Result<(), Box> { [INFO] [stdout] 5 | use brk_fetcher::Fetcher; [INFO] [stdout] ... [INFO] [stdout] 16 | let mut fetcher = Fetcher::import(true, Some(har_path))?; [INFO] [stdout] 17 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, 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 83) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `fetcher` in this scope [INFO] [stdout] --> src/../README.md:87:23 [INFO] [stdout] | [INFO] [stdout] 6 | let ohlc: OHLCCents = fetcher.get_date(date)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `date` in this scope [INFO] [stdout] --> src/../README.md:87:40 [INFO] [stdout] | [INFO] [stdout] 6 | let ohlc: OHLCCents = fetcher.get_date(date)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 117) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `fetcher` in this scope [INFO] [stdout] --> src/../README.md:119:7 [INFO] [stdout] | [INFO] [stdout] 4 | match fetcher.get_date(date) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `date` in this scope [INFO] [stdout] --> src/../README.md:119:24 [INFO] [stdout] | [INFO] [stdout] 4 | match fetcher.get_date(date) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fetcher` in this scope [INFO] [stdout] --> src/../README.md:128:1 [INFO] [stdout] | [INFO] [stdout] 13 | fetcher.clear(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 69) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `fetcher` in this scope [INFO] [stdout] --> src/../README.md:77:12 [INFO] [stdout] | [INFO] [stdout] 10 | let ohlc = fetcher.get_height(height, timestamp, previous_timestamp)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_block_height` found for struct `Timestamp` in the current scope [INFO] [stdout] --> src/../README.md:74:28 [INFO] [stdout] | [INFO] [stdout] 7 | let timestamp = Timestamp::from_block_height(height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Timestamp` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Timestamp`, consider using `Timestamp::new` which returns `Timestamp` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/brk_structs-0.0.95/src/structs/timestamp.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(timestamp: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_block_height` found for struct `Timestamp` in the current scope [INFO] [stdout] --> src/../README.md:75:42 [INFO] [stdout] | [INFO] [stdout] 8 | let previous_timestamp = Some(Timestamp::from_block_height(Height::new(899_999))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Timestamp` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Timestamp`, consider using `Timestamp::new` which returns `Timestamp` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/brk_structs-0.0.95/src/structs/timestamp.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(timestamp: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [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 101) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `date` in this scope [INFO] [stdout] --> src/../README.md:111:41 [INFO] [stdout] | [INFO] [stdout] 13 | let binance_data = binance.get_from_1d(&date)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope [INFO] [stdout] --> src/../README.md:112:39 [INFO] [stdout] | [INFO] [stdout] 14 | let kraken_data = kraken.get_from_1mn(timestamp, previous_timestamp)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `previous_timestamp` in this scope [INFO] [stdout] --> src/../README.md:112:50 [INFO] [stdout] | [INFO] [stdout] 14 | let kraken_data = kraken.get_from_1mn(timestamp, previous_timestamp)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `height` in this scope [INFO] [stdout] --> src/../README.md:113:36 [INFO] [stdout] | [INFO] [stdout] 15 | let brk_data = brk.get_from_height(height)?; [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:111:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_101_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 13 | let binance_data = binance.get_from_1d(&date)?; [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_101_0() -> Result<(), Box> { [INFO] [stdout] 5 | use brk_fetcher::{Binance, Kraken, BRK}; [INFO] [stdout] ... [INFO] [stdout] 15 | let brk_data = brk.get_from_height(height)?; [INFO] [stdout] 16 + 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:112:69 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_101_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | let kraken_data = kraken.get_from_1mn(timestamp, previous_timestamp)?; [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_101_0() -> Result<(), Box> { [INFO] [stdout] 5 | use brk_fetcher::{Binance, Kraken, BRK}; [INFO] [stdout] ... [INFO] [stdout] 15 | let brk_data = brk.get_from_height(height)?; [INFO] [stdout] 16 + 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:113:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_101_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 15 | let brk_data = brk.get_from_height(height)?; [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_101_0() -> Result<(), Box> { [INFO] [stdout] 5 | use brk_fetcher::{Binance, Kraken, BRK}; [INFO] [stdout] ... [INFO] [stdout] 15 | let brk_data = brk.get_from_height(height)?; [INFO] [stdout] 16 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, 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 101) [INFO] [stdout] src/../README.md - (line 117) [INFO] [stdout] src/../README.md - (line 38) [INFO] [stdout] src/../README.md - (line 55) [INFO] [stdout] src/../README.md - (line 69) [INFO] [stdout] src/../README.md - (line 83) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.63s; merged doctests compilation took 0.19s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e7a6a67c6a411481fc4e5a74f4403c8ada6443dc921833efd4f4ae68cefcebcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a6a67c6a411481fc4e5a74f4403c8ada6443dc921833efd4f4ae68cefcebcb", kill_on_drop: false }` [INFO] [stdout] e7a6a67c6a411481fc4e5a74f4403c8ada6443dc921833efd4f4ae68cefcebcb