[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] checking sedat/image-index-ai against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsedat%2Fimage-index-ai" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sedat/image-index-ai on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.3
[INFO] [stderr]   Downloaded atomic-write-file v0.1.3
[INFO] [stderr]   Downloaded whoami v1.5.0
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.3
[INFO] [stderr]   Downloaded sqlx-macros v0.7.3
[INFO] [stderr]   Downloaded sqlx-core v0.7.3
[INFO] [stderr]   Downloaded sqlx v0.7.3
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.3
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 870b23b20e6568bbfcce685356e0cdeadad4dd8c57e7dd706522d3b041bf38c7
[INFO] running `Command { std: "docker" "start" "-a" "870b23b20e6568bbfcce685356e0cdeadad4dd8c57e7dd706522d3b041bf38c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "870b23b20e6568bbfcce685356e0cdeadad4dd8c57e7dd706522d3b041bf38c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "870b23b20e6568bbfcce685356e0cdeadad4dd8c57e7dd706522d3b041bf38c7", kill_on_drop: false }`
[INFO] [stdout] 870b23b20e6568bbfcce685356e0cdeadad4dd8c57e7dd706522d3b041bf38c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0f44e599292594dfaa3caffe8e18082646cb9f25ab7a0c4389097075c04c552
[INFO] running `Command { std: "docker" "start" "-a" "c0f44e599292594dfaa3caffe8e18082646cb9f25ab7a0c4389097075c04c552", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking indexmap v2.2.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling chrono v0.4.35
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling whoami v1.5.0
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling atomic-write-file v0.1.3
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking bytemuck v1.14.3
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking sqlformat v0.2.3
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking sqlx-core v0.7.3
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.25
[INFO] [stderr]     Checking sqlx-postgres v0.7.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.3
[INFO] [stderr]     Checking sqlx v0.7.3
[INFO] [stderr]     Checking 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] [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 11s
[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 3`
[INFO] running `Command { std: "docker" "inspect" "c0f44e599292594dfaa3caffe8e18082646cb9f25ab7a0c4389097075c04c552", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0f44e599292594dfaa3caffe8e18082646cb9f25ab7a0c4389097075c04c552", kill_on_drop: false }`
[INFO] [stdout] c0f44e599292594dfaa3caffe8e18082646cb9f25ab7a0c4389097075c04c552
