[INFO] cloning repository https://github.com/Akitotameto/rust-sqlx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Akitotameto/rust-sqlx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkitotameto%2Frust-sqlx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkitotameto%2Frust-sqlx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1cfc301f4cd5f201bbc48548ca22d1540c6fc45c [INFO] checking Akitotameto/rust-sqlx against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkitotameto%2Frust-sqlx" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Akitotameto/rust-sqlx on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Akitotameto/rust-sqlx [INFO] finished tweaking git repo https://github.com/Akitotameto/rust-sqlx [INFO] tweaked toml for git repo https://github.com/Akitotameto/rust-sqlx written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Akitotameto/rust-sqlx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 089963ee66918fa0831436c76d80f5af64b93af0b7afdfc9253b2244953731fd [INFO] running `Command { std: "docker" "start" "-a" "089963ee66918fa0831436c76d80f5af64b93af0b7afdfc9253b2244953731fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "089963ee66918fa0831436c76d80f5af64b93af0b7afdfc9253b2244953731fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089963ee66918fa0831436c76d80f5af64b93af0b7afdfc9253b2244953731fd", kill_on_drop: false }` [INFO] [stdout] 089963ee66918fa0831436c76d80f5af64b93af0b7afdfc9253b2244953731fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f763565d563a349fc9df759749178f8dcc30a523648296b5d8260fbad27f4365 [INFO] running `Command { std: "docker" "start" "-a" "f763565d563a349fc9df759749178f8dcc30a523648296b5d8260fbad27f4365", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Checking simple_asn1 v0.5.3 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Compiling rsa v0.4.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking sqlx-rt v0.5.5 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking sqlx-core v0.5.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking sqlx v0.5.5 [INFO] [stderr] Checking rust-sqlx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/user.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let users = sqlx::query_as!(User, [INFO] [stdout] | _____________________^ [INFO] [stdout] 21 | | " [INFO] [stdout] 22 | | SELECT id, name [INFO] [stdout] 23 | | FROM users [INFO] [stdout] 24 | | " [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let recs = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 5 | | r#" [INFO] [stdout] 6 | | SELECT id [INFO] [stdout] 7 | | FROM users [INFO] [stdout] 8 | | ORDER BY id [INFO] [stdout] 9 | | "# [INFO] [stdout] 10 | | ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / sqlx::query!( [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO users(id, name) [INFO] [stdout] 31 | | VALUES ( ?, ? ) [INFO] [stdout] 32 | | "#, [INFO] [stdout] 33 | | id, name [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | / sqlx::query!( [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | UPDATE users SET name = ? WHERE id = ? [INFO] [stdout] 46 | | "#, [INFO] [stdout] 47 | | name, id [INFO] [stdout] 48 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | / sqlx::query!( [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | DELETE FROM users WHERE id = ? [INFO] [stdout] 59 | | "#, [INFO] [stdout] 60 | | id [INFO] [stdout] 61 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query_as.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | let users = sqlx::query_as!(User, [INFO] [stdout] | _______________^ [INFO] [stdout] 6 | | " [INFO] [stdout] 7 | | SELECT id, name [INFO] [stdout] 8 | | FROM users [INFO] [stdout] 9 | | " [INFO] [stdout] 10 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query_as.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / sqlx::query_as!(User, [INFO] [stdout] 28 | | " [INFO] [stdout] 29 | | INSERT INTO users(id, name) [INFO] [stdout] 30 | | VALUES ( ?, ? ) [INFO] [stdout] 31 | | ", [INFO] [stdout] 32 | | id,name [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/user.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let users = sqlx::query_as!(User, [INFO] [stdout] | _____________________^ [INFO] [stdout] 21 | | " [INFO] [stdout] 22 | | SELECT id, name [INFO] [stdout] 23 | | FROM users [INFO] [stdout] 24 | | " [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query_as.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query_as!(User, [INFO] [stdout] 43 | | " [INFO] [stdout] 44 | | UPDATE users SET name = ? WHERE id = ? [INFO] [stdout] 45 | | ", [INFO] [stdout] 46 | | name, id [INFO] [stdout] 47 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query_as.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!(User, [INFO] [stdout] 56 | | " [INFO] [stdout] 57 | | DELETE FROM users WHERE id = ? [INFO] [stdout] 58 | | ", [INFO] [stdout] 59 | | id [INFO] [stdout] 60 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let recs = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 5 | | r#" [INFO] [stdout] 6 | | SELECT id [INFO] [stdout] 7 | | FROM users [INFO] [stdout] 8 | | ORDER BY id [INFO] [stdout] 9 | | "# [INFO] [stdout] 10 | | ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / sqlx::query!( [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO users(id, name) [INFO] [stdout] 31 | | VALUES ( ?, ? ) [INFO] [stdout] 32 | | "#, [INFO] [stdout] 33 | | id, name [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | / sqlx::query!( [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | UPDATE users SET name = ? WHERE id = ? [INFO] [stdout] 46 | | "#, [INFO] [stdout] 47 | | name, id [INFO] [stdout] 48 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | / sqlx::query!( [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | DELETE FROM users WHERE id = ? [INFO] [stdout] 59 | | "#, [INFO] [stdout] 60 | | id [INFO] [stdout] 61 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query_as.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | let users = sqlx::query_as!(User, [INFO] [stdout] | _______________^ [INFO] [stdout] 6 | | " [INFO] [stdout] 7 | | SELECT id, name [INFO] [stdout] 8 | | FROM users [INFO] [stdout] 9 | | " [INFO] [stdout] 10 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query_as.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / sqlx::query_as!(User, [INFO] [stdout] 28 | | " [INFO] [stdout] 29 | | INSERT INTO users(id, name) [INFO] [stdout] 30 | | VALUES ( ?, ? ) [INFO] [stdout] 31 | | ", [INFO] [stdout] 32 | | id,name [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query_as.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query_as!(User, [INFO] [stdout] 43 | | " [INFO] [stdout] 44 | | UPDATE users SET name = ? WHERE id = ? [INFO] [stdout] 45 | | ", [INFO] [stdout] 46 | | name, id [INFO] [stdout] 47 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user_query_as.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!(User, [INFO] [stdout] 56 | | " [INFO] [stdout] 57 | | DELETE FROM users WHERE id = ? [INFO] [stdout] 58 | | ", [INFO] [stdout] 59 | | id [INFO] [stdout] 60 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::UserData` [INFO] [stdout] --> src/routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::user::UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::UserData` [INFO] [stdout] --> src/routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::user::UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rejection`, `Reply` [INFO] [stdout] --> src/models/user.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::{Rejection, Reply}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rejection`, `Reply` [INFO] [stdout] --> src/models/user.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::{Rejection, Reply}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rejection`, `Reply` [INFO] [stdout] --> src/controllers/user_controller.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::{Rejection, Reply}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rejection`, `Reply` [INFO] [stdout] --> src/controllers/user_controller.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::{Rejection, Reply}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::User` [INFO] [stdout] --> src/user_query_as.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::User` [INFO] [stdout] --> src/user_query_as.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this type alias takes at least 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/controllers/user_controller.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_users_handler() -> anyhow::Result<> { [INFO] [stdout] | ^^^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.41/src/lib.rs:455:10 [INFO] [stdout] | [INFO] [stdout] 455 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_users_handler() -> anyhow::Result { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/user_controller.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(()) [INFO] [stdout] | ^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this type alias takes at least 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/controllers/user_controller.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_users_handler() -> anyhow::Result<> { [INFO] [stdout] | ^^^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.41/src/lib.rs:455:10 [INFO] [stdout] | [INFO] [stdout] 455 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_users_handler() -> anyhow::Result { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/user_controller.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(()) [INFO] [stdout] | ^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: reject::sealed::CombineRejection` is not satisfied [INFO] [stdout] --> src/routes.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | .and_then(move || user_controller::get_users_handler()) // Handlerを呼び出す [INFO] [stdout] | ^^^^^^^^ the trait `reject::sealed::CombineRejection` is not implemented for `anyhow::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `boxed` exists for struct `warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | .boxed() [INFO] [stdout] | ^^^^^ method cannot be called on `warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/warp-0.3.1/src/filter/and_then.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AndThen { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: warp::Filter` [INFO] [stdout] | doesn't satisfy `_: warp::filter::FilterBase` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::filter::FilterBase` [INFO] [stdout] which is required by `warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::Filter` [INFO] [stdout] `&warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::Filter` [INFO] [stdout] `&mut warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&mut warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::Filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: reject::sealed::CombineRejection` is not satisfied [INFO] [stdout] --> src/routes.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | .and_then(move || user_controller::get_users_handler()) // Handlerを呼び出す [INFO] [stdout] | ^^^^^^^^ the trait `reject::sealed::CombineRejection` is not implemented for `anyhow::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `boxed` exists for struct `warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | .boxed() [INFO] [stdout] | ^^^^^ method cannot be called on `warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/warp-0.3.1/src/filter/and_then.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AndThen { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: warp::Filter` [INFO] [stdout] | doesn't satisfy `_: warp::filter::FilterBase` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::filter::FilterBase` [INFO] [stdout] which is required by `warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::Filter` [INFO] [stdout] `&warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::Filter` [INFO] [stdout] `&mut warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&mut warp::filter::and_then::AndThen>, impl warp::Filter+Copy>, [closure@src/routes.rs:18:19: 18:63]>: warp::Filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sqlx` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f763565d563a349fc9df759749178f8dcc30a523648296b5d8260fbad27f4365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f763565d563a349fc9df759749178f8dcc30a523648296b5d8260fbad27f4365", kill_on_drop: false }` [INFO] [stdout] f763565d563a349fc9df759749178f8dcc30a523648296b5d8260fbad27f4365