[INFO] fetching crate jwt-simple-no-nbf-fork 0.12.9... [INFO] testing jwt-simple-no-nbf-fork-0.12.9 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate jwt-simple-no-nbf-fork 0.12.9 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jwt-simple-no-nbf-fork 0.12.9 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 130 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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ed25519-compact v2.1.1 [INFO] [stderr] Downloaded hmac-sha1-compact v1.1.5 [INFO] [stderr] Downloaded precision v0.1.18 [INFO] [stderr] Downloaded ct-codecs v1.1.6 [INFO] [stderr] Downloaded binstring v0.1.7 [INFO] [stderr] Downloaded coarsetime v0.1.36 [INFO] [stderr] Downloaded benchmark-simple v0.1.10 [INFO] [stderr] Downloaded hmac-sha512 v1.1.7 [INFO] [stderr] Downloaded superboring v0.1.4 [INFO] [stderr] Downloaded boring v4.19.0 [INFO] [stderr] Downloaded wasix v0.12.21 [INFO] [stderr] Downloaded boring-sys v4.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a695377796163d29523d23e96229332ac68b351d61bf3830b25a5267ebbf45c [INFO] running `Command { std: "docker" "start" "-a" "7a695377796163d29523d23e96229332ac68b351d61bf3830b25a5267ebbf45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a695377796163d29523d23e96229332ac68b351d61bf3830b25a5267ebbf45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a695377796163d29523d23e96229332ac68b351d61bf3830b25a5267ebbf45c", kill_on_drop: false }` [INFO] [stdout] 7a695377796163d29523d23e96229332ac68b351d61bf3830b25a5267ebbf45c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c58e042b2d709984740b898927337a1017be7d76e93f8de5b6d929bbbccbe463 [INFO] running `Command { std: "docker" "start" "-a" "c58e042b2d709984740b898927337a1017be7d76e93f8de5b6d929bbbccbe463", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ct-codecs v1.1.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling coarsetime v0.1.36 [INFO] [stderr] Compiling binstring v0.1.7 [INFO] [stderr] Compiling hmac-sha1-compact v1.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ed25519-compact v2.1.1 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac-sha256 v1.1.12 [INFO] [stderr] Compiling hmac-sha512 v1.1.7 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [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.228 [INFO] [stderr] Compiling boring-sys v4.19.0 [INFO] [stderr] Compiling boring v4.19.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)]` 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)]` 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)]` 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 1m 03s [INFO] running `Command { std: "docker" "inspect" "c58e042b2d709984740b898927337a1017be7d76e93f8de5b6d929bbbccbe463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58e042b2d709984740b898927337a1017be7d76e93f8de5b6d929bbbccbe463", kill_on_drop: false }` [INFO] [stdout] c58e042b2d709984740b898927337a1017be7d76e93f8de5b6d929bbbccbe463 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c541814e3f1d13aefc35d9708117fca7b53f351bc5fa3f53b8f944e286b3a80 [INFO] running `Command { std: "docker" "start" "-a" "2c541814e3f1d13aefc35d9708117fca7b53f351bc5fa3f53b8f944e286b3a80", 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)]` 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)]` 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)]` 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)]` 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)]` 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] [stderr] error: could not compile `jwt-simple-no-nbf-fork` (lib test) due to 11 previous errors; 8 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c541814e3f1d13aefc35d9708117fca7b53f351bc5fa3f53b8f944e286b3a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c541814e3f1d13aefc35d9708117fca7b53f351bc5fa3f53b8f944e286b3a80", kill_on_drop: false }` [INFO] [stdout] 2c541814e3f1d13aefc35d9708117fca7b53f351bc5fa3f53b8f944e286b3a80