[INFO] fetching crate spira 0.0.6...
[INFO] testing spira-0.0.6 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate spira 0.0.6 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate spira 0.0.6 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate spira 0.0.6
[INFO] finished tweaking crates.io crate spira 0.0.6
[INFO] tweaked toml for crates.io crate spira 0.0.6 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_with_macros v2.3.3
[INFO] [stderr]   Downloaded darling_core v0.20.0
[INFO] [stderr]   Downloaded darling_macro v0.20.0
[INFO] [stderr]   Downloaded serde_with v2.3.3
[INFO] [stderr]   Downloaded darling v0.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed323ea00388adccad0f8bd770fbe9db476377d3f9dad23aa6eb672ffbb140b2
[INFO] running `Command { std: "docker" "start" "-a" "ed323ea00388adccad0f8bd770fbe9db476377d3f9dad23aa6eb672ffbb140b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed323ea00388adccad0f8bd770fbe9db476377d3f9dad23aa6eb672ffbb140b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed323ea00388adccad0f8bd770fbe9db476377d3f9dad23aa6eb672ffbb140b2", kill_on_drop: false }`
[INFO] [stdout] ed323ea00388adccad0f8bd770fbe9db476377d3f9dad23aa6eb672ffbb140b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40aebb3e46d64804b4bbd7ecebe39e0471dc2162163a7133d91dfb58052e2ba0
[INFO] running `Command { std: "docker" "start" "-a" "40aebb3e46d64804b4bbd7ecebe39e0471dc2162163a7133d91dfb58052e2ba0", kill_on_drop: false }`
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling openssl v0.10.52
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling openssl-sys v0.9.87
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling darling_core v0.20.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ipnet v2.7.2
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling h2 v0.3.18
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling darling_macro v0.20.0
[INFO] [stderr]    Compiling darling v0.20.0
[INFO] [stderr]    Compiling serde_with_macros v2.3.3
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_with v2.3.3
[INFO] [stderr]    Compiling reqwest v0.11.17
[INFO] [stderr]    Compiling spira v0.0.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 43.62s
[INFO] running `Command { std: "docker" "inspect" "40aebb3e46d64804b4bbd7ecebe39e0471dc2162163a7133d91dfb58052e2ba0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40aebb3e46d64804b4bbd7ecebe39e0471dc2162163a7133d91dfb58052e2ba0", kill_on_drop: false }`
[INFO] [stdout] 40aebb3e46d64804b4bbd7ecebe39e0471dc2162163a7133d91dfb58052e2ba0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a41ced4e30688aec31246b998e31714257120c0b32864b6fe60fe991a67c652
[INFO] running `Command { std: "docker" "start" "-a" "4a41ced4e30688aec31246b998e31714257120c0b32864b6fe60fe991a67c652", kill_on_drop: false }`
[INFO] [stderr]    Compiling spira v0.0.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.20s
[INFO] running `Command { std: "docker" "inspect" "4a41ced4e30688aec31246b998e31714257120c0b32864b6fe60fe991a67c652", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a41ced4e30688aec31246b998e31714257120c0b32864b6fe60fe991a67c652", kill_on_drop: false }`
[INFO] [stdout] 4a41ced4e30688aec31246b998e31714257120c0b32864b6fe60fe991a67c652
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1bc771c69a987b88063bb2cae424f566c7155d6d7e768954b9ecdbdb808f75d0
[INFO] running `Command { std: "docker" "start" "-a" "1bc771c69a987b88063bb2cae424f566c7155d6d7e768954b9ecdbdb808f75d0", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spira-ca28a50ad3508dc4)
[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 spira
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - SpiraClient<'a> (line 31) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - SpiraClient<'a> (line 31) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:34: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:36: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:37: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:38: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[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:35:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - SpiraClient<'a> (line 31)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1bc771c69a987b88063bb2cae424f566c7155d6d7e768954b9ecdbdb808f75d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bc771c69a987b88063bb2cae424f566c7155d6d7e768954b9ecdbdb808f75d0", kill_on_drop: false }`
[INFO] [stdout] 1bc771c69a987b88063bb2cae424f566c7155d6d7e768954b9ecdbdb808f75d0
