[INFO] fetching crate duolingo_rs 0.2.4... [INFO] testing duolingo_rs-0.2.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate duolingo_rs 0.2.4 into /workspace/builds/worker-43/source [INFO] validating manifest of crates.io crate duolingo_rs 0.2.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate duolingo_rs 0.2.4 [INFO] finished tweaking crates.io crate duolingo_rs 0.2.4 [INFO] tweaked toml for crates.io crate duolingo_rs 0.2.4 written to /workspace/builds/worker-43/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b71cc64fc7dd5e2d9d6fa4b689731adba056e036b5ca306116a2ab7e3d6d2f30 [INFO] running `Command { std: "docker" "start" "-a" "b71cc64fc7dd5e2d9d6fa4b689731adba056e036b5ca306116a2ab7e3d6d2f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b71cc64fc7dd5e2d9d6fa4b689731adba056e036b5ca306116a2ab7e3d6d2f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71cc64fc7dd5e2d9d6fa4b689731adba056e036b5ca306116a2ab7e3d6d2f30", kill_on_drop: false }` [INFO] [stdout] b71cc64fc7dd5e2d9d6fa4b689731adba056e036b5ca306116a2ab7e3d6d2f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f98d7f11b06ab78c4e41a654b885adfb60c832369d1263c8ff916356f2fe6d0 [INFO] running `Command { std: "docker" "start" "-a" "4f98d7f11b06ab78c4e41a654b885adfb60c832369d1263c8ff916356f2fe6d0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling psl-types v2.0.10 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling publicsuffix v2.1.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cookie_store v0.15.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling duolingo_rs v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.43s [INFO] running `Command { std: "docker" "inspect" "4f98d7f11b06ab78c4e41a654b885adfb60c832369d1263c8ff916356f2fe6d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f98d7f11b06ab78c4e41a654b885adfb60c832369d1263c8ff916356f2fe6d0", kill_on_drop: false }` [INFO] [stdout] 4f98d7f11b06ab78c4e41a654b885adfb60c832369d1263c8ff916356f2fe6d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1506a4ce890784e00a779c4e95036fb40dca5a7b3ad4e0ce72a3723d9dab5482 [INFO] running `Command { std: "docker" "start" "-a" "1506a4ce890784e00a779c4e95036fb40dca5a7b3ad4e0ce72a3723d9dab5482", kill_on_drop: false }` [INFO] [stderr] Compiling duolingo_rs v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.10s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/duolingo_rs-40fe9db0787401cc) [INFO] running `Command { std: "docker" "inspect" "1506a4ce890784e00a779c4e95036fb40dca5a7b3ad4e0ce72a3723d9dab5482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1506a4ce890784e00a779c4e95036fb40dca5a7b3ad4e0ce72a3723d9dab5482", kill_on_drop: false }` [INFO] [stdout] 1506a4ce890784e00a779c4e95036fb40dca5a7b3ad4e0ce72a3723d9dab5482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 751f34508fedc4b53dc2cc7183bc7a3f61a822197cb4eaa72f6eaeaef30f87c8 [INFO] running `Command { std: "docker" "start" "-a" "751f34508fedc4b53dc2cc7183bc7a3f61a822197cb4eaa72f6eaeaef30f87c8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/duolingo_rs-40fe9db0787401cc) [INFO] [stdout] [INFO] [stderr] Doc-tests duolingo_rs [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 2 tests [INFO] [stdout] test src/lib.rs - fetch_streak_map (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - login (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - fetch_streak_map (line 88) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `login_endpoint` in this scope [INFO] [stdout] --> src/lib.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 16 | let login_client = login(my_username,my_password,login_endpoint)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 25 | let new_data: HashMap = fetch_streak_map(&userlist,login_client).await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:111:81 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | let new_data: HashMap = fetch_streak_map(&userlist,login_client).await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 16 | let login_client = login(my_username,my_password,login_endpoint)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future>>` [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/lib.rs:102:69 [INFO] [stdout] | [INFO] [stdout] 6 | / fn main() { [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | // [INFO] [stdout] 9 | | // please for the love of God don't hardcode your [INFO] [stdout] ... | [INFO] [stdout] 16 | | let login_client = login(my_username,my_password,login_endpoint)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 25 | | let new_data: HashMap = fetch_streak_map(&userlist,login_client).await?; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:111:58 [INFO] [stdout] | [INFO] [stdout] 25 | let new_data: HashMap = fetch_streak_map(&userlist,login_client).await?; [INFO] [stdout] | ^^^^^^^^^ expected struct `Vec`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 25 - let new_data: HashMap = fetch_streak_map(&userlist,login_client).await?; [INFO] [stdout] 25 + let new_data: HashMap = fetch_streak_map(userlist,login_client).await?; [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/lib.rs:111:87 [INFO] [stdout] | [INFO] [stdout] 6 | / fn main() { [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | // [INFO] [stdout] 9 | | // please for the love of God don't hardcode your [INFO] [stdout] ... | [INFO] [stdout] 25 | | let new_data: HashMap = fetch_streak_map(&userlist,login_client).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - login (line 12) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `login_endpoint` in this scope [INFO] [stdout] --> src/lib.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 16 | let login_client = login(my_username,my_password,login_endpoint)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 16 | let login_client = login(my_username,my_password,login_endpoint)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future>>` [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/lib.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 6 | / fn main() { [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | // [INFO] [stdout] 9 | | // please for the love of God don't hardcode your [INFO] [stdout] ... | [INFO] [stdout] 16 | | let login_client = login(my_username,my_password,login_endpoint)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | // pass off the client anywhere you want now! [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/lib.rs - fetch_streak_map (line 88) [INFO] [stdout] src/lib.rs - login (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "751f34508fedc4b53dc2cc7183bc7a3f61a822197cb4eaa72f6eaeaef30f87c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751f34508fedc4b53dc2cc7183bc7a3f61a822197cb4eaa72f6eaeaef30f87c8", kill_on_drop: false }` [INFO] [stdout] 751f34508fedc4b53dc2cc7183bc7a3f61a822197cb4eaa72f6eaeaef30f87c8