[INFO] cloning repository https://github.com/fa-sharp/rocket-flex-session [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fa-sharp/rocket-flex-session" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa-sharp%2Frocket-flex-session", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa-sharp%2Frocket-flex-session'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e3cc813b14d1925dc8f23994358a9786a3bc501 [INFO] testing fa-sharp/rocket-flex-session against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa-sharp%2Frocket-flex-session" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fa-sharp/rocket-flex-session [INFO] finished tweaking git repo https://github.com/fa-sharp/rocket-flex-session [INFO] tweaked toml for git repo https://github.com/fa-sharp/rocket-flex-session written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fa-sharp/rocket-flex-session on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fa-sharp/rocket-flex-session 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded float-cmp v0.10.0 [INFO] [stderr] Downloaded okapi v0.7.0 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded cookie-factory v0.3.2 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded multer v3.1.0 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded inlinable_string v0.1.15 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded redis-protocol v6.0.0 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded rocket_okapi v0.9.0 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded fred-macros v0.1.0 [INFO] [stderr] Downloaded bytes-utils v0.1.4 [INFO] [stderr] Downloaded async-timer v0.7.4 [INFO] [stderr] Downloaded fred v10.1.0 [INFO] [stderr] Downloaded retainer v0.3.0 [INFO] [stderr] Downloaded atomic v0.5.3 [INFO] [stderr] Downloaded binascii v0.1.4 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded rocket_okapi_codegen v0.9.0 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f40b04a5b0d2c6942eb85b5a74e60b1befeebb34efdd1405354cfd9d14a84ef [INFO] running `Command { std: "docker" "start" "-a" "8f40b04a5b0d2c6942eb85b5a74e60b1befeebb34efdd1405354cfd9d14a84ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f40b04a5b0d2c6942eb85b5a74e60b1befeebb34efdd1405354cfd9d14a84ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f40b04a5b0d2c6942eb85b5a74e60b1befeebb34efdd1405354cfd9d14a84ef", kill_on_drop: false }` [INFO] [stdout] 8f40b04a5b0d2c6942eb85b5a74e60b1befeebb34efdd1405354cfd9d14a84ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53c2d6d5121cbf0152ba1bb4b8fe9f691d4889c6e177417fe0b4dd6a50583915 [INFO] running `Command { std: "docker" "start" "-a" "53c2d6d5121cbf0152ba1bb4b8fe9f691d4889c6e177417fe0b4dd6a50583915", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling async-timer v0.7.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling retainer v0.3.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling hyper v0.14.32 [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 tempfile v3.20.0 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [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 tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rocket_flex_session v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "53c2d6d5121cbf0152ba1bb4b8fe9f691d4889c6e177417fe0b4dd6a50583915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c2d6d5121cbf0152ba1bb4b8fe9f691d4889c6e177417fe0b4dd6a50583915", kill_on_drop: false }` [INFO] [stdout] 53c2d6d5121cbf0152ba1bb4b8fe9f691d4889c6e177417fe0b4dd6a50583915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0e0f4d3baa7d596bf531eaa49d3732a8d7f66f0489987e06717bacadf9cf30e [INFO] running `Command { std: "docker" "start" "-a" "c0e0f4d3baa7d596bf531eaa49d3732a8d7f66f0489987e06717bacadf9cf30e", kill_on_drop: false }` [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling rocket_flex_session v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fred` [INFO] [stdout] --> tests/storages.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fred::prelude::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.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | cookie::CookieStorage, [INFO] [stdout] | ^^^^^^ could not find `cookie` in `storage` [INFO] [stdout] 11 | redis::{RedisFredStorage, RedisType}, [INFO] [stdout] | ^^^^^ could not find `redis` in `storage` [INFO] [stdout] 12 | sqlx::SqlxPostgresStorage, [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:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "cookie")] [INFO] [stdout] | ------------------ the item is gated behind the `cookie` feature [INFO] [stdout] 7 | pub mod cookie; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "redis_fred")] [INFO] [stdout] | ---------------------- the item is gated behind the `redis_fred` feature [INFO] [stdout] 10 | pub mod redis; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/storage.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "sqlx_postgres")] [INFO] [stdout] | ------------------------- the item is gated behind the `sqlx_postgres` feature [INFO] [stdout] 13 | pub mod sqlx; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> tests/storages.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sqlx::{Connection, PgPool}; [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_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:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "cookie")] [INFO] [stdout] | ------------------ the item is gated behind the `cookie` feature [INFO] [stdout] 7 | pub mod cookie; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> tests/session_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` 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/storages.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | impl From for SessionData { [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/storages.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | fn from(value: fred::types::Value) -> Self { [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/storages.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | impl From for fred::types::Value { [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 `sqlx` [INFO] [stdout] --> tests/storages.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 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[E0432]: unresolved import `rocket_flex_session::storage::cookie` [INFO] [stdout] --> tests/basic.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | 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:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "cookie")] [INFO] [stdout] | ------------------ the item is gated behind the `cookie` feature [INFO] [stdout] 7 | 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/storages.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | 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/storages.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | 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] --> tests/storages.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | 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] 4 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 4 + use rocket::http::hyper::request::Builder; [INFO] [stdout] | [INFO] [stdout] 4 + use rocket::http::hyper::server::Builder; [INFO] [stdout] | [INFO] [stdout] 4 + 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] 120 - let pool = fred::prelude::Builder::default_centralized() [INFO] [stdout] 120 + let pool = Builder::default_centralized() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> tests/session_data.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `TryFrom` for type `SessionData` [INFO] [stdout] --> tests/storages.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl TryFrom for SessionData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `core`: [INFO] [stdout] - impl TryFrom for T [INFO] [stdout] where U: Into; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> tests/storages.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | 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/storages.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | 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.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | 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 `serde_json` [INFO] [stdout] --> tests/session_data.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let cookie_value = serde_json::to_string(&invalid_data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0119, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [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 "session_data") due to 3 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `rocket_flex_session` (test "storages") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "c0e0f4d3baa7d596bf531eaa49d3732a8d7f66f0489987e06717bacadf9cf30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e0f4d3baa7d596bf531eaa49d3732a8d7f66f0489987e06717bacadf9cf30e", kill_on_drop: false }` [INFO] [stdout] c0e0f4d3baa7d596bf531eaa49d3732a8d7f66f0489987e06717bacadf9cf30e