[INFO] fetching crate gel-jwt 0.1.4... [INFO] testing gel-jwt-0.1.4 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate gel-jwt 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate gel-jwt 0.1.4 [INFO] finished tweaking crates.io crate gel-jwt 0.1.4 [INFO] tweaked toml for crates.io crate gel-jwt 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gel-jwt 0.1.4 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gel-jwt 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.101 [INFO] [stderr] Downloaded wasm-bindgen v0.2.101 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.101 [INFO] [stderr] Downloaded wasi v0.14.5+wasi-0.2.4 [INFO] [stderr] Downloaded serdect v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.101 [INFO] [stderr] Downloaded windows-link v0.2.0 [INFO] [stderr] Downloaded pyo3-macros v0.26.0 [INFO] [stderr] Downloaded unindent v0.2.4 [INFO] [stderr] Downloaded condtype v1.3.0 [INFO] [stderr] Downloaded divan-macros v0.1.21 [INFO] [stderr] Downloaded hex-literal v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Downloaded pem v3.0.5 [INFO] [stderr] Downloaded target-lexicon v0.13.3 [INFO] [stderr] Downloaded find-msvc-tools v0.1.1 [INFO] [stderr] Downloaded wit-bindgen v0.45.1 [INFO] [stderr] Downloaded js-sys v0.3.78 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded pyo3-build-config v0.26.0 [INFO] [stderr] Downloaded bitflags v2.9.4 [INFO] [stderr] Downloaded clap v4.5.47 [INFO] [stderr] Downloaded pyo3-ffi v0.26.0 [INFO] [stderr] Downloaded cc v1.2.37 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] [stderr] Downloaded indexmap v2.11.1 [INFO] [stderr] Downloaded wasip2 v1.0.0+wasi-0.2.4 [INFO] [stderr] Downloaded divan v0.1.21 [INFO] [stderr] Downloaded pyo3-macros-backend v0.26.0 [INFO] [stderr] Downloaded clap_builder v4.5.47 [INFO] [stderr] Downloaded pyo3 v0.26.0 [INFO] [stderr] Downloaded windows-sys v0.61.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7ec19574ccede4e7b7296a3d13a59c59c99bbb3b2688a47c3662de87d47234a [INFO] running `Command { std: "docker" "start" "-a" "a7ec19574ccede4e7b7296a3d13a59c59c99bbb3b2688a47c3662de87d47234a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ec19574ccede4e7b7296a3d13a59c59c99bbb3b2688a47c3662de87d47234a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ec19574ccede4e7b7296a3d13a59c59c99bbb3b2688a47c3662de87d47234a", kill_on_drop: false }` [INFO] [stdout] a7ec19574ccede4e7b7296a3d13a59c59c99bbb3b2688a47c3662de87d47234a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53cfa67dc53011c99fc2b6b8ac7c5aa7d89ef4d32dae1b3b294b2c5b46232878 [INFO] running `Command { std: "docker" "start" "-a" "53cfa67dc53011c99fc2b6b8ac7c5aa7d89ef4d32dae1b3b294b2c5b46232878", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 derive_more v2.0.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling gel-jwt v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.67s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "53cfa67dc53011c99fc2b6b8ac7c5aa7d89ef4d32dae1b3b294b2c5b46232878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53cfa67dc53011c99fc2b6b8ac7c5aa7d89ef4d32dae1b3b294b2c5b46232878", kill_on_drop: false }` [INFO] [stdout] 53cfa67dc53011c99fc2b6b8ac7c5aa7d89ef4d32dae1b3b294b2c5b46232878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a790731d7a443885d2869328f2ce64e160683aee4241d96cfe771c184caf37e2 [INFO] running `Command { std: "docker" "start" "-a" "a790731d7a443885d2869328f2ce64e160683aee4241d96cfe771c184caf37e2", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling condtype v1.3.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling hex-literal v1.0.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [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] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling divan v0.1.21 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [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 jsonwebtoken v9.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [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 p256 v0.13.2 [INFO] [stderr] Compiling gel-jwt v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_GEN_RSA_KEY_BITS` in this scope [INFO] [stdout] --> src/bare_key.rs:1127:47 [INFO] [stdout] | [INFO] [stdout] 1127 | 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:1297: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] 1297 | 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] 535 | / pub fn from_jwt_rsa( [INFO] [stdout] 536 | | n: &str, [INFO] [stdout] 537 | | e: &str, [INFO] [stdout] 538 | | d: &str, [INFO] [stdout] ... | [INFO] [stdout] 543 | | qinv: &str, [INFO] [stdout] 544 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] ... [INFO] [stdout] 574 | 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:1304: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] 1304 | 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] 535 | / pub fn from_jwt_rsa( [INFO] [stdout] 536 | | n: &str, [INFO] [stdout] 537 | | e: &str, [INFO] [stdout] 538 | | d: &str, [INFO] [stdout] ... | [INFO] [stdout] 543 | | qinv: &str, [INFO] [stdout] 544 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] ... [INFO] [stdout] 574 | 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:1315: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] 1315 | 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] 535 | / pub fn from_jwt_rsa( [INFO] [stdout] 536 | | n: &str, [INFO] [stdout] 537 | | e: &str, [INFO] [stdout] 538 | | d: &str, [INFO] [stdout] ... | [INFO] [stdout] 543 | | qinv: &str, [INFO] [stdout] 544 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] ... [INFO] [stdout] 574 | 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] 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" "a790731d7a443885d2869328f2ce64e160683aee4241d96cfe771c184caf37e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a790731d7a443885d2869328f2ce64e160683aee4241d96cfe771c184caf37e2", kill_on_drop: false }` [INFO] [stdout] a790731d7a443885d2869328f2ce64e160683aee4241d96cfe771c184caf37e2