[INFO] fetching crate tlns-google-oauth2 0.5.4... [INFO] testing tlns-google-oauth2-0.5.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate tlns-google-oauth2 0.5.4 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tlns-google-oauth2 0.5.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded titlecase v3.5.0 [INFO] [stderr] Downloaded pollster-macro v0.4.0 [INFO] [stderr] Downloaded pollster v0.4.0 [INFO] [stderr] Downloaded oauth2 v5.0.0 [INFO] [stderr] Downloaded cc v1.2.21 [INFO] [stderr] Downloaded quinn v0.11.7 [INFO] [stderr] Downloaded webpki-roots v0.26.10 [INFO] [stderr] Downloaded quinn-proto v0.11.11 [INFO] [stderr] Downloaded tlns-google-oauth2-traits v0.1.3 [INFO] [stderr] Downloaded tlns-google-oauth2-proc v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 654cce6a5452754bdf39503e16d9cb9c18c4e5149f6cdda46cd52356a36f840d [INFO] running `Command { std: "docker" "start" "-a" "654cce6a5452754bdf39503e16d9cb9c18c4e5149f6cdda46cd52356a36f840d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "654cce6a5452754bdf39503e16d9cb9c18c4e5149f6cdda46cd52356a36f840d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654cce6a5452754bdf39503e16d9cb9c18c4e5149f6cdda46cd52356a36f840d", kill_on_drop: false }` [INFO] [stdout] 654cce6a5452754bdf39503e16d9cb9c18c4e5149f6cdda46cd52356a36f840d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c6de1cab31c37d7f50c0575439aa4937d2f4f2816ac6f66ca8ca8c14c05424d [INFO] running `Command { std: "docker" "start" "-a" "4c6de1cab31c37d7f50c0575439aa4937d2f4f2816ac6f66ca8ca8c14c05424d", kill_on_drop: false }` [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling smallvec v1.15.0 [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 webpki-roots v0.26.10 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tlns-google-oauth2-traits v0.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ring v0.17.14 [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 hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling titlecase v3.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [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 serde v1.0.219 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [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 tlns-google-oauth2-proc v0.2.4 [INFO] [stderr] Compiling reqwest v0.12.15 [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 35.49s [INFO] running `Command { std: "docker" "inspect" "4c6de1cab31c37d7f50c0575439aa4937d2f4f2816ac6f66ca8ca8c14c05424d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6de1cab31c37d7f50c0575439aa4937d2f4f2816ac6f66ca8ca8c14c05424d", kill_on_drop: false }` [INFO] [stdout] 4c6de1cab31c37d7f50c0575439aa4937d2f4f2816ac6f66ca8ca8c14c05424d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e9b7ef5fda7292572c18c459e3d01c9953a4717dba96dff22d087e753cc0faa [INFO] running `Command { std: "docker" "start" "-a" "5e9b7ef5fda7292572c18c459e3d01c9953a4717dba96dff22d087e753cc0faa", 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.67s [INFO] running `Command { std: "docker" "inspect" "5e9b7ef5fda7292572c18c459e3d01c9953a4717dba96dff22d087e753cc0faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e9b7ef5fda7292572c18c459e3d01c9953a4717dba96dff22d087e753cc0faa", kill_on_drop: false }` [INFO] [stdout] 5e9b7ef5fda7292572c18c459e3d01c9953a4717dba96dff22d087e753cc0faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98560bc79fe208bd83b5cbf1af6e40b498e25f5c7b9f7c4e266431c964059004 [INFO] running `Command { std: "docker" "start" "-a" "98560bc79fe208bd83b5cbf1af6e40b498e25f5c7b9f7c4e266431c964059004", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [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 - GoogleOAuth2Client (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - GoogleOAuth2Client::build_authorize_url (line 116) ... ok [INFO] [stdout] test src/lib.rs - GoogleOAuth2Client::build_authorize_url (line 104) ... ok [INFO] [stdout] test src/grouped_scopes.rs - grouped_scopes (line 4) ... ok [INFO] [stdout] test src/scopes.rs - scopes (line 8) ... ok [INFO] [stdout] test src/grouped_scopes.rs - grouped_scopes (line 8) ... ok [INFO] [stdout] test src/lib.rs - GoogleOAuth2Client::build_authorize_url (line 108) ... ok [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/scopes.rs - scopes (line 4) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 6 | #[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] 7 | 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] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pollster` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 18 | 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/rustdoctest4xB8g2/rust_out.long-type-1915783475667041404.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] 7 | 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] 18 | 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/rustdoctestyApOwP/rust_out.long-type-2867231501179564981.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] [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 1.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "98560bc79fe208bd83b5cbf1af6e40b498e25f5c7b9f7c4e266431c964059004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98560bc79fe208bd83b5cbf1af6e40b498e25f5c7b9f7c4e266431c964059004", kill_on_drop: false }` [INFO] [stdout] 98560bc79fe208bd83b5cbf1af6e40b498e25f5c7b9f7c4e266431c964059004