[INFO] fetching crate gel-jwt 0.1.3... [INFO] checking gel-jwt-0.1.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate gel-jwt 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate gel-jwt 0.1.3 [INFO] finished tweaking crates.io crate gel-jwt 0.1.3 [INFO] tweaked toml for crates.io crate gel-jwt 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gel-jwt 0.1.3 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] crate crates.io crate gel-jwt 0.1.3 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.23.5 [INFO] [stderr] Downloaded divan-macros v0.1.21 [INFO] [stderr] Downloaded pyo3-build-config v0.23.5 [INFO] [stderr] Downloaded pyo3-ffi v0.23.5 [INFO] [stderr] Downloaded pyo3-macros-backend v0.23.5 [INFO] [stderr] Downloaded divan v0.1.21 [INFO] [stderr] Downloaded pyo3 v0.23.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7f63a87a66d4f95afb2e0f2a967d508fe7c302c604b87dc2d1cca6a0575b3b4 [INFO] running `Command { std: "docker" "start" "-a" "c7f63a87a66d4f95afb2e0f2a967d508fe7c302c604b87dc2d1cca6a0575b3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7f63a87a66d4f95afb2e0f2a967d508fe7c302c604b87dc2d1cca6a0575b3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f63a87a66d4f95afb2e0f2a967d508fe7c302c604b87dc2d1cca6a0575b3b4", kill_on_drop: false }` [INFO] [stdout] c7f63a87a66d4f95afb2e0f2a967d508fe7c302c604b87dc2d1cca6a0575b3b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 959f68c4f2551ef829ee28a7a294c23ff124f01b3155c360c37c249d12bbdea6 [INFO] running `Command { std: "docker" "start" "-a" "959f68c4f2551ef829ee28a7a294c23ff124f01b3155c360c37c249d12bbdea6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking terminal_size v0.4.2 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling divan-macros v0.1.21 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking divan v0.1.21 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [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] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sec1 v0.7.3 [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 p256 v0.13.2 [INFO] [stderr] Checking gel-jwt v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_GEN_RSA_KEY_BITS` in this scope [INFO] [stdout] --> src/bare_key.rs:1129:47 [INFO] [stdout] | [INFO] [stdout] 1129 | let rsa = optional_openssl_rsa_keygen(DEFAULT_GEN_RSA_KEY_BITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `bare_key::BarePrivateKey` in the current scope [INFO] [stdout] --> src/bare_key.rs:1299:35 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct BarePrivateKey { [INFO] [stdout] | ------------------------- function or associated item `generate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1299 | let key = BarePrivateKey::generate(KeyType::HS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `bare_key::BarePrivateKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `bare_key::BarePrivateKey` consider using one of the following associated functions: [INFO] [stdout] bare_key::BarePrivateKey::from_unvalidated [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_ec [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_rsa [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_oct [INFO] [stdout] and 2 others [INFO] [stdout] --> src/bare_key.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | fn from_unvalidated(inner: BarePrivateKeyInner) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn from_jwt_ec(crv: &str, d: &str, x: &str, y: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | / pub fn from_jwt_rsa( [INFO] [stdout] 537 | | n: &str, [INFO] [stdout] 538 | | e: &str, [INFO] [stdout] 539 | | d: &str, [INFO] [stdout] ... | [INFO] [stdout] 544 | | qinv: &str, [INFO] [stdout] 545 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] ... [INFO] [stdout] 575 | pub fn from_jwt_oct(k: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `bare_key::BarePrivateKey` in the current scope [INFO] [stdout] --> src/bare_key.rs:1306:35 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct BarePrivateKey { [INFO] [stdout] | ------------------------- function or associated item `generate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1306 | let key = BarePrivateKey::generate(KeyType::ES256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `bare_key::BarePrivateKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `bare_key::BarePrivateKey` consider using one of the following associated functions: [INFO] [stdout] bare_key::BarePrivateKey::from_unvalidated [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_ec [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_rsa [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_oct [INFO] [stdout] and 2 others [INFO] [stdout] --> src/bare_key.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | fn from_unvalidated(inner: BarePrivateKeyInner) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn from_jwt_ec(crv: &str, d: &str, x: &str, y: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | / pub fn from_jwt_rsa( [INFO] [stdout] 537 | | n: &str, [INFO] [stdout] 538 | | e: &str, [INFO] [stdout] 539 | | d: &str, [INFO] [stdout] ... | [INFO] [stdout] 544 | | qinv: &str, [INFO] [stdout] 545 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] ... [INFO] [stdout] 575 | pub fn from_jwt_oct(k: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `bare_key::BarePrivateKey` in the current scope [INFO] [stdout] --> src/bare_key.rs:1317:35 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct BarePrivateKey { [INFO] [stdout] | ------------------------- function or associated item `generate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1317 | let key = BarePrivateKey::generate(KeyType::RS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `bare_key::BarePrivateKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `bare_key::BarePrivateKey` consider using one of the following associated functions: [INFO] [stdout] bare_key::BarePrivateKey::from_unvalidated [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_ec [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_rsa [INFO] [stdout] bare_key::BarePrivateKey::from_jwt_oct [INFO] [stdout] and 2 others [INFO] [stdout] --> src/bare_key.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | fn from_unvalidated(inner: BarePrivateKeyInner) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn from_jwt_ec(crv: &str, d: &str, x: &str, y: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | / pub fn from_jwt_rsa( [INFO] [stdout] 537 | | n: &str, [INFO] [stdout] 538 | | e: &str, [INFO] [stdout] 539 | | d: &str, [INFO] [stdout] ... | [INFO] [stdout] 544 | | qinv: &str, [INFO] [stdout] 545 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] ... [INFO] [stdout] 575 | pub fn from_jwt_oct(k: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | registry.add_key(PrivateKey::generate(Some("1".to_owned()), KeyType::HS256).unwrap()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | registry.add_key(PrivateKey::generate(Some("2".to_owned()), KeyType::HS256).unwrap()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | registry.add_key(PrivateKey::generate(Some("3".to_owned()), KeyType::HS256).unwrap()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | let key = PrivateKey::generate(Some("1".to_owned()), KeyType::HS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | let key = PrivateKey::generate(Some("1".to_owned()), KeyType::HS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let key2 = PrivateKey::generate(Some("1".to_owned()), KeyType::RS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | let key = PrivateKey::generate(Some("1".to_owned()), KeyType::HS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | let key = PrivateKey::generate(Some("1".to_owned()), KeyType::HS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:329:36 [INFO] [stdout] | [INFO] [stdout] 329 | let mut key1 = PrivateKey::generate(Some("1".to_owned()), KeyType::HS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:330:36 [INFO] [stdout] | [INFO] [stdout] 330 | let mut key2 = PrivateKey::generate(Some("2".to_owned()), KeyType::HS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `key::PrivateKey` in the current scope [INFO] [stdout] --> src/lib.rs:360:31 [INFO] [stdout] | [INFO] [stdout] 360 | let key = PrivateKey::generate(Some("1".to_owned()), KeyType::HS256).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `key::PrivateKey` [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PrivateKey { [INFO] [stdout] | --------------------- function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `key::PrivateKey`, consider using `key::PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BlockRngCore` [INFO] [stdout] candidate #2: `GenericSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `PrivateKey` in the current scope [INFO] [stdout] --> benches/encode.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | let key = PrivateKey::generate(None, key_type).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PrivateKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PrivateKey`, consider using `PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> /opt/rustwide/workdir/src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `PrivateKey` in the current scope [INFO] [stdout] --> benches/encode.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let key = PrivateKey::generate(None, key_type).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PrivateKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PrivateKey`, consider using `PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> /opt/rustwide/workdir/src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `PrivateKey` in the current scope [INFO] [stdout] --> benches/encode.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | let key = PrivateKey::generate(None, key_type).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PrivateKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PrivateKey`, consider using `PrivateKey::from_bare_private_key` which returns `Result` [INFO] [stdout] --> /opt/rustwide/workdir/src/key.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / pub fn from_bare_private_key( [INFO] [stdout] 51 | | kid: Option, [INFO] [stdout] 52 | | key: BarePrivateKey, [INFO] [stdout] 53 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gel-jwt` (bench "encode") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gel-jwt` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "959f68c4f2551ef829ee28a7a294c23ff124f01b3155c360c37c249d12bbdea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "959f68c4f2551ef829ee28a7a294c23ff124f01b3155c360c37c249d12bbdea6", kill_on_drop: false }` [INFO] [stdout] 959f68c4f2551ef829ee28a7a294c23ff124f01b3155c360c37c249d12bbdea6