[INFO] fetching crate rocket_flex_session 0.2.0... [INFO] testing rocket_flex_session-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rocket_flex_session 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rocket_flex_session 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rocket_flex_session 0.2.0 [INFO] tweaked toml for crates.io crate rocket_flex_session 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_flex_session 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rocket_flex_session 0.2.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e15213dc994e465b1d66d657de9043886c7de69f4583569a7de404709f8a708f [INFO] running `Command { std: "docker" "start" "-a" "e15213dc994e465b1d66d657de9043886c7de69f4583569a7de404709f8a708f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e15213dc994e465b1d66d657de9043886c7de69f4583569a7de404709f8a708f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e15213dc994e465b1d66d657de9043886c7de69f4583569a7de404709f8a708f", kill_on_drop: false }` [INFO] [stdout] e15213dc994e465b1d66d657de9043886c7de69f4583569a7de404709f8a708f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d576316da36a223a86af3391974da79024c815d0959b85126e14d3e9d5a1d2da [INFO] running `Command { std: "docker" "start" "-a" "d576316da36a223a86af3391974da79024c815d0959b85126e14d3e9d5a1d2da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling retainer v0.4.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling bon-macros v3.7.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling bon v3.7.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rocket_flex_session v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "d576316da36a223a86af3391974da79024c815d0959b85126e14d3e9d5a1d2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d576316da36a223a86af3391974da79024c815d0959b85126e14d3e9d5a1d2da", kill_on_drop: false }` [INFO] [stdout] d576316da36a223a86af3391974da79024c815d0959b85126e14d3e9d5a1d2da [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f12ea2f0dc466ffccf261b8e1572ff9f04a043b710e301a5525bd1ed2ea0e668 [INFO] running `Command { std: "docker" "start" "-a" "f12ea2f0dc466ffccf261b8e1572ff9f04a043b710e301a5525bd1ed2ea0e668", kill_on_drop: false }` [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling rocket_flex_session v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rocket_flex_session::storage::cookie` [INFO] [stdout] --> tests/session_data.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket_flex_session::{storage::cookie::CookieStorage, RocketFlexSession, Session}; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(any(feature = "cookie"))] [INFO] [stdout] | -------------------- the item is gated here [INFO] [stdout] 28 | pub mod cookie; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/common/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fred::prelude::{ClientLike, KeysInterface, ReconnectPolicy}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rocket_flex_session::storage::redis`, `rocket_flex_session::storage::sqlx` [INFO] [stdout] --> tests/storages_indexed.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | redis::{RedisFormat, RedisFredStorage, RedisValue, SessionRedis}, [INFO] [stdout] | ^^^^^ could not find `redis` in `storage` [INFO] [stdout] 11 | sqlx::{SessionSqlx, SqlxPostgresStorage, SqlxSqliteStorage}, [INFO] [stdout] | ^^^^ could not find `sqlx` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(any(feature = "redis_fred"))] [INFO] [stdout] | ------------------------ the item is gated here [INFO] [stdout] 31 | pub mod redis; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(any(feature = "sqlx_postgres", feature = "sqlx_sqlite"))] [INFO] [stdout] | ---------------------------------------------------- the item is gated here [INFO] [stdout] 34 | pub mod sqlx; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Connection, PgPool, SqlitePool}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> tests/session_data.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | "expires": time::OffsetDateTime::now_utc() + Duration::hours(1), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket_flex_session::storage::cookie` [INFO] [stdout] --> tests/basic.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | storage::cookie::CookieStorage, RocketFlexSession, Session, SessionHashMap, [INFO] [stdout] | ^^^^^^ could not find `cookie` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(any(feature = "cookie"))] [INFO] [stdout] | -------------------- the item is gated here [INFO] [stdout] 28 | pub mod cookie; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cxn = sqlx::PgConnection::connect(base_url).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> tests/expiration.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | time::OffsetDateTime::now_utc() + time::Duration::seconds(100), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> tests/expiration.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(expired_cookie.max_age(), Some(time::Duration::seconds(1))); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 54 - assert_eq!(expired_cookie.max_age(), Some(time::Duration::seconds(1))); [INFO] [stdout] 54 + assert_eq!(expired_cookie.max_age(), Some(Duration::seconds(1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> tests/expiration.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | expired_cookie.set_max_age(time::Duration::seconds(100)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 55 - expired_cookie.set_max_age(time::Duration::seconds(100)); [INFO] [stdout] 55 + expired_cookie.set_max_age(Duration::seconds(100)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> tests/expiration.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | time::OffsetDateTime::now_utc() + time::Duration::seconds(100), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - time::OffsetDateTime::now_utc() + time::Duration::seconds(100), [INFO] [stdout] 57 + time::OffsetDateTime::now_utc() + Duration::seconds(100), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/common/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fred::prelude::{ClientLike, KeysInterface, ReconnectPolicy}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rocket_flex_session::storage::cookie`, `rocket_flex_session::storage::redis`, `rocket_flex_session::storage::sqlx` [INFO] [stdout] --> tests/storages_basic.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | cookie::CookieStorage, [INFO] [stdout] | ^^^^^^ could not find `cookie` in `storage` [INFO] [stdout] 16 | redis::{RedisFormat, RedisFredStorage, RedisValue, SessionRedis}, [INFO] [stdout] | ^^^^^ could not find `redis` in `storage` [INFO] [stdout] 17 | sqlx::{SessionSqlx, SqlxPostgresStorage, SqlxSqliteStorage}, [INFO] [stdout] | ^^^^ could not find `sqlx` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(any(feature = "cookie"))] [INFO] [stdout] | -------------------- the item is gated here [INFO] [stdout] 28 | pub mod cookie; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(any(feature = "redis_fred"))] [INFO] [stdout] | ------------------------ the item is gated here [INFO] [stdout] 31 | pub mod redis; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(any(feature = "sqlx_postgres", feature = "sqlx_sqlite"))] [INFO] [stdout] | ---------------------------------------------------- the item is gated here [INFO] [stdout] 34 | pub mod sqlx; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Connection, PgPool, SqlitePool}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let pool = sqlx::PgPool::connect(&db_url).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cxn = sqlx::PgConnection::connect(base_url).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let mut cxn = sqlx::PgConnection::connect(POSTGRES_URL).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let pool = sqlx::PgPool::connect(&db_url).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket::serde::json` [INFO] [stdout] --> examples/redis.rs:3:79 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::{fairing::AdHoc, futures::FutureExt, http::Status, routes, serde::json::Json}; [INFO] [stdout] | ^^^^ could not find `json` in `serde` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/serde/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "json")] [INFO] [stdout] | ---------------- the item is gated behind the `json` feature [INFO] [stdout] 46 | #[cfg_attr(nightly, doc(cfg(feature = "json")))] [INFO] [stdout] 47 | pub mod json; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> examples/redis.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | use fred::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let mut cxn = sqlx::PgConnection::connect(POSTGRES_URL).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> examples/redis.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | use fred::prelude::{ClientLike, Pool}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket_flex_session::storage::redis` [INFO] [stdout] --> examples/redis.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | storage::redis::{RedisFormat, RedisFredStorage, RedisValue, SessionRedis}, [INFO] [stdout] | ^^^^^ could not find `redis` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(any(feature = "redis_fred"))] [INFO] [stdout] | ------------------------ the item is gated here [INFO] [stdout] 31 | pub mod redis; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let pool = sqlx::SqlitePool::connect("sqlite::memory:") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let pool = sqlx::SqlitePool::connect("sqlite::memory:") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/common/mod.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn setup_redis_fred() -> (fred::prelude::Pool, String) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/common/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn teardown_redis_fred(pool: fred::prelude::Pool, prefix: String) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/common/mod.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn setup_redis_fred() -> (fred::prelude::Pool, String) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/common/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn teardown_redis_fred(pool: fred::prelude::Pool, prefix: String) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/common/mod.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | let pool = fred::prelude::Builder::default_centralized() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::http::hyper::request::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::http::hyper::server::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::http::hyper::uri::Builder; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - let pool = fred::prelude::Builder::default_centralized() [INFO] [stdout] 73 + let pool = Builder::default_centralized() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> examples/redis.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let config = Config::from_url("redis://my-redis-server").expect("should parse Redis URL"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rocket::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> examples/redis.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let pool = Builder::from_config(config) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Builder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use rocket::http::hyper::request::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use rocket::http::hyper::server::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use rocket::http::hyper::uri::Builder; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/common/mod.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | let pool = fred::prelude::Builder::default_centralized() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fred`, use `cargo add fred` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::http::hyper::request::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::http::hyper::server::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::http::hyper::uri::Builder; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - let pool = fred::prelude::Builder::default_centralized() [INFO] [stdout] 73 + let pool = Builder::default_centralized() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_flex_session` (test "session_data") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rocket_flex_session` (test "expiration") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sqlx::query(&format!("CREATE DATABASE {}", db_name)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | sqlx::query( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn teardown_postgres(pool: sqlx::Pool, db_name: String) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn teardown_postgres(pool: sqlx::Pool, db_name: String) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | sqlx::query(&format!("DROP DATABASE {} WITH (FORCE)", db_name)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | sqlx::query( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/storages_indexed.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | impl SessionSqlx for TestSession { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/storages_indexed.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | impl SessionSqlx for TestSession { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sqlx::query(&format!("CREATE DATABASE {}", db_name)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | sqlx::query( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn teardown_postgres(pool: sqlx::Pool, db_name: String) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn teardown_postgres(pool: sqlx::Pool, db_name: String) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | sqlx::query(&format!("DROP DATABASE {} WITH (FORCE)", db_name)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/common/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | sqlx::query( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/storages_basic.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | impl SessionSqlx for SessionData { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/storages_basic.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl SessionSqlx for SessionData { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_flex_session` (test "storages_indexed") due to 18 previous errors [INFO] [stderr] error: could not compile `rocket_flex_session` (test "storages_basic") due to 18 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_flex_session` (example "redis") due to 6 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_flex_session` (test "basic") due to 1 previous error [INFO] [stdout] warning: struct `AdminSession` is never constructed [INFO] [stdout] --> tests/session_indexed.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct AdminSession { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f12ea2f0dc466ffccf261b8e1572ff9f04a043b710e301a5525bd1ed2ea0e668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12ea2f0dc466ffccf261b8e1572ff9f04a043b710e301a5525bd1ed2ea0e668", kill_on_drop: false }` [INFO] [stdout] f12ea2f0dc466ffccf261b8e1572ff9f04a043b710e301a5525bd1ed2ea0e668