[INFO] fetching crate rusttls-jwt-authorizer 0.15.1... [INFO] building rusttls-jwt-authorizer-0.15.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate rusttls-jwt-authorizer 0.15.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rusttls-jwt-authorizer 0.15.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rusttls-jwt-authorizer 0.15.1 [INFO] tweaked toml for crates.io crate rusttls-jwt-authorizer 0.15.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusttls-jwt-authorizer 0.15.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rusttls-jwt-authorizer 0.15.1 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06a609383a967bb28e51c18a06be3e44e4a8c078d464fd51c07e573f08a72a85 [INFO] running `Command { std: "docker" "start" "-a" "06a609383a967bb28e51c18a06be3e44e4a8c078d464fd51c07e573f08a72a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06a609383a967bb28e51c18a06be3e44e4a8c078d464fd51c07e573f08a72a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a609383a967bb28e51c18a06be3e44e4a8c078d464fd51c07e573f08a72a85", kill_on_drop: false }` [INFO] [stdout] 06a609383a967bb28e51c18a06be3e44e4a8c078d464fd51c07e573f08a72a85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a52f3e42e846652fefa60466fda9d49a69d0ee8b42c5a74ad9173890bf59ea2 [INFO] running `Command { std: "docker" "start" "-a" "6a52f3e42e846652fefa60466fda9d49a69d0ee8b42c5a74ad9173890bf59ea2", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rusttls-jwt-authorizer v0.15.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.29s [INFO] running `Command { std: "docker" "inspect" "6a52f3e42e846652fefa60466fda9d49a69d0ee8b42c5a74ad9173890bf59ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a52f3e42e846652fefa60466fda9d49a69d0ee8b42c5a74ad9173890bf59ea2", kill_on_drop: false }` [INFO] [stdout] 6a52f3e42e846652fefa60466fda9d49a69d0ee8b42c5a74ad9173890bf59ea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0491fbce2524bc9b3f70ebd109ca8e797f115f50edec870f52cf9db870fb70f1 [INFO] running `Command { std: "docker" "start" "-a" "0491fbce2524bc9b3f70ebd109ca8e797f115f50edec870f52cf9db870fb70f1", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling wiremock v0.6.4 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rusttls-jwt-authorizer v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../../config/rsa-public1.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/authorizer.rs:438:38 [INFO] [stdout] | [INFO] [stdout] 438 | KeySourceType::RSAString(include_str!("../../config/rsa-public1.pem").to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../config/ecdsa-public1.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/authorizer.rs:451:37 [INFO] [stdout] | [INFO] [stdout] 451 | KeySourceType::ECString(include_str!("../../config/ecdsa-public1.pem").to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../config/ed25519-public1.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/authorizer.rs:464:37 [INFO] [stdout] | [INFO] [stdout] 464 | KeySourceType::EDString(include_str!("../../config/ed25519-public1.pem").to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../config/public1.jwks`: No such file or directory (os error 2) [INFO] [stdout] --> tests/tests.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | JwtAuthorizer::from_jwks_text(include_str!("../../config/public1.jwks")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jwt_authorizer` [INFO] [stdout] --> tests/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use jwt_authorizer::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_authorizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jwt_authorizer`, use `cargo add jwt_authorizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jwt_authorizer` [INFO] [stdout] --> tests/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use jwt_authorizer::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_authorizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jwt_authorizer`, use `cargo add jwt_authorizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:49:71 [INFO] [stdout] | [INFO] [stdout] 49 | proteced_request_with_header_and_layer(jwt_auth.build().await.unwrap().into_layer(), header_name, header_value).await [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:461:18 [INFO] [stdout] | [INFO] [stdout] 461 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:467:18 [INFO] [stdout] | [INFO] [stdout] 467 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:508:18 [INFO] [stdout] | [INFO] [stdout] 508 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jwt_authorizer` [INFO] [stdout] --> tests/integration_tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use jwt_authorizer::{IntoLayer, JwtAuthorizer, JwtClaims, Refresh, RefreshStrategy, Validation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_authorizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jwt_authorizer`, use `cargo add jwt_authorizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusttls-jwt-authorizer` (test "tests") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusttls-jwt-authorizer` (lib test) due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusttls-jwt-authorizer` (test "integration_tests") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0491fbce2524bc9b3f70ebd109ca8e797f115f50edec870f52cf9db870fb70f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0491fbce2524bc9b3f70ebd109ca8e797f115f50edec870f52cf9db870fb70f1", kill_on_drop: false }` [INFO] [stdout] 0491fbce2524bc9b3f70ebd109ca8e797f115f50edec870f52cf9db870fb70f1