[INFO] fetching crate rocket_auth2 0.6.2... [INFO] checking rocket_auth2-0.6.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate rocket_auth2 0.6.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rocket_auth2 0.6.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rocket_auth2 0.6.2 [INFO] tweaked toml for crates.io crate rocket_auth2 0.6.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_auth2 0.6.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rocket_auth2 0.6.2 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.8.0 [INFO] [stderr] Downloaded unic-ucd-common v0.9.0 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded chashmap v2.2.2 [INFO] [stderr] Downloaded rocket_dyn_templates v0.2.0 [INFO] [stderr] Downloaded rust-argon2 v2.1.0 [INFO] [stderr] Downloaded tempfile v3.17.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.0 [INFO] [stderr] Downloaded sqlx-core v0.8.0 [INFO] [stderr] Downloaded bson v2.13.0 [INFO] [stderr] Downloaded sqlx v0.8.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.0 [INFO] [stderr] Downloaded rusqlite v0.31.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.0 [INFO] [stderr] Downloaded redis v0.29.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7350ae84416cba7e38445512e298288f89ffd42ce4dcfced9178436267fedb59 [INFO] running `Command { std: "docker" "start" "-a" "7350ae84416cba7e38445512e298288f89ffd42ce4dcfced9178436267fedb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7350ae84416cba7e38445512e298288f89ffd42ce4dcfced9178436267fedb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7350ae84416cba7e38445512e298288f89ffd42ce4dcfced9178436267fedb59", kill_on_drop: false }` [INFO] [stdout] 7350ae84416cba7e38445512e298288f89ffd42ce4dcfced9178436267fedb59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80e0c145a8348130cb6fbe2e6e559570c64db4c59b098d43ad345eaf791d27ef [INFO] running `Command { std: "docker" "start" "-a" "80e0c145a8348130cb6fbe2e6e559570c64db4c59b098d43ad345eaf791d27ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling zerocopy v0.8.18 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking winnow v0.7.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking rand_core v0.9.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking tempfile v3.17.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking unic-ucd-common v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking rust-argon2 v2.1.0 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking normpath v1.3.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking uuid v1.13.1 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking bson v2.13.0 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking sqlx-core v0.8.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking redis v0.29.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Checking sqlx v0.8.0 [INFO] [stderr] Checking rocket_dyn_templates v0.2.0 [INFO] [stderr] Checking rocket_auth2 v0.6.2 (/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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.0/src/lib.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub use sqlx_postgres::{self as postgres, PgConnection, PgExecutor, PgPool, Postgres}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `postgres` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.0/src/lib.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `rocket_auth2::Error` [INFO] [stdout] --> examples/tokio_postgres.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 56 | let users: Vec = client [INFO] [stdout] | ____________________________- [INFO] [stdout] 57 | | .query("select * from users;", &[]) [INFO] [stdout] 58 | | .await? [INFO] [stdout] | | -^ the trait `From` is not implemented for `rocket_auth2::Error` [INFO] [stdout] | |______________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, tokio_postgres::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 other types implement trait `From`: [INFO] [stdout] `rocket_auth2::Error` implements `From` [INFO] [stdout] `rocket_auth2::Error` implements `From` [INFO] [stdout] `rocket_auth2::Error` implements `From` [INFO] [stdout] `rocket_auth2::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rocket_auth2::User: From` is not satisfied [INFO] [stdout] --> examples/tokio_postgres.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | .map(TryInto::try_into) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `rocket_auth2::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `tokio_postgres::Row` to implement `Into` [INFO] [stdout] = note: required for `rocket_auth2::User` to implement `TryFrom` [INFO] [stdout] = note: required for `tokio_postgres::Row` to implement `TryInto` [INFO] [stdout] = note: required because it appears within the type `fn(Row) -> Result {<... as TryInto<...>>::try_into}` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::map` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/iter/traits/iterator.rs:772:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/tokio_postgres-d86dca8aaaf4e113.long-type-4669357634507998659.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] 52 | async fn show_all_users(conn: &State, user: Option) -> Result { [INFO] [stdout] | ++++++++++++ [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[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] 51 | async fn show_all_users(conn: &State, user: Option) -> Result { [INFO] [stdout] | +++++++++++ [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]: the trait bound `tokio_postgres::Client: rocket_auth2::db::DBConnection` is not satisfied [INFO] [stdout] --> examples/tokio_postgres.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | let users: Users = client.clone().into(); [INFO] [stdout] | ^^^^ the trait `rocket_auth2::db::DBConnection` is not implemented for `tokio_postgres::Client` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rocket_auth2::db::DBConnection`: [INFO] [stdout] Arc [INFO] [stdout] tokio::sync::Mutex [INFO] [stdout] = note: required for `Arc` to implement `rocket_auth2::db::DBConnection` [INFO] [stdout] = note: required for `rocket_auth2::Users` to implement `From>` [INFO] [stdout] = note: required for `Arc` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `rocket_auth2::Error` [INFO] [stdout] --> examples/tokio_postgres.rs:73:78 [INFO] [stdout] | [INFO] [stdout] 73 | let (client, conn) = connect("host=localhost user=postgres", NoTls).await?; [INFO] [stdout] | ----------------------------------------------------^ the trait `From` is not implemented for `rocket_auth2::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, tokio_postgres::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 other types implement trait `From`: [INFO] [stdout] `rocket_auth2::Error` implements `From` [INFO] [stdout] `rocket_auth2::Error` implements `From` [INFO] [stdout] `rocket_auth2::Error` implements `From` [INFO] [stdout] `rocket_auth2::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqliteConnection` in this scope [INFO] [stdout] --> examples/redis.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | conn: &State>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 51 | async fn show_all_users( [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqliteConnection` in this scope [INFO] [stdout] --> examples/redis.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | conn: &State>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_auth2` (example "tokio_postgres") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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[E0433]: failed to resolve: use of undeclared type `SqliteConnection` [INFO] [stdout] --> examples/redis.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | let conn = SqliteConnection::connect("database.db").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SqliteConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_auth2` (example "mysql") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_auth2` (example "sqlite") due to 3 previous errors [INFO] [stderr] error: could not compile `rocket_auth2` (example "postgres") due to 1 previous error [INFO] [stdout] error[E0599]: no method named `open_redis` found for struct `rocket_auth2::Users` in the current scope [INFO] [stdout] --> examples/redis.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | users.open_redis("redis://127.0.0.1/")?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_red` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yansi-1.0.1/src/paint.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | properties!(signature(&Self) -> Painted<&Self>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `signature` which comes from the expansion of the macro `properties` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_auth2` (example "redis") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "80e0c145a8348130cb6fbe2e6e559570c64db4c59b098d43ad345eaf791d27ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e0c145a8348130cb6fbe2e6e559570c64db4c59b098d43ad345eaf791d27ef", kill_on_drop: false }` [INFO] [stdout] 80e0c145a8348130cb6fbe2e6e559570c64db4c59b098d43ad345eaf791d27ef