[INFO] fetching crate rocket-oidc 0.1.4... [INFO] testing rocket-oidc-0.1.4 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rocket-oidc 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rocket-oidc 0.1.4 [INFO] finished tweaking crates.io crate rocket-oidc 0.1.4 [INFO] tweaked toml for crates.io crate rocket-oidc 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket-oidc 0.1.4 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rocket-oidc 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded deranged v0.4.1 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded iana-time-zone v0.1.62 [INFO] [stderr] Downloaded serde_with_macros v3.12.0 [INFO] [stderr] Downloaded jsonwebtoken v10.1.0 [INFO] [stderr] Downloaded quinn-udp v0.5.11 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded serde_with v3.12.0 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded openidconnect v4.0.0 [INFO] [stderr] Downloaded winnow v0.7.4 [INFO] [stderr] Downloaded quinn-proto v0.11.10 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded quinn v0.11.7 [INFO] [stderr] Downloaded rustls v0.23.25 [INFO] [stderr] Downloaded num-bigint-dig v0.8.4 [INFO] [stderr] Downloaded rustix v1.0.3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52adbf880cea62bc5f05a9142213de60130f2a4814492fdce975c8335a2aab8f [INFO] running `Command { std: "docker" "start" "-a" "52adbf880cea62bc5f05a9142213de60130f2a4814492fdce975c8335a2aab8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52adbf880cea62bc5f05a9142213de60130f2a4814492fdce975c8335a2aab8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52adbf880cea62bc5f05a9142213de60130f2a4814492fdce975c8335a2aab8f", kill_on_drop: false }` [INFO] [stdout] 52adbf880cea62bc5f05a9142213de60130f2a4814492fdce975c8335a2aab8f [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff6b572da575cfbf0e0a94987779a9f133c21030b2744a8927b529c366b203dc [INFO] running `Command { std: "docker" "start" "-a" "ff6b572da575cfbf0e0a94987779a9f133c21030b2744a8927b529c366b203dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling iana-time-zone v0.1.62 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling oauth2 v5.0.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rtoolbox v0.0.3 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling rpassword v7.4.0 [INFO] [stderr] Compiling jsonwebtoken v10.1.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling openidconnect v4.0.0 [INFO] [stderr] Compiling rocket-oidc v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/routes.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | .decode::(token.access_token().secret()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/auth.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | match validator.decode::(access_token.value()) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/lib.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | auth.validator.decode::(access_token.value()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [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" "ff6b572da575cfbf0e0a94987779a9f133c21030b2744a8927b529c366b203dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff6b572da575cfbf0e0a94987779a9f133c21030b2744a8927b529c366b203dc", kill_on_drop: false }` [INFO] [stdout] ff6b572da575cfbf0e0a94987779a9f133c21030b2744a8927b529c366b203dc [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fe5d0d3c112950d11f855a27be3973304b931168aca72613f0d33f4d9121f25 [INFO] running `Command { std: "docker" "start" "-a" "1fe5d0d3c112950d11f855a27be3973304b931168aca72613f0d33f4d9121f25", kill_on_drop: false }` [INFO] [stderr] Compiling rocket-oidc v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/routes.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | .decode::(token.access_token().secret()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/auth.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | match validator.decode::(access_token.value()) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/lib.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | auth.validator.decode::(access_token.value()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sign.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/sign.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/routes.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | .decode::(token.access_token().secret()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/auth.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | match validator.decode::(access_token.value()) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `client::Validator::decode` [INFO] [stdout] --> src/lib.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | auth.validator.decode::(access_token.value()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [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" "1fe5d0d3c112950d11f855a27be3973304b931168aca72613f0d33f4d9121f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe5d0d3c112950d11f855a27be3973304b931168aca72613f0d33f4d9121f25", kill_on_drop: false }` [INFO] [stdout] 1fe5d0d3c112950d11f855a27be3973304b931168aca72613f0d33f4d9121f25 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c8c04dd0bd03931fc4936bc74a2718a4b1a1833141b1f711af63f5c93681beb4 [INFO] running `Command { std: "docker" "start" "-a" "c8c04dd0bd03931fc4936bc74a2718a4b1a1833141b1f711af63f5c93681beb4", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `client::Validator::decode` [INFO] [stderr] --> src/routes.rs:73:18 [INFO] [stderr] | [INFO] [stderr] 73 | .decode::(token.access_token().secret()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `client::Validator::decode` [INFO] [stderr] --> src/auth.rs:323:33 [INFO] [stderr] | [INFO] [stderr] 323 | match validator.decode::(access_token.value()) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `client::Validator::decode` [INFO] [stderr] --> src/lib.rs:363:32 [INFO] [stderr] | [INFO] [stderr] 363 | auth.validator.decode::(access_token.value()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/sign.rs:236:9 [INFO] [stderr] | [INFO] [stderr] 236 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/sign.rs:238:9 [INFO] [stderr] | [INFO] [stderr] 238 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rocket-oidc` (lib) generated 3 warnings [INFO] [stderr] warning: `rocket-oidc` (lib test) generated 5 warnings (3 duplicates) (run `cargo fix --lib -p rocket-oidc --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [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/rocket_oidc-7a5dd264949181a7) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test auth::tests::parse_authorization_header_invalid_token_forwards ... ok [INFO] [stdout] test auth::tests::parse_authorization_header_missing_bearer_prefix_forwards ... ok [INFO] [stdout] test sign::tests::sign_and_validate ... ok [INFO] [stdout] test auth::tests::parse_authorization_header_valid_token_returns_success ... ok [INFO] [stdout] test auth::tests::parse_authorization_header_wrong_issuer_or_alg_forwards ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 36.66s [INFO] [stdout] [INFO] [stderr] Doc-tests rocket_oidc [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/client.rs - client::Validator::extend_from_jwks (line 430) ... ignored [INFO] [stdout] test src/client.rs - client::Validator::extend_from_oidc (line 378) ... ignored [INFO] [stdout] test src/lib.rs - (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - (line 4) ... ok [INFO] [stdout] test src/sign.rs - sign::OidcSigner::sign (line 141) ... ok [INFO] [stdout] test src/lib.rs - sign (line 153) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 84) stdout ---- [INFO] [stdout] error: couldn't read `src/public.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:103:63 [INFO] [stdout] | [INFO] [stdout] 103 | let decoding_key: DecodingKey = DecodingKey::from_rsa_pem(include_str!("public.pem").as_bytes()).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/public.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:103:63 [INFO] [stdout] | [INFO] [stdout] 103 | let decoding_key: DecodingKey = DecodingKey::from_rsa_pem(include_str!("public.pem").as_bytes()).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 84) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 29.60s [INFO] [stdout] [INFO] [stdout] all doctests ran in 30.08s; merged doctests compilation took 0.48s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c8c04dd0bd03931fc4936bc74a2718a4b1a1833141b1f711af63f5c93681beb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c04dd0bd03931fc4936bc74a2718a4b1a1833141b1f711af63f5c93681beb4", kill_on_drop: false }` [INFO] [stdout] c8c04dd0bd03931fc4936bc74a2718a4b1a1833141b1f711af63f5c93681beb4