[INFO] fetching crate axum-sessions 0.6.1... [INFO] testing axum-sessions-0.6.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate axum-sessions 0.6.1 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-sessions 0.6.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 151 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.4) [INFO] [stderr] Adding axum-extra v0.7.7 (available: v0.10.1) [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.7.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f3762215258247738c7e2788f6f508a1d1afe07797cad93e6ac40501f822e96 [INFO] running `Command { std: "docker" "start" "-a" "0f3762215258247738c7e2788f6f508a1d1afe07797cad93e6ac40501f822e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f3762215258247738c7e2788f6f508a1d1afe07797cad93e6ac40501f822e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3762215258247738c7e2788f6f508a1d1afe07797cad93e6ac40501f822e96", kill_on_drop: false }` [INFO] [stdout] 0f3762215258247738c7e2788f6f508a1d1afe07797cad93e6ac40501f822e96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b59b4c0ec3bd9e83f8bdeb9cb9d5b9c8c0231abe065cd8578bd601dba5e6d06 [INFO] running `Command { std: "docker" "start" "-a" "1b59b4c0ec3bd9e83f8bdeb9cb9d5b9c8c0231abe065cd8578bd601dba5e6d06", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling async-session v3.0.0 [INFO] [stderr] Compiling axum-extra v0.7.7 [INFO] [stderr] Compiling axum-sessions v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.18s [INFO] running `Command { std: "docker" "inspect" "1b59b4c0ec3bd9e83f8bdeb9cb9d5b9c8c0231abe065cd8578bd601dba5e6d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b59b4c0ec3bd9e83f8bdeb9cb9d5b9c8c0231abe065cd8578bd601dba5e6d06", kill_on_drop: false }` [INFO] [stdout] 1b59b4c0ec3bd9e83f8bdeb9cb9d5b9c8c0231abe065cd8578bd601dba5e6d06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e5074f0e4c42202c87569d266480c96d15c87df3d750c86862a9bfc6eef97ba [INFO] running `Command { std: "docker" "start" "-a" "3e5074f0e4c42202c87569d266480c96d15c87df3d750c86862a9bfc6eef97ba", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling async-session v3.0.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling axum-extra v0.7.7 [INFO] [stderr] Compiling 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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.75s [INFO] running `Command { std: "docker" "inspect" "3e5074f0e4c42202c87569d266480c96d15c87df3d750c86862a9bfc6eef97ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e5074f0e4c42202c87569d266480c96d15c87df3d750c86862a9bfc6eef97ba", kill_on_drop: false }` [INFO] [stdout] 3e5074f0e4c42202c87569d266480c96d15c87df3d750c86862a9bfc6eef97ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 599bb35c13241c8ac6f39ad0956da974454983c44fdff0d58145ad6336da4c64 [INFO] running `Command { std: "docker" "start" "-a" "599bb35c13241c8ac6f39ad0956da974454983c44fdff0d58145ad6336da4c64", kill_on_drop: false }` [INFO] [stderr] 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] [INFO] [stderr] --> src/session.rs:571:27 [INFO] [stdout] running 11 tests [INFO] [stderr] | [INFO] [stdout] test session::tests::invalid_session_sets_no_cookie_when_no_data_changes ... ok [INFO] [stderr] 571 | SessionLayer::new(store, &secret).with_persistence_policy(persistence_policy); [INFO] [stdout] test session::tests::invalid_session_always_sets_guest_cookie ... ok [INFO] [stderr] | ^^^ [INFO] [stdout] test session::tests::destroyed_sessions_sets_removal_cookie ... ok [INFO] [stderr] | [INFO] [stdout] test session::tests::sets_session_cookie ... ok [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] test session::tests::multiple_cookie_headers ... ok [INFO] [stderr] [INFO] [stdout] test session::tests::uses_valid_session ... ok [INFO] [stderr] 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] test session::tests::multiple_cookies_in_single_header ... ok [INFO] [stderr] --> src/session.rs:429:43 [INFO] [stdout] test session::tests::no_cookie_stored_when_no_session_is_required ... ok [INFO] [stderr] | [INFO] [stderr] 429 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stderr] --> src/session.rs:450:43 [INFO] [stderr] | [INFO] [stderr] 450 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stderr] --> src/session.rs:482:43 [INFO] [stderr] | [INFO] [stderr] 482 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stderr] --> src/session.rs:518:43 [INFO] [stderr] | [INFO] [stderr] 518 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stderr] --> src/session.rs:550:43 [INFO] [stderr] | [INFO] [stderr] 550 | let session_layer = SessionLayer::new(store, &secret) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stderr] --> src/session.rs:663:43 [INFO] [stderr] | [INFO] [stderr] 663 | let session_layer = SessionLayer::new(store, &secret); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `session::SessionLayer::::new`: Development of axum-sessions has moved to the tower-sessions crate. Please consider migrating. [INFO] [stderr] --> src/session.rs:700:23 [INFO] [stderr] | [INFO] [stderr] 700 | SessionLayer::new(store, b""); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `axum-sessions` (lib test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_sessions-85e5577a284efce6) [INFO] [stdout] test session::tests::invalid_session_sets_new_session_cookie_when_data_changes ... ok [INFO] [stdout] test session::tests::invalid_session_changedonly_sets_cookie_when_changed ... ok [INFO] [stdout] test session::tests::too_short_secret - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests axum_sessions [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/session.rs - session::SessionLayer::new (line 88) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "599bb35c13241c8ac6f39ad0956da974454983c44fdff0d58145ad6336da4c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599bb35c13241c8ac6f39ad0956da974454983c44fdff0d58145ad6336da4c64", kill_on_drop: false }` [INFO] [stdout] 599bb35c13241c8ac6f39ad0956da974454983c44fdff0d58145ad6336da4c64