[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/cb12e0dc4c94e434a5a6a2118c5b38d378869a23 against master#021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgk7734%2Frocket-login" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gk7734/rocket-login on toolchain 021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "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" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is-terminal v0.4.13 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.88 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0 [INFO] [stderr] Downloaded dsl_auto_type v0.1.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.64 [INFO] [stderr] Downloaded tokio-stream v0.1.16 [INFO] [stderr] Downloaded pq-sys v0.6.3 [INFO] [stderr] Downloaded thiserror v1.0.64 [INFO] [stderr] Downloaded diesel_derives v2.2.3 [INFO] [stderr] Downloaded jsonwebtoken v9.3.0 [INFO] [stderr] Downloaded hyper v0.14.31 [INFO] [stderr] Downloaded syn v2.0.82 [INFO] [stderr] Downloaded diesel v2.2.4 [INFO] [stderr] Downloaded rustix v0.38.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bc249d667850c04814a72a2a7b533a7d62258de997f8a3245148296e23160d5 [INFO] running `Command { std: "docker" "start" "-a" "5bc249d667850c04814a72a2a7b533a7d62258de997f8a3245148296e23160d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bc249d667850c04814a72a2a7b533a7d62258de997f8a3245148296e23160d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc249d667850c04814a72a2a7b533a7d62258de997f8a3245148296e23160d5", kill_on_drop: false }` [INFO] [stdout] 5bc249d667850c04814a72a2a7b533a7d62258de997f8a3245148296e23160d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e08d05bde65170198377a65c7c68e3d655154ac5797a5db9c2cc844d3f9805 [INFO] running `Command { std: "docker" "start" "-a" "d2e08d05bde65170198377a65c7c68e3d655154ac5797a5db9c2cc844d3f9805", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling hyper v0.14.31 [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] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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 tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking diesel v2.2.4 [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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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 `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 `rocket_sync_db_pools::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[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::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: the full name for the type has been written to '/opt/rustwide/target/debug/deps/learn_rocket-3f59919e77113677.long-type-4543073596498368469.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `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: the full name for the type has been written to '/opt/rustwide/target/debug/deps/learn_rocket-73895adccfcfd0c6.long-type-2509883251546776599.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 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: the full name for the type has been written to '/opt/rustwide/target/debug/deps/learn_rocket-3f59919e77113677.long-type-4543073596498368469.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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: the full name for the type has been written to '/opt/rustwide/target/debug/deps/learn_rocket-73895adccfcfd0c6.long-type-2509883251546776599.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[database("diesel_postgres_pool")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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[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: the full name for the type has been written to '/opt/rustwide/target/debug/deps/learn_rocket-73895adccfcfd0c6.long-type-2509883251546776599.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `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: the full name for the type has been written to '/opt/rustwide/target/debug/deps/learn_rocket-3f59919e77113677.long-type-4543073596498368469.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `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 `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, E0282, 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 10 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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 10 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2e08d05bde65170198377a65c7c68e3d655154ac5797a5db9c2cc844d3f9805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e08d05bde65170198377a65c7c68e3d655154ac5797a5db9c2cc844d3f9805", kill_on_drop: false }` [INFO] [stdout] d2e08d05bde65170198377a65c7c68e3d655154ac5797a5db9c2cc844d3f9805