[INFO] fetching crate jwt-simple-no-nbf-fork 0.12.9... [INFO] testing jwt-simple-no-nbf-fork-0.12.9 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate jwt-simple-no-nbf-fork 0.12.9 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate jwt-simple-no-nbf-fork 0.12.9 [INFO] finished tweaking crates.io crate jwt-simple-no-nbf-fork 0.12.9 [INFO] tweaked toml for crates.io crate jwt-simple-no-nbf-fork 0.12.9 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jwt-simple-no-nbf-fork 0.12.9 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 137 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3946dec0b6f434c54feeb9e6e00756ffc0e8ae2e12a6a2ead3a9707b751a0416 [INFO] running `Command { std: "docker" "start" "-a" "3946dec0b6f434c54feeb9e6e00756ffc0e8ae2e12a6a2ead3a9707b751a0416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3946dec0b6f434c54feeb9e6e00756ffc0e8ae2e12a6a2ead3a9707b751a0416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3946dec0b6f434c54feeb9e6e00756ffc0e8ae2e12a6a2ead3a9707b751a0416", kill_on_drop: false }` [INFO] [stdout] 3946dec0b6f434c54feeb9e6e00756ffc0e8ae2e12a6a2ead3a9707b751a0416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9818d34368266af556d20540656621759c0b0b78d4443088d52a6be82d786147 [INFO] running `Command { std: "docker" "start" "-a" "9818d34368266af556d20540656621759c0b0b78d4443088d52a6be82d786147", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ct-codecs v1.1.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling ed25519-compact v2.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling hmac-sha512 v1.1.7 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling hmac-sha256 v1.1.12 [INFO] [stderr] Compiling coarsetime v0.1.36 [INFO] [stderr] Compiling hmac-sha1-compact v1.1.5 [INFO] [stderr] Compiling binstring v0.1.7 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling boring-sys v4.18.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling boring v4.18.0 [INFO] [stderr] Compiling jwt-simple-no-nbf-fork v0.12.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UnixTimeStamp` [INFO] [stdout] --> src/claims.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use coarsetime::{Clock, Duration, UnixTimeStamp}; [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 imports: `Base64UrlSafeNoPadding` and `Encoder` [INFO] [stdout] --> src/claims.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use ct_codecs::{Base64UrlSafeNoPadding, Encoder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/claims.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::VerificationOptions` [INFO] [stdout] --> src/claims.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::common::VerificationOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serde_additions` [INFO] [stdout] --> src/claims.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::serde_additions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/error.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub use anyhow::{anyhow, bail, ensure, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/claims.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let now = Some(Clock::now_since_epoch()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid_for` [INFO] [stdout] --> src/claims.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn create(valid_for: Duration) -> JWTClaims { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_for` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimestampVisitor` is never constructed [INFO] [stdout] --> src/serde_additions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | struct TimestampVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/serde_additions.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/serde_additions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn deserialize<'de, D: Deserializer<'de>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudiencesVisitor` is never constructed [INFO] [stdout] --> src/serde_additions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | struct AudiencesVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/serde_additions.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/serde_additions.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn deserialize<'de, D: Deserializer<'de>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "9818d34368266af556d20540656621759c0b0b78d4443088d52a6be82d786147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9818d34368266af556d20540656621759c0b0b78d4443088d52a6be82d786147", kill_on_drop: false }` [INFO] [stdout] 9818d34368266af556d20540656621759c0b0b78d4443088d52a6be82d786147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c65c7373c0253f0a2cb5e284bab247550e478aeefbb82f613b8ae6dd8559f00f [INFO] running `Command { std: "docker" "start" "-a" "c65c7373c0253f0a2cb5e284bab247550e478aeefbb82f613b8ae6dd8559f00f", kill_on_drop: false }` [INFO] [stderr] Compiling precision v0.1.18 [INFO] [stdout] warning: unused import: `UnixTimeStamp` [INFO] [stdout] --> src/claims.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use coarsetime::{Clock, Duration, UnixTimeStamp}; [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 imports: `Base64UrlSafeNoPadding` and `Encoder` [INFO] [stdout] --> src/claims.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use ct_codecs::{Base64UrlSafeNoPadding, Encoder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/claims.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::VerificationOptions` [INFO] [stdout] --> src/claims.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::common::VerificationOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serde_additions` [INFO] [stdout] --> src/claims.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::serde_additions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/error.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub use anyhow::{anyhow, bail, ensure, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/claims.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let now = Some(Clock::now_since_epoch()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid_for` [INFO] [stdout] --> src/claims.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn create(valid_for: Duration) -> JWTClaims { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_for` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimestampVisitor` is never constructed [INFO] [stdout] --> src/serde_additions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | struct TimestampVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/serde_additions.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/serde_additions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn deserialize<'de, D: Deserializer<'de>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudiencesVisitor` is never constructed [INFO] [stdout] --> src/serde_additions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | struct AudiencesVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/serde_additions.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/serde_additions.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn deserialize<'de, D: Deserializer<'de>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling benchmark-simple v0.1.10 [INFO] [stderr] Compiling jwt-simple-no-nbf-fork v0.12.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UnixTimeStamp` [INFO] [stdout] --> src/claims.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use coarsetime::{Clock, Duration, UnixTimeStamp}; [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 imports: `Base64UrlSafeNoPadding` and `Encoder` [INFO] [stdout] --> src/claims.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use ct_codecs::{Base64UrlSafeNoPadding, Encoder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/claims.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::VerificationOptions` [INFO] [stdout] --> src/claims.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::common::VerificationOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serde_additions` [INFO] [stdout] --> src/claims.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::serde_additions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/error.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub use anyhow::{anyhow, bail, ensure, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_issuer` found for struct `claims::JWTClaims` in the current scope [INFO] [stdout] --> src/token.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 200 | let mut claims = Claims::create(Duration::from_mins(10)) [INFO] [stdout] | ______________________- [INFO] [stdout] 201 | | .with_issuer(issuer) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `claims::JWTClaims` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/claims.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct JWTClaims { [INFO] [stdout] | ---------------------------------- method `with_issuer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_audiences` found for struct `claims::JWTClaims` in the current scope [INFO] [stdout] --> src/token.rs:228:58 [INFO] [stdout] | [INFO] [stdout] 228 | let claims = Claims::create(Duration::from_mins(10)).with_audiences(audiences); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `claims::JWTClaims` [INFO] [stdout] | [INFO] [stdout] ::: src/claims.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct JWTClaims { [INFO] [stdout] | ---------------------------------- method `with_audiences` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_audiences` found for struct `claims::JWTClaims` in the current scope [INFO] [stdout] --> src/token.rs:248:58 [INFO] [stdout] | [INFO] [stdout] 248 | let claims = Claims::create(Duration::from_mins(10)).with_audiences(audiences); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `claims::JWTClaims` [INFO] [stdout] | [INFO] [stdout] ::: src/claims.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct JWTClaims { [INFO] [stdout] | ---------------------------------- method `with_audiences` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `audiences` on type `claims::JWTClaims` [INFO] [stdout] --> src/token.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | assert!(decoded.audiences.is_some()); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `custom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_audience` found for struct `claims::JWTClaims` in the current scope [INFO] [stdout] --> src/token.rs:253:58 [INFO] [stdout] | [INFO] [stdout] 253 | let claims = Claims::create(Duration::from_mins(10)).with_audience(""); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `claims::JWTClaims` [INFO] [stdout] | [INFO] [stdout] ::: src/claims.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct JWTClaims { [INFO] [stdout] | ---------------------------------- method `with_audience` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `audiences` on type `claims::JWTClaims` [INFO] [stdout] --> src/token.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | assert!(decoded.audiences.is_some()); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `custom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `audiences` on type `claims::JWTClaims` [INFO] [stdout] --> src/token.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | assert!(decoded.audiences.is_none()); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `custom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_issuer` found for struct `claims::JWTClaims` in the current scope [INFO] [stdout] --> src/lib.rs:416:65 [INFO] [stdout] | [INFO] [stdout] 416 | let claims = Claims::create(Duration::from_secs(86400)).with_issuer("test issuer"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `claims::JWTClaims` [INFO] [stdout] | [INFO] [stdout] ::: src/claims.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct JWTClaims { [INFO] [stdout] | ---------------------------------- method `with_issuer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_issuer` found for struct `claims::JWTClaims` in the current scope [INFO] [stdout] --> src/lib.rs:430:65 [INFO] [stdout] | [INFO] [stdout] 430 | let claims = Claims::create(Duration::from_secs(86400)).with_issuer("test issuer"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `claims::JWTClaims` [INFO] [stdout] | [INFO] [stdout] ::: src/claims.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct JWTClaims { [INFO] [stdout] | ---------------------------------- method `with_issuer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:509:22 [INFO] [stdout] | [INFO] [stdout] 509 | let claims = Claims::with_custom_claims(custom_claims, Duration::from_secs(86400)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument #2 of type `coarsetime::Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/claims.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn with_custom_claims( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 509 - let claims = Claims::with_custom_claims(custom_claims, Duration::from_secs(86400)); [INFO] [stdout] 509 + let claims = Claims::with_custom_claims(custom_claims); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_nonce` found for struct `claims::JWTClaims` in the current scope [INFO] [stdout] --> src/lib.rs:534:28 [INFO] [stdout] | [INFO] [stdout] 534 | let nonce = claims.create_nonce(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `claims::JWTClaims` [INFO] [stdout] | [INFO] [stdout] ::: src/claims.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct JWTClaims { [INFO] [stdout] | ---------------------------------- method `create_nonce` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/claims.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let now = Some(Clock::now_since_epoch()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid_for` [INFO] [stdout] --> src/claims.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn create(valid_for: Duration) -> JWTClaims { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_for` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt-simple-no-nbf-fork` (lib test) due to 11 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c65c7373c0253f0a2cb5e284bab247550e478aeefbb82f613b8ae6dd8559f00f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65c7373c0253f0a2cb5e284bab247550e478aeefbb82f613b8ae6dd8559f00f", kill_on_drop: false }` [INFO] [stdout] c65c7373c0253f0a2cb5e284bab247550e478aeefbb82f613b8ae6dd8559f00f