[INFO] cloning repository https://github.com/techyangj/cr8s [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/techyangj/cr8s" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechyangj%2Fcr8s", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechyangj%2Fcr8s'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0ea5be99d7057808312747fb92e16fd6d6e303b [INFO] testing techyangj/cr8s against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechyangj%2Fcr8s" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/techyangj/cr8s [INFO] finished tweaking git repo https://github.com/techyangj/cr8s [INFO] tweaked toml for git repo https://github.com/techyangj/cr8s written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/techyangj/cr8s on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/techyangj/cr8s 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_derives v2.1.3 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Downloaded winnow v0.6.6 [INFO] [stderr] Downloaded figment v0.10.18 [INFO] [stderr] Downloaded diesel v2.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8618de1a8abe742d139a80173ea331a81e38b45b09541ed399641b4c0e8fe5a9 [INFO] running `Command { std: "docker" "start" "-a" "8618de1a8abe742d139a80173ea331a81e38b45b09541ed399641b4c0e8fe5a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8618de1a8abe742d139a80173ea331a81e38b45b09541ed399641b4c0e8fe5a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8618de1a8abe742d139a80173ea331a81e38b45b09541ed399641b4c0e8fe5a9", kill_on_drop: false }` [INFO] [stdout] 8618de1a8abe742d139a80173ea331a81e38b45b09541ed399641b4c0e8fe5a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8d40bd22694f7c6d102bbe49a7aeb7247d8821d803e394ec000ab1c917247d [INFO] running `Command { std: "docker" "start" "-a" "9d8d40bd22694f7c6d102bbe49a7aeb7247d8821d803e394ec000ab1c917247d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling winnow v0.6.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling figment v0.10.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling diesel_derives v2.1.3 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling diesel v2.1.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling cr8s v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = rustaceans)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = crates)]` instead [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | async fn get_rustaceans(db: DbConn) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustaceanRepository` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | RustaceanRepository::find_multiple(c, 100) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RustaceanRepository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::repositories::RustaceanRepository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | .map_err(|e| Custom(Status::InternalServerError, json!(e.to_string()))) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_sync_db_pools::Error::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | async fn view_rustaceans(id: i32, db: DbConn) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustaceanRepository` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | RustaceanRepository::find(c, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RustaceanRepository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::repositories::RustaceanRepository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | .map_err(|e| Custom(Status::InternalServerError, json!(e.to_string()))) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_sync_db_pools::Error::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | new_rustacean: Json, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::sql_types::Json; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::serde::json::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NewRustacean` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | new_rustacean: Json, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::models::NewRustacean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustaceanRepository` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | RustaceanRepository::create(c, new_rustacean.into_inner()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RustaceanRepository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::repositories::RustaceanRepository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | .map_err(|e| Custom(Status::InternalServerError, json!(e.to_string()))) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_sync_db_pools::Error::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | rustacean: Json, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::sql_types::Json; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::serde::json::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | rustacean: Json, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | async fn update_rustaceans( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | ) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustaceanRepository` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | RustaceanRepository::save(c, id, rustacean.into_inner()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RustaceanRepository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::repositories::RustaceanRepository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | .map_err(|e| Custom(Status::InternalServerError, json!(e.to_string()))) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_sync_db_pools::Error::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | rustacean: Json, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `status` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:60:59 [INFO] [stdout] | [INFO] [stdout] 60 | async fn delete_rustaceans(id: i32, db: DbConn) -> Result> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `status` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `status`, use `cargo add status` to add it to your `Cargo.toml` [INFO] [stdout] help: a struct with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 60 - async fn delete_rustaceans(id: i32, db: DbConn) -> Result> { [INFO] [stdout] 60 + async fn delete_rustaceans(id: i32, db: DbConn) -> Result> { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:60:78 [INFO] [stdout] | [INFO] [stdout] 60 | async fn delete_rustaceans(id: i32, db: DbConn) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustaceanRepository` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | RustaceanRepository::delete(c, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RustaceanRepository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::repositories::RustaceanRepository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `status` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|_| status::NoContent) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `status` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `status`, use `cargo add status` to add it to your `Cargo.toml` [INFO] [stdout] help: a struct with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 63 - .map(|_| status::NoContent) [INFO] [stdout] 63 + .map(|_| Status::NoContent) [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Custom` in this scope [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | .map_err(|e| Custom(Status::InternalServerError, json!(e.to_string()))) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_sync_db_pools::Error::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `get_rustaceans` is private [INFO] [stdout] --> src/main.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | rocket_routes::rustaceans::get_rustaceans, [INFO] [stdout] | ^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `get_rustaceans` is defined here [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[get("/rustaceans")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `view_rustaceans` is private [INFO] [stdout] --> src/main.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | rocket_routes::rustaceans::view_rustaceans, [INFO] [stdout] | ^^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `view_rustaceans` is defined here [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("/rustaceans/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `crate_rustaceans` is private [INFO] [stdout] --> src/main.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | rocket_routes::rustaceans::crate_rustaceans, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `crate_rustaceans` is defined here [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[post("/rustaceans", format = "json", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `update_rustaceans` is private [INFO] [stdout] --> src/main.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | rocket_routes::rustaceans::update_rustaceans, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `update_rustaceans` is defined here [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[put("/rustaceans/", format = "json", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `delete_rustaceans` is private [INFO] [stdout] --> src/main.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | rocket_routes::rustaceans::delete_rustaceans [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `delete_rustaceans` is defined here [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[delete("/rustaceans/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `delete` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PgConnection: Poolable` is not satisfied [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct DbConn(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `PgConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `SqliteConnection` [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 `PgConnection: Poolable` is not satisfied [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct DbConn(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `PgConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `SqliteConnection` [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/rocket_routes/rustaceans.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[database("postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/pg/connection/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PgConnection: 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/rocket_routes/rustaceans.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[database("postgres")] [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/diesel-2.1.5/src/pg/connection/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PgConnection: 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/rocket_routes/rustaceans.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[database("postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/pg/connection/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PgConnection: 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[E0271]: type mismatch resolving `::IsNull == IsNullable` [INFO] [stdout] --> src/repositories.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | .first(c) [INFO] [stdout] | ----- ^ expected `IsNullable`, found `NotNull` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `std::option::Option` to implement `Queryable` [INFO] [stdout] = note: required for `std::option::Option` to implement `FromSqlRow` [INFO] [stdout] = note: required for `diesel::sql_types::Integer` to implement `load_dsl::private::CompatibleType, Pg>` [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `LoadQuery<'_, PgConnection, std::option::Option>` [INFO] [stdout] note: required by a bound in `first` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/query_dsl/mod.rs:1779:22 [INFO] [stdout] | [INFO] [stdout] 1776 | fn first<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1779 | Limit: LoadQuery<'query, Conn, U>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::first` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cr8s-252ef7687838f2f0.long-type-1425570199046201350.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::option::Option: FromSql` is not satisfied [INFO] [stdout] --> src/repositories.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | .first(c) [INFO] [stdout] | ----- ^ the trait `FromSql` is not implemented for `std::option::Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromSql` is not implemented for `std::option::Option` [INFO] [stdout] but trait `FromSql, Pg>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `diesel::sql_types::Nullable`, found `diesel::sql_types::Integer` [INFO] [stdout] = note: required for `std::option::Option` to implement `Queryable` [INFO] [stdout] = note: required for `std::option::Option` to implement `FromSqlRow` [INFO] [stdout] = note: required for `diesel::sql_types::Integer` to implement `load_dsl::private::CompatibleType, Pg>` [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `LoadQuery<'_, PgConnection, std::option::Option>` [INFO] [stdout] note: required by a bound in `first` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/query_dsl/mod.rs:1779:22 [INFO] [stdout] | [INFO] [stdout] 1776 | fn first<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1779 | Limit: LoadQuery<'query, Conn, U>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::first` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cr8s-252ef7687838f2f0.long-type-1425570199046201350.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::IsNull == IsNullable` [INFO] [stdout] --> src/repositories.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | .first(c) [INFO] [stdout] | ----- ^ expected `IsNullable`, found `NotNull` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `std::option::Option` to implement `Queryable` [INFO] [stdout] = note: required for `std::option::Option` to implement `FromSqlRow` [INFO] [stdout] = note: required for `diesel::sql_types::Integer` to implement `load_dsl::private::CompatibleType, Pg>` [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `LoadQuery<'_, PgConnection, std::option::Option>` [INFO] [stdout] note: required by a bound in `first` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/query_dsl/mod.rs:1779:22 [INFO] [stdout] | [INFO] [stdout] 1776 | fn first<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1779 | Limit: LoadQuery<'query, Conn, U>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::first` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cr8s-252ef7687838f2f0.long-type-5249917405304370805.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::option::Option: FromSql` is not satisfied [INFO] [stdout] --> src/repositories.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | .first(c) [INFO] [stdout] | ----- ^ the trait `FromSql` is not implemented for `std::option::Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromSql` is not implemented for `std::option::Option` [INFO] [stdout] but trait `FromSql, Pg>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `diesel::sql_types::Nullable`, found `diesel::sql_types::Integer` [INFO] [stdout] = note: required for `std::option::Option` to implement `Queryable` [INFO] [stdout] = note: required for `std::option::Option` to implement `FromSqlRow` [INFO] [stdout] = note: required for `diesel::sql_types::Integer` to implement `load_dsl::private::CompatibleType, Pg>` [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `LoadQuery<'_, PgConnection, std::option::Option>` [INFO] [stdout] note: required by a bound in `first` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/query_dsl/mod.rs:1779:22 [INFO] [stdout] | [INFO] [stdout] 1776 | fn first<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1779 | Limit: LoadQuery<'query, Conn, U>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::first` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cr8s-252ef7687838f2f0.long-type-5249917405304370805.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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/rocket_routes/rustaceans.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[database("postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/pg/connection/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PgConnection: 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 `from_request` exists for struct `rocket_sync_db_pools::Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[database("postgres")] [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/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/pg/connection/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PgConnection: 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/rocket_routes/rustaceans.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[database("postgres")] [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/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.1.5/src/pg/connection/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PgConnection: 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: E0271, E0277, E0412, E0425, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cr8s` (bin "cr8s") due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "9d8d40bd22694f7c6d102bbe49a7aeb7247d8821d803e394ec000ab1c917247d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8d40bd22694f7c6d102bbe49a7aeb7247d8821d803e394ec000ab1c917247d", kill_on_drop: false }` [INFO] [stdout] 9d8d40bd22694f7c6d102bbe49a7aeb7247d8821d803e394ec000ab1c917247d