[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/ed344f0038a00a3a66b99f33a5bc3ef28cbe9120 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [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 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f62b84b86ccd3a8ef358965954ebb04ecde8dcdcbe1fb4983d41e82ce0ae2d5f [INFO] running `Command { std: "docker" "start" "-a" "f62b84b86ccd3a8ef358965954ebb04ecde8dcdcbe1fb4983d41e82ce0ae2d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f62b84b86ccd3a8ef358965954ebb04ecde8dcdcbe1fb4983d41e82ce0ae2d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62b84b86ccd3a8ef358965954ebb04ecde8dcdcbe1fb4983d41e82ce0ae2d5f", kill_on_drop: false }` [INFO] [stdout] f62b84b86ccd3a8ef358965954ebb04ecde8dcdcbe1fb4983d41e82ce0ae2d5f [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a5dad73cb4ba504bff18190d1e295c0a619c0fe748d548dbb36ebe4112e2c3f [INFO] running `Command { std: "docker" "start" "-a" "4a5dad73cb4ba504bff18190d1e295c0a619c0fe748d548dbb36ebe4112e2c3f", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling tokio v1.45.1 [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 futures-util v0.3.31 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [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 syn v1.0.109 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gif v0.13.2 [INFO] [stderr] Compiling find-crate v0.6.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 anstyle-query v1.1.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling tower-http v0.6.6 [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 base64 v0.13.1 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling perlin2d v0.2.6 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling kamadak-exif v0.6.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Compiling imageproc v0.23.0 [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 js-sys v0.3.77 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [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 phf v0.11.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling web-sys v0.3.77 [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-tls v0.6.0 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling node-sys v0.4.2 [INFO] [stderr] Compiling reqwest v0.12.20 [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)]` 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)]` 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)]` 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 9m 31s [INFO] running `Command { std: "docker" "inspect" "4a5dad73cb4ba504bff18190d1e295c0a619c0fe748d548dbb36ebe4112e2c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a5dad73cb4ba504bff18190d1e295c0a619c0fe748d548dbb36ebe4112e2c3f", kill_on_drop: false }` [INFO] [stdout] 4a5dad73cb4ba504bff18190d1e295c0a619c0fe748d548dbb36ebe4112e2c3f [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c59ad7b1cd9ac770693c852650c26febb1315b437b155315c428e23c57a62a0a [INFO] running `Command { std: "docker" "start" "-a" "c59ad7b1cd9ac770693c852650c26febb1315b437b155315c428e23c57a62a0a", 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)]` 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)]` 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)]` 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.02s [INFO] running `Command { std: "docker" "inspect" "c59ad7b1cd9ac770693c852650c26febb1315b437b155315c428e23c57a62a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c59ad7b1cd9ac770693c852650c26febb1315b437b155315c428e23c57a62a0a", kill_on_drop: false }` [INFO] [stdout] c59ad7b1cd9ac770693c852650c26febb1315b437b155315c428e23c57a62a0a [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c475802620a7221a528b48cf1ccc2ad80d3b7b20155a0f7b8c49691e2baab0c1 [INFO] running `Command { std: "docker" "start" "-a" "c475802620a7221a528b48cf1ccc2ad80d3b7b20155a0f7b8c49691e2baab0c1", 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)]` 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)]` 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)]` 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.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/photo_uploader-218b0b2415d62b19) [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" "c475802620a7221a528b48cf1ccc2ad80d3b7b20155a0f7b8c49691e2baab0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c475802620a7221a528b48cf1ccc2ad80d3b7b20155a0f7b8c49691e2baab0c1", kill_on_drop: false }` [INFO] [stdout] c475802620a7221a528b48cf1ccc2ad80d3b7b20155a0f7b8c49691e2baab0c1