[INFO] cloning repository https://github.com/lucalewin/cloud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucalewin/cloud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucalewin%2Fcloud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucalewin%2Fcloud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da875e4cd1c7b7807f1039b6e051273604ab20cf [INFO] testing lucalewin/cloud against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucalewin%2Fcloud" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucalewin/cloud [INFO] finished tweaking git repo https://github.com/lucalewin/cloud [INFO] tweaked toml for git repo https://github.com/lucalewin/cloud written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucalewin/cloud on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucalewin/cloud 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7887f4f56782644c6277a2ecfa70be27db94cfa463d59d9a9fa79790319fed6d [INFO] running `Command { std: "docker" "start" "-a" "7887f4f56782644c6277a2ecfa70be27db94cfa463d59d9a9fa79790319fed6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7887f4f56782644c6277a2ecfa70be27db94cfa463d59d9a9fa79790319fed6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7887f4f56782644c6277a2ecfa70be27db94cfa463d59d9a9fa79790319fed6d", kill_on_drop: false }` [INFO] [stdout] 7887f4f56782644c6277a2ecfa70be27db94cfa463d59d9a9fa79790319fed6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 825c66c8522afd15fba2feb6e032c03176e5da860f12813f9cfc98a26b500669 [INFO] running `Command { std: "docker" "start" "-a" "825c66c8522afd15fba2feb6e032c03176e5da860f12813f9cfc98a26b500669", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling memo-map v0.3.3 [INFO] [stderr] Compiling notify v8.0.0 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling minijinja v2.10.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling minijinja-autoreload v2.10.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling cloud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/routes.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | let found: Option = sqlx::query_scalar!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 67 | | "SELECT email FROM users WHERE email = $1 LIMIT 1", [INFO] [stdout] 68 | | payload.email [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_scalar` (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/routes.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query!( [INFO] [stdout] 86 | | "INSERT INTO users (email, username, password_hash) VALUES ($1, $2, $3)", [INFO] [stdout] 87 | | payload.email, [INFO] [stdout] 88 | | payload.username, [INFO] [stdout] 89 | | password_hash [INFO] [stdout] 90 | | ) [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/routes.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | let account = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 122 | | "SELECT id, password_hash FROM users WHERE email = $1 LIMIT 1", [INFO] [stdout] 123 | | payload.email [INFO] [stdout] 124 | | ) [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/routes.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 220 | let folders = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 221 | | FolderItem, [INFO] [stdout] 222 | | "SELECT id, name FROM folders WHERE user_id = $1 AND parent_id = $2 ORDER BY name ASC;", [INFO] [stdout] 223 | | user_id, [INFO] [stdout] 224 | | folder_id [INFO] [stdout] 225 | | ).fetch_all(&app.pool).await.unwrap(); [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/routes.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | let files = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 228 | | FileItem, [INFO] [stdout] 229 | | "SELECT id, file_name FROM files WHERE user_id = $1 AND folder_id = $2 ORDER BY file_name ASC;", [INFO] [stdout] 230 | | user_id, [INFO] [stdout] 231 | | folder_id [INFO] [stdout] 232 | | ).fetch_all(&app.pool).await.unwrap(); [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/routes.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | let folders = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 238 | | FolderItem, [INFO] [stdout] 239 | | "SELECT id, name FROM folders WHERE user_id = $1 AND parent_id IS NULL ORDER BY name ASC;", [INFO] [stdout] 240 | | user_id [INFO] [stdout] 241 | | ).fetch_all(&app.pool).await.unwrap(); [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/routes.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | let files = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 244 | | FileItem, [INFO] [stdout] 245 | | "SELECT id, file_name FROM files WHERE user_id = $1 AND folder_id IS NULL ORDER BY file_name ASC;", [INFO] [stdout] 246 | | user_id [INFO] [stdout] 247 | | ).fetch_all(&app.pool).await.unwrap(); [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/routes.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | let folders = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 277 | | FolderItem, [INFO] [stdout] 278 | | "SELECT id, name [INFO] [stdout] 279 | | FROM folders [INFO] [stdout] ... | [INFO] [stdout] 284 | | folder_id [INFO] [stdout] 285 | | ) [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/routes.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let files = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 291 | | FileItem, [INFO] [stdout] 292 | | "SELECT id, file_name [INFO] [stdout] 293 | | FROM files [INFO] [stdout] ... | [INFO] [stdout] 298 | | folder_id [INFO] [stdout] 299 | | ) [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/routes.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | / sqlx::query!( [INFO] [stdout] 359 | | "INSERT INTO files (id, user_id, file_name, mime_type) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 360 | | file_id, [INFO] [stdout] 361 | | user_id, [INFO] [stdout] 362 | | original_name, [INFO] [stdout] 363 | | mime_type, [INFO] [stdout] 364 | | ) [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/routes.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 385 | | "SELECT 1 AS _a FROM folders WHERE id = $1 AND user_id = $2", [INFO] [stdout] 386 | | parent_id, [INFO] [stdout] 387 | | user_id [INFO] [stdout] 388 | | ) [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/routes.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | let duplicate = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 403 | | "SELECT id FROM folders WHERE user_id = $1 AND parent_id IS NOT DISTINCT FROM $2 AND name = $3", [INFO] [stdout] 404 | | user_id, [INFO] [stdout] 405 | | payload.parent_id, [INFO] [stdout] 406 | | payload.folder_name [INFO] [stdout] 407 | | ) [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/routes.rs:420:20 [INFO] [stdout] | [INFO] [stdout] 420 | let inserted = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 421 | | "INSERT INTO folders (user_id, parent_id, name) VALUES ($1, $2, $3) RETURNING id", [INFO] [stdout] 422 | | user_id, [INFO] [stdout] 423 | | payload.parent_id, [INFO] [stdout] 424 | | payload.folder_name [INFO] [stdout] 425 | | ) [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/routes.rs:441:20 [INFO] [stdout] | [INFO] [stdout] 441 | let response = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 442 | | "UPDATE files SET folder_id = $1 WHERE id = $2 AND user_id = $3", [INFO] [stdout] 443 | | payload.folder_id, [INFO] [stdout] 444 | | payload.file_id, [INFO] [stdout] 445 | | user_id [INFO] [stdout] 446 | | ).execute(&app.pool).await; [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: `response::Redirect` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | response::Redirect, [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 variable: `db` [INFO] [stdout] --> src/driver.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | db: &PgPool, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/driver.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | name: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/driver.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | data: Bytes, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime` [INFO] [stdout] --> src/driver.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | mime: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/driver.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn list_dir(&self, db: &PgPool, user_id: usize, folder_id: usize) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/driver.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn list_dir(&self, db: &PgPool, user_id: usize, folder_id: usize) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `folder_id` [INFO] [stdout] --> src/driver.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn list_dir(&self, db: &PgPool, user_id: usize, folder_id: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/routes.rs:455:11 [INFO] [stdout] | [INFO] [stdout] 455 | State(app): State, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/routes.rs:456:10 [INFO] [stdout] | [INFO] [stdout] 456 | Auth(user_id): Auth, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/routes.rs:457:10 [INFO] [stdout] | [INFO] [stdout] 457 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cloud` (bin "cloud") due to 14 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "825c66c8522afd15fba2feb6e032c03176e5da860f12813f9cfc98a26b500669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825c66c8522afd15fba2feb6e032c03176e5da860f12813f9cfc98a26b500669", kill_on_drop: false }` [INFO] [stdout] 825c66c8522afd15fba2feb6e032c03176e5da860f12813f9cfc98a26b500669