[INFO] fetching crate rocket_auth 0.4.0... [INFO] testing rocket_auth-0.4.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate rocket_auth 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rocket_auth 0.4.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rocket_auth 0.4.0 [INFO] finished tweaking crates.io crate rocket_auth 0.4.0 [INFO] tweaked toml for crates.io crate rocket_auth 0.4.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate rocket_auth 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6724ecda9fff11c187ef06e0c9dd4655f0b12f8b525d12e491c72603e4a42fc5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6724ecda9fff11c187ef06e0c9dd4655f0b12f8b525d12e491c72603e4a42fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6724ecda9fff11c187ef06e0c9dd4655f0b12f8b525d12e491c72603e4a42fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6724ecda9fff11c187ef06e0c9dd4655f0b12f8b525d12e491c72603e4a42fc5", kill_on_drop: false }` [INFO] [stdout] 6724ecda9fff11c187ef06e0c9dd4655f0b12f8b525d12e491c72603e4a42fc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 461f48b79dc740aad11ec93031bf2f4569d7a243b136f5f96ed4001d67771350 [INFO] running `Command { std: "docker" "start" "-a" "461f48b79dc740aad11ec93031bf2f4569d7a243b136f5f96ed4001d67771350", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling fehler v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_auth v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "461f48b79dc740aad11ec93031bf2f4569d7a243b136f5f96ed4001d67771350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461f48b79dc740aad11ec93031bf2f4569d7a243b136f5f96ed4001d67771350", kill_on_drop: false }` [INFO] [stdout] 461f48b79dc740aad11ec93031bf2f4569d7a243b136f5f96ed4001d67771350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17238ac7f02f2f8342d4bf27256e669016946efba8bc6ebd0b78a74db9c78f2d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17238ac7f02f2f8342d4bf27256e669016946efba8bc6ebd0b78a74db9c78f2d", kill_on_drop: false }` [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Compiling normpath v0.3.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling combine v4.6.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling redis v0.20.2 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling tera v1.12.1 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Compiling rocket_auth v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sqlx::postgres` [INFO] [stdout] --> examples/postgres.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{postgres::PgPool, *}; [INFO] [stdout] | ^^^^^^^^ could not find `postgres` in `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> examples/rusqlite.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rusqlite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlitePool` [INFO] [stdout] --> examples/sqlite.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | let conn = SqlitePool::connect("database.db").await?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SqlitePool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqlitePool` in this scope [INFO] [stdout] --> examples/sqlite.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | async fn show_all_users(conn: &State, user: Option) -> Result { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqlitePool` in this scope [INFO] [stdout] --> examples/sqlite.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | async fn show_all_users(conn: &State, user: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqliteConnection` [INFO] [stdout] --> examples/redis.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | let conn = SqliteConnection::connect("database.db").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SqliteConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqliteConnection` in this scope [INFO] [stdout] --> examples/redis.rs:51:59 [INFO] [stdout] | [INFO] [stdout] 51 | async fn show_all_users(conn: &State>>, user: Option) -> Result { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqliteConnection` in this scope [INFO] [stdout] --> examples/redis.rs:51:59 [INFO] [stdout] | [INFO] [stdout] 51 | async fn show_all_users(conn: &State>>, user: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlPool` [INFO] [stdout] --> examples/mysql.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | let conn = MySqlPool::connect("mysql://test_user:password@localhost/test").await?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MySqlPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MySqlPool` in this scope [INFO] [stdout] --> examples/mysql.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | async fn show_all_users(conn: &State, user: Option) -> Result { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MySqlPool` in this scope [INFO] [stdout] --> examples/mysql.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | async fn show_all_users(conn: &State, user: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `rocket_auth::Error` [INFO] [stdout] --> examples/sqlite.rs:53:85 [INFO] [stdout] | [INFO] [stdout] 53 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> rocket_auth::User: FromRow<'r, _>` is not satisfied [INFO] [stdout] --> examples/sqlite.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 53 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^^^^^^^^^ the trait `for<'r> FromRow<'r, _>` is not implemented for `rocket_auth::User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> rocket_auth::User: FromRow<'r, _>` is not satisfied [INFO] [stdout] --> examples/sqlite.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^^^^^^^^ the trait `for<'r> FromRow<'r, _>` is not implemented for `rocket_auth::User` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.5/src/query_as.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | O: for<'r> FromRow<'r, DB::Row>, [INFO] [stdout] | ---------------------------- required by this bound in `sqlx::query_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `rocket_auth::Error` [INFO] [stdout] --> examples/tokio_postgres.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | .await? [INFO] [stdout] | ^ the trait `From` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rocket_auth::User: From` is not satisfied [INFO] [stdout] --> examples/tokio_postgres.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | .map(TryInto::try_into) [INFO] [stdout] | ^^^ the trait `From` is not implemented for `rocket_auth::User` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `tokio_postgres::Row` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom` for `rocket_auth::User` [INFO] [stdout] = note: required because of the requirements on the impl of `TryInto` for `tokio_postgres::Row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rocket_auth::User: From` is not satisfied [INFO] [stdout] --> examples/tokio_postgres.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .map(TryInto::try_into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `rocket_auth::User` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `tokio_postgres::Row` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom` for `rocket_auth::User` [INFO] [stdout] = note: required because of the requirements on the impl of `TryInto` for `tokio_postgres::Row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_auth` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `rocket_auth::Error` [INFO] [stdout] --> examples/postgres.rs:52:85 [INFO] [stdout] | [INFO] [stdout] 52 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> rocket_auth::User: FromRow<'r, _>` is not satisfied [INFO] [stdout] --> examples/postgres.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^^^^^^^^^ the trait `for<'r> FromRow<'r, _>` is not implemented for `rocket_auth::User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> rocket_auth::User: FromRow<'r, _>` is not satisfied [INFO] [stdout] --> examples/postgres.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^^^^^^^^ the trait `for<'r> FromRow<'r, _>` is not implemented for `rocket_auth::User` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.5/src/query_as.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | O: for<'r> FromRow<'r, DB::Row>, [INFO] [stdout] | ---------------------------- required by this bound in `sqlx::query_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `rocket_auth::Error` [INFO] [stdout] --> examples/mysql.rs:52:85 [INFO] [stdout] | [INFO] [stdout] 52 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> rocket_auth::User: FromRow<'r, _>` is not satisfied [INFO] [stdout] --> examples/mysql.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^^^^^^^^^ the trait `for<'r> FromRow<'r, _>` is not implemented for `rocket_auth::User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> rocket_auth::User: FromRow<'r, _>` is not satisfied [INFO] [stdout] --> examples/mysql.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let users: Vec = query_as("select * from users;").fetch_all(&**conn).await?; [INFO] [stdout] | ^^^^^^^^ the trait `for<'r> FromRow<'r, _>` is not implemented for `rocket_auth::User` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.5/src/query_as.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | O: for<'r> FromRow<'r, DB::Row>, [INFO] [stdout] | ---------------------------- required by this bound in `sqlx::query_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `rocket_auth::Error` [INFO] [stdout] --> examples/redis.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | .await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> rocket_auth::User: FromRow<'r, _>` is not satisfied [INFO] [stdout] --> examples/redis.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | .fetch_all(&mut *conn.lock().await) [INFO] [stdout] | ^^^^^^^^^ the trait `for<'r> FromRow<'r, _>` is not implemented for `rocket_auth::User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio_postgres::Client: rocket_auth::db::DBConnection` is not satisfied [INFO] [stdout] --> examples/tokio_postgres.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | let users: Users = client.clone().into(); [INFO] [stdout] | ^^^^ the trait `rocket_auth::db::DBConnection` is not implemented for `tokio_postgres::Client` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `rocket_auth::db::DBConnection` for `Arc` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `rocket_auth::Users` [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> rocket_auth::User: FromRow<'r, _>` is not satisfied [INFO] [stdout] --> examples/redis.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let users: Vec = query_as("select * from users;") [INFO] [stdout] | ^^^^^^^^ the trait `for<'r> FromRow<'r, _>` is not implemented for `rocket_auth::User` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.5/src/query_as.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | O: for<'r> FromRow<'r, DB::Row>, [INFO] [stdout] | ---------------------------- required by this bound in `sqlx::query_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `rocket_auth::Error` [INFO] [stdout] --> examples/tokio_postgres.rs:70:78 [INFO] [stdout] | [INFO] [stdout] 70 | let (client, conn) = connect("host=localhost user=postgres", NoTls).await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), rocket_auth::Error>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open_rusqlite` found for struct `rocket_auth::Users` in the current scope [INFO] [stdout] --> examples/rusqlite.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | let users = Users::open_rusqlite("database.db")?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `rocket_auth::Users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> examples/rusqlite.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{convert::TryInto, result::Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `open_redis` found for struct `rocket_auth::Users` in the current scope [INFO] [stdout] --> examples/redis.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | users.open_redis("redis://127.0.0.1/")?; [INFO] [stdout] | ^^^^^^^^^^ method not found in `rocket_auth::Users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "17238ac7f02f2f8342d4bf27256e669016946efba8bc6ebd0b78a74db9c78f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17238ac7f02f2f8342d4bf27256e669016946efba8bc6ebd0b78a74db9c78f2d", kill_on_drop: false }` [INFO] [stdout] 17238ac7f02f2f8342d4bf27256e669016946efba8bc6ebd0b78a74db9c78f2d