[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f59542f9c45653ef2e15ef5d787d6f4b21983d09 [INFO] testing Killavus/actix-todo-api against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Killavus/actix-todo-api on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08a65d2f1edafdc1c4a16f7c52b75c66789d7bdecf929ccd1cfe3f6ff51bcfb0 [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" "08a65d2f1edafdc1c4a16f7c52b75c66789d7bdecf929ccd1cfe3f6ff51bcfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08a65d2f1edafdc1c4a16f7c52b75c66789d7bdecf929ccd1cfe3f6ff51bcfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a65d2f1edafdc1c4a16f7c52b75c66789d7bdecf929ccd1cfe3f6ff51bcfb0", kill_on_drop: false }` [INFO] [stdout] 08a65d2f1edafdc1c4a16f7c52b75c66789d7bdecf929ccd1cfe3f6ff51bcfb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bdee8ec34b4112f35a4ed7ef2ae88f2c3fcd50cb984cde2b463736aac19445f [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" "2bdee8ec34b4112f35a4ed7ef2ae88f2c3fcd50cb984cde2b463736aac19445f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling log v0.4.8 [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 wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling adler v0.2.2 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling parking v1.0.4 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling hashbrown v0.8.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [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 parking_lot_core v0.8.0 [INFO] [stderr] Compiling atoi v0.3.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling env_logger v0.7.1 [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 openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [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 pin-project-internal v0.4.22 [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 serde_derive v1.0.114 [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 pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling js-sys v0.3.41 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling serde v1.0.114 [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-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [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 async-std v1.6.2 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling validator v0.10.1 [INFO] [stderr] Compiling validator_derive v0.10.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 awc v1.0.1 [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2bdee8ec34b4112f35a4ed7ef2ae88f2c3fcd50cb984cde2b463736aac19445f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bdee8ec34b4112f35a4ed7ef2ae88f2c3fcd50cb984cde2b463736aac19445f", kill_on_drop: false }` [INFO] [stdout] 2bdee8ec34b4112f35a4ed7ef2ae88f2c3fcd50cb984cde2b463736aac19445f