[INFO] cloning repository https://github.com/bioerrorlog/fullstack-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bioerrorlog/fullstack-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Ffullstack-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Ffullstack-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e01c7aa52b181525124969acbee087c6d5e3968 [INFO] checking bioerrorlog/fullstack-rust/9e01c7aa52b181525124969acbee087c6d5e3968 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Ffullstack-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bioerrorlog/fullstack-rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bioerrorlog/fullstack-rust [INFO] finished tweaking git repo https://github.com/bioerrorlog/fullstack-rust [INFO] tweaked toml for git repo https://github.com/bioerrorlog/fullstack-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bioerrorlog/fullstack-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yew-router v0.15.0 [INFO] [stderr] Downloaded yew-router-route-parser v0.15.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded tower-service v0.3.2 [INFO] [stderr] Downloaded gloo-timers v0.2.4 [INFO] [stderr] Downloaded cfg-match v0.2.1 [INFO] [stderr] Downloaded gloo-events v0.1.2 [INFO] [stderr] Downloaded boolinator v2.4.0 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded yew-router-macro v0.15.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.81 [INFO] [stderr] Downloaded phf v0.10.1 [INFO] [stderr] Downloaded gloo-console-timer v0.1.0 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded block-buffer v0.10.2 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded crypto-common v0.1.4 [INFO] [stderr] Downloaded postgres-types v0.2.3 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded md-5 v0.10.1 [INFO] [stderr] Downloaded parking_lot_core v0.9.3 [INFO] [stderr] Downloaded smallvec v1.9.0 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded unicode-normalization v0.1.21 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded hyper v0.14.19 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded gloo v0.2.1 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded wasm-bindgen v0.2.81 [INFO] [stderr] Downloaded warp v0.3.1 [INFO] [stderr] Downloaded http v0.2.8 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded tokio-util v0.6.9 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded js-sys v0.3.58 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded mobc v0.7.2 [INFO] [stderr] Downloaded tokio-postgres v0.7.6 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded yew v0.18.0 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded multipart v0.17.1 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded sha2 v0.10.2 [INFO] [stderr] Downloaded postgres-protocol v0.6.4 [INFO] [stderr] Downloaded web-sys v0.3.58 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded mime_guess v2.0.4 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded tungstenite v0.12.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.22 [INFO] [stderr] Downloaded indexmap v1.9.1 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded yew-macro v0.18.0 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded digest v0.10.3 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded httparse v1.7.1 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded rand_core v0.6.3 [INFO] [stderr] Downloaded unicode-bidi v0.3.8 [INFO] [stderr] Downloaded utf-8 v0.7.6 [INFO] [stderr] Downloaded gloo-file v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.81 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded http-body v0.4.5 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded ppv-lite86 v0.2.16 [INFO] [stderr] Downloaded tokio-tungstenite v0.13.0 [INFO] [stderr] Downloaded num_cpus v1.13.1 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded thiserror v1.0.24 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.81 [INFO] [stderr] Downloaded mobc-postgres v0.7.0 [INFO] [stderr] Downloaded subtle v2.4.1 [INFO] [stderr] Downloaded sha-1 v0.10.0 [INFO] [stderr] Downloaded httpdate v1.0.2 [INFO] [stderr] Downloaded cpufeatures v0.2.2 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded futures-io v0.3.21 [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.31 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Downloaded tokio-macros v1.8.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.24 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d366d897db4fe68642863b06ce627f7356c6b1b87fce418751ad7ded025952c8 [INFO] running `Command { std: "docker" "start" "-a" "d366d897db4fe68642863b06ce627f7356c6b1b87fce418751ad7ded025952c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d366d897db4fe68642863b06ce627f7356c6b1b87fce418751ad7ded025952c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d366d897db4fe68642863b06ce627f7356c6b1b87fce418751ad7ded025952c8", kill_on_drop: false }` [INFO] [stdout] d366d897db4fe68642863b06ce627f7356c6b1b87fce418751ad7ded025952c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feb773a3dd98d1d557b9e3bdfb892f90232b498023d3c8838511de1f37f32fd7 [INFO] running `Command { std: "docker" "start" "-a" "feb773a3dd98d1d557b9e3bdfb892f90232b498023d3c8838511de1f37f32fd7", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.81 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking md-5 v0.10.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking postgres-protocol v0.6.4 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Compiling yew-router-route-parser v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.81 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling yew-router-macro v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.81 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking js-sys v0.3.58 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking mobc v0.7.2 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking web-sys v0.3.58 [INFO] [stderr] Checking gloo-timers v0.2.4 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.31 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking postgres-types v0.2.3 [INFO] [stderr] Checking tokio-postgres v0.7.6 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking mobc-postgres v0.7.0 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking yew-router v0.15.0 [INFO] [stderr] Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | let pets = db::pet::fetch(&db_pool, owner_id) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | let pets = db::pet::fetch(&db_pool, owner_id) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | db::pet::create(&db_pool, owner_id, body) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | db::pet::create(&db_pool, owner_id, body) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | db::pet::delete(&db_pool, owner_id, id) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | db::pet::delete(&db_pool, owner_id, id) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let owners = db::owner::fetch(&db_pool).await.map_err(reject::custom)?; [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let owners = db::owner::fetch(&db_pool).await.map_err(reject::custom)?; [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let owner = db::owner::fetch_one(&db_pool, id) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let owner = db::owner::fetch_one(&db_pool, id) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | db::owner::create(&db_pool, body) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db` [INFO] [stdout] --> backend/src/handler.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | db::owner::create(&db_pool, body) [INFO] [stdout] | ^^ use of undeclared crate or module `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error` [INFO] [stdout] --> backend/src/db/mod.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tokio_postgres::error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error; [INFO] [stdout] | [INFO] [stdout] 1 + use serde_json::error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn init_db(db_pool: &DBPool) -> Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error` [INFO] [stdout] --> backend/src/db/mod.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tokio_postgres::error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error; [INFO] [stdout] | [INFO] [stdout] 1 + use serde_json::error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> backend/src/db/mod.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | let init_file = fs::read_to_string(INIT_SQL)?; [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn init_db(db_pool: &DBPool) -> Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBInitError` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | .map_err(DBInitError)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::Error::DBInitError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> backend/src/db/mod.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | let init_file = fs::read_to_string(INIT_SQL)?; [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn get_db_con(db_pool: &DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBInitError` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | .map_err(DBInitError)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::Error::DBInitError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn get_db_con(db_pool: &DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBCon` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn get_db_con(db_pool: &DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBCon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBPoolError` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | db_pool.get().await.map_err(DBPoolError) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::Error::DBPoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBCon` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn get_db_con(db_pool: &DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBCon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_pool() -> std::result::Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBPoolError` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | db_pool.get().await.map_err(DBPoolError) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::Error::DBPoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_pool() -> std::result::Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:21:65 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_pool() -> std::result::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::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tokio_postgres::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 11 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> backend/src/db/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let config = Config::from_str("postgres://postgres@127.0.0.1:7878/postgres")?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tokio_postgres::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectionManager` [INFO] [stdout] --> backend/src/db/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let manager = PgConnectionManager::new(config, NoTls); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PgConnectionManager` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::PgConnectionManager; [INFO] [stdout] | [INFO] [stdout] 1 + use mobc_postgres::PgConnectionManager; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:21:65 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_pool() -> std::result::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::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tokio_postgres::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 11 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> backend/src/db/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let config = Config::from_str("postgres://postgres@127.0.0.1:7878/postgres")?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tokio_postgres::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NoTls` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | let manager = PgConnectionManager::new(config, NoTls); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::NoTls; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectionManager` [INFO] [stdout] --> backend/src/db/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let manager = PgConnectionManager::new(config, NoTls); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PgConnectionManager` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::PgConnectionManager; [INFO] [stdout] | [INFO] [stdout] 1 + use mobc_postgres::PgConnectionManager; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NoTls` in this scope [INFO] [stdout] --> backend/src/db/mod.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | let manager = PgConnectionManager::new(config, NoTls); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::NoTls; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pool` [INFO] [stdout] --> backend/src/db/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(Pool::builder() [INFO] [stdout] | ^^^^ use of undeclared type `Pool` [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | Ok(bool::builder() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Pool; [INFO] [stdout] | [INFO] [stdout] 1 + use mobc::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pool` [INFO] [stdout] --> backend/src/db/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(Pool::builder() [INFO] [stdout] | ^^^^ use of undeclared type `Pool` [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | Ok(bool::builder() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Pool; [INFO] [stdout] | [INFO] [stdout] 1 + use mobc::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> backend/src/db/mod.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | .get_timeout(Some(Duration::from_secs(DB_POOL_TIMEOUT_SECONDS))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> backend/src/db/mod.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | .get_timeout(Some(Duration::from_secs(DB_POOL_TIMEOUT_SECONDS))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:1:79 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | .map_err(reject::custom)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:1:79 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(json::>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | .map_err(reject::custom)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PetResponse` [INFO] [stdout] --> backend/src/handler.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | &pets.into_iter().map(PetResponse::of).collect(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PetResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::PetResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(json::>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PetRequest` in this scope [INFO] [stdout] --> backend/src/handler.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | body: PetRequest, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::PetRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PetResponse` [INFO] [stdout] --> backend/src/handler.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | &pets.into_iter().map(PetResponse::of).collect(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PetResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::PetResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | db_pool: DBPool, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PetRequest` in this scope [INFO] [stdout] --> backend/src/handler.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | body: PetRequest, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::PetRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | db_pool: DBPool, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(json(&PetResponse::of( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PetResponse` [INFO] [stdout] --> backend/src/handler.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(json(&PetResponse::of( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PetResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::PetResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(json(&PetResponse::of( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | .map_err(reject::custom)?, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PetResponse` [INFO] [stdout] --> backend/src/handler.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(json(&PetResponse::of( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PetResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::PetResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | .map_err(reject::custom)?, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:22:89 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | .map_err(reject::custom)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:22:89 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | .map_err(reject::custom)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:29:66 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | let owners = db::owner::fetch(&db_pool).await.map_err(reject::custom)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:29:66 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(json::>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | let owners = db::owner::fetch(&db_pool).await.map_err(reject::custom)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse` [INFO] [stdout] --> backend/src/handler.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | &owners.into_iter().map(OwnerResponse::of).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::OwnerResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(json::>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | .map_err(reject::custom)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse` [INFO] [stdout] --> backend/src/handler.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | &owners.into_iter().map(OwnerResponse::of).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::OwnerResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(json(&OwnerResponse::of(owner))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse` [INFO] [stdout] --> backend/src/handler.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(json(&OwnerResponse::of(owner))) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::OwnerResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | .map_err(reject::custom)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwnerRequest` in this scope [INFO] [stdout] --> backend/src/handler.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::OwnerRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(json(&OwnerResponse::of(owner))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:43:87 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse` [INFO] [stdout] --> backend/src/handler.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(json(&OwnerResponse::of(owner))) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::OwnerResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(json(&OwnerResponse::of( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwnerRequest` in this scope [INFO] [stdout] --> backend/src/handler.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::OwnerRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse` [INFO] [stdout] --> backend/src/handler.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(json(&OwnerResponse::of( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::OwnerResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope [INFO] [stdout] --> backend/src/handler.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::DBPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | .map_err(reject::custom)?, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope [INFO] [stdout] --> backend/src/handler.rs:43:87 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use warp::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `json` in this scope [INFO] [stdout] --> backend/src/handler.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(json(&OwnerResponse::of( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use warp::body::json; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reply::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse` [INFO] [stdout] --> backend/src/handler.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(json(&OwnerResponse::of( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use shared::OwnerResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject` [INFO] [stdout] --> backend/src/handler.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | .map_err(reject::custom)?, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `reject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use warp::reject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:22:77 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:22:77 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:29:54 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:29:54 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:43:75 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> backend/src/handler.rs:43:75 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> backend/src/handler.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 57 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> backend/src/handler.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 57 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend") due to 58 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `backend` (bin "backend" test) due to 58 previous errors [INFO] running `Command { std: "docker" "inspect" "feb773a3dd98d1d557b9e3bdfb892f90232b498023d3c8838511de1f37f32fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb773a3dd98d1d557b9e3bdfb892f90232b498023d3c8838511de1f37f32fd7", kill_on_drop: false }` [INFO] [stdout] feb773a3dd98d1d557b9e3bdfb892f90232b498023d3c8838511de1f37f32fd7