[INFO] cloning repository https://github.com/hooneun/tide-basic-crud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hooneun/tide-basic-crud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhooneun%2Ftide-basic-crud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhooneun%2Ftide-basic-crud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63754d7600359afbf88de8c807786de7f39a79ef [INFO] checking hooneun/tide-basic-crud against try#07fecb9cf34c4979a772ba38c99d6d9144768413 for pr-87710 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhooneun%2Ftide-basic-crud" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hooneun/tide-basic-crud on toolchain 07fecb9cf34c4979a772ba38c99d6d9144768413 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hooneun/tide-basic-crud [INFO] finished tweaking git repo https://github.com/hooneun/tide-basic-crud [INFO] tweaked toml for git repo https://github.com/hooneun/tide-basic-crud written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/hooneun/tide-basic-crud already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tide-tera v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1c3852721e097e505349251b177bdf190d917079296db4b3260a96237572b63 [INFO] running `Command { std: "docker" "start" "-a" "c1c3852721e097e505349251b177bdf190d917079296db4b3260a96237572b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1c3852721e097e505349251b177bdf190d917079296db4b3260a96237572b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c3852721e097e505349251b177bdf190d917079296db4b3260a96237572b63", kill_on_drop: false }` [INFO] [stdout] c1c3852721e097e505349251b177bdf190d917079296db4b3260a96237572b63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b92cf04bcef641e3ebb7b1de4c86634ddcb5f1631275323e24d01ef532e0bf9e [INFO] running `Command { std: "docker" "start" "-a" "b92cf04bcef641e3ebb7b1de4c86634ddcb5f1631275323e24d01ef532e0bf9e", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking sval v1.0.0-alpha.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking route-recognizer v0.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Checking simple-mutex v1.1.5 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking async-dup v1.2.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking signal-hook v0.3.9 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-queue v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking flume v0.9.2 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking byte-pool v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.45+curl-7.78.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.2.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_qs v0.8.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking femme v2.1.1 [INFO] [stderr] Checking async-session v2.0.1 [INFO] [stderr] Checking assert-json-diff v2.0.1 [INFO] [stderr] Checking sqlx-rt v0.5.5 [INFO] [stderr] Checking sqlx-core v0.5.5 [INFO] [stderr] Checking http-client v6.4.1 [INFO] [stderr] Checking async-h1 v2.3.2 [INFO] [stderr] Checking async-sse v4.1.0 [INFO] [stderr] Checking surf v2.2.0 [INFO] [stderr] Checking tide v0.16.0 [INFO] [stderr] Checking tera v1.12.1 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Checking tide-tera v0.2.4 [INFO] [stderr] Checking sqlx v0.5.5 [INFO] [stderr] Checking tide-basic-crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `context` in this scope [INFO] [stdout] --> src/controller/views.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | &context! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] tide_tera::context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `context` in this scope [INFO] [stdout] --> src/controller/views.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | &context! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] tide_tera::context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `context` in this scope [INFO] [stdout] --> src/controller/views.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | &context! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] tide_tera::context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handlers` [INFO] [stdout] --> src/controller/views.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let rows = handlers::dino::list(db_pool).await?; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handlers` [INFO] [stdout] --> src/controller/views.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let row = handlers::dino::get(id, db_pool).await?; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `context` in this scope [INFO] [stdout] --> src/controller/views.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | &context! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] tide_tera::context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `context` in this scope [INFO] [stdout] --> src/controller/views.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | &context! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] tide_tera::context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn create(mut req: Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dino` in this scope [INFO] [stdout] --> src/controller/dino.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | let dino: Dino = req.body_json().await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Dino; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn list(req: tide::Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `context` in this scope [INFO] [stdout] --> src/controller/views.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | &context! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] tide_tera::context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `row` in this scope [INFO] [stdout] --> src/controller/dino.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | res.set_body(Body::from_json(&row)?); [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn get(req: tide::Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/controller/dino.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/controller/dino.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn update(mut req: tide::Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dino` in this scope [INFO] [stdout] --> src/controller/dino.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let dino: Dino = req.body_json().await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Dino; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/controller/dino.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/controller/dino.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn delete(req: tide::Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/controller/dino.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/controller/dino.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/views.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn index(req: Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/views.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn new(req: Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/views.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn edit(req: Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handlers` [INFO] [stdout] --> src/controller/views.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let rows = handlers::dino::list(db_pool).await?; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/controller/dino.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/controller/views.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handlers` [INFO] [stdout] --> src/controller/views.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let row = handlers::dino::get(id, db_pool).await?; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn create(mut req: Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dino` in this scope [INFO] [stdout] --> src/controller/dino.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | let dino: Dino = req.body_json().await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Dino; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn list(req: tide::Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `row` in this scope [INFO] [stdout] --> src/controller/dino.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | res.set_body(Body::from_json(&row)?); [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn get(req: tide::Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/controller/dino.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/controller/dino.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn update(mut req: tide::Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dino` in this scope [INFO] [stdout] --> src/controller/dino.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let dino: Dino = req.body_json().await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Dino; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/controller/dino.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/controller/dino.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/dino.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn delete(req: tide::Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/controller/dino.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/controller/dino.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let id: Uuid = Uuid::parse_str(req.param("id")?).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::types::Uuid; [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/views.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn index(req: Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/views.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn new(req: Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/controller/views.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn edit(req: Request) -> tide::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::ser::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/controller/dino.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/controller/views.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let rows = handlers::dino::list(&db_pool).await?; [INFO] [stdout] | ^^^^^^^^ expected struct `Pool`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 18 - let rows = handlers::dino::list(&db_pool).await?; [INFO] [stdout] 18 + let rows = handlers::dino::list(db_pool).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let rows = handlers::dino::list(&db_pool).await?; [INFO] [stdout] | ^^^^^^^^ expected struct `Pool`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 18 - let rows = handlers::dino::list(&db_pool).await?; [INFO] [stdout] 18 + let rows = handlers::dino::list(db_pool).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn list(req: tide::Request) -> tide::Result { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 17 | | let db_pool = req.state().db_pool.clone(); [INFO] [stdout] 18 | | let rows = handlers::dino::list(&db_pool).await?; [INFO] [stdout] 19 | | [INFO] [stdout] ... | [INFO] [stdout] 22 | | Ok(res); [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | let row = handlers::dino::get(id, &db_pool).await?; [INFO] [stdout] | ^^^^^^^^ expected struct `Pool`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 28 - let row = handlers::dino::get(id, &db_pool).await?; [INFO] [stdout] 28 + let row = handlers::dino::get(id, db_pool).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | let row = handlers::dino::update(id, dino, &db_pool).await?; [INFO] [stdout] | ^^^^^^^^ expected struct `Pool`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 46 - let row = handlers::dino::update(id, dino, &db_pool).await?; [INFO] [stdout] 46 + let row = handlers::dino::update(id, dino, db_pool).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | let row = handlers::dino::delete(id, &db_pool).await?; [INFO] [stdout] | ^^^^^^^^ expected struct `Pool`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - let row = handlers::dino::delete(id, &db_pool).await?; [INFO] [stdout] 63 + let row = handlers::dino::delete(id, db_pool).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn list(req: tide::Request) -> tide::Result { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 17 | | let db_pool = req.state().db_pool.clone(); [INFO] [stdout] 18 | | let rows = handlers::dino::list(&db_pool).await?; [INFO] [stdout] 19 | | [INFO] [stdout] ... | [INFO] [stdout] 22 | | Ok(res); [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | let row = handlers::dino::get(id, &db_pool).await?; [INFO] [stdout] | ^^^^^^^^ expected struct `Pool`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 28 - let row = handlers::dino::get(id, &db_pool).await?; [INFO] [stdout] 28 + let row = handlers::dino::get(id, db_pool).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | let row = handlers::dino::update(id, dino, &db_pool).await?; [INFO] [stdout] | ^^^^^^^^ expected struct `Pool`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 46 - let row = handlers::dino::update(id, dino, &db_pool).await?; [INFO] [stdout] 46 + let row = handlers::dino::update(id, dino, db_pool).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/dino.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | let row = handlers::dino::delete(id, &db_pool).await?; [INFO] [stdout] | ^^^^^^^^ expected struct `Pool`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 63 - let row = handlers::dino::delete(id, &db_pool).await?; [INFO] [stdout] 63 + let row = handlers::dino::delete(id, db_pool).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tide-basic-crud` due to 28 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 27 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b92cf04bcef641e3ebb7b1de4c86634ddcb5f1631275323e24d01ef532e0bf9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92cf04bcef641e3ebb7b1de4c86634ddcb5f1631275323e24d01ef532e0bf9e", kill_on_drop: false }` [INFO] [stdout] b92cf04bcef641e3ebb7b1de4c86634ddcb5f1631275323e24d01ef532e0bf9e