[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] building hooneun/tide-basic-crud against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhooneun%2Ftide-basic-crud" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hooneun/tide-basic-crud on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "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-6/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" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "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 unic-common v0.9.0 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded hashlink v0.7.0 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded spinning_top v0.2.4 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.25 [INFO] [stderr] Downloaded socket2 v0.4.1 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded http-client v6.4.1 [INFO] [stderr] Downloaded async-session v2.0.1 [INFO] [stderr] Downloaded simple-mutex v1.1.5 [INFO] [stderr] Downloaded byte-pool v0.2.3 [INFO] [stderr] Downloaded async-h1 v2.3.2 [INFO] [stderr] Downloaded async-native-tls v0.3.3 [INFO] [stderr] Downloaded sqlx-macros v0.5.5 [INFO] [stderr] Downloaded crc v1.8.1 [INFO] [stderr] Downloaded sha-1 v0.9.7 [INFO] [stderr] Downloaded assert-json-diff v2.0.1 [INFO] [stderr] Downloaded bitflags v1.3.1 [INFO] [stderr] Downloaded chrono-tz v0.5.3 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded dashmap v4.0.2 [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.75 [INFO] [stderr] Downloaded femme v2.1.1 [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded whoami v1.1.2 [INFO] [stderr] Downloaded tera v1.12.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.75 [INFO] [stderr] Downloaded infer v0.2.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded web-sys v0.3.52 [INFO] [stderr] Downloaded signal-hook v0.3.9 [INFO] [stderr] Downloaded http-types v2.12.0 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Downloaded serde_qs v0.8.4 [INFO] [stderr] Downloaded serde_json v1.0.66 [INFO] [stderr] Downloaded serde_derive v1.0.127 [INFO] [stderr] Downloaded serde v1.0.127 [INFO] [stderr] Downloaded sqlformat v0.1.6 [INFO] [stderr] Downloaded sqlx-rt v0.5.5 [INFO] [stderr] Downloaded sqlx v0.5.5 [INFO] [stderr] Downloaded surf v2.2.0 [INFO] [stderr] Downloaded globwalk v0.8.1 [INFO] [stderr] Downloaded async-dup v1.2.2 [INFO] [stderr] Downloaded async-sse v4.1.0 [INFO] [stderr] Downloaded isahc v0.9.14 [INFO] [stderr] Downloaded curl v0.4.38 [INFO] [stderr] Downloaded flume v0.9.2 [INFO] [stderr] Downloaded js-sys v0.3.52 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.75 [INFO] [stderr] Downloaded tide-tera v0.2.4 [INFO] [stderr] Downloaded wasm-bindgen v0.2.75 [INFO] [stderr] Downloaded route-recognizer v0.2.0 [INFO] [stderr] Downloaded ctor v0.1.20 [INFO] [stderr] Downloaded sval v1.0.0-alpha.5 [INFO] [stderr] Downloaded tide v0.16.0 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded async-std v1.9.0 [INFO] [stderr] Downloaded sqlx-core v0.5.5 [INFO] [stderr] Downloaded curl-sys v0.4.45+curl-7.78.0 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.6+1.43.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c53051e5815bb92b43f1bcf48130acfb4a980120dba059343d74d6ff1b63ab6a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c53051e5815bb92b43f1bcf48130acfb4a980120dba059343d74d6ff1b63ab6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c53051e5815bb92b43f1bcf48130acfb4a980120dba059343d74d6ff1b63ab6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53051e5815bb92b43f1bcf48130acfb4a980120dba059343d74d6ff1b63ab6a", kill_on_drop: false }` [INFO] [stdout] c53051e5815bb92b43f1bcf48130acfb4a980120dba059343d74d6ff1b63ab6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bd10c0989e760244e86cf848e6ecdf530db7ddbe0d0cbeb8755b589ba24bdac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9bd10c0989e760244e86cf848e6ecdf530db7ddbe0d0cbeb8755b589ba24bdac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [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 sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [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 standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [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 crypto-mac v0.10.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling unic-segment v0.9.0 [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 sha2 v0.9.5 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [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 thiserror-impl v1.0.26 [INFO] [stderr] Compiling async-attributes v1.1.2 [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 polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.2.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [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 bincode v1.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [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 femme v2.1.1 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling async-sse v4.1.0 [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" "9bd10c0989e760244e86cf848e6ecdf530db7ddbe0d0cbeb8755b589ba24bdac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd10c0989e760244e86cf848e6ecdf530db7ddbe0d0cbeb8755b589ba24bdac", kill_on_drop: false }` [INFO] [stdout] 9bd10c0989e760244e86cf848e6ecdf530db7ddbe0d0cbeb8755b589ba24bdac