[INFO] cloning repository https://github.com/abhijivanirapidops/todo_app_actix_mysql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhijivanirapidops/todo_app_actix_mysql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijivanirapidops%2Ftodo_app_actix_mysql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijivanirapidops%2Ftodo_app_actix_mysql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5cce826315c2a9cbebae1a76b6a9a46f8b3c6d20 [INFO] checking abhijivanirapidops/todo_app_actix_mysql/5cce826315c2a9cbebae1a76b6a9a46f8b3c6d20 against master#f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijivanirapidops%2Ftodo_app_actix_mysql" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/abhijivanirapidops/todo_app_actix_mysql [INFO] finished tweaking git repo https://github.com/abhijivanirapidops/todo_app_actix_mysql [INFO] tweaked toml for git repo https://github.com/abhijivanirapidops/todo_app_actix_mysql written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abhijivanirapidops/todo_app_actix_mysql on toolchain f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abhijivanirapidops/todo_app_actix_mysql 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" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-identity v0.5.2 [INFO] [stderr] Downloaded actix-session v0.8.0 [INFO] [stderr] Downloaded actix-session v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a8fbe450612800e0e9efdeec3c9e91882e1a8f5b151e138eef11f36725e37a6 [INFO] running `Command { std: "docker" "start" "-a" "2a8fbe450612800e0e9efdeec3c9e91882e1a8f5b151e138eef11f36725e37a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a8fbe450612800e0e9efdeec3c9e91882e1a8f5b151e138eef11f36725e37a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8fbe450612800e0e9efdeec3c9e91882e1a8f5b151e138eef11f36725e37a6", kill_on_drop: false }` [INFO] [stdout] 2a8fbe450612800e0e9efdeec3c9e91882e1a8f5b151e138eef11f36725e37a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e032fb4f478a5e34a05f7879c6eb9565c20e74d7206da68262f81914e961c516 [INFO] running `Command { std: "docker" "start" "-a" "e032fb4f478a5e34a05f7879c6eb9565c20e74d7206da68262f81914e961c516", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking anyhow v1.0.98 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking actix-session v0.7.2 [INFO] [stderr] Checking actix-session v0.8.0 [INFO] [stderr] Checking actix-identity v0.5.2 [INFO] [stderr] Checking todo_app_actix_mysql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / sqlx::query!( [INFO] [stdout] 52 | | r#" [INFO] [stdout] 53 | | INSERT INTO todos (id, title, description, status, user_id, created_at, updated_at) [INFO] [stdout] 54 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 62 | | todo.updated_at [INFO] [stdout] 63 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 72 | | TodoRow, [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | SELECT id, title, description, status, user_id, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 79 | | user_id.to_string() [INFO] [stdout] 80 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 90 | | TodoRow, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT id, title, description, status, user_id, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 96 | | id.to_string() [INFO] [stdout] 97 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / sqlx::query!( [INFO] [stdout] 128 | | r#" [INFO] [stdout] 129 | | UPDATE todos [INFO] [stdout] 130 | | SET title = ?, description = ?, status = ?, updated_at = ? [INFO] [stdout] ... | [INFO] [stdout] 137 | | id.to_string() [INFO] [stdout] 138 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let result = sqlx::query!("DELETE FROM todos WHERE id = ?", id.to_string()) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query!( [INFO] [stdout] 50 | | r#" [INFO] [stdout] 51 | | INSERT INTO users (id, name, email, password, role, created_at, updated_at) [INFO] [stdout] 52 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 60 | | user.updated_at [INFO] [stdout] 61 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 70 | | UserRow, [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT id, name, email, password, role, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 75 | | "# [INFO] [stdout] 76 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 86 | | UserRow, [INFO] [stdout] 87 | | r#" [INFO] [stdout] 88 | | SELECT id, name, email, password, role, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 92 | | id.to_string() [INFO] [stdout] 93 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 102 | | UserRow, [INFO] [stdout] 103 | | r#" [INFO] [stdout] 104 | | SELECT id, name, email, password, role, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 108 | | email [INFO] [stdout] 109 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!( [INFO] [stdout] 137 | | r#" [INFO] [stdout] 138 | | UPDATE users [INFO] [stdout] 139 | | SET name = ?, email = ?, password = ?, role = ?, updated_at = ? [INFO] [stdout] ... | [INFO] [stdout] 147 | | id.to_string() [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | let result = sqlx::query!("DELETE FROM users WHERE id = ?", id.to_string()) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | let result = sqlx::query!("SELECT id FROM users WHERE email = ?", email) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / sqlx::query!( [INFO] [stdout] 52 | | r#" [INFO] [stdout] 53 | | INSERT INTO todos (id, title, description, status, user_id, created_at, updated_at) [INFO] [stdout] 54 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 62 | | todo.updated_at [INFO] [stdout] 63 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 72 | | TodoRow, [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | SELECT id, title, description, status, user_id, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 79 | | user_id.to_string() [INFO] [stdout] 80 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 90 | | TodoRow, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT id, title, description, status, user_id, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 96 | | id.to_string() [INFO] [stdout] 97 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / sqlx::query!( [INFO] [stdout] 128 | | r#" [INFO] [stdout] 129 | | UPDATE todos [INFO] [stdout] 130 | | SET title = ?, description = ?, status = ?, updated_at = ? [INFO] [stdout] ... | [INFO] [stdout] 137 | | id.to_string() [INFO] [stdout] 138 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/todo_schema.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let result = sqlx::query!("DELETE FROM todos WHERE id = ?", id.to_string()) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query!( [INFO] [stdout] 50 | | r#" [INFO] [stdout] 51 | | INSERT INTO users (id, name, email, password, role, created_at, updated_at) [INFO] [stdout] 52 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 60 | | user.updated_at [INFO] [stdout] 61 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 70 | | UserRow, [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT id, name, email, password, role, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 75 | | "# [INFO] [stdout] 76 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 86 | | UserRow, [INFO] [stdout] 87 | | r#" [INFO] [stdout] 88 | | SELECT id, name, email, password, role, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 92 | | id.to_string() [INFO] [stdout] 93 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 102 | | UserRow, [INFO] [stdout] 103 | | r#" [INFO] [stdout] 104 | | SELECT id, name, email, password, role, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 108 | | email [INFO] [stdout] 109 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!( [INFO] [stdout] 137 | | r#" [INFO] [stdout] 138 | | UPDATE users [INFO] [stdout] 139 | | SET name = ?, email = ?, password = ?, role = ?, updated_at = ? [INFO] [stdout] ... | [INFO] [stdout] 147 | | id.to_string() [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | let result = sqlx::query!("DELETE FROM users WHERE id = ?", id.to_string()) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/schema/user_schema.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | let result = sqlx::query!("SELECT id FROM users WHERE email = ?", email) [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/schema/todo_schema.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let rows = sqlx::query_as!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | let todos = rows.into_iter().map(Todo::from).collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let rows: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/todo_schema.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let row = sqlx::query_as!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(row.map(Todo::from)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `row` an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | let row: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/todo_schema.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let result = sqlx::query!("DELETE FROM todos WHERE id = ?", id.to_string()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 149 | let result: /* Type */ = sqlx::query!("DELETE FROM todos WHERE id = ?", id.to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let rows = sqlx::query_as!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | let users = rows.into_iter().map(User::from).collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let rows: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let row = sqlx::query_as!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(row.map(User::from)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `row` an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | let row: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let row = sqlx::query_as!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(row.map(User::from)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `row` an explicit type [INFO] [stdout] | [INFO] [stdout] 101 | let row: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let result = sqlx::query!("DELETE FROM users WHERE id = ?", id.to_string()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 159 | let result: /* Type */ = sqlx::query!("DELETE FROM users WHERE id = ?", id.to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let result = sqlx::query!("SELECT id FROM users WHERE email = ?", email) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | Ok(result.is_some()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 167 | let result: /* Type */ = sqlx::query!("SELECT id FROM users WHERE email = ?", email) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/todo_schema.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let rows = sqlx::query_as!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | let todos = rows.into_iter().map(Todo::from).collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let rows: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/todo_schema.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let row = sqlx::query_as!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(row.map(Todo::from)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `row` an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | let row: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/todo_schema.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let result = sqlx::query!("DELETE FROM todos WHERE id = ?", id.to_string()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 149 | let result: /* Type */ = sqlx::query!("DELETE FROM todos WHERE id = ?", id.to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let rows = sqlx::query_as!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | let users = rows.into_iter().map(User::from).collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let rows: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let row = sqlx::query_as!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(row.map(User::from)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `row` an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | let row: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let row = sqlx::query_as!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(row.map(User::from)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `row` an explicit type [INFO] [stdout] | [INFO] [stdout] 101 | let row: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let result = sqlx::query!("DELETE FROM users WHERE id = ?", id.to_string()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 159 | let result: /* Type */ = sqlx::query!("DELETE FROM users WHERE id = ?", id.to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema/user_schema.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let result = sqlx::query!("SELECT id FROM users WHERE email = ?", email) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | Ok(result.is_some()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 167 | let result: /* Type */ = sqlx::query!("SELECT id FROM users WHERE email = ?", email) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo_app_actix_mysql` (bin "todo_app_actix_mysql" test) due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo_app_actix_mysql` (bin "todo_app_actix_mysql") due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "e032fb4f478a5e34a05f7879c6eb9565c20e74d7206da68262f81914e961c516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e032fb4f478a5e34a05f7879c6eb9565c20e74d7206da68262f81914e961c516", kill_on_drop: false }` [INFO] [stdout] e032fb4f478a5e34a05f7879c6eb9565c20e74d7206da68262f81914e961c516