[INFO] cloning repository https://github.com/benjamincottle/frame-admin-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benjamincottle/frame-admin-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamincottle%2Fframe-admin-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamincottle%2Fframe-admin-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa88b91dd9078a8d8e422178427653257c99120f
[INFO] building benjamincottle/frame-admin-api against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamincottle%2Fframe-admin-api" "/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/benjamincottle/frame-admin-api
[INFO] finished tweaking git repo https://github.com/benjamincottle/frame-admin-api
[INFO] tweaked toml for git repo https://github.com/benjamincottle/frame-admin-api written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/benjamincottle/frame-admin-api 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/benjamincottle/frame-admin-api 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]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded whoami v1.5.1
[INFO] [stderr]   Downloaded postgres v0.19.7
[INFO] [stderr]   Downloaded postgres-types v0.2.6
[INFO] [stderr]   Downloaded chunked_transfer v1.5.0
[INFO] [stderr]   Downloaded image-webp v0.1.2
[INFO] [stderr]   Downloaded ascii v1.1.0
[INFO] [stderr]   Downloaded tiny_http v0.12.0
[INFO] [stderr]   Downloaded anstyle-query v1.1.0
[INFO] [stderr]   Downloaded bytemuck v1.16.1
[INFO] [stderr]   Downloaded avif-serialize v0.8.1
[INFO] [stderr]   Downloaded tokio-postgres v0.7.10
[INFO] [stderr]   Downloaded imgref v1.10.1
[INFO] [stderr]   Downloaded bitstream-io v2.4.2
[INFO] [stderr]   Downloaded rgb v0.8.40
[INFO] [stderr]   Downloaded zune-jpeg v0.4.11
[INFO] [stderr]   Downloaded bstr v1.9.1
[INFO] [stderr]   Downloaded postgres-protocol v0.6.6
[INFO] [stderr]   Downloaded built v0.7.3
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.15
[INFO] [stderr]   Downloaded ravif v0.11.7
[INFO] [stderr]   Downloaded ureq v2.9.7
[INFO] [stderr]   Downloaded unicode-properties v0.1.1
[INFO] [stderr]   Downloaded image v0.25.1
[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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f4ec97332bb12874fd53f856d48e002110054d22882612464a2178af148c886
[INFO] running `Command { std: "docker" "start" "-a" "2f4ec97332bb12874fd53f856d48e002110054d22882612464a2178af148c886", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f4ec97332bb12874fd53f856d48e002110054d22882612464a2178af148c886", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f4ec97332bb12874fd53f856d48e002110054d22882612464a2178af148c886", kill_on_drop: false }`
[INFO] [stdout] 2f4ec97332bb12874fd53f856d48e002110054d22882612464a2178af148c886
[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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77cd9dedc9701e5a4cba0a7990710cc19736d3e5f7cb8790ed4f1c510bffce39
[INFO] running `Command { std: "docker" "start" "-a" "77cd9dedc9701e5a4cba0a7990710cc19736d3e5f7cb8790ed4f1c510bffce39", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling tinyvec v1.6.1
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling cc v1.0.104
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling unicode-properties v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling built v0.7.3
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling bstr v1.9.1
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling bytemuck v1.16.1
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling globset v0.4.14
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling postgres-protocol v0.6.6
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling imgref v1.10.1
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling uuid v1.9.1
[INFO] [stderr]    Compiling bitstream-io v2.4.2
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling postgres-types v0.2.6
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rustls-webpki v0.102.4
[INFO] [stderr]    Compiling ignore v0.4.22
[INFO] [stderr]    Compiling rgb v0.8.40
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling profiling-procmacros v1.0.15
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling profiling v1.0.15
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling pest v2.7.10
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling avif-serialize v0.8.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling pest_meta v2.7.10
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling pest_generator v2.7.10
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling anstyle-query v1.1.0
[INFO] [stderr]    Compiling zune-jpeg v0.4.11
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling tokio-postgres v0.7.10
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling pest_derive v2.7.10
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling image-webp v0.1.2
[INFO] [stderr]    Compiling globwalk v0.9.1
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling simple_asn1 v0.6.2
[INFO] [stderr]    Compiling env_filter v0.1.0
[INFO] [stderr]    Compiling ravif v0.11.7
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling webpki-roots v0.26.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling ascii v1.1.0
[INFO] [stderr]    Compiling chunked_transfer v1.5.0
[INFO] [stderr]    Compiling env_logger v0.11.3
[INFO] [stderr]    Compiling tiny_http v0.12.0
[INFO] [stderr]    Compiling tera v1.20.0
[INFO] [stderr]    Compiling jsonwebtoken v9.3.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling image v0.25.1
[INFO] [stderr]    Compiling postgres v0.19.7
[INFO] [stderr]    Compiling ureq v2.9.7
[INFO] [stderr]    Compiling route-recognizer v0.3.1
[INFO] [stderr]    Compiling admin_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ureq::Response`
[INFO] [stdout]  --> src/gphotos_api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ureq::Response;
[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: `de`
[INFO] [stdout]  --> src/route_handler.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de, Deserialize, Serialize};
[INFO] [stdout]   |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Action`, `MediaItem`, `Status`, `TASK_BOARD`, `TaskData`, `TaskQueue`, `Task`, `encode_image`, `get_album_list`, `get_mediaitems`, `get_photo`, and `refresh_token`
[INFO] [stdout]   --> src/route_handler.rs:6:20
[INFO] [stdout]    |
[INFO] [stdout]  6 |     google_oauth::{refresh_token, request_token, revoke_token, AuthGuard, ValidUser},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout]  7 |     gphotos_api::{get_album_list, get_mediaitems, get_photo, MediaItem, PickingSession},
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]  8 |     image_proc::{decode_image, encode_image},
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     task_mgr::{Action, Status, Task, TaskData, TaskQueue, TASK_BOARD},
[INFO] [stdout]    |                ^^^^^^  ^^^^^^  ^^^^  ^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet`, `SystemTime`, `UNIX_EPOCH`, `cmp::min`, `sync::Arc`, and `thread`
[INFO] [stdout]   --> src/route_handler.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     cmp::min,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 20 |     collections::{HashMap, HashSet},
[INFO] [stdout]    |                            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     sync::Arc,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 26 |     thread,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     time::{SystemTime, UNIX_EPOCH},
[INFO] [stdout]    |            ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `stdin`
[INFO] [stdout]   --> src/main.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |     io::{stdin, BufRead},
[INFO] [stdout]    |          ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `given_name`, and `family_name` are never read
[INFO] [stdout]   --> src/google_oauth.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct GoogleUserResult {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 26 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub given_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 31 |     pub family_name: String,
[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 `refresh_token` is never used
[INFO] [stdout]    --> src/google_oauth.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn refresh_token(app_data: &AppState, user: &User) -> Result<OAuthCreds, Box<dyn Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:290:17
[INFO] [stdout]     |
[INFO] [stdout] 290 |     KeyNotFound(String),
[INFO] [stdout]     |     ----------- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GoogleKeyProviderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 290 -     KeyNotFound(String),
[INFO] [stdout] 290 +     KeyNotFound(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:291:16
[INFO] [stdout]     |
[INFO] [stdout] 291 |     FetchError(String),
[INFO] [stdout]     |     ---------- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GoogleKeyProviderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 291 -     FetchError(String),
[INFO] [stdout] 291 +     FetchError(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:292:16
[INFO] [stdout]     |
[INFO] [stdout] 292 |     ParseError(String),
[INFO] [stdout]     |     ---------- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GoogleKeyProviderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 292 -     ParseError(String),
[INFO] [stdout] 292 +     ParseError(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:293:20
[INFO] [stdout]     |
[INFO] [stdout] 293 |     CreateKeyError(String),
[INFO] [stdout]     |     -------------- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GoogleKeyProviderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 293 -     CreateKeyError(String),
[INFO] [stdout] 293 +     CreateKeyError(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:300:17
[INFO] [stdout]     |
[INFO] [stdout] 300 |     KeyProvider(GoogleKeyProviderError),
[INFO] [stdout]     |     ----------- ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `JWTParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 300 -     KeyProvider(GoogleKeyProviderError),
[INFO] [stdout] 300 +     KeyProvider(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:301:16
[INFO] [stdout]     |
[INFO] [stdout] 301 |     WrongToken(jsonwebtoken::errors::Error),
[INFO] [stdout]     |     ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `JWTParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 301 -     WrongToken(jsonwebtoken::errors::Error),
[INFO] [stdout] 301 +     WrongToken(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PhotoAlbum` is never constructed
[INFO] [stdout]   --> src/gphotos_api.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PhotoAlbum {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MediaMetadata` is never constructed
[INFO] [stdout]   --> src/gphotos_api.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MediaMetadata {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MediaItem` is never constructed
[INFO] [stdout]   --> src/gphotos_api.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MediaItem {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `VideoProcessingStatus` is never used
[INFO] [stdout]   --> src/gphotos_api.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum VideoProcessingStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchResult` is never constructed
[INFO] [stdout]   --> src/gphotos_api.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct SearchResult<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_mediaitems` is never used
[INFO] [stdout]    --> src/gphotos_api.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 208 | pub fn get_mediaitems(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_photo` is never used
[INFO] [stdout]    --> src/gphotos_api.rs:242:8
[INFO] [stdout]     |
[INFO] [stdout] 242 | pub fn get_photo(media_item: &MediaItem) -> Result<DynamicImage, Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_album_list` is never used
[INFO] [stdout]    --> src/gphotos_api.rs:279:8
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub fn get_album_list(access_token: &str) -> Result<Vec<PhotoAlbum>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_nearest` is never used
[INFO] [stdout]   --> src/image_proc.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn get_nearest(test_colour: (f32, f32, f32)) -> (u8, u8, u8) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/image_proc.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn add(colour: (f32, f32, f32), r: f32, g: f32, b: f32, k: f32) -> (f32, f32, f32) {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_image` is never used
[INFO] [stdout]   --> src/image_proc.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn encode_image(image: &DynamicImage) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_manage_old` is never used
[INFO] [stdout]    --> src/route_handler.rs:732:4
[INFO] [stdout]     |
[INFO] [stdout] 732 | fn handle_manage_old(request: Request, auth_guard: AuthGuard<ValidUser>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_album_data` is never used
[INFO] [stdout]    --> src/route_handler.rs:813:4
[INFO] [stdout]     |
[INFO] [stdout] 813 | fn handle_album_data(request: Request, auth_guard: AuthGuard<ValidUser>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_board`, `board_status`, `add_task`, `set_board_data`, `reset`, and `dump` are never used
[INFO] [stdout]   --> src/task_mgr.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl TASK_BOARD {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn get_board(&self) -> TaskBoard {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn board_status(&self) -> Result<TaskBoardStatus, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn add_task(&self, action: Action) -> TaskId {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn set_board_data(&self, task_id: TaskId, status: Status) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn reset(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn dump(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Pending`, `InProgress`, `Completed`, and `Failed` are never constructed
[INFO] [stdout]    --> src/task_mgr.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub enum Status {
[INFO] [stdout]     |          ------ variants in this enum
[INFO] [stdout] 103 |     Pending,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 104 |     InProgress,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 105 |     Completed,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 106 |     Failed,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Status` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Add` and `Remove` are never constructed
[INFO] [stdout]    --> src/task_mgr.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub enum Action {
[INFO] [stdout]     |          ------ variants in this enum
[INFO] [stdout] 111 |     Add,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 112 |     Remove,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskBoardStatus` is never constructed
[INFO] [stdout]    --> src/task_mgr.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub struct TaskBoardStatus {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TaskData` is never used
[INFO] [stdout]    --> src/task_mgr.rs:123:10
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub enum TaskData {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Task` is never constructed
[INFO] [stdout]    --> src/task_mgr.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct Task {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskQueue` is never constructed
[INFO] [stdout]    --> src/task_mgr.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct TaskQueue {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, and `is_empty` are never used
[INFO] [stdout]    --> src/task_mgr.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl TaskQueue {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 159 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn push(&self, task: Task) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn pop(&self) -> Task {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 47s
[INFO] running `Command { std: "docker" "inspect" "77cd9dedc9701e5a4cba0a7990710cc19736d3e5f7cb8790ed4f1c510bffce39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77cd9dedc9701e5a4cba0a7990710cc19736d3e5f7cb8790ed4f1c510bffce39", kill_on_drop: false }`
[INFO] [stdout] 77cd9dedc9701e5a4cba0a7990710cc19736d3e5f7cb8790ed4f1c510bffce39
[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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 960196556d2da7c7321e4e494cdab64b2adacfa49e3f0b3b2609db3bc445a3b3
[INFO] running `Command { std: "docker" "start" "-a" "960196556d2da7c7321e4e494cdab64b2adacfa49e3f0b3b2609db3bc445a3b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling admin_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ureq::Response`
[INFO] [stdout]  --> src/gphotos_api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ureq::Response;
[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: `de`
[INFO] [stdout]  --> src/route_handler.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de, Deserialize, Serialize};
[INFO] [stdout]   |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Action`, `MediaItem`, `Status`, `TASK_BOARD`, `TaskData`, `TaskQueue`, `Task`, `encode_image`, `get_album_list`, `get_mediaitems`, `get_photo`, and `refresh_token`
[INFO] [stdout]   --> src/route_handler.rs:6:20
[INFO] [stdout]    |
[INFO] [stdout]  6 |     google_oauth::{refresh_token, request_token, revoke_token, AuthGuard, ValidUser},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout]  7 |     gphotos_api::{get_album_list, get_mediaitems, get_photo, MediaItem, PickingSession},
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]  8 |     image_proc::{decode_image, encode_image},
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     task_mgr::{Action, Status, Task, TaskData, TaskQueue, TASK_BOARD},
[INFO] [stdout]    |                ^^^^^^  ^^^^^^  ^^^^  ^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet`, `SystemTime`, `UNIX_EPOCH`, `cmp::min`, `sync::Arc`, and `thread`
[INFO] [stdout]   --> src/route_handler.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     cmp::min,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 20 |     collections::{HashMap, HashSet},
[INFO] [stdout]    |                            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     sync::Arc,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 26 |     thread,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     time::{SystemTime, UNIX_EPOCH},
[INFO] [stdout]    |            ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `stdin`
[INFO] [stdout]   --> src/main.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |     io::{stdin, BufRead},
[INFO] [stdout]    |          ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `given_name`, and `family_name` are never read
[INFO] [stdout]   --> src/google_oauth.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct GoogleUserResult {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 26 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub given_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 31 |     pub family_name: String,
[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 `refresh_token` is never used
[INFO] [stdout]    --> src/google_oauth.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn refresh_token(app_data: &AppState, user: &User) -> Result<OAuthCreds, Box<dyn Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:290:17
[INFO] [stdout]     |
[INFO] [stdout] 290 |     KeyNotFound(String),
[INFO] [stdout]     |     ----------- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GoogleKeyProviderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 290 -     KeyNotFound(String),
[INFO] [stdout] 290 +     KeyNotFound(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:291:16
[INFO] [stdout]     |
[INFO] [stdout] 291 |     FetchError(String),
[INFO] [stdout]     |     ---------- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GoogleKeyProviderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 291 -     FetchError(String),
[INFO] [stdout] 291 +     FetchError(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:292:16
[INFO] [stdout]     |
[INFO] [stdout] 292 |     ParseError(String),
[INFO] [stdout]     |     ---------- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GoogleKeyProviderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 292 -     ParseError(String),
[INFO] [stdout] 292 +     ParseError(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:293:20
[INFO] [stdout]     |
[INFO] [stdout] 293 |     CreateKeyError(String),
[INFO] [stdout]     |     -------------- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GoogleKeyProviderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 293 -     CreateKeyError(String),
[INFO] [stdout] 293 +     CreateKeyError(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:300:17
[INFO] [stdout]     |
[INFO] [stdout] 300 |     KeyProvider(GoogleKeyProviderError),
[INFO] [stdout]     |     ----------- ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `JWTParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 300 -     KeyProvider(GoogleKeyProviderError),
[INFO] [stdout] 300 +     KeyProvider(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/google_oauth.rs:301:16
[INFO] [stdout]     |
[INFO] [stdout] 301 |     WrongToken(jsonwebtoken::errors::Error),
[INFO] [stdout]     |     ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `JWTParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 301 -     WrongToken(jsonwebtoken::errors::Error),
[INFO] [stdout] 301 +     WrongToken(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PhotoAlbum` is never constructed
[INFO] [stdout]   --> src/gphotos_api.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PhotoAlbum {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MediaMetadata` is never constructed
[INFO] [stdout]   --> src/gphotos_api.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MediaMetadata {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MediaItem` is never constructed
[INFO] [stdout]   --> src/gphotos_api.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MediaItem {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `VideoProcessingStatus` is never used
[INFO] [stdout]   --> src/gphotos_api.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum VideoProcessingStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchResult` is never constructed
[INFO] [stdout]   --> src/gphotos_api.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct SearchResult<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_mediaitems` is never used
[INFO] [stdout]    --> src/gphotos_api.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 208 | pub fn get_mediaitems(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_photo` is never used
[INFO] [stdout]    --> src/gphotos_api.rs:242:8
[INFO] [stdout]     |
[INFO] [stdout] 242 | pub fn get_photo(media_item: &MediaItem) -> Result<DynamicImage, Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_album_list` is never used
[INFO] [stdout]    --> src/gphotos_api.rs:279:8
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub fn get_album_list(access_token: &str) -> Result<Vec<PhotoAlbum>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_image` is never used
[INFO] [stdout]   --> src/image_proc.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn encode_image(image: &DynamicImage) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_manage_old` is never used
[INFO] [stdout]    --> src/route_handler.rs:732:4
[INFO] [stdout]     |
[INFO] [stdout] 732 | fn handle_manage_old(request: Request, auth_guard: AuthGuard<ValidUser>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_album_data` is never used
[INFO] [stdout]    --> src/route_handler.rs:813:4
[INFO] [stdout]     |
[INFO] [stdout] 813 | fn handle_album_data(request: Request, auth_guard: AuthGuard<ValidUser>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_board`, `board_status`, `add_task`, `set_board_data`, `reset`, and `dump` are never used
[INFO] [stdout]   --> src/task_mgr.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl TASK_BOARD {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn get_board(&self) -> TaskBoard {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn board_status(&self) -> Result<TaskBoardStatus, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn add_task(&self, action: Action) -> TaskId {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn set_board_data(&self, task_id: TaskId, status: Status) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn reset(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn dump(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Pending`, `InProgress`, `Completed`, and `Failed` are never constructed
[INFO] [stdout]    --> src/task_mgr.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub enum Status {
[INFO] [stdout]     |          ------ variants in this enum
[INFO] [stdout] 103 |     Pending,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 104 |     InProgress,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 105 |     Completed,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 106 |     Failed,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Status` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Add` and `Remove` are never constructed
[INFO] [stdout]    --> src/task_mgr.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub enum Action {
[INFO] [stdout]     |          ------ variants in this enum
[INFO] [stdout] 111 |     Add,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 112 |     Remove,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskBoardStatus` is never constructed
[INFO] [stdout]    --> src/task_mgr.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub struct TaskBoardStatus {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TaskData` is never used
[INFO] [stdout]    --> src/task_mgr.rs:123:10
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub enum TaskData {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Task` is never constructed
[INFO] [stdout]    --> src/task_mgr.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct Task {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskQueue` is never constructed
[INFO] [stdout]    --> src/task_mgr.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct TaskQueue {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, and `is_empty` are never used
[INFO] [stdout]    --> src/task_mgr.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl TaskQueue {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 159 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn push(&self, task: Task) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn pop(&self) -> Task {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.99s
[INFO] running `Command { std: "docker" "inspect" "960196556d2da7c7321e4e494cdab64b2adacfa49e3f0b3b2609db3bc445a3b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "960196556d2da7c7321e4e494cdab64b2adacfa49e3f0b3b2609db3bc445a3b3", kill_on_drop: false }`
[INFO] [stdout] 960196556d2da7c7321e4e494cdab64b2adacfa49e3f0b3b2609db3bc445a3b3
