[INFO] fetching crate brk_fetcher 0.0.111...
[INFO] testing brk_fetcher-0.0.111 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] extracting crate brk_fetcher 0.0.111 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate brk_fetcher 0.0.111
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate brk_fetcher 0.0.111
[INFO] tweaked toml for crates.io crate brk_fetcher 0.0.111 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate brk_fetcher 0.0.111 on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate brk_fetcher 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8627fd9b31fbd65017aeaeb22898fb731e4c103efb73a358229b53b87317a6c
[INFO] running `Command { std: "docker" "start" "-a" "a8627fd9b31fbd65017aeaeb22898fb731e4c103efb73a358229b53b87317a6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8627fd9b31fbd65017aeaeb22898fb731e4c103efb73a358229b53b87317a6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8627fd9b31fbd65017aeaeb22898fb731e4c103efb73a358229b53b87317a6c", kill_on_drop: false }`
[INFO] [stdout] a8627fd9b31fbd65017aeaeb22898fb731e4c103efb73a358229b53b87317a6c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f5ea6cf632370edb34147fb4ba6f13e0fe73f42a99451641ee069728dc1ac9d
[INFO] running `Command { std: "docker" "start" "-a" "0f5ea6cf632370edb34147fb4ba6f13e0fe73f42a99451641ee069728dc1ac9d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling find-msvc-tools v0.1.2
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling bitcoin-io v0.1.3
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling cc v1.2.39
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling path-dedot v3.1.1
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling allocative v0.3.4
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling compare v0.0.6
[INFO] [stderr]    Compiling bitcoin v0.32.7
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling interval-heap v0.0.5
[INFO] [stderr]    Compiling path-absolutize v3.1.1
[INFO] [stderr]    Compiling sonic-number v0.1.0
[INFO] [stderr]    Compiling sonic-simd v0.1.1
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling xxhash-rust v0.8.15
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling varint-rs v2.2.0
[INFO] [stderr]    Compiling vecdb_derive v0.2.16
[INFO] [stderr]    Compiling pco v0.4.6
[INFO] [stderr]    Compiling byteview v0.6.1
[INFO] [stderr]    Compiling toml_datetime v0.7.2
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling seqdb v0.2.16
[INFO] [stderr]    Compiling crossbeam-skiplist v0.1.3
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling self_cell v1.2.0
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling double-ended-peekable v0.1.0
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling better_io v0.1.0
[INFO] [stderr]    Compiling lz4_flex v0.11.5
[INFO] [stderr]    Compiling quick_cache v0.6.16
[INFO] [stderr]    Compiling guardian v1.3.0
[INFO] [stderr]    Compiling dtype_dispatch v0.1.1
[INFO] [stderr]    Compiling vecdb v0.2.16
[INFO] [stderr]    Compiling brk_error v0.0.111
[INFO] [stderr]    Compiling std-semaphore v0.1.0
[INFO] [stderr]    Compiling owo-colors v4.2.3
[INFO] [stderr]    Compiling toml_parser v1.0.3
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling brk_structs v0.0.111
[INFO] [stderr]    Compiling brk_logger v0.0.111
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling brk_fetcher v0.0.111 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling toml_edit v0.23.6
[INFO] [stderr]    Compiling value-log v1.9.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling memmap2 v0.9.8
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling rapidhash v4.1.0
[INFO] [stderr]    Compiling ctrlc v3.5.0
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling derive_deref v1.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[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 num_enum_derive v0.7.4
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling lsm-tree v2.10.4
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling num_enum v0.7.4
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling fjall v2.11.2
[INFO] [stderr]    Compiling serde v1.0.228
[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 sonic-rs v0.3.17
[INFO] [stderr]    Compiling sonic-rs v0.5.5
[INFO] [stderr]    Compiling secp256k1 v0.29.1
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling minreq v2.14.1
[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 1m 04s
[INFO] running `Command { std: "docker" "inspect" "0f5ea6cf632370edb34147fb4ba6f13e0fe73f42a99451641ee069728dc1ac9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f5ea6cf632370edb34147fb4ba6f13e0fe73f42a99451641ee069728dc1ac9d", kill_on_drop: false }`
[INFO] [stdout] 0f5ea6cf632370edb34147fb4ba6f13e0fe73f42a99451641ee069728dc1ac9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67f0121afc103281cdeb6189dc863e3e33db2a34934e1538b97b989ed83e9b71
[INFO] running `Command { std: "docker" "start" "-a" "67f0121afc103281cdeb6189dc863e3e33db2a34934e1538b97b989ed83e9b71", kill_on_drop: false }`
[INFO] [stderr]    Compiling brk_fetcher v0.0.111 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s
[INFO] running `Command { std: "docker" "inspect" "67f0121afc103281cdeb6189dc863e3e33db2a34934e1538b97b989ed83e9b71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67f0121afc103281cdeb6189dc863e3e33db2a34934e1538b97b989ed83e9b71", kill_on_drop: false }`
[INFO] [stdout] 67f0121afc103281cdeb6189dc863e3e33db2a34934e1538b97b989ed83e9b71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 026d8b3f21a446283c01af95b91e42861e714148971a6c0b7f120e4bebedc470
[INFO] running `Command { std: "docker" "start" "-a" "026d8b3f21a446283c01af95b91e42861e714148971a6c0b7f120e4bebedc470", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/brk_fetcher-98458b711d7c9b3a)
[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_fetcher
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/../README.md - (line 105) ... FAILED
[INFO] [stdout] test src/../README.md - (line 35) ... FAILED
[INFO] [stdout] test src/../README.md - (line 89) ... FAILED
[INFO] [stdout] test src/../README.md - (line 121) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/../README.md - (line 105) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Height`
[INFO] [stdout]   --> src/../README.md:115:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let height = Height::new(650000);
[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[E0433]: failed to resolve: use of undeclared type `Timestamp`
[INFO] [stdout]   --> src/../README.md:116:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | let timestamp = Timestamp::from(1598918400u32); // August 2020
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Timestamp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use brk_structs::Timestamp;
[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:56
[INFO] [stdout]    |
[INFO] [stdout]  4 | 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] 10 | 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_105_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use brk_fetcher::Fetcher;
[INFO] [stdout] ...
[INFO] [stdout] 15 | let price_data = fetcher.get_height(height, timestamp, None)?;
[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:117:61
[INFO] [stdout]    |
[INFO] [stdout]  4 | 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] 15 | let price_data = fetcher.get_height(height, timestamp, 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_105_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use brk_fetcher::Fetcher;
[INFO] [stdout] ...
[INFO] [stdout] 15 | let price_data = fetcher.get_height(height, timestamp, None)?;
[INFO] [stdout] 16 +     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 35) 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:41:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_35_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_35_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use brk_fetcher::Fetcher;
[INFO] [stdout] ...
[INFO] [stdout] 21| println!("Block OHLC: {:?}", block_price);
[INFO] [stdout] 22+     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_ymd` found for struct `Date` in the current scope
[INFO] [stdout]   --> src/../README.md:44:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | let date = Date::from_ymd(2023, 6, 15)?;
[INFO] [stdout]    |                  ^^^^^^^^ function or associated item not found in `Date`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Date` consider using one of the following associated functions:
[INFO] [stdout]       Date::new
[INFO] [stdout]       Date::today
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/brk_structs-0.0.111/src/structs/date.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(year: u16, month: u8, day: u8) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn today() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]   --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/convert/mod.rs:592:5
[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:45:41
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_35_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 | let daily_price = fetcher.get_date(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_35_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use brk_fetcher::Fetcher;
[INFO] [stdout] ...
[INFO] [stdout] 21 | println!("Block OHLC: {:?}", block_price);
[INFO] [stdout] 22 +     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:50:62
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_35_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 18 | let block_price = fetcher.get_height(height, timestamp, 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_35_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use brk_fetcher::Fetcher;
[INFO] [stdout] ...
[INFO] [stdout] 21 | println!("Block OHLC: {:?}", block_price);
[INFO] [stdout] 22 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/../README.md - (line 89) 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:94:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_89_0() {
[INFO] [stdout]   |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | 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_89_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                                                               +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_ymd` found for struct `Date` in the current scope
[INFO] [stdout]   --> src/../README.md:97:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | let date = Date::from_ymd(2021, 1, 1)?;
[INFO] [stdout]    |                  ^^^^^^^^ function or associated item not found in `Date`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Date` consider using one of the following associated functions:
[INFO] [stdout]       Date::new
[INFO] [stdout]       Date::today
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/brk_structs-0.0.111/src/structs/date.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(year: u16, month: u8, day: u8) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn today() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]   --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/convert/mod.rs:592:5
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_dollars` found for struct `Close<Cents>` in the current scope
[INFO] [stdout]   --> src/../README.md:99:67
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Ok(ohlc) => println!("BTC price on {}: ${}", date, ohlc.close.to_dollars()),
[INFO] [stdout]    |                                                                   ^^^^^^^^^^ method not found in `Close<Cents>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/../README.md - (line 121) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp`
[INFO] [stdout]   --> src/../README.md:129:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let timestamp = Timestamp::from(1684771200u32 + (height - 800000) * 600);
[INFO] [stdout]    |                     ^^^^^^^^^ use of undeclared type `Timestamp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use brk_structs::Timestamp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Height`
[INFO] [stdout]   --> src/../README.md:131:30
[INFO] [stdout]    |
[INFO] [stdout] 13 |     match fetcher.get_height(Height::new(height), timestamp, None) {
[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[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:125:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_121_0() {
[INFO] [stdout]   |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | 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_121_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use brk_fetcher::Fetcher;
[INFO] [stdout] ...
[INFO] [stdout] 20| fetcher.clear();
[INFO] [stdout] 21+     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_dollars` found for struct `brk_structs::structs::ohlc::Close<brk_structs::structs::cents::Cents>` in the current scope
[INFO] [stdout]   --> src/../README.md:132:70
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Ok(ohlc) => println!("Height {}: ${:.2}", height, ohlc.close.to_dollars()),
[INFO] [stdout]    |                                                                      ^^^^^^^^^^ method not found in `brk_structs::structs::ohlc::Close<brk_structs::structs::cents::Cents>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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 105)
[INFO] [stdout]     src/../README.md - (line 121)
[INFO] [stdout]     src/../README.md - (line 35)
[INFO] [stdout]     src/../README.md - (line 89)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.55s; merged doctests compilation took 0.25s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "026d8b3f21a446283c01af95b91e42861e714148971a6c0b7f120e4bebedc470", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "026d8b3f21a446283c01af95b91e42861e714148971a6c0b7f120e4bebedc470", kill_on_drop: false }`
[INFO] [stdout] 026d8b3f21a446283c01af95b91e42861e714148971a6c0b7f120e4bebedc470
