[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] testing Akitotameto/rust-sqlx against beta-2022-04-10 for beta-1.61-1 [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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8a1c98fc360fde5cae97d390710835a7fc0f8315088e693c9478e7126de761f [INFO] running `Command { std: "docker" "start" "-a" "a8a1c98fc360fde5cae97d390710835a7fc0f8315088e693c9478e7126de761f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8a1c98fc360fde5cae97d390710835a7fc0f8315088e693c9478e7126de761f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a1c98fc360fde5cae97d390710835a7fc0f8315088e693c9478e7126de761f", kill_on_drop: false }` [INFO] [stdout] a8a1c98fc360fde5cae97d390710835a7fc0f8315088e693c9478e7126de761f [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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0018c5d7210a79dc0566828c01433ba3746e57344ebec98c6163eb853f2717cb [INFO] running `Command { std: "docker" "start" "-a" "0018c5d7210a79dc0566828c01433ba3746e57344ebec98c6163eb853f2717cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [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 ahash v0.7.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [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 mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [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] Compiling simple_asn1 v0.5.3 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling rsa v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling 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/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 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 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: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sqlx` due to 11 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0018c5d7210a79dc0566828c01433ba3746e57344ebec98c6163eb853f2717cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0018c5d7210a79dc0566828c01433ba3746e57344ebec98c6163eb853f2717cb", kill_on_drop: false }` [INFO] [stdout] 0018c5d7210a79dc0566828c01433ba3746e57344ebec98c6163eb853f2717cb