[INFO] fetching crate xmu-health-report-rust-sdk 0.1.7... [INFO] testing xmu-health-report-rust-sdk-0.1.7 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate xmu-health-report-rust-sdk 0.1.7 into /workspace/builds/worker-19/source [INFO] validating manifest of crates.io crate xmu-health-report-rust-sdk 0.1.7 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 xmu-health-report-rust-sdk 0.1.7 [INFO] finished tweaking crates.io crate xmu-health-report-rust-sdk 0.1.7 [INFO] tweaked toml for crates.io crate xmu-health-report-rust-sdk 0.1.7 written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate crates.io crate xmu-health-report-rust-sdk 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] c8492920c62f71ef057f13157df2e27932bb27fcf901d73882ecf48c6139f3a5 [INFO] running `Command { std: "docker" "start" "-a" "c8492920c62f71ef057f13157df2e27932bb27fcf901d73882ecf48c6139f3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8492920c62f71ef057f13157df2e27932bb27fcf901d73882ecf48c6139f3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8492920c62f71ef057f13157df2e27932bb27fcf901d73882ecf48c6139f3a5", kill_on_drop: false }` [INFO] [stdout] c8492920c62f71ef057f13157df2e27932bb27fcf901d73882ecf48c6139f3a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] f60a5181835ac956b7b7ad5935209e5cac18d02c48c1c419d9e733f816d23162 [INFO] running `Command { std: "docker" "start" "-a" "f60a5181835ac956b7b7ad5935209e5cac18d02c48c1c419d9e733f816d23162", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling clap v3.0.0-beta.4 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.5 [INFO] [stderr] Compiling xmu-health-report-rust-sdk v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.59s [INFO] running `Command { std: "docker" "inspect" "f60a5181835ac956b7b7ad5935209e5cac18d02c48c1c419d9e733f816d23162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f60a5181835ac956b7b7ad5935209e5cac18d02c48c1c419d9e733f816d23162", kill_on_drop: false }` [INFO] [stdout] f60a5181835ac956b7b7ad5935209e5cac18d02c48c1c419d9e733f816d23162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 22a1b664a36ffbe39cf2e48604cc4f5445be31e5d56a408dcfa02d57cb1ae094 [INFO] running `Command { std: "docker" "start" "-a" "22a1b664a36ffbe39cf2e48604cc4f5445be31e5d56a408dcfa02d57cb1ae094", kill_on_drop: false }` [INFO] [stderr] Compiling xmu-health-report-rust-sdk v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/xmu_health_report_rust_sdk-8891fcd358dfa620) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/xmu_health_report_rust_sdk-4c1664bbfca1e6bc) [INFO] running `Command { std: "docker" "inspect" "22a1b664a36ffbe39cf2e48604cc4f5445be31e5d56a408dcfa02d57cb1ae094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a1b664a36ffbe39cf2e48604cc4f5445be31e5d56a408dcfa02d57cb1ae094", kill_on_drop: false }` [INFO] [stdout] 22a1b664a36ffbe39cf2e48604cc4f5445be31e5d56a408dcfa02d57cb1ae094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 954548f8ca25759cb2fe2c195037ca8e264102bc2b554f69e9917744e3a2fb26 [INFO] running `Command { std: "docker" "start" "-a" "954548f8ca25759cb2fe2c195037ca8e264102bc2b554f69e9917744e3a2fb26", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xmu_health_report_rust_sdk-8891fcd358dfa620) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xmu_health_report_rust_sdk-4c1664bbfca1e6bc) [INFO] [stdout] [INFO] [stderr] Doc-tests xmu-health-report-rust-sdk [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 1 test [INFO] [stdout] test src/reporter/login.rs - reporter::login::login (line 25) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/reporter/login.rs - reporter::login::login (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `create_client` in this scope [INFO] [stdout] --> src/reporter/login.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 3 | let client = create_client().await?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use xmu_health_report_rust_sdk::create_client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `login` in this scope [INFO] [stdout] --> src/reporter/login.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 4 | login(client, username, password).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use xmu_health_report_rust_sdk::login; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/reporter/login.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 4 | login(client, username, password).await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/reporter/login.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 4 | login(client, username, password).await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reporter/login.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reporter_login_rs_25_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let client = create_client().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reporter/login.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reporter_login_rs_25_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let client = create_client().await?; [INFO] [stdout] 4 | login(client, username, password).await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [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/reporter/login.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reporter_login_rs_25_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let client = create_client().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | login(client, username, password).await?; [INFO] [stdout] 5 | | } _doctest_main_src_reporter_login_rs_25_0() } [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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/reporter/login.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reporter_login_rs_25_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let client = create_client().await?; [INFO] [stdout] 4 | | login(client, username, password).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } _doctest_main_src_reporter_login_rs_25_0() } [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 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728. [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/reporter/login.rs - reporter::login::login (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "954548f8ca25759cb2fe2c195037ca8e264102bc2b554f69e9917744e3a2fb26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "954548f8ca25759cb2fe2c195037ca8e264102bc2b554f69e9917744e3a2fb26", kill_on_drop: false }` [INFO] [stdout] 954548f8ca25759cb2fe2c195037ca8e264102bc2b554f69e9917744e3a2fb26