[INFO] fetching crate axum-sessions 0.6.1... [INFO] checking axum-sessions-0.6.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate axum-sessions 0.6.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate axum-sessions 0.6.1 [INFO] finished tweaking crates.io crate axum-sessions 0.6.1 [INFO] tweaked toml for crates.io crate axum-sessions 0.6.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-sessions 0.6.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 152 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.6) [INFO] [stderr] Adding axum-extra v0.7.7 (available: v0.12.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.8.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 343b816197137c7b8028b110a893b206f867f5c7a5933542d2b909e180c416af [INFO] running `Command { std: "docker" "start" "-a" "343b816197137c7b8028b110a893b206f867f5c7a5933542d2b909e180c416af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "343b816197137c7b8028b110a893b206f867f5c7a5933542d2b909e180c416af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343b816197137c7b8028b110a893b206f867f5c7a5933542d2b909e180c416af", kill_on_drop: false }` [INFO] [stdout] 343b816197137c7b8028b110a893b206f867f5c7a5933542d2b909e180c416af [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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 529562e125bcbe7227a6234d55303418908162ab45fa6b4bae559444fd6f4ace [INFO] running `Command { std: "docker" "start" "-a" "529562e125bcbe7227a6234d55303418908162ab45fa6b4bae559444fd6f4ace", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking async-session v3.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking axum-extra v0.7.7 [INFO] [stderr] Checking axum-sessions v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stdout] --> src/session.rs:571:27 [INFO] [stdout] | [INFO] [stdout] 571 | SessionLayer::new(store, &secret).with_persistence_policy(persistence_policy); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:32:96 [INFO] [stdout] | [INFO] [stdout] 32 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 33 | | let Extension(session_handle): Extension = [INFO] [stdout] 34 | | Extension::from_request_parts(parts, state) [INFO] [stdout] 35 | | .await [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(Self { session }) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(Self { session }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:71:96 [INFO] [stdout] | [INFO] [stdout] 71 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 72 | | let Extension(session_handle): Extension = [INFO] [stdout] 73 | | Extension::from_request_parts(parts, state) [INFO] [stdout] 74 | | .await [INFO] [stdout] ... | [INFO] [stdout] 78 | | Ok(Self { session }) [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Self { session }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-sessions` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stdout] --> src/session.rs:429:43 [INFO] [stdout] | [INFO] [stdout] 429 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stdout] --> src/session.rs:450:43 [INFO] [stdout] | [INFO] [stdout] 450 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stdout] --> src/session.rs:482:43 [INFO] [stdout] | [INFO] [stdout] 482 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stdout] --> src/session.rs:518:43 [INFO] [stdout] | [INFO] [stdout] 518 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stdout] --> src/session.rs:550:43 [INFO] [stdout] | [INFO] [stdout] 550 | let session_layer = SessionLayer::new(store, &secret) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stdout] --> src/session.rs:663:43 [INFO] [stdout] | [INFO] [stdout] 663 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stdout] --> src/session.rs:700:23 [INFO] [stdout] | [INFO] [stdout] 700 | SessionLayer::new(store, b""); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:32:96 [INFO] [stdout] | [INFO] [stdout] 32 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 33 | | let Extension(session_handle): Extension = [INFO] [stdout] 34 | | Extension::from_request_parts(parts, state) [INFO] [stdout] 35 | | .await [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(Self { session }) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(Self { session }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:71:96 [INFO] [stdout] | [INFO] [stdout] 71 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 72 | | let Extension(session_handle): Extension = [INFO] [stdout] 73 | | Extension::from_request_parts(parts, state) [INFO] [stdout] 74 | | .await [INFO] [stdout] ... | [INFO] [stdout] 78 | | Ok(Self { session }) [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extractors.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Self { session }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-sessions` (lib test) due to 8 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "529562e125bcbe7227a6234d55303418908162ab45fa6b4bae559444fd6f4ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529562e125bcbe7227a6234d55303418908162ab45fa6b4bae559444fd6f4ace", kill_on_drop: false }` [INFO] [stdout] 529562e125bcbe7227a6234d55303418908162ab45fa6b4bae559444fd6f4ace