[INFO] cloning repository https://github.com/ishrut/kwi-kraken-rest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ishrut/kwi-kraken-rest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishrut%2Fkwi-kraken-rest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishrut%2Fkwi-kraken-rest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b485062a96be3f6519ea7281415e770fbea0211b [INFO] testing ishrut/kwi-kraken-rest against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishrut%2Fkwi-kraken-rest" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ishrut/kwi-kraken-rest [INFO] finished tweaking git repo https://github.com/ishrut/kwi-kraken-rest [INFO] tweaked toml for git repo https://github.com/ishrut/kwi-kraken-rest written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ishrut/kwi-kraken-rest on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ishrut/kwi-kraken-rest 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1cebbe52ef2c1c4b2ffbcd370a47d7c538d3da1d7b0ab3543e4a65df0f2ccf4 [INFO] running `Command { std: "docker" "start" "-a" "e1cebbe52ef2c1c4b2ffbcd370a47d7c538d3da1d7b0ab3543e4a65df0f2ccf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1cebbe52ef2c1c4b2ffbcd370a47d7c538d3da1d7b0ab3543e4a65df0f2ccf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1cebbe52ef2c1c4b2ffbcd370a47d7c538d3da1d7b0ab3543e4a65df0f2ccf4", kill_on_drop: false }` [INFO] [stdout] e1cebbe52ef2c1c4b2ffbcd370a47d7c538d3da1d7b0ab3543e4a65df0f2ccf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fcd27a7e99175ff907d7e302cad37767da6dd712c5648b4f9fa867611185c60 [INFO] running `Command { std: "docker" "start" "-a" "1fcd27a7e99175ff907d7e302cad37767da6dd712c5648b4f9fa867611185c60", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rustls-webpki v0.103.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling kwi-kraken-rest v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.54s [INFO] running `Command { std: "docker" "inspect" "1fcd27a7e99175ff907d7e302cad37767da6dd712c5648b4f9fa867611185c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fcd27a7e99175ff907d7e302cad37767da6dd712c5648b4f9fa867611185c60", kill_on_drop: false }` [INFO] [stdout] 1fcd27a7e99175ff907d7e302cad37767da6dd712c5648b4f9fa867611185c60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0e0ec42f22b3eb1cfa04084887fc5ec689943da308da9031307a754a3201152 [INFO] running `Command { std: "docker" "start" "-a" "a0e0ec42f22b3eb1cfa04084887fc5ec689943da308da9031307a754a3201152", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling kwi-kraken-rest v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 52.85s [INFO] running `Command { std: "docker" "inspect" "a0e0ec42f22b3eb1cfa04084887fc5ec689943da308da9031307a754a3201152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e0ec42f22b3eb1cfa04084887fc5ec689943da308da9031307a754a3201152", kill_on_drop: false }` [INFO] [stdout] a0e0ec42f22b3eb1cfa04084887fc5ec689943da308da9031307a754a3201152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1da039ef839e9a362430807029a8ccd25da1d0e57588ef088645ca6f287a894d [INFO] running `Command { std: "docker" "start" "-a" "1da039ef839e9a362430807029a8ccd25da1d0e57588ef088645ca6f287a894d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kwi_kraken_rest-b557184293ed5265) [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 kwi_kraken_rest [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/market_data/ohlc.rs - market_data::ohlc::Ohlc::get (line 36) ... FAILED [INFO] [stdout] test src/trading/token.rs - trading::token::Token::get (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/market_data/ohlc.rs - market_data::ohlc::Ohlc::get (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kraken_rest` [INFO] [stdout] --> src/market_data/ohlc.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use kraken_rest::market_data::Ohlc; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `kraken_rest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kraken_rest`, use `cargo add kraken_rest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/market_data/ohlc.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_market_data_ohlc_rs_36_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 37 | use kraken_rest::market_data::Ohlc; [INFO] [stdout] 38 | let ohlc_data = Ohlc::get("SOLEUR", Some(1), None).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trading/token.rs - trading::token::Token::get (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kraken_rest` [INFO] [stdout] --> src/trading/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use kraken_rest::trading::Token; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `kraken_rest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kraken_rest`, use `cargo add kraken_rest` to add it to your `Cargo.toml` [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/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ohlc` in this scope [INFO] [stdout] --> src/lib.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | println!("ohlc data: {:#?}", ohlc); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | let ohlc_data = Ohlc::get("SOLEUR", Some(1), None).await.unwrap(); [INFO] [stdout] | ---- ^ expected `&str`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | let ohlc_data = Ohlc::get("SOLEUR", Some(1), None).await.unwrap(); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/option.rs:608:4 [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/market_data/ohlc.rs - market_data::ohlc::Ohlc::get (line 36) [INFO] [stdout] src/trading/token.rs - trading::token::Token::get (line 19) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.38s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1da039ef839e9a362430807029a8ccd25da1d0e57588ef088645ca6f287a894d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da039ef839e9a362430807029a8ccd25da1d0e57588ef088645ca6f287a894d", kill_on_drop: false }` [INFO] [stdout] 1da039ef839e9a362430807029a8ccd25da1d0e57588ef088645ca6f287a894d