[INFO] crate spira 0.0.4 is already in cache [INFO] testing spira-0.0.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate spira 0.0.4 into /workspace/builds/worker-39/source [INFO] validating manifest of crates.io crate spira 0.0.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 spira 0.0.4 [INFO] finished tweaking crates.io crate spira 0.0.4 [INFO] tweaked toml for crates.io crate spira 0.0.4 written to /workspace/builds/worker-39/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] [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-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] 1630f8289c6fe244097c3dd587719e031a18b7173f39f0ec3f8292654b4e7ed9 [INFO] running `Command { std: "docker" "start" "-a" "1630f8289c6fe244097c3dd587719e031a18b7173f39f0ec3f8292654b4e7ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1630f8289c6fe244097c3dd587719e031a18b7173f39f0ec3f8292654b4e7ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1630f8289c6fe244097c3dd587719e031a18b7173f39f0ec3f8292654b4e7ed9", kill_on_drop: false }` [INFO] [stdout] 1630f8289c6fe244097c3dd587719e031a18b7173f39f0ec3f8292654b4e7ed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] 64ecd0bd18711139f2c4fe1440b3ffcdce187c383e94ab8d0986906631de03e7 [INFO] running `Command { std: "docker" "start" "-a" "64ecd0bd18711139f2c4fe1440b3ffcdce187c383e94ab8d0986906631de03e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.12.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling spira v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "64ecd0bd18711139f2c4fe1440b3ffcdce187c383e94ab8d0986906631de03e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ecd0bd18711139f2c4fe1440b3ffcdce187c383e94ab8d0986906631de03e7", kill_on_drop: false }` [INFO] [stdout] 64ecd0bd18711139f2c4fe1440b3ffcdce187c383e94ab8d0986906631de03e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] f749f5fd6fb65a4e58b6eae0c0f9f2d86f9bdc349c485249ed1ee0fd1f6f3c3e [INFO] running `Command { std: "docker" "start" "-a" "f749f5fd6fb65a4e58b6eae0c0f9f2d86f9bdc349c485249ed1ee0fd1f6f3c3e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling spira v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.56s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/spira-f07c9b609b4e60cb) [INFO] running `Command { std: "docker" "inspect" "f749f5fd6fb65a4e58b6eae0c0f9f2d86f9bdc349c485249ed1ee0fd1f6f3c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f749f5fd6fb65a4e58b6eae0c0f9f2d86f9bdc349c485249ed1ee0fd1f6f3c3e", kill_on_drop: false }` [INFO] [stdout] f749f5fd6fb65a4e58b6eae0c0f9f2d86f9bdc349c485249ed1ee0fd1f6f3c3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] f1ff1eccc6558df95fc60a36cb1daa3a94d59ff19be0da41b405be3f7d5925e6 [INFO] running `Command { std: "docker" "start" "-a" "f1ff1eccc6558df95fc60a36cb1daa3a94d59ff19be0da41b405be3f7d5925e6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spira-f07c9b609b4e60cb) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests spira [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/lib.rs - SpiraClient (line 30) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SpiraClient (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/lib.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key = env::var("SPIRA_API_KEY")?; [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/lib.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 8 | let username = env::var("SPIRA_USERNAME")?; [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/lib.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 9 | let base_url = env::var("SPIRA_API_URL")?; [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 9 | let base_url = env::var("SPIRA_API_URL")?; [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 9 | let base_url = env::var("SPIRA_API_URL")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 9 | let base_url = env::var("SPIRA_API_URL")?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Break` [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key = env::var("SPIRA_API_KEY")?; [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key = env::var("SPIRA_API_KEY")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key = env::var("SPIRA_API_KEY")?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Break` [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 8 | let username = env::var("SPIRA_USERNAME")?; [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 8 | let username = env::var("SPIRA_USERNAME")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 8 | let username = env::var("SPIRA_USERNAME")?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Break` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [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 - SpiraClient (line 30) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f1ff1eccc6558df95fc60a36cb1daa3a94d59ff19be0da41b405be3f7d5925e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ff1eccc6558df95fc60a36cb1daa3a94d59ff19be0da41b405be3f7d5925e6", kill_on_drop: false }` [INFO] [stdout] f1ff1eccc6558df95fc60a36cb1daa3a94d59ff19be0da41b405be3f7d5925e6