[INFO] cloning repository https://github.com/pepoviola/tide-lambda-listener-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pepoviola/tide-lambda-listener-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepoviola%2Ftide-lambda-listener-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepoviola%2Ftide-lambda-listener-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5d1c0d0c93d19e62eb6a2c7865dc941760d23d5 [INFO] testing pepoviola/tide-lambda-listener-example against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepoviola%2Ftide-lambda-listener-example" "/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/pepoviola/tide-lambda-listener-example on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pepoviola/tide-lambda-listener-example [INFO] finished tweaking git repo https://github.com/pepoviola/tide-lambda-listener-example [INFO] tweaked toml for git repo https://github.com/pepoviola/tide-lambda-listener-example written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/pepoviola/tide-lambda-listener-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--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-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88c94dd978c35bd89450957455962b1a35c6eee2b9db92ff09d36aa41a80342b [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" "88c94dd978c35bd89450957455962b1a35c6eee2b9db92ff09d36aa41a80342b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88c94dd978c35bd89450957455962b1a35c6eee2b9db92ff09d36aa41a80342b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c94dd978c35bd89450957455962b1a35c6eee2b9db92ff09d36aa41a80342b", kill_on_drop: false }` [INFO] [stdout] 88c94dd978c35bd89450957455962b1a35c6eee2b9db92ff09d36aa41a80342b [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c30c08bdea2ab545a4e08c059c471f0de46e69bad25b6e7760b47c22cb0c4eb8 [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" "c30c08bdea2ab545a4e08c059c471f0de46e69bad25b6e7760b47c22cb0c4eb8", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling http-types v2.11.1 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling tide-lambda-listener-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] warning: NO BUILDING FOR LAMBDA [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling async-rustls v0.2.0 [INFO] [stderr] Compiling async-tls v0.10.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling deadpool v0.7.0 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling fishrock_lambda_runtime v0.3.0-patched.1 [INFO] [stderr] Compiling http-client v6.4.1 [INFO] [stderr] Compiling fishrock_lambda_http v0.3.0-patched.1 [INFO] [stderr] Compiling surf v2.2.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling tide-lambda-listener v0.1.3 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/functions/get_hello.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | let row = query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 13 | | crate::Greeting, [INFO] [stdout] 14 | | r#" [INFO] [stdout] 15 | | SELECT name, country_code FROM "tide-lambda-example-greetings" [INFO] [stdout] ... | [INFO] [stdout] 18 | | name [INFO] [stdout] 19 | | ) [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, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/functions/post_hello.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / query!( [INFO] [stdout] 13 | | r#" [INFO] [stdout] 14 | | INSERT INTO "tide-lambda-example-greetings" (name, country_code) VALUES [INFO] [stdout] 15 | | ($1, $2) returning name, country_code [INFO] [stdout] ... | [INFO] [stdout] 18 | | greeting.country_code [INFO] [stdout] 19 | | ) [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: NO BUILDING FOR LAMBDA [INFO] [stderr] [INFO] [stderr] error: could not compile `tide-lambda-listener-example` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c30c08bdea2ab545a4e08c059c471f0de46e69bad25b6e7760b47c22cb0c4eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c30c08bdea2ab545a4e08c059c471f0de46e69bad25b6e7760b47c22cb0c4eb8", kill_on_drop: false }` [INFO] [stdout] c30c08bdea2ab545a4e08c059c471f0de46e69bad25b6e7760b47c22cb0c4eb8