[INFO] cloning repository https://github.com/gk7734/rocket-login [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gk7734/rocket-login" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgk7734%2Frocket-login", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgk7734%2Frocket-login'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb12e0dc4c94e434a5a6a2118c5b38d378869a23 [INFO] checking gk7734/rocket-login against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgk7734%2Frocket-login" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gk7734/rocket-login [INFO] finished tweaking git repo https://github.com/gk7734/rocket-login [INFO] tweaked toml for git repo https://github.com/gk7734/rocket-login written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gk7734/rocket-login on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gk7734/rocket-login 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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 658b7aac683fbe2eaa384f24007a60c86656ef9ff9b7fc65667e8e747f1ae343 [INFO] running `Command { std: "docker" "start" "-a" "658b7aac683fbe2eaa384f24007a60c86656ef9ff9b7fc65667e8e747f1ae343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "658b7aac683fbe2eaa384f24007a60c86656ef9ff9b7fc65667e8e747f1ae343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658b7aac683fbe2eaa384f24007a60c86656ef9ff9b7fc65667e8e747f1ae343", kill_on_drop: false }` [INFO] [stdout] 658b7aac683fbe2eaa384f24007a60c86656ef9ff9b7fc65667e8e747f1ae343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18526d724683fccf1b35e5b30367ba91f57380b7f9ef18329f36ddac8c316f2d [INFO] running `Command { std: "docker" "start" "-a" "18526d724683fccf1b35e5b30367ba91f57380b7f9ef18329f36ddac8c316f2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking diesel v2.2.4 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking learn-rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = users)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = users)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/routes/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::serde::json::Json` [INFO] [stdout] --> src/routes/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::serde::json::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::State` [INFO] [stdout] --> src/routes/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::State; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncodingKey`, `Header`, and `encode` [INFO] [stdout] --> src/routes/user.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use jsonwebtoken::{ encode, Header, EncodingKey }; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/routes/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::models::User` [INFO] [stdout] --> src/routes/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::db::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::r2d2::Pool>: Poolable` is not satisfied [INFO] [stdout] --> src/db.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DbConn(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::r2d2::Pool>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `rocket_sync_db_pools::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::r2d2::Pool>: Poolable` is not satisfied [INFO] [stdout] --> src/db.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DbConn(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::r2d2::Pool>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ConnectionPool` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConnectionPool { [INFO] [stdout] | ^^^^^^^^ required by this bound in `ConnectionPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `fairing` exists for struct `ConnectionPool>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `rocket_sync_db_pools::Connection>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/routes/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::serde::json::Json` [INFO] [stdout] --> src/routes/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::serde::json::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::State` [INFO] [stdout] --> src/routes/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::State; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncodingKey`, `Header`, and `encode` [INFO] [stdout] --> src/routes/user.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use jsonwebtoken::{ encode, Header, EncodingKey }; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/routes/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::models::User` [INFO] [stdout] --> src/routes/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::db::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `get_one` exists for struct `ConnectionPool>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> src/db/models.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::r2d2::Pool>: Poolable` is not satisfied [INFO] [stdout] --> src/db.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DbConn(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::r2d2::Pool>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `rocket_sync_db_pools::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `pool` exists for struct `ConnectionPool>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::r2d2::Pool>: Poolable` is not satisfied [INFO] [stdout] --> src/db.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DbConn(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::r2d2::Pool>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ConnectionPool` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConnectionPool { [INFO] [stdout] | ^^^^^^^^ required by this bound in `ConnectionPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `rocket_sync_db_pools::Connection>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: FromRequest<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection>>: FromRequest<'_>` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `abort` exists for struct `rocket_sync_db_pools::Connection>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: Sentinel` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection>>: Sentinel` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `DefaultSentinel` which provides `abort` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rocket::sentinel::resolution::DefaultSentinel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `fairing` exists for struct `ConnectionPool>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `rocket_sync_db_pools::Connection>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `get_one` exists for struct `ConnectionPool>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> src/db/models.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `pool` exists for struct `ConnectionPool>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learn-rocket` (bin "learn-rocket" test) due to 9 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `rocket_sync_db_pools::Connection>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: FromRequest<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection>>: FromRequest<'_>` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `abort` exists for struct `rocket_sync_db_pools::Connection>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/r2d2-0.8.10/src/lib.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Pool(Arc>) [INFO] [stdout] | ------------------ doesn't satisfy `_: Poolable` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: Sentinel` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::r2d2::Pool>: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection>>: Sentinel` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `DefaultSentinel` which provides `abort` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rocket::sentinel::resolution::DefaultSentinel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learn-rocket` (bin "learn-rocket") due to 9 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18526d724683fccf1b35e5b30367ba91f57380b7f9ef18329f36ddac8c316f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18526d724683fccf1b35e5b30367ba91f57380b7f9ef18329f36ddac8c316f2d", kill_on_drop: false }` [INFO] [stdout] 18526d724683fccf1b35e5b30367ba91f57380b7f9ef18329f36ddac8c316f2d