[INFO] fetching crate rocket-sessions 0.0.1... [INFO] testing rocket-sessions-0.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rocket-sessions 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rocket-sessions 0.0.1 [INFO] finished tweaking crates.io crate rocket-sessions 0.0.1 [INFO] tweaked toml for crates.io crate rocket-sessions 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket-sessions 0.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding redis v0.21.7 (available: v0.32.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded redis v0.21.7 [INFO] [stderr] Downloaded chashmap v2.2.2 [INFO] [stderr] Downloaded parking_lot v0.4.8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0318ae32843873f4546b0e253cf7e74dc4678b85a50cd6a937f5e419356d7f64 [INFO] running `Command { std: "docker" "start" "-a" "0318ae32843873f4546b0e253cf7e74dc4678b85a50cd6a937f5e419356d7f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0318ae32843873f4546b0e253cf7e74dc4678b85a50cd6a937f5e419356d7f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0318ae32843873f4546b0e253cf7e74dc4678b85a50cd6a937f5e419356d7f64", kill_on_drop: false }` [INFO] [stdout] 0318ae32843873f4546b0e253cf7e74dc4678b85a50cd6a937f5e419356d7f64 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc0de6c68a7d0e2f09f1459862a2189576df0d68b6214bb9048bc13e95516ca5 [INFO] running `Command { std: "docker" "start" "-a" "dc0de6c68a7d0e2f09f1459862a2189576df0d68b6214bb9048bc13e95516ca5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rocket-sessions v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.89s [INFO] running `Command { std: "docker" "inspect" "dc0de6c68a7d0e2f09f1459862a2189576df0d68b6214bb9048bc13e95516ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0de6c68a7d0e2f09f1459862a2189576df0d68b6214bb9048bc13e95516ca5", kill_on_drop: false }` [INFO] [stdout] dc0de6c68a7d0e2f09f1459862a2189576df0d68b6214bb9048bc13e95516ca5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 036f8f82b696b386cde4dda323dbad520d19e4adcf20f570bea45c3c1a66b931 [INFO] running `Command { std: "docker" "start" "-a" "036f8f82b696b386cde4dda323dbad520d19e4adcf20f570bea45c3c1a66b931", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling rocket-sessions v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rocket_sessions::in_memory` [INFO] [stdout] --> tests/redis.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket_sessions::{in_memory::InMemory, SessionManager}; [INFO] [stdout] | ^^^^^^^^^ could not find `in_memory` in `rocket_sessions` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "in-memory")] [INFO] [stdout] | --------------------- the item is gated behind the `in-memory` feature [INFO] [stdout] 13 | pub mod in_memory; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `redis` [INFO] [stdout] --> tests/redis.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use redis::Client; [INFO] [stdout] | ^^^^^ function `redis` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | tokio::join!(set_and_get(client.clone()), expiration(client)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | tokio::join!(set_and_get(client.clone()), expiration(client)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | tokio::join!(set_and_get(in_mem.clone()), expiration(in_mem)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | tokio::join!(set_and_get(in_mem.clone()), expiration(in_mem)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `rocket-sessions` (test "redis") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "036f8f82b696b386cde4dda323dbad520d19e4adcf20f570bea45c3c1a66b931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036f8f82b696b386cde4dda323dbad520d19e4adcf20f570bea45c3c1a66b931", kill_on_drop: false }` [INFO] [stdout] 036f8f82b696b386cde4dda323dbad520d19e4adcf20f570bea45c3c1a66b931