[INFO] cloning repository https://github.com/radhanama/EyeLight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/radhanama/EyeLight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradhanama%2FEyeLight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradhanama%2FEyeLight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5a9e3a841e695577a6e7de97e6bb3ec8027c670 [INFO] building radhanama/EyeLight against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradhanama%2FEyeLight" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/radhanama/EyeLight [INFO] finished tweaking git repo https://github.com/radhanama/EyeLight [INFO] tweaked toml for git repo https://github.com/radhanama/EyeLight written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/radhanama/EyeLight on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/radhanama/EyeLight already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded warp v0.3.6 [INFO] [stderr] Downloaded h2 v0.3.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68a04ed06295fcd89159296c2f466b240828567ad1df9b621a040bebe5dfcbc4 [INFO] running `Command { std: "docker" "start" "-a" "68a04ed06295fcd89159296c2f466b240828567ad1df9b621a040bebe5dfcbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68a04ed06295fcd89159296c2f466b240828567ad1df9b621a040bebe5dfcbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a04ed06295fcd89159296c2f466b240828567ad1df9b621a040bebe5dfcbc4", kill_on_drop: false }` [INFO] [stdout] 68a04ed06295fcd89159296c2f466b240828567ad1df9b621a040bebe5dfcbc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbb6b461f276cdf2c3e3a55d8b4aee967543b2b81c03f78e1ba126490c528e53 [INFO] running `Command { std: "docker" "start" "-a" "fbb6b461f276cdf2c3e3a55d8b4aee967543b2b81c03f78e1ba126490c528e53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling warp v0.3.6 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling eyelight v1.75.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/repository.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | let photo_id: i32 = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 9 | | r#"INSERT INTO photos (data, analysis_result) VALUES ($1, $2) RETURNING id"#, [INFO] [stdout] 10 | | photo.data, [INFO] [stdout] 11 | | photo.analysis_result [INFO] [stdout] 12 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool` and `Postgres` [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{postgres::PgPool, Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use warp::{http::StatusCode, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rejection` [INFO] [stdout] --> src/utils/errors.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::reject::{Reject, Rejection}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/services/mock_analysis.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn analyze_image(data: Bytes) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eyelight` (bin "eyelight") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fbb6b461f276cdf2c3e3a55d8b4aee967543b2b81c03f78e1ba126490c528e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb6b461f276cdf2c3e3a55d8b4aee967543b2b81c03f78e1ba126490c528e53", kill_on_drop: false }` [INFO] [stdout] fbb6b461f276cdf2c3e3a55d8b4aee967543b2b81c03f78e1ba126490c528e53