[INFO] cloning repository https://github.com/leobeg/imgsorter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leobeg/imgsorter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleobeg%2Fimgsorter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleobeg%2Fimgsorter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fede459ec401cc0c44a85d2464cd2d9a38527c3 [INFO] building leobeg/imgsorter against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleobeg%2Fimgsorter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leobeg/imgsorter [INFO] finished tweaking git repo https://github.com/leobeg/imgsorter [INFO] tweaked toml for git repo https://github.com/leobeg/imgsorter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leobeg/imgsorter on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leobeg/imgsorter 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kamadak-exif v0.6.1 [INFO] [stderr] Downloaded cc v1.2.30 [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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6c4dde6ae1f3f819df873fb3c51e4caccd93fb22f4c1a3119553acb18eedb02 [INFO] running `Command { std: "docker" "start" "-a" "a6c4dde6ae1f3f819df873fb3c51e4caccd93fb22f4c1a3119553acb18eedb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6c4dde6ae1f3f819df873fb3c51e4caccd93fb22f4c1a3119553acb18eedb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c4dde6ae1f3f819df873fb3c51e4caccd93fb22f4c1a3119553acb18eedb02", kill_on_drop: false }` [INFO] [stdout] a6c4dde6ae1f3f819df873fb3c51e4caccd93fb22f4c1a3119553acb18eedb02 [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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] ffd5e7f7b32df92b5e47c59b503da1eac1ddbadc9125e8aebc837962d427a82d [INFO] running `Command { std: "docker" "start" "-a" "ffd5e7f7b32df92b5e47c59b503da1eac1ddbadc9125e8aebc837962d427a82d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling errno v0.3.13 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling kamadak-exif v0.6.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling toml v0.9.2 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling imgsorter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArgAction` and `ValueEnum` [INFO] [stdout] --> src/cli.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{self, ArgAction, FromArgMatches, ValueEnum}; [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: `DateTime` [INFO] [stdout] --> src/db/db_image.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Image` [INFO] [stdout] --> src/db/db_image.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{image::Image, utils::hashing::ImageHashAlgorithm}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db` [INFO] [stdout] --> src/image/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{db, image::date_formats::{DateFormatManager, ImageDateFormatError}, utils::{hashing::{calculate_file_hash, HashingError, ... [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromArgMatches` [INFO] [stdout] --> src/cli.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{self, ArgAction, FromArgMatches, ValueEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/db/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | hash: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_algoritm` [INFO] [stdout] --> src/db/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | hash_algoritm: ImageHashAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_algoritm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_image` and `get_image_by_hash` are never used [INFO] [stdout] --> src/db/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ImageDB { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn check_image(&self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_image_by_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/db/db_image.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DBImage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DBImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.78s [INFO] running `Command { std: "docker" "inspect" "ffd5e7f7b32df92b5e47c59b503da1eac1ddbadc9125e8aebc837962d427a82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd5e7f7b32df92b5e47c59b503da1eac1ddbadc9125e8aebc837962d427a82d", kill_on_drop: false }` [INFO] [stdout] ffd5e7f7b32df92b5e47c59b503da1eac1ddbadc9125e8aebc837962d427a82d [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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 1950d03578e9164d8d15bef6c40c401a32700b89261c33aaea5a964e4f2437ce [INFO] running `Command { std: "docker" "start" "-a" "1950d03578e9164d8d15bef6c40c401a32700b89261c33aaea5a964e4f2437ce", kill_on_drop: false }` [INFO] [stderr] Compiling imgsorter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArgAction` and `ValueEnum` [INFO] [stdout] --> src/cli.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{self, ArgAction, FromArgMatches, ValueEnum}; [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: `DateTime` [INFO] [stdout] --> src/db/db_image.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Image` [INFO] [stdout] --> src/db/db_image.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{image::Image, utils::hashing::ImageHashAlgorithm}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db` [INFO] [stdout] --> src/image/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{db, image::date_formats::{DateFormatManager, ImageDateFormatError}, utils::{hashing::{calculate_file_hash, HashingError, ... [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromArgMatches` [INFO] [stdout] --> src/cli.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{self, ArgAction, FromArgMatches, ValueEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/db/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | hash: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_algoritm` [INFO] [stdout] --> src/db/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | hash_algoritm: ImageHashAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_algoritm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_image` and `get_image_by_hash` are never used [INFO] [stdout] --> src/db/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ImageDB { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn check_image(&self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_image_by_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/db/db_image.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DBImage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DBImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "1950d03578e9164d8d15bef6c40c401a32700b89261c33aaea5a964e4f2437ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1950d03578e9164d8d15bef6c40c401a32700b89261c33aaea5a964e4f2437ce", kill_on_drop: false }` [INFO] [stdout] 1950d03578e9164d8d15bef6c40c401a32700b89261c33aaea5a964e4f2437ce