[INFO] cloning repository https://github.com/Lagmaker/axum_crud_rest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lagmaker/axum_crud_rest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLagmaker%2Faxum_crud_rest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLagmaker%2Faxum_crud_rest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17f3e1a7d7cd1233bb65c439f7d6376d4cb92ba6 [INFO] checking Lagmaker/axum_crud_rest against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLagmaker%2Faxum_crud_rest" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lagmaker/axum_crud_rest [INFO] finished tweaking git repo https://github.com/Lagmaker/axum_crud_rest [INFO] tweaked toml for git repo https://github.com/Lagmaker/axum_crud_rest written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lagmaker/axum_crud_rest on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lagmaker/axum_crud_rest 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum v0.7.7 [INFO] [stderr] Downloaded cc v1.1.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17a4d00a04278de84910ea69f3e5ddda7c4c89f77751629c458adb0fd374f70b [INFO] running `Command { std: "docker" "start" "-a" "17a4d00a04278de84910ea69f3e5ddda7c4c89f77751629c458adb0fd374f70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17a4d00a04278de84910ea69f3e5ddda7c4c89f77751629c458adb0fd374f70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a4d00a04278de84910ea69f3e5ddda7c4c89f77751629c458adb0fd374f70b", kill_on_drop: false }` [INFO] [stdout] 17a4d00a04278de84910ea69f3e5ddda7c4c89f77751629c458adb0fd374f70b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4480d8bad0a136fac7c018dbb9c7bb558179d484e6ae20d43fda4b14cb04051 [INFO] running `Command { std: "docker" "start" "-a" "e4480d8bad0a136fac7c018dbb9c7bb558179d484e6ae20d43fda4b14cb04051", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sqlformat v0.2.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking axum v0.7.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking axum_crud_rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/main.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let rows = sqlx::query_as!(TaskRow, "SELECT * FROM tasks ORDER BY task_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/main.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let rows = sqlx::query_as!(TaskRow, "SELECT * FROM tasks ORDER BY task_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/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let row = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 83 | | CreateTaskRow, [INFO] [stdout] 84 | | "INSERT INTO tasks (name, priority) VALUES ($1, $2) RETURNING task_id", [INFO] [stdout] 85 | | task.name, [INFO] [stdout] 86 | | task.priority [INFO] [stdout] 87 | | ) [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/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let row = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 83 | | CreateTaskRow, [INFO] [stdout] 84 | | "INSERT INTO tasks (name, priority) VALUES ($1, $2) RETURNING task_id", [INFO] [stdout] 85 | | task.name, [INFO] [stdout] 86 | | task.priority [INFO] [stdout] 87 | | ) [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/main.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!( [INFO] [stdout] 109 | | " [INFO] [stdout] 110 | | UPDATE tasks SET [INFO] [stdout] 111 | | name = $2, [INFO] [stdout] ... | [INFO] [stdout] 117 | | task.priority [INFO] [stdout] 118 | | ) [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/main.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!( [INFO] [stdout] 109 | | " [INFO] [stdout] 110 | | UPDATE tasks SET [INFO] [stdout] 111 | | name = $2, [INFO] [stdout] ... | [INFO] [stdout] 117 | | task.priority [INFO] [stdout] 118 | | ) [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/main.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | sqlx::query!("DELETE FROM tasks WHERE task_id = $1", task_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/main.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | sqlx::query!("DELETE FROM tasks WHERE task_id = $1", task_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[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let rows = sqlx::query_as!(TaskRow, "SELECT * FROM tasks ORDER BY task_id") [INFO] [stdout] | ______________^ [INFO] [stdout] 63 | | .fetch_all(&pg_pool) [INFO] [stdout] 64 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let rows = sqlx::query_as!(TaskRow, "SELECT * FROM tasks ORDER BY task_id") [INFO] [stdout] | ______________^ [INFO] [stdout] 63 | | .fetch_all(&pg_pool) [INFO] [stdout] 64 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | .map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | json!({"success": false, "message": e.to_string()}).to_string(), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 65 | .map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | .map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | json!({"success": false, "message": e.to_string()}).to_string(), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 65 | .map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let row = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 83 | | CreateTaskRow, [INFO] [stdout] 84 | | "INSERT INTO tasks (name, priority) VALUES ($1, $2) RETURNING task_id", [INFO] [stdout] 85 | | task.name, [INFO] [stdout] ... | [INFO] [stdout] 88 | | .fetch_one(&pg_pool) [INFO] [stdout] 89 | | .await [INFO] [stdout] | |________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let row = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 83 | | CreateTaskRow, [INFO] [stdout] 84 | | "INSERT INTO tasks (name, priority) VALUES ($1, $2) RETURNING task_id", [INFO] [stdout] 85 | | task.name, [INFO] [stdout] ... | [INFO] [stdout] 88 | | .fetch_one(&pg_pool) [INFO] [stdout] 89 | | .await [INFO] [stdout] | |________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 93 | json!({"success": false, "message": e.to_string()}).to_string(), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 93 | json!({"success": false, "message": e.to_string()}).to_string(), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!( [INFO] [stdout] 109 | | " [INFO] [stdout] 110 | | UPDATE tasks SET [INFO] [stdout] 111 | | name = $2, [INFO] [stdout] ... | [INFO] [stdout] 119 | | .execute(&pg_pool) [INFO] [stdout] 120 | | .await [INFO] [stdout] | |________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | .map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 124 | json!({"success": false, "message": e.to_string()}).to_string(), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | .map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!( [INFO] [stdout] 109 | | " [INFO] [stdout] 110 | | UPDATE tasks SET [INFO] [stdout] 111 | | name = $2, [INFO] [stdout] ... | [INFO] [stdout] 119 | | .execute(&pg_pool) [INFO] [stdout] 120 | | .await [INFO] [stdout] | |________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query!("DELETE FROM tasks WHERE task_id = $1", task_id) [INFO] [stdout] 136 | | .execute(&pg_pool) [INFO] [stdout] 137 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | .map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | json!({"success": false, "message": e.to_string()}).to_string(), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | .map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | .map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 124 | json!({"success": false, "message": e.to_string()}).to_string(), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | .map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query!("DELETE FROM tasks WHERE task_id = $1", task_id) [INFO] [stdout] 136 | | .execute(&pg_pool) [INFO] [stdout] 137 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | .map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | json!({"success": false, "message": e.to_string()}).to_string(), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | .map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_crud_rest` (bin "axum_crud_rest") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `axum_crud_rest` (bin "axum_crud_rest" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "e4480d8bad0a136fac7c018dbb9c7bb558179d484e6ae20d43fda4b14cb04051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4480d8bad0a136fac7c018dbb9c7bb558179d484e6ae20d43fda4b14cb04051", kill_on_drop: false }` [INFO] [stdout] e4480d8bad0a136fac7c018dbb9c7bb558179d484e6ae20d43fda4b14cb04051