[INFO] fetching crate oauth2-surf 0.1.2...
[INFO] testing oauth2-surf-0.1.2 against 1.75.0 for beta-1.76-1
[INFO] extracting crate oauth2-surf 0.1.2 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate oauth2-surf 0.1.2 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate oauth2-surf 0.1.2
[INFO] finished tweaking crates.io crate oauth2-surf 0.1.2
[INFO] tweaked toml for crates.io crate oauth2-surf 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa6d01a85f7458bf884e6e00680629968560e1e52e79c4e15d80e3722f821b3c
[INFO] running `Command { std: "docker" "start" "-a" "fa6d01a85f7458bf884e6e00680629968560e1e52e79c4e15d80e3722f821b3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa6d01a85f7458bf884e6e00680629968560e1e52e79c4e15d80e3722f821b3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa6d01a85f7458bf884e6e00680629968560e1e52e79c4e15d80e3722f821b3c", kill_on_drop: false }`
[INFO] [stdout] fa6d01a85f7458bf884e6e00680629968560e1e52e79c4e15d80e3722f821b3c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41dc5eaed33f257c914ff07b66d8a6d40f473b83a9105c51ac01516bc6ffd6be
[INFO] running `Command { std: "docker" "start" "-a" "41dc5eaed33f257c914ff07b66d8a6d40f473b83a9105c51ac01516bc6ffd6be", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling value-bag v1.4.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.89
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling concurrent-queue v2.4.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling event-listener v4.0.2
[INFO] [stderr]    Compiling futures-lite v2.1.0
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling event-listener-strategy v0.4.0
[INFO] [stderr]    Compiling async-lock v3.2.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling async-task v4.7.0
[INFO] [stderr]    Compiling const_fn v0.4.9
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling bumpalo v3.14.0
[INFO] [stderr]    Compiling waker-fn v1.1.1
[INFO] [stderr]    Compiling cpuid-bool v0.2.0
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling polyval v0.4.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling piper v0.2.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling async-channel v2.1.1
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling curl-sys v0.4.70+curl-8.5.0
[INFO] [stderr]    Compiling crypto-mac v0.10.1
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.89
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling aes v0.6.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.89
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling ghash v0.3.1
[INFO] [stderr]    Compiling async-executor v1.8.0
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.89
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling aes-gcm v0.8.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.89
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hkdf v0.10.0
[INFO] [stderr]    Compiling spinning_top v0.2.5
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling isahc v0.9.14
[INFO] [stderr]    Compiling http-types v2.12.0
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling flume v0.9.2
[INFO] [stderr]    Compiling polling v3.3.1
[INFO] [stderr]    Compiling blocking v1.5.1
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling async-io v2.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling sluice v0.5.5
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling infer v0.2.3
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling js-sys v0.3.66
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling iana-time-zone v0.1.59
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling web-sys v0.3.66
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling serde_qs v0.8.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.15
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling oauth2 v4.4.2
[INFO] [stderr]    Compiling http-client v6.5.3
[INFO] [stderr]    Compiling surf v2.3.2
[INFO] [stderr]    Compiling oauth2-surf v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 28.14s
[INFO] running `Command { std: "docker" "inspect" "41dc5eaed33f257c914ff07b66d8a6d40f473b83a9105c51ac01516bc6ffd6be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41dc5eaed33f257c914ff07b66d8a6d40f473b83a9105c51ac01516bc6ffd6be", kill_on_drop: false }`
[INFO] [stdout] 41dc5eaed33f257c914ff07b66d8a6d40f473b83a9105c51ac01516bc6ffd6be
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 328993480cf5d57166fadd73f9167e58d13d5605a373dfde609fa3ffde05700f
[INFO] running `Command { std: "docker" "start" "-a" "328993480cf5d57166fadd73f9167e58d13d5605a373dfde609fa3ffde05700f", kill_on_drop: false }`
[INFO] [stderr]    Compiling oauth2-surf v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "328993480cf5d57166fadd73f9167e58d13d5605a373dfde609fa3ffde05700f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "328993480cf5d57166fadd73f9167e58d13d5605a373dfde609fa3ffde05700f", kill_on_drop: false }`
[INFO] [stdout] 328993480cf5d57166fadd73f9167e58d13d5605a373dfde609fa3ffde05700f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d29962ca767961b1fa787075706472d3a167a12519acd7b8317ab252266c00a4
[INFO] running `Command { std: "docker" "start" "-a" "d29962ca767961b1fa787075706472d3a167a12519acd7b8317ab252266c00a4", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oauth2_surf-4e0e671fccda845d)
[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 oauth2-surf
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `url`
[INFO] [stdout]   --> src/lib.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 20 |  use url::Url;
[INFO] [stdout]    |      ^^^ help: a similar path exists: `oauth2::url`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:66:7
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                         ---------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 61 |      .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/lib.rs:33:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 28 |          AuthUrl::new("http://authorize".to_string())?,
[INFO] [stdout]    |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ParseError>>` 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/lib.rs:34:56
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 29 |          Some(TokenUrl::new("http://token".to_string())?)
[INFO] [stdout]    |                                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ParseError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_redirect_url` found for struct `Client` in the current scope
[INFO] [stdout]   --> src/lib.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | /      BasicClient::new(
[INFO] [stdout] 26 | |          ClientId::new("client_id".to_string()),
[INFO] [stdout] 27 | |          Some(ClientSecret::new("client_secret".to_string())),
[INFO] [stdout] 28 | |          AuthUrl::new("http://authorize".to_string())?,
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |      // Set the URL the user will be redirected to after the authorization process.
[INFO] [stdout] 32 | |      .set_redirect_url(RedirectUrl::new("http://redirect".to_string())?);
[INFO] [stdout]    | |      -^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `set_redirect_uri`
[INFO] [stdout]    | |______|
[INFO] [stdout]    | 
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full type name has been written to '/tmp/rustdoctestBhpJxA/rust_out.long-type-13651481372468284910.txt'
[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/lib.rs:37:71
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 32 |      .set_redirect_url(RedirectUrl::new("http://redirect".to_string())?);
[INFO] [stdout]    |                                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ParseError>>` 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/lib.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 61 |      .await?;
[INFO] [stdout]    |            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, 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/lib.rs - (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d29962ca767961b1fa787075706472d3a167a12519acd7b8317ab252266c00a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d29962ca767961b1fa787075706472d3a167a12519acd7b8317ab252266c00a4", kill_on_drop: false }`
[INFO] [stdout] d29962ca767961b1fa787075706472d3a167a12519acd7b8317ab252266c00a4
[INFO] testing oauth2-surf-0.1.2 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate oauth2-surf 0.1.2 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate oauth2-surf 0.1.2 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate oauth2-surf 0.1.2
[INFO] finished tweaking crates.io crate oauth2-surf 0.1.2
[INFO] tweaked toml for crates.io crate oauth2-surf 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf7683d44cc2ce569e3c482b10d582940c4ddaec609da16c24028bb82dafb356
[INFO] running `Command { std: "docker" "start" "-a" "bf7683d44cc2ce569e3c482b10d582940c4ddaec609da16c24028bb82dafb356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf7683d44cc2ce569e3c482b10d582940c4ddaec609da16c24028bb82dafb356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf7683d44cc2ce569e3c482b10d582940c4ddaec609da16c24028bb82dafb356", kill_on_drop: false }`
[INFO] [stdout] bf7683d44cc2ce569e3c482b10d582940c4ddaec609da16c24028bb82dafb356
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2705bbcb2d4b9f77c2b623e1a4b716a8f4dcfb5307eb69ee741e4c00c480ece8
[INFO] running `Command { std: "docker" "start" "-a" "2705bbcb2d4b9f77c2b623e1a4b716a8f4dcfb5307eb69ee741e4c00c480ece8", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling value-bag v1.4.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.89
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling concurrent-queue v2.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling event-listener v4.0.2
[INFO] [stderr]    Compiling futures-lite v2.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling event-listener-strategy v0.4.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling async-lock v3.2.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling const_fn v0.4.9
[INFO] [stderr]    Compiling async-task v4.7.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling waker-fn v1.1.1
[INFO] [stderr]    Compiling bumpalo v3.14.0
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling cpuid-bool v0.2.0
[INFO] [stderr]    Compiling piper v0.2.1
[INFO] [stderr]    Compiling polyval v0.4.5
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling async-channel v2.1.1
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling curl-sys v0.4.70+curl-8.5.0
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.1
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.89
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling aes v0.6.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.89
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling ghash v0.3.1
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling async-executor v1.8.0
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.89
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.89
[INFO] [stderr]    Compiling aes-gcm v0.8.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hkdf v0.10.0
[INFO] [stderr]    Compiling spinning_top v0.2.5
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling polling v3.3.1
[INFO] [stderr]    Compiling blocking v1.5.1
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling http-types v2.12.0
[INFO] [stderr]    Compiling isahc v0.9.14
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling async-io v2.2.2
[INFO] [stderr]    Compiling flume v0.9.2
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling sluice v0.5.5
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling infer v0.2.3
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling js-sys v0.3.66
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling iana-time-zone v0.1.59
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling web-sys v0.3.66
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_qs v0.8.5
[INFO] [stderr]    Compiling serde_path_to_error v0.1.15
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling oauth2 v4.4.2
[INFO] [stderr]    Compiling http-client v6.5.3
[INFO] [stderr]    Compiling surf v2.3.2
[INFO] [stderr]    Compiling oauth2-surf v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 22.48s
[INFO] running `Command { std: "docker" "inspect" "2705bbcb2d4b9f77c2b623e1a4b716a8f4dcfb5307eb69ee741e4c00c480ece8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2705bbcb2d4b9f77c2b623e1a4b716a8f4dcfb5307eb69ee741e4c00c480ece8", kill_on_drop: false }`
[INFO] [stdout] 2705bbcb2d4b9f77c2b623e1a4b716a8f4dcfb5307eb69ee741e4c00c480ece8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 168b1e96ea6b7fd926ddce7d27da8f80277e97ad2f375f1f08100a2f126e0c7f
[INFO] running `Command { std: "docker" "start" "-a" "168b1e96ea6b7fd926ddce7d27da8f80277e97ad2f375f1f08100a2f126e0c7f", kill_on_drop: false }`
[INFO] [stderr]    Compiling oauth2-surf v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.57s
[INFO] running `Command { std: "docker" "inspect" "168b1e96ea6b7fd926ddce7d27da8f80277e97ad2f375f1f08100a2f126e0c7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "168b1e96ea6b7fd926ddce7d27da8f80277e97ad2f375f1f08100a2f126e0c7f", kill_on_drop: false }`
[INFO] [stdout] 168b1e96ea6b7fd926ddce7d27da8f80277e97ad2f375f1f08100a2f126e0c7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bd574ca6e216f03de8ecc2ed1e8b5f5ce6fe1c7aacccea91818c82eda1ed105b
[INFO] running `Command { std: "docker" "start" "-a" "bd574ca6e216f03de8ecc2ed1e8b5f5ce6fe1c7aacccea91818c82eda1ed105b", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oauth2_surf-c2c82b792596fd17)
[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 oauth2-surf
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `url`
[INFO] [stdout]   --> src/lib.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 20 |  use url::Url;
[INFO] [stdout]    |      ^^^ help: a similar path exists: `oauth2::url`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:66:7
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                         ---------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 61 |      .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/lib.rs:33:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 28 |          AuthUrl::new("http://authorize".to_string())?,
[INFO] [stdout]    |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ParseError>>` 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/lib.rs:34:56
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 29 |          Some(TokenUrl::new("http://token".to_string())?)
[INFO] [stdout]    |                                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ParseError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_redirect_url` found for struct `Client` in the current scope
[INFO] [stdout]   --> src/lib.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | /      BasicClient::new(
[INFO] [stdout] 26 | |          ClientId::new("client_id".to_string()),
[INFO] [stdout] 27 | |          Some(ClientSecret::new("client_secret".to_string())),
[INFO] [stdout] 28 | |          AuthUrl::new("http://authorize".to_string())?,
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |      // Set the URL the user will be redirected to after the authorization process.
[INFO] [stdout] 32 | |      .set_redirect_url(RedirectUrl::new("http://redirect".to_string())?);
[INFO] [stdout]    | |      -^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `set_redirect_uri`
[INFO] [stdout]    | |______|
[INFO] [stdout]    | 
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full type name has been written to '/tmp/rustdoctestJDIztA/rust_out.long-type-4778750517519853488.txt'
[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/lib.rs:37:71
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 32 |      .set_redirect_url(RedirectUrl::new("http://redirect".to_string())?);
[INFO] [stdout]    |                                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ParseError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, 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/lib.rs - (line 8)
[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" "bd574ca6e216f03de8ecc2ed1e8b5f5ce6fe1c7aacccea91818c82eda1ed105b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd574ca6e216f03de8ecc2ed1e8b5f5ce6fe1c7aacccea91818c82eda1ed105b", kill_on_drop: false }`
[INFO] [stdout] bd574ca6e216f03de8ecc2ed1e8b5f5ce6fe1c7aacccea91818c82eda1ed105b
