[INFO] cloning repository https://github.com/qgorak/curly-goggles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qgorak/curly-goggles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqgorak%2Fcurly-goggles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqgorak%2Fcurly-goggles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51f045757cc1e2aadab979850d2c750d312dfddf [INFO] testing qgorak/curly-goggles against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqgorak%2Fcurly-goggles" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qgorak/curly-goggles on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qgorak/curly-goggles [INFO] finished tweaking git repo https://github.com/qgorak/curly-goggles [INFO] tweaked toml for git repo https://github.com/qgorak/curly-goggles written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/qgorak/curly-goggles already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cda96fc1850c217234ee2deffa5ee7209533a7029e7f63d363234ee815e6a65 [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" "5cda96fc1850c217234ee2deffa5ee7209533a7029e7f63d363234ee815e6a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cda96fc1850c217234ee2deffa5ee7209533a7029e7f63d363234ee815e6a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cda96fc1850c217234ee2deffa5ee7209533a7029e7f63d363234ee815e6a65", kill_on_drop: false }` [INFO] [stdout] 5cda96fc1850c217234ee2deffa5ee7209533a7029e7f63d363234ee815e6a65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0ab4dc5dd66dd87a3ef7d9f69d0e6556d51f24511a164dafede22f9a65adbb7 [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" "c0ab4dc5dd66dd87a3ef7d9f69d0e6556d51f24511a164dafede22f9a65adbb7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-rt v2.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling rsa v0.4.1 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling sqlx v0.5.9 [INFO] [stderr] Compiling hello-rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | let recs = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | SELECT id, name [INFO] [stdout] 37 | | FROM receipe [INFO] [stdout] 38 | | ORDER BY id [INFO] [stdout] 39 | | "# [INFO] [stdout] 40 | | ) [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: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::State` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::State; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/main.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | return(recs); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - return(recs); [INFO] [stdout] 43 + returnrecs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not an iterator [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | for rec in recs { [INFO] [stdout] | ^^^^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `()` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: Responder<'_, '_>` is not satisfied [INFO] [stdout] --> src/main.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | async fn index(pool: &rocket::State) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ the trait `Responder<'_, '_>` is not implemented for `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Responder<'_, '_>` for `Result<(), anyhow::Error>` [INFO] [stdout] note: required by a bound in `route::handler::, Status, rocket::Data<'o>>>::from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rocket-0.5.0-rc.1/src/route/handler.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from>(req: &'r Request<'_>, responder: R) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `route::handler::, Status, rocket::Data<'o>>>::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-rocket` due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c0ab4dc5dd66dd87a3ef7d9f69d0e6556d51f24511a164dafede22f9a65adbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ab4dc5dd66dd87a3ef7d9f69d0e6556d51f24511a164dafede22f9a65adbb7", kill_on_drop: false }` [INFO] [stdout] c0ab4dc5dd66dd87a3ef7d9f69d0e6556d51f24511a164dafede22f9a65adbb7