[INFO] fetching crate rocket_auth 0.4.0... [INFO] testing rocket_auth-0.4.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rocket_auth 0.4.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate rocket_auth 0.4.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-12/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ubyte v0.10.1 [INFO] [stderr] Downloaded figment v0.10.6 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded devise_codegen v0.3.1 [INFO] [stderr] Downloaded devise v0.3.1 [INFO] [stderr] Downloaded pear v0.2.3 [INFO] [stderr] Downloaded sqlformat v0.1.6 [INFO] [stderr] Downloaded loom v0.5.1 [INFO] [stderr] Downloaded normpath v0.3.0 [INFO] [stderr] Downloaded whoami v1.1.2 [INFO] [stderr] Downloaded tera v1.12.1 [INFO] [stderr] Downloaded binascii v0.1.4 [INFO] [stderr] Downloaded multer v2.0.1 [INFO] [stderr] Downloaded futures-executor v0.3.16 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded inlinable_string v0.1.14 [INFO] [stderr] Downloaded rocket v0.5.0-rc.1 [INFO] [stderr] Downloaded rsa v0.4.1 [INFO] [stderr] Downloaded devise_core v0.3.1 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Downloaded chrono-tz v0.5.3 [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.1 [INFO] [stderr] Downloaded sqlx-macros v0.5.5 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded state v0.5.2 [INFO] [stderr] Downloaded bitflags v1.3.1 [INFO] [stderr] Downloaded tokio-postgres v0.7.2 [INFO] [stderr] Downloaded postgres-protocol v0.6.1 [INFO] [stderr] Downloaded sha2 v0.9.5 [INFO] [stderr] Downloaded postgres-types v0.2.1 [INFO] [stderr] Downloaded rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Downloaded simple_asn1 v0.5.4 [INFO] [stderr] Downloaded sqlx-rt v0.5.5 [INFO] [stderr] Downloaded sqlx v0.5.5 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded sqlx-core v0.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99ea006cc65cb2548bbd2c8be9a2488d99ff39b5d3f4a1b0687f2f9eff817603 [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" "99ea006cc65cb2548bbd2c8be9a2488d99ff39b5d3f4a1b0687f2f9eff817603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99ea006cc65cb2548bbd2c8be9a2488d99ff39b5d3f4a1b0687f2f9eff817603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ea006cc65cb2548bbd2c8be9a2488d99ff39b5d3f4a1b0687f2f9eff817603", kill_on_drop: false }` [INFO] [stdout] 99ea006cc65cb2548bbd2c8be9a2488d99ff39b5d3f4a1b0687f2f9eff817603 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58c4315e415167a3505289942514f01edc0a55feede39910e766067387ca1f76 [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" "58c4315e415167a3505289942514f01edc0a55feede39910e766067387ca1f76", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [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 instant v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling devise_core v0.3.1 [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 fehler-macros v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [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 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 4m 18s [INFO] running `Command { std: "docker" "inspect" "58c4315e415167a3505289942514f01edc0a55feede39910e766067387ca1f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c4315e415167a3505289942514f01edc0a55feede39910e766067387ca1f76", kill_on_drop: false }` [INFO] [stdout] 58c4315e415167a3505289942514f01edc0a55feede39910e766067387ca1f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa15f90dbf54c7b9d8e05d5e747b63873c33fcaa7ebb1edd130acef8e0787ec5 [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" "fa15f90dbf54c7b9d8e05d5e747b63873c33fcaa7ebb1edd130acef8e0787ec5", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling sha1 v0.6.0 [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 iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling atoi v0.4.0 [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 mio v0.6.23 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling redis v0.20.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling tera v1.12.1 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Compiling sqlx v0.5.5 [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[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] [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] note: required by a bound in `QueryAs::<'q, DB, O, A>::fetch_all` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.5/src/query_as.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | O: Send + Unpin + for<'r> FromRow<'r, DB::Row>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueryAs::<'q, DB, O, A>::fetch_all` [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] note: required by a bound in `sqlx::query_as` [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] [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] note: required by a bound in `std::iter::Iterator::map` [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 `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 `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[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: 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[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/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] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_auth` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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] [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] note: required by a bound in `QueryAs::<'q, DB, O, A>::fetch_all` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.5/src/query_as.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | O: Send + Unpin + for<'r> FromRow<'r, DB::Row>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueryAs::<'q, DB, O, A>::fetch_all` [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] note: required by a bound in `sqlx::query_as` [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/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] [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] note: required by a bound in `QueryAs::<'q, DB, O, A>::fetch_all` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.5/src/query_as.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | O: Send + Unpin + for<'r> FromRow<'r, DB::Row>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueryAs::<'q, DB, O, A>::fetch_all` [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] note: required by a bound in `sqlx::query_as` [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] [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] note: required by a bound in `QueryAs::<'q, DB, O, A>::fetch_all` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.5/src/query_as.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | O: Send + Unpin + for<'r> FromRow<'r, DB::Row>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueryAs::<'q, DB, O, A>::fetch_all` [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] note: required by a bound in `sqlx::query_as` [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[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 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 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: 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" "fa15f90dbf54c7b9d8e05d5e747b63873c33fcaa7ebb1edd130acef8e0787ec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa15f90dbf54c7b9d8e05d5e747b63873c33fcaa7ebb1edd130acef8e0787ec5", kill_on_drop: false }` [INFO] [stdout] fa15f90dbf54c7b9d8e05d5e747b63873c33fcaa7ebb1edd130acef8e0787ec5