[INFO] fetching crate hyper-auth-proxy 0.1.2... [INFO] checking hyper-auth-proxy-0.1.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate hyper-auth-proxy 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate hyper-auth-proxy 0.1.2 [INFO] finished tweaking crates.io crate hyper-auth-proxy 0.1.2 [INFO] tweaked toml for crates.io crate hyper-auth-proxy 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-auth-proxy 0.1.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 214 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.20.0 (available: v0.22.1) [INFO] [stderr] Adding cookie v0.16.2 (available: v0.18.1) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding redis v0.21.7 (available: v0.32.5) [INFO] [stderr] Adding serial_test v0.6.0 (available: v3.2.0) [INFO] [stderr] Adding test-context v0.1.6 (available: v0.4.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.6.0 [INFO] [stderr] Downloaded tokiotest-httpserver v0.2.1 [INFO] [stderr] Downloaded serial_test_derive v0.6.0 [INFO] [stderr] Downloaded hyper-reverse-proxy v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a52967e43785d0ae88563ab48c94f02df50a8dd3eaa5186367be447cc55cc2cc [INFO] running `Command { std: "docker" "start" "-a" "a52967e43785d0ae88563ab48c94f02df50a8dd3eaa5186367be447cc55cc2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a52967e43785d0ae88563ab48c94f02df50a8dd3eaa5186367be447cc55cc2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52967e43785d0ae88563ab48c94f02df50a8dd3eaa5186367be447cc55cc2cc", kill_on_drop: false }` [INFO] [stdout] a52967e43785d0ae88563ab48c94f02df50a8dd3eaa5186367be447cc55cc2cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e91695006dd782e3ef0c4f4cd6b499e6335024d2edafbeaff69e921ff5d55b7 [INFO] running `Command { std: "docker" "start" "-a" "6e91695006dd782e3ef0c4f4cd6b499e6335024d2edafbeaff69e921ff5d55b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling test-context-macros v0.1.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking test-context v0.1.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking serial_test v0.6.0 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking redis v0.21.7 [INFO] [stderr] Checking hyper-reverse-proxy v0.5.1 [INFO] [stderr] Checking tokiotest-httpserver v0.2.1 [INFO] [stderr] Checking hyper-auth-proxy v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_session.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn set(&self, sid: &str, session: Session) -> Result<(), StoreError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_session.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | connection.set(sid, session_str).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 53 | connection.set::<_, _, ()>(sid, session_str).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_session.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn set(&self, sid: &str, session: Session) -> Result<(), StoreError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_session.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | connection.set(sid, session_str).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 53 | connection.set::<_, _, ()>(sid, session_str).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cookies.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_auth_cookie(req: &Request) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_auth_cookie(req: &Request) -> Result, AuthProxyError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cookies.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_auth_cookie(req: &Request) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_auth_cookie(req: &Request) -> Result, AuthProxyError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | async fn test_get_without_cookie_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | async fn test_get_without_auth_cookie_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:55:67 [INFO] [stdout] | [INFO] [stdout] 55 | async fn test_get_with_auth_cookie_not_base64_encoded_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | async fn test_get_with_auth_cookie_not_jwt_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | async fn test_get_with_auth_cookie_with_malformed_jwt_token_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:102:84 [INFO] [stdout] | [INFO] [stdout] 102 | async fn test_get_with_auth_cookie_with_jwt_token_with_wrong_signature_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:117:85 [INFO] [stdout] | [INFO] [stdout] 117 | async fn test_get_with_auth_cookie_with_jwt_token_without_redis_session_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: hyper-auth-proxy v0.1.2 (/opt/rustwide/workdir), redis v0.21.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6e91695006dd782e3ef0c4f4cd6b499e6335024d2edafbeaff69e921ff5d55b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e91695006dd782e3ef0c4f4cd6b499e6335024d2edafbeaff69e921ff5d55b7", kill_on_drop: false }` [INFO] [stdout] 6e91695006dd782e3ef0c4f4cd6b499e6335024d2edafbeaff69e921ff5d55b7