[INFO] fetching crate jwt-simple-no-nbf-fork 0.12.9... [INFO] checking jwt-simple-no-nbf-fork-0.12.9 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate jwt-simple-no-nbf-fork 0.12.9 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate jwt-simple-no-nbf-fork 0.12.9 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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 133 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.68.1 (latest: v0.69.4) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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 binstring v0.1.1 [INFO] [stderr] Downloaded hmac-sha1-compact v1.1.4 [INFO] [stderr] Downloaded precision v0.1.17 [INFO] [stderr] Downloaded benchmark-simple v0.1.9 [INFO] [stderr] Downloaded coarsetime v0.1.34 [INFO] [stderr] Downloaded hmac-sha512 v1.1.5 [INFO] [stderr] Downloaded wasix v0.12.21 [INFO] [stderr] Downloaded superboring v0.1.2 [INFO] [stderr] Downloaded boring v4.6.0 [INFO] [stderr] Downloaded boring-sys v4.6.0 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b42d7686c46514387587071b43b7d59b20c3592b8e29ce8b5b4c4dbc0e2ab4e4 [INFO] running `Command { std: "docker" "start" "-a" "b42d7686c46514387587071b43b7d59b20c3592b8e29ce8b5b4c4dbc0e2ab4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b42d7686c46514387587071b43b7d59b20c3592b8e29ce8b5b4c4dbc0e2ab4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42d7686c46514387587071b43b7d59b20c3592b8e29ce8b5b4c4dbc0e2ab4e4", kill_on_drop: false }` [INFO] [stdout] b42d7686c46514387587071b43b7d59b20c3592b8e29ce8b5b4c4dbc0e2ab4e4 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7080a395a2a512245ca0ca2eb05bf82c6403337ba184841838c942c9e44beaa6 [INFO] running `Command { std: "docker" "start" "-a" "7080a395a2a512245ca0ca2eb05bf82c6403337ba184841838c942c9e44beaa6", kill_on_drop: false }` [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling precision v0.1.17 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking benchmark-simple v0.1.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking hmac-sha256 v1.1.7 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling boring-sys v4.6.0 [INFO] [stderr] Checking boring v4.6.0 [INFO] [stderr] Checking jwt-simple-no-nbf-fork v0.12.9 (/opt/rustwide/workdir) [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 `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 `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 `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 `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 `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 `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `coarsetime::Duration` [INFO] [stdout] | help: remove the extra argument [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] 130 | custom_claims: CustomClaims, [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 `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] error[E0433]: failed to resolve: use of undeclared crate or module `jwt_simple` [INFO] [stdout] --> benches/benchmark.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jwt_simple::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `jwt_simple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RS256KeyPair` [INFO] [stdout] --> benches/benchmark.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | let kp = RS256KeyPair::generate(2048).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RS256KeyPair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use jwt_simple_no_nbf_fork::prelude::RS256KeyPair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Claims` [INFO] [stdout] --> benches/benchmark.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let claims = Claims::create(Duration::from_hours(2)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Claims` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use jwt_simple_no_nbf_fork::prelude::Claims; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> benches/benchmark.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | let claims = Claims::create(Duration::from_hours(2)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use coarsetime::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use jwt_simple_no_nbf_fork::prelude::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoCustomClaims` in this scope [INFO] [stdout] --> benches/benchmark.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | pk.verify_token::(&token, Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use jwt_simple_no_nbf_fork::prelude::NoCustomClaims; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt-simple-no-nbf-fork` (bench "benchmark") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors [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 12 previous errors [INFO] running `Command { std: "docker" "inspect" "7080a395a2a512245ca0ca2eb05bf82c6403337ba184841838c942c9e44beaa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7080a395a2a512245ca0ca2eb05bf82c6403337ba184841838c942c9e44beaa6", kill_on_drop: false }` [INFO] [stdout] 7080a395a2a512245ca0ca2eb05bf82c6403337ba184841838c942c9e44beaa6