[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevramsean0%2Fphoto_uploader" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/devramsean0/photo_uploader 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/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mutate_once v0.1.1 [INFO] [stderr] Downloaded perlin2d v0.2.6 [INFO] [stderr] Downloaded palette_derive v0.6.1 [INFO] [stderr] Downloaded find-crate v0.6.3 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded windows-registry v0.5.2 [INFO] [stderr] Downloaded node-sys v0.4.2 [INFO] [stderr] Downloaded gif v0.13.2 [INFO] [stderr] Downloaded kamadak-exif v0.6.1 [INFO] [stderr] Downloaded simba v0.7.3 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded palette v0.6.1 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded photon-rs v0.3.3 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded imageproc v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e035797e380da4bffa677657faac281a7579de65bff289ac676d21103691ac5 [INFO] running `Command { std: "docker" "start" "-a" "1e035797e380da4bffa677657faac281a7579de65bff289ac676d21103691ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e035797e380da4bffa677657faac281a7579de65bff289ac676d21103691ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e035797e380da4bffa677657faac281a7579de65bff289ac676d21103691ac5", kill_on_drop: false }` [INFO] [stdout] 1e035797e380da4bffa677657faac281a7579de65bff289ac676d21103691ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a55fe1607e919da1bf6a7e95363d816a341c87581ee0add5dd1f3f99c8e43355 [INFO] running `Command { std: "docker" "start" "-a" "a55fe1607e919da1bf6a7e95363d816a341c87581ee0add5dd1f3f99c8e43355", kill_on_drop: false }` [INFO] [stderr] Compiling bumpalo v3.18.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gif v0.13.2 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling perlin2d v0.2.6 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling kamadak-exif v0.6.1 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [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 h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [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 clap v4.5.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [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 js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling web-sys v0.3.77 [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 1m 29s [INFO] running `Command { std: "docker" "inspect" "a55fe1607e919da1bf6a7e95363d816a341c87581ee0add5dd1f3f99c8e43355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a55fe1607e919da1bf6a7e95363d816a341c87581ee0add5dd1f3f99c8e43355", kill_on_drop: false }` [INFO] [stdout] a55fe1607e919da1bf6a7e95363d816a341c87581ee0add5dd1f3f99c8e43355 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a87e01a167034cab7a451b9adf300dab49e6575e151f5bc9e7b96550cab0c39 [INFO] running `Command { std: "docker" "start" "-a" "0a87e01a167034cab7a451b9adf300dab49e6575e151f5bc9e7b96550cab0c39", 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" "0a87e01a167034cab7a451b9adf300dab49e6575e151f5bc9e7b96550cab0c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a87e01a167034cab7a451b9adf300dab49e6575e151f5bc9e7b96550cab0c39", kill_on_drop: false }` [INFO] [stdout] 0a87e01a167034cab7a451b9adf300dab49e6575e151f5bc9e7b96550cab0c39