[INFO] cloning repository https://github.com/sedat/image-index-ai
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sedat/image-index-ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsedat%2Fimage-index-ai", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsedat%2Fimage-index-ai'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 198c98426961d85721fe9e5bd7df407da238d81c
[INFO] building sedat/image-index-ai against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsedat%2Fimage-index-ai" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sedat/image-index-ai
[INFO] finished tweaking git repo https://github.com/sedat/image-index-ai
[INFO] tweaked toml for git repo https://github.com/sedat/image-index-ai written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sedat/image-index-ai on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sedat/image-index-ai 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crc v3.0.1
[INFO] [stderr]   Downloaded thiserror v1.0.57
[INFO] [stderr]   Downloaded sqlx-macros v0.7.3
[INFO] [stderr]   Downloaded thiserror-impl v1.0.57
[INFO] [stderr]   Downloaded system-configuration v0.6.0
[INFO] [stderr]   Downloaded atomic-write-file v0.1.3
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.3
[INFO] [stderr]   Downloaded bytemuck v1.14.3
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.3
[INFO] [stderr]   Downloaded der v0.7.8
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.3
[INFO] [stderr]   Downloaded sqlx v0.7.3
[INFO] [stderr]   Downloaded allocator-api2 v0.2.16
[INFO] [stderr]   Downloaded sqlx-core v0.7.3
[INFO] [stderr]   Downloaded rayon v1.9.0
[INFO] [stderr]   Downloaded chrono v0.4.35
[INFO] [stderr]   Downloaded reqwest v0.11.25
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.3
[INFO] [stderr]   Downloaded whoami v1.5.0
[INFO] [stderr]   Downloaded num-iter v0.1.44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee70b20c8f3838e881a9f61ade91f5cf8dffb7cd5556ef4aef10d553a8c80921
[INFO] running `Command { std: "docker" "start" "-a" "ee70b20c8f3838e881a9f61ade91f5cf8dffb7cd5556ef4aef10d553a8c80921", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee70b20c8f3838e881a9f61ade91f5cf8dffb7cd5556ef4aef10d553a8c80921", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee70b20c8f3838e881a9f61ade91f5cf8dffb7cd5556ef4aef10d553a8c80921", kill_on_drop: false }`
[INFO] [stdout] ee70b20c8f3838e881a9f61ade91f5cf8dffb7cd5556ef4aef10d553a8c80921
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 020744355f0568e9405de520f1b787655773a0d49163e0febcca3f61934fa603
[INFO] running `Command { std: "docker" "start" "-a" "020744355f0568e9405de520f1b787655773a0d49163e0febcca3f61934fa603", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling chrono v0.4.35
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling whoami v1.5.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling atomic-write-file v0.1.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling bytemuck v1.14.3
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.24
[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 rayon v1.9.0
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling sqlx-core v0.7.3
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.25
[INFO] [stderr]    Compiling sqlx-postgres v0.7.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.3
[INFO] [stderr]    Compiling sqlx v0.7.3
[INFO] [stderr]    Compiling image-index-ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `directory`
[INFO] [stdout]   --> src/main.rs:82:39
[INFO] [stdout]    |
[INFO] [stdout] 82 | async fn upload_photos(pool: &PgPool, directory: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tags_from_search_query` is never used
[INFO] [stdout]    --> src/main.rs:139:10
[INFO] [stdout]     |
[INFO] [stdout] 139 | async fn get_tags_from_search_query(query: &str) -> Result<Vec<String>, Box<dyn Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_photos_by_tags` is never used
[INFO] [stdout]    --> src/main.rs:187:10
[INFO] [stdout]     |
[INFO] [stdout] 187 | async fn search_photos_by_tags(pool: &PgPool, query: &str) -> Result<Vec<Photo>, Box<dyn Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `photo_id`, `file_name`, `file_path`, `tags`, and `created_at` are never read
[INFO] [stdout]    --> src/main.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | struct Photo {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 197 |     photo_id: i32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 198 |     file_name: String,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 199 |     pub(crate) file_path: String,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] 200 |     tags: Vec<String>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 201 |     created_at: NaiveDateTime,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Photo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_photos_by_tags` is never used
[INFO] [stdout]    --> src/main.rs:221:14
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl Photo {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 221 |     async fn search_photos_by_tags(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 47s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "020744355f0568e9405de520f1b787655773a0d49163e0febcca3f61934fa603", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "020744355f0568e9405de520f1b787655773a0d49163e0febcca3f61934fa603", kill_on_drop: false }`
[INFO] [stdout] 020744355f0568e9405de520f1b787655773a0d49163e0febcca3f61934fa603
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 726501ab4d290acb10b98321be1a33e9f6bf88963f0cfd67297e50f93369f8eb
[INFO] running `Command { std: "docker" "start" "-a" "726501ab4d290acb10b98321be1a33e9f6bf88963f0cfd67297e50f93369f8eb", kill_on_drop: false }`
[INFO] [stderr]    Compiling image-index-ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `directory`
[INFO] [stdout]   --> src/main.rs:82:39
[INFO] [stdout]    |
[INFO] [stdout] 82 | async fn upload_photos(pool: &PgPool, directory: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tags_from_search_query` is never used
[INFO] [stdout]    --> src/main.rs:139:10
[INFO] [stdout]     |
[INFO] [stdout] 139 | async fn get_tags_from_search_query(query: &str) -> Result<Vec<String>, Box<dyn Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_photos_by_tags` is never used
[INFO] [stdout]    --> src/main.rs:187:10
[INFO] [stdout]     |
[INFO] [stdout] 187 | async fn search_photos_by_tags(pool: &PgPool, query: &str) -> Result<Vec<Photo>, Box<dyn Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `photo_id`, `file_name`, `file_path`, `tags`, and `created_at` are never read
[INFO] [stdout]    --> src/main.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | struct Photo {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 197 |     photo_id: i32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 198 |     file_name: String,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 199 |     pub(crate) file_path: String,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] 200 |     tags: Vec<String>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 201 |     created_at: NaiveDateTime,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Photo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_photos_by_tags` is never used
[INFO] [stdout]    --> src/main.rs:221:14
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl Photo {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 221 |     async fn search_photos_by_tags(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "726501ab4d290acb10b98321be1a33e9f6bf88963f0cfd67297e50f93369f8eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "726501ab4d290acb10b98321be1a33e9f6bf88963f0cfd67297e50f93369f8eb", kill_on_drop: false }`
[INFO] [stdout] 726501ab4d290acb10b98321be1a33e9f6bf88963f0cfd67297e50f93369f8eb
