[INFO] fetching crate twitch_oauth2 0.10.0... [INFO] testing twitch_oauth2-0.10.0 against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate twitch_oauth2 0.10.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate twitch_oauth2 0.10.0 on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate twitch_oauth2 0.10.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate twitch_oauth2 0.10.0 [INFO] tweaked toml for crates.io crate twitch_oauth2 0.10.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate twitch_oauth2 0.10.0 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84e85f031e2fd1533a52b39028ba3985fd29613fda193a89f143682a014b9322 [INFO] running `Command { std: "docker" "start" "-a" "84e85f031e2fd1533a52b39028ba3985fd29613fda193a89f143682a014b9322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84e85f031e2fd1533a52b39028ba3985fd29613fda193a89f143682a014b9322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e85f031e2fd1533a52b39028ba3985fd29613fda193a89f143682a014b9322", kill_on_drop: false }` [INFO] [stdout] 84e85f031e2fd1533a52b39028ba3985fd29613fda193a89f143682a014b9322 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f31c60258759d52186efcb8262934b9c88c4bd961e549118d9ef52fb46c3c7cf [INFO] running `Command { std: "docker" "start" "-a" "f31c60258759d52186efcb8262934b9c88c4bd961e549118d9ef52fb46c3c7cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling serde_json v1.0.86 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling aliri_braid_impl v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling serde_repr v0.1.9 [INFO] [stderr] Compiling aliri_braid v0.3.1 [INFO] [stderr] Compiling twitch_types v0.3.10 [INFO] [stderr] Compiling twitch_oauth2 v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 32s [INFO] running `Command { std: "docker" "inspect" "f31c60258759d52186efcb8262934b9c88c4bd961e549118d9ef52fb46c3c7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f31c60258759d52186efcb8262934b9c88c4bd961e549118d9ef52fb46c3c7cf", kill_on_drop: false }` [INFO] [stdout] f31c60258759d52186efcb8262934b9c88c4bd961e549118d9ef52fb46c3c7cf [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91e38b96572dc4f3788846c85f4b5007acfc28eb0c6d4f8a74d39ee327ec8046 [INFO] running `Command { std: "docker" "start" "-a" "91e38b96572dc4f3788846c85f4b5007acfc28eb0c6d4f8a74d39ee327ec8046", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling async-channel v1.7.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling polling v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling async-io v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling curl-sys v0.4.56+curl-7.83.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling async-global-executor v2.3.0 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aliri_braid_impl v0.3.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling js-sys v0.3.60 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling serde_repr v0.1.9 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling web-sys v0.3.60 [INFO] [stderr] Compiling aliri_braid v0.3.1 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.86 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling twitch_types v0.3.10 [INFO] [stderr] Compiling rpassword v6.0.1 [INFO] [stderr] Compiling twitch_oauth2 v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11m 47s [INFO] running `Command { std: "docker" "inspect" "91e38b96572dc4f3788846c85f4b5007acfc28eb0c6d4f8a74d39ee327ec8046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e38b96572dc4f3788846c85f4b5007acfc28eb0c6d4f8a74d39ee327ec8046", kill_on_drop: false }` [INFO] [stdout] 91e38b96572dc4f3788846c85f4b5007acfc28eb0c6d4f8a74d39ee327ec8046 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 800e81553389014a682219d6ca12265294d3c44eb41ecafba91b4ab040816cb8 [INFO] running `Command { std: "docker" "start" "-a" "800e81553389014a682219d6ca12265294d3c44eb41ecafba91b4ab040816cb8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twitch_oauth2-2f74f2267e0d10a9) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test scopes::tests::custom_scope ... ok [INFO] [stdout] test tokens::user_token::tests::generate_url ... ok [INFO] [stdout] test tokens::user_token::tests::from_validated_and_token ... ok [INFO] [stdout] test tokens::tests::validated_token ... ok [INFO] [stdout] test tokens::tests::validated_non_expiring_token ... ok [INFO] [stdout] test tokens::tests::validated_error_response ... ok [INFO] [stdout] test scopes::tests::roundabout ... ok [INFO] [stderr] Doc-tests twitch_oauth2 [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/tokens.rs - tokens::TwitchToken::token (line 45) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 16) - compile ... FAILED [INFO] [stdout] test src/tokens.rs - tokens::TwitchToken::is_elapsed (line 71) - compile ... FAILED [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder::get_user_token_request (line 379) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 6 | let reqwest_http_client = twitch_oauth2::client::DummyClient; // This is only here to fool doc tests [INFO] [stdout] | ^^^^^^ could not find `client` in `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_existing` found for struct `UserToken` in the current scope [INFO] [stdout] --> src/lib.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 9 | match UserToken::from_existing(&reqwest_http_client, token, None, None).await { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `UserToken` [INFO] [stdout] | help: there is an associated function with a similar name: `from_existing_unchecked` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tokens.rs - tokens::TwitchToken::is_elapsed (line 71) stdout ---- [INFO] [stdout] error[E0599]: no method named `refresh_token` found for struct `UserToken` in the current scope [INFO] [stdout] --> src/tokens.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 10 | user_token.refresh_token(&reqwest::Client::builder().redirect(reqwest::redirect::Policy::none()).build()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------------------------------------------------------------- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] src/tokens.rs - tokens::TwitchToken::is_elapsed (line 71) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "800e81553389014a682219d6ca12265294d3c44eb41ecafba91b4ab040816cb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "800e81553389014a682219d6ca12265294d3c44eb41ecafba91b4ab040816cb8", kill_on_drop: false }` [INFO] [stdout] 800e81553389014a682219d6ca12265294d3c44eb41ecafba91b4ab040816cb8