[INFO] cloning repository https://github.com/wil-ckaew/video-plataform [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wil-ckaew/video-plataform" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwil-ckaew%2Fvideo-plataform", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwil-ckaew%2Fvideo-plataform'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3317f974ba87008a4461d453019316e115185529 [INFO] testing wil-ckaew/video-plataform against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwil-ckaew%2Fvideo-plataform" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 86% (2315/2661) Updating files: 87% (2316/2661) Updating files: 88% (2342/2661) Updating files: 89% (2369/2661) Updating files: 90% (2395/2661) Updating files: 90% (2419/2661) Updating files: 91% (2422/2661) Updating files: 92% (2449/2661) Updating files: 93% (2475/2661) Updating files: 94% (2502/2661) Updating files: 95% (2528/2661) Updating files: 96% (2555/2661) Updating files: 97% (2582/2661) Updating files: 98% (2608/2661) Updating files: 99% (2635/2661) Updating files: 100% (2661/2661) Updating files: 100% (2661/2661), done. [INFO] started tweaking git repo https://github.com/wil-ckaew/video-plataform [INFO] finished tweaking git repo https://github.com/wil-ckaew/video-plataform [INFO] tweaked toml for git repo https://github.com/wil-ckaew/video-plataform written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wil-ckaew/video-plataform on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wil-ckaew/video-plataform 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20bb27bc7eb8d2c70c815f8638eccc243210eeba844622e23119a8fb7d1b573f [INFO] running `Command { std: "docker" "start" "-a" "20bb27bc7eb8d2c70c815f8638eccc243210eeba844622e23119a8fb7d1b573f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20bb27bc7eb8d2c70c815f8638eccc243210eeba844622e23119a8fb7d1b573f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20bb27bc7eb8d2c70c815f8638eccc243210eeba844622e23119a8fb7d1b573f", kill_on_drop: false }` [INFO] [stdout] 20bb27bc7eb8d2c70c815f8638eccc243210eeba844622e23119a8fb7d1b573f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82899090a3207df589fa70669a94db8458ef2d0f66cbbdda0ea7a78d16f30870 [INFO] running `Command { std: "docker" "start" "-a" "82899090a3207df589fa70669a94db8458ef2d0f66cbbdda0ea7a78d16f30870", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling futures-lite v2.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling async-native-tls v0.4.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling tcp-stream v0.20.10 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling cookie-factory v0.3.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling amq-protocol-uri v6.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling amq-protocol v6.1.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling amq-protocol-tcp v6.1.0 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling amq-protocol-types v6.1.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling lapin v1.10.0 [INFO] [stderr] Compiling impl-more v0.1.8 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pinky-swear v4.5.0 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling sqlx v0.6.3 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/videos.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 270 | | VideoModel, [INFO] [stdout] 271 | | r#" [INFO] [stdout] 272 | | SELECT id, title, description, thumbnail_path, slug, published_at, [INFO] [stdout] ... | [INFO] [stdout] 277 | | video_id [INFO] [stdout] 278 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/videos.rs:331:11 [INFO] [stdout] | [INFO] [stdout] 331 | match sqlx::query!("DELETE FROM videos WHERE id = $1", video_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/videomedias.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 64 | | VideoMediaModel, [INFO] [stdout] 65 | | "SELECT * FROM videomedias ORDER BY id LIMIT $1 OFFSET $2", [INFO] [stdout] 66 | | limit as i32, [INFO] [stdout] 67 | | offset as i32 [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/videomedias.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 141 | | VideoMediaModel, [INFO] [stdout] 142 | | "SELECT * FROM videomedias WHERE id = $1", [INFO] [stdout] 143 | | video_id [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/videomedias.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 174 | | r#" [INFO] [stdout] 175 | | DELETE FROM videomedias [INFO] [stdout] 176 | | WHERE id = $1 [INFO] [stdout] 177 | | "#, [INFO] [stdout] 178 | | video_id [INFO] [stdout] 179 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/tags.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | match sqlx::query_as!(TagModel, "SELECT * FROM tags WHERE id = $1", tag_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/tags.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | match sqlx::query!("DELETE FROM tags WHERE id = $1", tag_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/users.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 64 | | UserModel, [INFO] [stdout] 65 | | "SELECT * FROM users ORDER BY id LIMIT $1 OFFSET $2", [INFO] [stdout] 66 | | limit as i32, [INFO] [stdout] 67 | | offset as i32 [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/users.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 98 | | UserModel, [INFO] [stdout] 99 | | "SELECT * FROM users WHERE id = $1", [INFO] [stdout] 100 | | user_id [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/users.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 132 | | UserModel, [INFO] [stdout] 133 | | "SELECT * FROM users WHERE id = $1", [INFO] [stdout] 134 | | user_id [INFO] [stdout] 135 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/users.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | let update_result = sqlx::query_as!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 141 | | UserModel, [INFO] [stdout] 142 | | r#" [INFO] [stdout] 143 | | UPDATE users SET [INFO] [stdout] ... | [INFO] [stdout] 153 | | user_id [INFO] [stdout] 154 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/users.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | match sqlx::query!("DELETE FROM users WHERE id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/parents.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 65 | | ParentModel, [INFO] [stdout] 66 | | "SELECT * FROM parents ORDER BY id LIMIT $1 OFFSET $2", [INFO] [stdout] 67 | | limit as i32, [INFO] [stdout] 68 | | offset as i32 [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/parents.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 98 | | ParentModel, [INFO] [stdout] 99 | | "SELECT * FROM parents WHERE id = $1", [INFO] [stdout] 100 | | parent_id [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/parents.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | match sqlx::query_as!(ParentModel, "SELECT * FROM parents WHERE id = $1", parent_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/parents.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | ... let update_result = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 136 | | ... ParentModel, [INFO] [stdout] 137 | | ... "UPDATE parents SET user_id = COALESCE($1, user_id), name = COALESCE($2, name), email = COALESCE($3, email) WHERE id = ... [INFO] [stdout] 138 | | ... body.user_id.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 141 | | ... parent_id [INFO] [stdout] 142 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/parents.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | match sqlx::query!("DELETE FROM parents WHERE id = $1", parent_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/students.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 67 | | StudentModel, [INFO] [stdout] 68 | | "SELECT * FROM students ORDER BY id LIMIT $1 OFFSET $2", [INFO] [stdout] 69 | | limit as i32, [INFO] [stdout] 70 | | offset as i32 [INFO] [stdout] 71 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/students.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 101 | | StudentModel, [INFO] [stdout] 102 | | "SELECT * FROM students WHERE id = $1", [INFO] [stdout] 103 | | student_id [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/students.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | match sqlx::query_as!(StudentModel, "SELECT * FROM students WHERE id = $1", student_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/students.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | ... let update_result = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 140 | | ... StudentModel, [INFO] [stdout] 141 | | ... "UPDATE students SET user_id = COALESCE($1, user_id), name = COALESCE($2, name), email = COALESCE($3, email), parent_id... [INFO] [stdout] 142 | | ... WHERE id = $5 RETURNING *", [INFO] [stdout] ... | [INFO] [stdout] 147 | | ... student_id [INFO] [stdout] 148 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/students.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | match sqlx::query!("DELETE FROM students WHERE id = $1", student_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/guardians.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 65 | | GuardianModel, [INFO] [stdout] 66 | | "SELECT * FROM guardians ORDER BY id LIMIT $1 OFFSET $2", [INFO] [stdout] 67 | | limit as i32, [INFO] [stdout] 68 | | offset as i32 [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/guardians.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 99 | | GuardianModel, [INFO] [stdout] 100 | | "SELECT * FROM guardians WHERE id = $1", [INFO] [stdout] 101 | | guardian_id [INFO] [stdout] 102 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/guardians.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | match sqlx::query_as!(GuardianModel, "SELECT * FROM guardians WHERE id = $1", guardian_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/guardians.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | ... let update_result = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 138 | | ... GuardianModel, [INFO] [stdout] 139 | | ... "UPDATE guardians SET user_id = COALESCE($1, user_id), name = COALESCE($2, name), relationship = COALESCE($3, relation... [INFO] [stdout] 140 | | ... body.user_id.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 143 | | ... guardian_id [INFO] [stdout] 144 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/guardians.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | match sqlx::query!("DELETE FROM guardians WHERE id = $1", guardian_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/addresses.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | match sqlx::query_as!(AddressModel, "SELECT * FROM addresses WHERE id = $1", address_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/addresses.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | match sqlx::query_as!(AddressModel, "SELECT * FROM addresses WHERE id = $1", address_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/addresses.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | ... let update_result = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 99 | | ... AddressModel, [INFO] [stdout] 100 | | ... "UPDATE addresses SET street = COALESCE($1, street), city = COALESCE($2, city), state = COALESCE($3, state), zip_code =... [INFO] [stdout] 101 | | ... body.street.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 105 | | ... address_id [INFO] [stdout] 106 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/addresses.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | match sqlx::query!("DELETE FROM addresses WHERE id = $1", address_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/phones.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 128 | | PhoneModel, [INFO] [stdout] 129 | | "SELECT * FROM phones WHERE id = $1", [INFO] [stdout] 130 | | phone_id [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/phones.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | let update_result = sqlx::query_as!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 137 | | PhoneModel, [INFO] [stdout] 138 | | "UPDATE phones SET [INFO] [stdout] 139 | | user_id = COALESCE($1, user_id), [INFO] [stdout] ... | [INFO] [stdout] 154 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/services/phones.rs:248:11 [INFO] [stdout] | [INFO] [stdout] 248 | match sqlx::query!("DELETE FROM phones WHERE id = $1", phone_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/services/videos.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | web::{Data, Json, Query, Path, ServiceConfig}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilterOptions` [INFO] [stdout] --> src/services/videos.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | schema::{CreateVideoSchema, UpdateVideoSchema, FilterOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/services/videos.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `Utc` [INFO] [stdout] --> src/services/videos.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use chrono::{Utc, NaiveDateTime}; // Importando NaiveDateTime [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scope` [INFO] [stdout] --> src/services/videomedias.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | get, post, delete, patch, web::{Data, Json, scope, Query, Path, ServiceConfig}, HttpResponse, Responder [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/services/videomedias.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilterOptions` [INFO] [stdout] --> src/services/tags.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | schema::{CreateTagSchema, UpdateTagSchema, FilterOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scope` [INFO] [stdout] --> src/services/users.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | get, post, delete, patch, web::{Data, Json, scope, Query, Path, ServiceConfig}, HttpResponse, Responder, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/services/users.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/services/parents.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scope` [INFO] [stdout] --> src/services/students.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | get, post, delete, patch, web::{Data, Json, scope, Query, Path, ServiceConfig}, HttpResponse, Responder [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/services/students.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scope` [INFO] [stdout] --> src/services/guardians.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | get, post, delete, patch, web::{Data, Json, scope, Query, Path, ServiceConfig}, HttpResponse, Responder [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/services/guardians.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/services/addresses.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/services/phones.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/services/parents.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | Ok(result) if result.rows_affected() > 0 => { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend") due to 35 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82899090a3207df589fa70669a94db8458ef2d0f66cbbdda0ea7a78d16f30870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82899090a3207df589fa70669a94db8458ef2d0f66cbbdda0ea7a78d16f30870", kill_on_drop: false }` [INFO] [stdout] 82899090a3207df589fa70669a94db8458ef2d0f66cbbdda0ea7a78d16f30870