[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] building devramsean0/photo_uploader against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevramsean0%2Fphoto_uploader" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/devramsean0/photo_uploader on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded find-crate v0.6.3 [INFO] [stderr] Downloaded palette_derive v0.6.1 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded perlin2d v0.2.6 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded gif v0.13.2 [INFO] [stderr] Downloaded kamadak-exif v0.6.1 [INFO] [stderr] Downloaded node-sys v0.4.2 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded palette v0.6.1 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded photon-rs v0.3.3 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded imageproc v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 260055d35fc1fa7254e274210c256d8af4db86efff2b7c6ccafcac453da79b24 [INFO] running `Command { std: "docker" "start" "-a" "260055d35fc1fa7254e274210c256d8af4db86efff2b7c6ccafcac453da79b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "260055d35fc1fa7254e274210c256d8af4db86efff2b7c6ccafcac453da79b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260055d35fc1fa7254e274210c256d8af4db86efff2b7c6ccafcac453da79b24", kill_on_drop: false }` [INFO] [stdout] 260055d35fc1fa7254e274210c256d8af4db86efff2b7c6ccafcac453da79b24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec2998e23997bc29b53f42e6a0fc1e559f823333a53cb24dd592b675649ce122 [INFO] running `Command { std: "docker" "start" "-a" "ec2998e23997bc29b53f42e6a0fc1e559f823333a53cb24dd592b675649ce122", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.18.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling gif v0.13.2 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [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 mutate_once v0.1.1 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling kamadak-exif v0.6.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling h2 v0.4.10 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling node-sys v0.4.2 [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 1m 26s [INFO] running `Command { std: "docker" "inspect" "ec2998e23997bc29b53f42e6a0fc1e559f823333a53cb24dd592b675649ce122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec2998e23997bc29b53f42e6a0fc1e559f823333a53cb24dd592b675649ce122", kill_on_drop: false }` [INFO] [stdout] ec2998e23997bc29b53f42e6a0fc1e559f823333a53cb24dd592b675649ce122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7412e8cf6ae3cdfe39f067c47581cfbe18c779136dbeba089a0c1a8bb39a188f [INFO] running `Command { std: "docker" "start" "-a" "7412e8cf6ae3cdfe39f067c47581cfbe18c779136dbeba089a0c1a8bb39a188f", 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.21s [INFO] running `Command { std: "docker" "inspect" "7412e8cf6ae3cdfe39f067c47581cfbe18c779136dbeba089a0c1a8bb39a188f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7412e8cf6ae3cdfe39f067c47581cfbe18c779136dbeba089a0c1a8bb39a188f", kill_on_drop: false }` [INFO] [stdout] 7412e8cf6ae3cdfe39f067c47581cfbe18c779136dbeba089a0c1a8bb39a188f