[INFO] cloning repository https://github.com/Killavus/actix-todo-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Killavus/actix-todo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f59542f9c45653ef2e15ef5d787d6f4b21983d09 [INFO] testing Killavus/actix-todo-api against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Killavus/actix-todo-api on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Killavus/actix-todo-api [INFO] finished tweaking git repo https://github.com/Killavus/actix-todo-api [INFO] tweaked toml for git repo https://github.com/Killavus/actix-todo-api written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Killavus/actix-todo-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/launchbadge/sqlx` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blocking v0.4.6 [INFO] [stderr] Downloaded if_chain v1.0.0 [INFO] [stderr] Downloaded validator v0.10.1 [INFO] [stderr] Downloaded validator_derive v0.10.1 [INFO] [stderr] Downloaded hashbrown v0.8.0 [INFO] [stderr] Downloaded parking v1.0.4 [INFO] [stderr] Downloaded concurrent-queue v1.1.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1d85f2ad7aca1e33c76fd6c185d41c29f688e68cae66ca9b923aaf382fe387a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c1d85f2ad7aca1e33c76fd6c185d41c29f688e68cae66ca9b923aaf382fe387a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1d85f2ad7aca1e33c76fd6c185d41c29f688e68cae66ca9b923aaf382fe387a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d85f2ad7aca1e33c76fd6c185d41c29f688e68cae66ca9b923aaf382fe387a", kill_on_drop: false }` [INFO] [stdout] c1d85f2ad7aca1e33c76fd6c185d41c29f688e68cae66ca9b923aaf382fe387a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80967da6bc026b798e2e11163686d55d992c7ea47600d7e73c49660b025cf13d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "80967da6bc026b798e2e11163686d55d992c7ea47600d7e73c49660b025cf13d", 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] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling adler v0.2.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling parking v1.0.4 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling hashbrown v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling atoi v0.3.2 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling js-sys v0.3.41 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling web-sys v0.3.41 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling validator v0.10.1 [INFO] [stderr] Compiling validator_derive v0.10.1 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-rt v0.1.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Compiling sqlx-core v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling sqlx-macros v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Compiling sqlx v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Compiling todo-list-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/model/todo.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ... sqlx::query_as!(Todo, "SELECT todos.* FROM todos JOIN work_lists ON work_lists.id = todos.work_list_id WHERE todos.id = ? AND work_lists.client_id = ?", id, client_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (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/model/todo.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query!( [INFO] [stdout] 87 | | "INSERT INTO todos (content, completed, work_list_id) VALUES (?, false, ?)", [INFO] [stdout] 88 | | form.content, [INFO] [stdout] 89 | | form.work_list_id [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (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/model/todo.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | sqlx::query!("DELETE FROM todos WHERE id = ?", self.id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (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/model/work_list.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / sqlx::query!( [INFO] [stdout] 51 | | "INSERT INTO work_lists (name, client_id) VALUES (?, ?)", [INFO] [stdout] 52 | | name, [INFO] [stdout] 53 | | client_id [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (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/model/work_list.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let rows_affected: u64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 100 | | "DELETE FROM work_lists WHERE id = ? AND client_id = ?", [INFO] [stdout] 101 | | self.id, [INFO] [stdout] 102 | | client_id [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (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/model/work_list.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let rows_affected: u64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 123 | | "UPDATE work_lists SET name = ? WHERE id = ? AND client_id = ?", [INFO] [stdout] 124 | | new_name, [INFO] [stdout] 125 | | self.id, [INFO] [stdout] 126 | | client_id [INFO] [stdout] 127 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (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/model/work_list.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let todos = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE todos.work_list_id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (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/web_app/client.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | sqlx::query_as!(Client, "SELECT * FROM clients WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-list-api` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "80967da6bc026b798e2e11163686d55d992c7ea47600d7e73c49660b025cf13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80967da6bc026b798e2e11163686d55d992c7ea47600d7e73c49660b025cf13d", kill_on_drop: false }` [INFO] [stdout] 80967da6bc026b798e2e11163686d55d992c7ea47600d7e73c49660b025cf13d