[INFO] fetching crate jsonwebtoken 10.2.0... [INFO] testing jsonwebtoken-10.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate jsonwebtoken 10.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate jsonwebtoken 10.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jsonwebtoken 10.2.0 [INFO] tweaked toml for crates.io crate jsonwebtoken 10.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonwebtoken 10.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonwebtoken 10.2.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df9288003ea529519658b137f06cc99771acf6db62eacdf86195c9d4e5a42171 [INFO] running `Command { std: "docker" "start" "-a" "df9288003ea529519658b137f06cc99771acf6db62eacdf86195c9d4e5a42171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df9288003ea529519658b137f06cc99771acf6db62eacdf86195c9d4e5a42171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df9288003ea529519658b137f06cc99771acf6db62eacdf86195c9d4e5a42171", kill_on_drop: false }` [INFO] [stdout] df9288003ea529519658b137f06cc99771acf6db62eacdf86195c9d4e5a42171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2e27806dc2df957418c90341839ae417c3e4142d58f834d343c2442a8561439 [INFO] running `Command { std: "docker" "start" "-a" "f2e27806dc2df957418c90341839ae417c3e4142d58f834d343c2442a8561439", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling jsonwebtoken v10.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: at least one of the features "rust_crypto" or "aws_lc_rs" must be enabled [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | compile_error!("at least one of the features \"rust_crypto\" or \"aws_lc_rs\" must be enabled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs256Verifier` [INFO] [stdout] --> src/decoding.rs:324:38 [INFO] [stdout] | [INFO] [stdout] 324 | Algorithm::HS256 => Box::new(Hs256Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Hs256Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs384Verifier` [INFO] [stdout] --> src/decoding.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | Algorithm::HS384 => Box::new(Hs384Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Hs384Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs512Verifier` [INFO] [stdout] --> src/decoding.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | Algorithm::HS512 => Box::new(Hs512Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Hs512Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Es256Verifier` [INFO] [stdout] --> src/decoding.rs:327:38 [INFO] [stdout] | [INFO] [stdout] 327 | Algorithm::ES256 => Box::new(Es256Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Es256Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Es384Verifier` [INFO] [stdout] --> src/decoding.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | Algorithm::ES384 => Box::new(Es384Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Es384Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa256Verifier` [INFO] [stdout] --> src/decoding.rs:329:38 [INFO] [stdout] | [INFO] [stdout] 329 | Algorithm::RS256 => Box::new(Rsa256Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Rsa256Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa384Verifier` [INFO] [stdout] --> src/decoding.rs:330:38 [INFO] [stdout] | [INFO] [stdout] 330 | Algorithm::RS384 => Box::new(Rsa384Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Rsa384Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa512Verifier` [INFO] [stdout] --> src/decoding.rs:331:38 [INFO] [stdout] | [INFO] [stdout] 331 | Algorithm::RS512 => Box::new(Rsa512Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Rsa512Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss256Verifier` [INFO] [stdout] --> src/decoding.rs:332:38 [INFO] [stdout] | [INFO] [stdout] 332 | Algorithm::PS256 => Box::new(RsaPss256Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RsaPss256Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss384Verifier` [INFO] [stdout] --> src/decoding.rs:333:38 [INFO] [stdout] | [INFO] [stdout] 333 | Algorithm::PS384 => Box::new(RsaPss384Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RsaPss384Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss512Verifier` [INFO] [stdout] --> src/decoding.rs:334:38 [INFO] [stdout] | [INFO] [stdout] 334 | Algorithm::PS512 => Box::new(RsaPss512Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RsaPss512Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdDSAVerifier` [INFO] [stdout] --> src/decoding.rs:335:38 [INFO] [stdout] | [INFO] [stdout] 335 | Algorithm::EdDSA => Box::new(EdDSAVerifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdDSAVerifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs256Signer` [INFO] [stdout] --> src/encoding.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | Algorithm::HS256 => Box::new(Hs256Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Hs256Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs384Signer` [INFO] [stdout] --> src/encoding.rs:201:38 [INFO] [stdout] | [INFO] [stdout] 201 | Algorithm::HS384 => Box::new(Hs384Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Hs384Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs512Signer` [INFO] [stdout] --> src/encoding.rs:202:38 [INFO] [stdout] | [INFO] [stdout] 202 | Algorithm::HS512 => Box::new(Hs512Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Hs512Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Es256Signer` [INFO] [stdout] --> src/encoding.rs:203:38 [INFO] [stdout] | [INFO] [stdout] 203 | Algorithm::ES256 => Box::new(Es256Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Es256Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Es384Signer` [INFO] [stdout] --> src/encoding.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 204 | Algorithm::ES384 => Box::new(Es384Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Es384Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa256Signer` [INFO] [stdout] --> src/encoding.rs:205:38 [INFO] [stdout] | [INFO] [stdout] 205 | Algorithm::RS256 => Box::new(Rsa256Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Rsa256Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa384Signer` [INFO] [stdout] --> src/encoding.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | Algorithm::RS384 => Box::new(Rsa384Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Rsa384Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa512Signer` [INFO] [stdout] --> src/encoding.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | Algorithm::RS512 => Box::new(Rsa512Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Rsa512Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss256Signer` [INFO] [stdout] --> src/encoding.rs:208:38 [INFO] [stdout] | [INFO] [stdout] 208 | Algorithm::PS256 => Box::new(RsaPss256Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RsaPss256Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss384Signer` [INFO] [stdout] --> src/encoding.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | Algorithm::PS384 => Box::new(RsaPss384Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RsaPss384Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss512Signer` [INFO] [stdout] --> src/encoding.rs:210:38 [INFO] [stdout] | [INFO] [stdout] 210 | Algorithm::PS512 => Box::new(RsaPss512Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RsaPss512Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdDSASigner` [INFO] [stdout] --> src/encoding.rs:211:38 [INFO] [stdout] | [INFO] [stdout] 211 | Algorithm::EdDSA => Box::new(EdDSASigner::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EdDSASigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_rsa_public_key_components` in this scope [INFO] [stdout] --> src/jwk.rs:574:34 [INFO] [stdout] | [INFO] [stdout] 574 | let (n, e) = extract_rsa_public_key_components(&key.content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_ec_public_key_coordinates` in this scope [INFO] [stdout] --> src/jwk.rs:582:41 [INFO] [stdout] | [INFO] [stdout] 582 | let (curve, x, y) = extract_ec_public_key_coordinates(&key.content, alg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_digest` in this scope [INFO] [stdout] --> src/jwk.rs:643:20 [INFO] [stdout] | [INFO] [stdout] 643 | b64_encode(compute_digest(pre.as_bytes(), hash_function)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonwebtoken` (lib) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "f2e27806dc2df957418c90341839ae417c3e4142d58f834d343c2442a8561439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e27806dc2df957418c90341839ae417c3e4142d58f834d343c2442a8561439", kill_on_drop: false }` [INFO] [stdout] f2e27806dc2df957418c90341839ae417c3e4142d58f834d343c2442a8561439