[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] testing hooneun/tide-basic-crud/63754d7600359afbf88de8c807786de7f39a79ef against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhooneun%2Ftide-basic-crud" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hooneun/tide-basic-crud on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-1/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f79280ee062930903ff9a1714228da02d4d37b0ffcd0124688fb12937331061c [INFO] running `Command { std: "docker" "start" "-a" "f79280ee062930903ff9a1714228da02d4d37b0ffcd0124688fb12937331061c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f79280ee062930903ff9a1714228da02d4d37b0ffcd0124688fb12937331061c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79280ee062930903ff9a1714228da02d4d37b0ffcd0124688fb12937331061c", kill_on_drop: false }` [INFO] [stdout] f79280ee062930903ff9a1714228da02d4d37b0ffcd0124688fb12937331061c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82335369d2f3e0e753c7d3b2a44b420e571b0eb57f7ee7c12a7e73f4da96448b [INFO] running `Command { std: "docker" "start" "-a" "82335369d2f3e0e753c7d3b2a44b420e571b0eb57f7ee7c12a7e73f4da96448b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling aes-gcm v0.8.0 [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 quote v1.0.9 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling ctor v0.1.20 [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] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling async-process v1.2.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.8.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling http-client v6.4.1 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling tera v1.12.1 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling tide-tera v0.2.4 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling 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[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: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] running `Command { std: "docker" "inspect" "82335369d2f3e0e753c7d3b2a44b420e571b0eb57f7ee7c12a7e73f4da96448b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82335369d2f3e0e753c7d3b2a44b420e571b0eb57f7ee7c12a7e73f4da96448b", kill_on_drop: false }` [INFO] [stdout] 82335369d2f3e0e753c7d3b2a44b420e571b0eb57f7ee7c12a7e73f4da96448b