[INFO] fetching crate tlns-google-oauth2 0.5.4... [INFO] testing tlns-google-oauth2-0.5.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate tlns-google-oauth2 0.5.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tlns-google-oauth2 0.5.4 [INFO] finished tweaking crates.io crate tlns-google-oauth2 0.5.4 [INFO] tweaked toml for crates.io crate tlns-google-oauth2 0.5.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tlns-google-oauth2 0.5.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tlns-google-oauth2 0.5.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d63870258cf3d10fedebaf4c0ad4a164d269539b84d92d9a33bb23b1df1a163 [INFO] running `Command { std: "docker" "start" "-a" "2d63870258cf3d10fedebaf4c0ad4a164d269539b84d92d9a33bb23b1df1a163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d63870258cf3d10fedebaf4c0ad4a164d269539b84d92d9a33bb23b1df1a163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d63870258cf3d10fedebaf4c0ad4a164d269539b84d92d9a33bb23b1df1a163", kill_on_drop: false }` [INFO] [stdout] 2d63870258cf3d10fedebaf4c0ad4a164d269539b84d92d9a33bb23b1df1a163 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b57cbe585536a50af7c8a0234d79092b63b777df2064759550ed5086dc22bb2 [INFO] running `Command { std: "docker" "start" "-a" "9b57cbe585536a50af7c8a0234d79092b63b777df2064759550ed5086dc22bb2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling tlns-google-oauth2-traits v0.1.3 [INFO] [stderr] Compiling webpki-roots v0.26.10 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling synstructure v0.13.2 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling titlecase v3.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [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 tlns-google-oauth2-proc v0.2.4 [INFO] [stderr] Compiling oauth2 v5.0.0 [INFO] [stderr] Compiling tlns-google-oauth2 v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.60s [INFO] running `Command { std: "docker" "inspect" "9b57cbe585536a50af7c8a0234d79092b63b777df2064759550ed5086dc22bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b57cbe585536a50af7c8a0234d79092b63b777df2064759550ed5086dc22bb2", kill_on_drop: false }` [INFO] [stdout] 9b57cbe585536a50af7c8a0234d79092b63b777df2064759550ed5086dc22bb2 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66ba706737cc55a322df61ba8adda25e89f4ab9b0498ac649061adbd62d61608 [INFO] running `Command { std: "docker" "start" "-a" "66ba706737cc55a322df61ba8adda25e89f4ab9b0498ac649061adbd62d61608", kill_on_drop: false }` [INFO] [stderr] Compiling tlns-google-oauth2 v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "66ba706737cc55a322df61ba8adda25e89f4ab9b0498ac649061adbd62d61608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ba706737cc55a322df61ba8adda25e89f4ab9b0498ac649061adbd62d61608", kill_on_drop: false }` [INFO] [stdout] 66ba706737cc55a322df61ba8adda25e89f4ab9b0498ac649061adbd62d61608 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c456fbc5e059663750eda814c7d70f2acb8fd5ac61959b63347c7d34d643fc1 [INFO] running `Command { std: "docker" "start" "-a" "0c456fbc5e059663750eda814c7d70f2acb8fd5ac61959b63347c7d34d643fc1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tlns_google_oauth2-5e566cb1a32e237a) [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 tlns_google_oauth2 [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - GoogleOAuth2Client (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - GoogleOAuth2Client::build_authorize_url (line 104) ... ok [INFO] [stdout] test src/lib.rs - GoogleOAuth2Client::build_authorize_url (line 116) ... ok [INFO] [stdout] test src/grouped_scopes.rs - grouped_scopes (line 4) ... ok [INFO] [stdout] test src/lib.rs - GoogleOAuth2Client::build_authorize_url (line 108) ... ok [INFO] [stdout] test src/scopes.rs - scopes (line 4) ... ok [INFO] [stdout] test src/grouped_scopes.rs - grouped_scopes (line 8) ... ok [INFO] [stdout] test src/scopes.rs - scopes (line 8) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pollster` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use pollster::FutureExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pollster` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pollster`, use `cargo add pollster` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `block_on` found for opaque type `impl Future, ...>>` in the current scope [INFO] [stdout] --> src/lib.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | let token = client.get_token(code, None).block_on()?; [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future, ...>>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestAbhPue/rust_out.long-type-1220797369976178858.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pollster` [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use pollster::FutureExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pollster` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pollster`, use `cargo add pollster` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `block_on` found for opaque type `impl Future, ...>>` in the current scope [INFO] [stdout] --> src/lib.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | let token = client.get_token(code, None).block_on()?; [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future, ...>>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestgRjJsu/rust_out.long-type-3057462833064353282.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GoogleOAuth2Client (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pollster` [INFO] [stdout] --> src/lib.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[pollster::main] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pollster` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 - (line 14) [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - GoogleOAuth2Client (line 26) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0c456fbc5e059663750eda814c7d70f2acb8fd5ac61959b63347c7d34d643fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c456fbc5e059663750eda814c7d70f2acb8fd5ac61959b63347c7d34d643fc1", kill_on_drop: false }` [INFO] [stdout] 0c456fbc5e059663750eda814c7d70f2acb8fd5ac61959b63347c7d34d643fc1