[INFO] cloning repository https://github.com/mukulve/mphotos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mukulve/mphotos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmukulve%2Fmphotos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmukulve%2Fmphotos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 289e5ba0fb875bf98fb1f2fea377f8453c1840fb [INFO] checking mukulve/mphotos against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmukulve%2Fmphotos" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mukulve/mphotos [INFO] finished tweaking git repo https://github.com/mukulve/mphotos [INFO] tweaked toml for git repo https://github.com/mukulve/mphotos written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mukulve/mphotos on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mukulve/mphotos 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libsqlite3-sys v0.24.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 353cd9b27783605385cdfef3886158a87460b0fcd69075348eaae13c12e18660 [INFO] running `Command { std: "docker" "start" "-a" "353cd9b27783605385cdfef3886158a87460b0fcd69075348eaae13c12e18660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "353cd9b27783605385cdfef3886158a87460b0fcd69075348eaae13c12e18660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "353cd9b27783605385cdfef3886158a87460b0fcd69075348eaae13c12e18660", kill_on_drop: false }` [INFO] [stdout] 353cd9b27783605385cdfef3886158a87460b0fcd69075348eaae13c12e18660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67eec38d4482dd38326c859cf43524754e607ec7ded8e212e95295ac4a41ca4a [INFO] running `Command { std: "docker" "start" "-a" "67eec38d4482dd38326c859cf43524754e607ec7ded8e212e95295ac4a41ca4a", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking uncased v0.9.10 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking figment v0.10.19 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking kamadak-exif v0.6.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking infer v0.19.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking sqlx-rt v0.6.3 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking sqlx-core v0.6.3 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking mphotos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 112 | [INFO] [stdout] 113 | let mut query = "SELECT id, filename, exif_data, image_data FROM images WHERE 1=1".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 112 | [INFO] [stdout] 113 | let mut query = "SELECT id, filename, exif_data, image_data FROM images WHERE 1=1".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | async fn get_images(api_key: ApiKey, pool: &rocket::State) -> Result>, rocket::http::Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | async fn get_images(api_key: ApiKey, pool: &rocket::State) -> Result>, rocket::http::Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | filter: FilterQuery, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | pool: &rocket::State [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | filter: FilterQuery, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | pool: &rocket::State [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ApiKey(pub String); [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ApiKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ApiKey(pub String); [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ApiKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "67eec38d4482dd38326c859cf43524754e607ec7ded8e212e95295ac4a41ca4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67eec38d4482dd38326c859cf43524754e607ec7ded8e212e95295ac4a41ca4a", kill_on_drop: false }` [INFO] [stdout] 67eec38d4482dd38326c859cf43524754e607ec7ded8e212e95295ac4a41ca4a