[INFO] cloning repository https://github.com/devramsean0/photo_uploader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devramsean0/photo_uploader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevramsean0%2Fphoto_uploader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevramsean0%2Fphoto_uploader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed344f0038a00a3a66b99f33a5bc3ef28cbe9120 [INFO] testing devramsean0/photo_uploader against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevramsean0%2Fphoto_uploader" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/devramsean0/photo_uploader [INFO] finished tweaking git repo https://github.com/devramsean0/photo_uploader [INFO] tweaked toml for git repo https://github.com/devramsean0/photo_uploader written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/devramsean0/photo_uploader on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/devramsean0/photo_uploader 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50d1f46da5affc8dff7f508383e7c4337002b8b226ddbb79625630ed897493d7 [INFO] running `Command { std: "docker" "start" "-a" "50d1f46da5affc8dff7f508383e7c4337002b8b226ddbb79625630ed897493d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50d1f46da5affc8dff7f508383e7c4337002b8b226ddbb79625630ed897493d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50d1f46da5affc8dff7f508383e7c4337002b8b226ddbb79625630ed897493d7", kill_on_drop: false }` [INFO] [stdout] 50d1f46da5affc8dff7f508383e7c4337002b8b226ddbb79625630ed897493d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6e57db00e39ca9d284b0e929c6c4cab5def1e23e9d0e185d30016c050880c7d [INFO] running `Command { std: "docker" "start" "-a" "c6e57db00e39ca9d284b0e929c6c4cab5def1e23e9d0e185d30016c050880c7d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bumpalo v3.18.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling gif v0.13.2 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling perlin2d v0.2.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling kamadak-exif v0.6.1 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling node-sys v0.4.2 [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling photon-rs v0.3.3 [INFO] [stderr] Compiling photo_uploader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/watermark/exif.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [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: `Path` [INFO] [stdout] --> src/watermark/exif.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/immich.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Album { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 58 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Album` has derived impls for the traits `Debug` and `Clone`, but these are 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: fields `name` and `extension` are never read [INFO] [stdout] --> src/file_discovery.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub path: PathBuf, [INFO] [stdout] 7 | pub extension: String [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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: field `directory` is never read [INFO] [stdout] --> src/file_discovery.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Files { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | directory: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Files` 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: unused `Result` that must be used [INFO] [stdout] --> src/environment_config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | write(config_file, string_config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = write(config_file, string_config); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/watermark/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | photon_rs::native::save_image(img, format!("edited/{}", file_path.to_string_lossy().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = photon_rs::native::save_image(img, format!("edited/{}", file_path.to_string_lossy().to_string())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 04s [INFO] running `Command { std: "docker" "inspect" "c6e57db00e39ca9d284b0e929c6c4cab5def1e23e9d0e185d30016c050880c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e57db00e39ca9d284b0e929c6c4cab5def1e23e9d0e185d30016c050880c7d", kill_on_drop: false }` [INFO] [stdout] c6e57db00e39ca9d284b0e929c6c4cab5def1e23e9d0e185d30016c050880c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a9e7272d74316124b672c70d57b40cea6053c87589e5441392c68faabecfa89 [INFO] running `Command { std: "docker" "start" "-a" "2a9e7272d74316124b672c70d57b40cea6053c87589e5441392c68faabecfa89", kill_on_drop: false }` [INFO] [stderr] Compiling photo_uploader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/watermark/exif.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [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: `Path` [INFO] [stdout] --> src/watermark/exif.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/immich.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Album { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 58 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Album` has derived impls for the traits `Debug` and `Clone`, but these are 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: fields `name` and `extension` are never read [INFO] [stdout] --> src/file_discovery.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub path: PathBuf, [INFO] [stdout] 7 | pub extension: String [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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: field `directory` is never read [INFO] [stdout] --> src/file_discovery.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Files { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | directory: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Files` 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: unused `Result` that must be used [INFO] [stdout] --> src/environment_config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | write(config_file, string_config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = write(config_file, string_config); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/watermark/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | photon_rs::native::save_image(img, format!("edited/{}", file_path.to_string_lossy().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = photon_rs::native::save_image(img, format!("edited/{}", file_path.to_string_lossy().to_string())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "2a9e7272d74316124b672c70d57b40cea6053c87589e5441392c68faabecfa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a9e7272d74316124b672c70d57b40cea6053c87589e5441392c68faabecfa89", kill_on_drop: false }` [INFO] [stdout] 2a9e7272d74316124b672c70d57b40cea6053c87589e5441392c68faabecfa89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4d4d5d4ee8cab9e4c7f997170b49b927dcae27cccc038ac713ad580b720eaa8 [INFO] running `Command { std: "docker" "start" "-a" "e4d4d5d4ee8cab9e4c7f997170b49b927dcae27cccc038ac713ad580b720eaa8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/watermark/exif.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/watermark/exif.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `name` are never read [INFO] [stderr] --> src/immich.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct Album { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 58 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 59 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Album` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `extension` are never read [INFO] [stderr] --> src/file_discovery.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct File { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 5 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 6 | pub path: PathBuf, [INFO] [stderr] 7 | pub extension: String [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `File` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `directory` is never read [INFO] [stderr] --> src/file_discovery.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Files { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 12 | directory: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Files` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/environment_config.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | write(config_file, string_config); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 23 | let _ = write(config_file, string_config); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/watermark/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | photon_rs::native::save_image(img, format!("edited/{}", file_path.to_string_lossy().to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 49 | let _ = photon_rs::native::save_image(img, format!("edited/{}", file_path.to_string_lossy().to_string())); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `photo_uploader` (bin "photo_uploader" test) generated 7 warnings (run `cargo fix --bin "photo_uploader" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/photo_uploader-28c31f96951dfeb3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4d4d5d4ee8cab9e4c7f997170b49b927dcae27cccc038ac713ad580b720eaa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d4d5d4ee8cab9e4c7f997170b49b927dcae27cccc038ac713ad580b720eaa8", kill_on_drop: false }` [INFO] [stdout] e4d4d5d4ee8cab9e4c7f997170b49b927dcae27cccc038ac713ad580b720eaa8