[INFO] cloning repository https://github.com/Emilgardis/twitch_oauth2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emilgardis/twitch_oauth2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Ftwitch_oauth2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Ftwitch_oauth2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fd89c88d22045a795f1fe90c6854b4e5ad566ef [INFO] testing Emilgardis/twitch_oauth2 against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Ftwitch_oauth2" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Emilgardis/twitch_oauth2 on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Emilgardis/twitch_oauth2 [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Emilgardis/twitch_oauth2 [INFO] tweaked toml for git repo https://github.com/Emilgardis/twitch_oauth2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Emilgardis/twitch_oauth2 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_qs v0.8.5 [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded aliri_braid_impl v0.4.0 [INFO] [stderr] Downloaded aliri_braid v0.4.0 [INFO] [stderr] Downloaded spinning_top v0.2.5 [INFO] [stderr] Downloaded value-bag v1.4.1 [INFO] [stderr] Downloaded surf v2.3.2 [INFO] [stderr] Downloaded flume v0.9.2 [INFO] [stderr] Downloaded curl v0.4.44 [INFO] [stderr] Downloaded http-client v6.5.3 [INFO] [stderr] Downloaded isahc v0.9.14 [INFO] [stderr] Downloaded syn v2.0.36 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.8+1.55.1 [INFO] [stderr] Downloaded http-types v2.12.0 [INFO] [stderr] Downloaded curl-sys v0.4.65+curl-8.2.1 [INFO] [stderr] Downloaded twitch_types v0.4.3 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7de7e314b29d3f7610484ec10082df2ba3b7c9b255887485d8e40f5be23a804 [INFO] running `Command { std: "docker" "start" "-a" "b7de7e314b29d3f7610484ec10082df2ba3b7c9b255887485d8e40f5be23a804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7de7e314b29d3f7610484ec10082df2ba3b7c9b255887485d8e40f5be23a804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7de7e314b29d3f7610484ec10082df2ba3b7c9b255887485d8e40f5be23a804", kill_on_drop: false }` [INFO] [stdout] b7de7e314b29d3f7610484ec10082df2ba3b7c9b255887485d8e40f5be23a804 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b808966db78bed35db83dfb52f59e58ae460fcf1ddc6d3d90efbe65f0e534a3 [INFO] running `Command { std: "docker" "start" "-a" "2b808966db78bed35db83dfb52f59e58ae460fcf1ddc6d3d90efbe65f0e534a3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling aliri_braid v0.4.0 [INFO] [stderr] Compiling twitch_types v0.4.3 [INFO] [stderr] Compiling twitch_oauth2 v0.12.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(nightly, deny(rustdoc::broken_intra_doc_links))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(nightly, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RequestParseError` [INFO] [stdout] 358 | #[non_exhaustive] [INFO] [stdout] 359 | pub enum RequestParseError { [INFO] [stdout] | ----------------- `RequestParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tokens/errors.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(thiserror::Error, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 17 | #[non_exhaustive] [INFO] [stdout] 18 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.99s [INFO] running `Command { std: "docker" "inspect" "2b808966db78bed35db83dfb52f59e58ae460fcf1ddc6d3d90efbe65f0e534a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b808966db78bed35db83dfb52f59e58ae460fcf1ddc6d3d90efbe65f0e534a3", kill_on_drop: false }` [INFO] [stdout] 2b808966db78bed35db83dfb52f59e58ae460fcf1ddc6d3d90efbe65f0e534a3 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 843942db8d9e2d7eb3d69221268daf5df35e26ff0297e96643268d788ac06376 [INFO] running `Command { std: "docker" "start" "-a" "843942db8d9e2d7eb3d69221268daf5df35e26ff0297e96643268d788ac06376", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling value-bag v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling libnghttp2-sys v0.1.8+1.55.1 [INFO] [stderr] Compiling curl-sys v0.4.65+curl-8.2.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling async-executor v1.5.1 [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 bitflags v2.4.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling httparse v1.8.0 [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 spinning_top v0.2.5 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling rtoolbox v0.0.1 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rpassword v7.2.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling aliri_braid v0.4.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling web-sys v0.3.64 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling twitch_types v0.4.3 [INFO] [stderr] Compiling twitch_oauth2 v0.12.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(nightly, deny(rustdoc::broken_intra_doc_links))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(nightly, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RequestParseError` [INFO] [stdout] 358 | #[non_exhaustive] [INFO] [stdout] 359 | pub enum RequestParseError { [INFO] [stdout] | ----------------- `RequestParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tokens/errors.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(thiserror::Error, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 17 | #[non_exhaustive] [INFO] [stdout] 18 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(nightly, deny(rustdoc::broken_intra_doc_links))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(nightly, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stdout] --> src/scopes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(_internal_never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / scope_impls!( [INFO] [stdout] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stdout] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stdout] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stdout] ... | [INFO] [stdout] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RequestParseError` [INFO] [stdout] 358 | #[non_exhaustive] [INFO] [stdout] 359 | pub enum RequestParseError { [INFO] [stdout] | ----------------- `RequestParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tokens/errors.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(thiserror::Error, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 17 | #[non_exhaustive] [INFO] [stdout] 18 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 49.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "843942db8d9e2d7eb3d69221268daf5df35e26ff0297e96643268d788ac06376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "843942db8d9e2d7eb3d69221268daf5df35e26ff0297e96643268d788ac06376", kill_on_drop: false }` [INFO] [stdout] 843942db8d9e2d7eb3d69221268daf5df35e26ff0297e96643268d788ac06376 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a7ba073d43ab95bfface8d59e9d94b01fcab87ecbf9349b4dcb24c584f5bc03 [INFO] running `Command { std: "docker" "start" "-a" "4a7ba073d43ab95bfface8d59e9d94b01fcab87ecbf9349b4dcb24c584f5bc03", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(nightly, deny(rustdoc::broken_intra_doc_links))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | #![cfg_attr(nightly, feature(doc_auto_cfg))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `_internal_never` [INFO] [stderr] --> src/scopes.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | #[cfg(_internal_never)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | / scope_impls!( [INFO] [stderr] 157 | | AnalyticsReadExtensions, scope: "analytics:read:extensions", doc: "View analytics data for the Twitch Extensions owned... [INFO] [stderr] 158 | | AnalyticsReadGames, scope: "analytics:read:games", doc: "View analytics data for the games owned by the auth... [INFO] [stderr] 159 | | BitsRead, scope: "bits:read", doc: "View Bits information for a channel."; [INFO] [stderr] ... | [INFO] [stderr] 222 | | WhispersRead, scope: "whispers:read", doc: "View your whisper messages."; [INFO] [stderr] 223 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(_internal_never)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(_internal_never)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `scope_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:357:35 [INFO] [stderr] | [INFO] [stderr] 357 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RequestParseError` [INFO] [stderr] 358 | #[non_exhaustive] [INFO] [stderr] 359 | pub enum RequestParseError { [INFO] [stderr] | ----------------- `RequestParseError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/tokens/errors.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(thiserror::Error, Debug, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stderr] 17 | #[non_exhaustive] [INFO] [stderr] 18 | pub enum ValidationError { [INFO] [stderr] | --------------- `ValidationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `twitch_oauth2` (lib) generated 9 warnings (3 duplicates) [INFO] [stderr] warning: `twitch_oauth2` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twitch_oauth2-fada130c878c9d5f) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test scopes::sorted ... ok [INFO] [stdout] test scopes::tests::no_deprecated ... ok [INFO] [stdout] test scopes::tests::roundabout ... ok [INFO] [stdout] test scopes::tests::custom_scope ... ok [INFO] [stdout] test scopes::validator::tests::valid_any ... ok [INFO] [stdout] test scopes::validator::tests::valid_strange_not ... ok [INFO] [stdout] test scopes::validator::tests::valid_basic ... ok [INFO] [stdout] test scopes::validator::tests::valid_not ... ok [INFO] [stdout] test tokens::user_token::tests::from_validated_and_token ... ok [INFO] [stdout] test scopes::validator::tests::valid_strange ... ok [INFO] [stdout] test tokens::user_token::tests::generate_url ... ok [INFO] [stdout] test tokens::tests::validated_token ... ok [INFO] [stdout] test tokens::tests::validated_error_response ... ok [INFO] [stdout] test scopes::validator::tests::valid_all ... ok [INFO] [stdout] test tokens::tests::validated_non_expiring_token ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests twitch_oauth2 [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 222) - compile fail ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 123) - compile ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 212) - compile fail ... ok [INFO] [stdout] test src/tokens.rs - tokens::TwitchToken::token (line 45) - compile ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::Validator (line 15) - compile ... ok [INFO] [stdout] test src/tokens.rs - tokens::TwitchToken::is_elapsed (line 71) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) - compile ... FAILED [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 385) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 157) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 200) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 413) ... FAILED [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 146) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::Validator::matches (line 53) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 171) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 349) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 135) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder::get_user_token_request (line 532) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 363) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 181) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tokens.rs - tokens::TwitchToken::is_elapsed (line 71) stdout ---- [INFO] [stdout] error[E0599]: no method named `refresh_token` found for struct `twitch_oauth2::UserToken` in the current scope [INFO] [stdout] --> src/tokens.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 11 | 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 1 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] ---- 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:36 [INFO] [stdout] | [INFO] [stdout] 7 | async {let client = twitch_oauth2::client::DummyClient; stringify!( [INFO] [stdout] | ^^^^^^ could not find `client` in `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `client` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "client")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_token` found for struct `twitch_oauth2::UserToken` in the current scope [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 13 | let token = UserToken::from_token(&client, token).await?; [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `UserToken` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `twitch_oauth2::UserToken` consider using one of the following associated functions: [INFO] [stdout] twitch_oauth2::UserToken::new [INFO] [stdout] twitch_oauth2::UserToken::from_existing_unchecked [INFO] [stdout] twitch_oauth2::UserToken::from_response [INFO] [stdout] --> /opt/rustwide/workdir/src/tokens/user_token.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / pub fn new( [INFO] [stdout] 62 | | access_token: AccessToken, [INFO] [stdout] 63 | | refresh_token: Option, [INFO] [stdout] 64 | | validated: ValidatedToken, [INFO] [stdout] 65 | | client_secret: impl Into>, [INFO] [stdout] 66 | | ) -> Result> { [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 155 | / pub fn from_existing_unchecked( [INFO] [stdout] 156 | | access_token: impl Into, [INFO] [stdout] 157 | | refresh_token: impl Into>, [INFO] [stdout] 158 | | client_id: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 163 | | expires_in: Option, [INFO] [stdout] 164 | | ) -> UserToken { [INFO] [stdout] | |__________________^ [INFO] [stdout] ... [INFO] [stdout] 180 | / pub fn from_response( [INFO] [stdout] 181 | | response: crate::id::TwitchTokenResponse, [INFO] [stdout] 182 | | validated: ValidatedToken, [INFO] [stdout] 183 | | client_secret: impl Into>, [INFO] [stdout] 184 | | ) -> Result> { [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] help: there is a method `token` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/tokens.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fn token(&self) -> &AccessToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/user_token.rs - tokens::user_token::UserTokenBuilder (line 413) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `twitch_oauth2` [INFO] [stdout] --> src/tokens/user_token.rs:424:29 [INFO] [stdout] | [INFO] [stdout] 14 | let client = twitch_oauth2::client::DummyClient; stringify!( [INFO] [stdout] | ^^^^^^ could not find `client` in `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `client` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "client")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_user_token` found for struct `UserTokenBuilder` in the current scope [INFO] [stdout] --> src/tokens/user_token.rs:430:21 [INFO] [stdout] | [INFO] [stdout] 20 | let token = builder.get_user_token(&client, state.as_ref(), code.as_ref()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_user_token_request` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/tokens/user_token.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn get_user_token_request(&self, code: &str) -> http::Request> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] src/tokens.rs - tokens::TwitchToken::is_elapsed (line 71) [INFO] [stdout] src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 413) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.04s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4a7ba073d43ab95bfface8d59e9d94b01fcab87ecbf9349b4dcb24c584f5bc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7ba073d43ab95bfface8d59e9d94b01fcab87ecbf9349b4dcb24c584f5bc03", kill_on_drop: false }` [INFO] [stdout] 4a7ba073d43ab95bfface8d59e9d94b01fcab87ecbf9349b4dcb24c584f5bc03