[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 try#23647e694de8d0904848ad068b2e0ec2dd098c37+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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leobeg/imgsorter on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c5e708b07dd4d0bcc47292c90ad694c75f37730003379174976b72de7e679d4 [INFO] running `Command { std: "docker" "start" "-a" "3c5e708b07dd4d0bcc47292c90ad694c75f37730003379174976b72de7e679d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c5e708b07dd4d0bcc47292c90ad694c75f37730003379174976b72de7e679d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5e708b07dd4d0bcc47292c90ad694c75f37730003379174976b72de7e679d4", kill_on_drop: false }` [INFO] [stdout] 3c5e708b07dd4d0bcc47292c90ad694c75f37730003379174976b72de7e679d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] b9541880d04cdaaf72360514b46d05671eb45786d2c1cb5302e2dd6ef0e31bac [INFO] running `Command { std: "docker" "start" "-a" "b9541880d04cdaaf72360514b46d05671eb45786d2c1cb5302e2dd6ef0e31bac", 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 mutate_once v0.1.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling kamadak-exif v0.6.1 [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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.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] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtoml-70f0b814a3d89b2c,libtoml_writer-36e133bc461076bb,libtoml_parser-7ef967fe499d7138,libwinnow-737992985b86e412,libserde_spanned-83240a521e7031b3,libtoml_datetime-4ffd54c228a5251a,libdialoguer-6d205753866d0017,libshell_words-60648c807bd03914,libtempfile-ed890ac363a023be,libgetrandom-012641335a48d48e,libcfg_if-beec54d71ff48acf,libfastrand-ecd90c8fbaaa1bfc,librustix-8f48735a0ea43ec7,liberrno-a672786b764ff610,libzeroize-45bfc24bfbceb526,libthiserror-c1ace25110c3fc99,libconsole-d6e65366a5b1ea62,liblibc-bf5ed93e20f8295a,libunicode_width-d65185e9bb4c3a3c,libonce_cell-bcd15b06b8f373b9,libmd5-6295806992baaec9,libexif-0d12a6498f566317,libmutate_once-34027885de3b7962,librusqlite-aa3671f55809a3b0,libbitflags-edaf64cf46df59f3,libsmallvec-e66260ff59480183,libhashlink-f32b62d103f67d6b,libhashbrown-8eb227919563c3ea,libfoldhash-6e98285c7e677e53,liblibsqlite3_sys-934593f398d6bc5f,libfallible_streaming_iterator-4db7add6bd66d620,libfallible_iterator-d7eda3bd821ede72,libserde-7f61cb019e4d3beb,libthiserror-6676f0e0f7ef5bc3,librayon-d1e657c959b3d0c1,librayon_core-5f99f33b5622d260,libcrossbeam_deque-f2a195995adbe5a1,libcrossbeam_epoch-cfc6ee721375722d,libcrossbeam_utils-a2bafd6ea59dbe61,libeither-cfdd7ad9333739d9,libchrono-ef7308c7399381ac,libnum_traits-665be8f9aef8a1da,libclap-cba18711fe4ae389,libclap_builder-0e068dd38b078996,libstrsim-e512297c5f919e18,libanstream-45556d38b70dc26c,libanstyle_query-feac430efdddd365,libis_terminal_polyfill-55cc14b2bc4075e2,libcolorchoice-b271fc8e70ab819f,libanstyle_parse-31a2135f17b38bcb,libutf8parse-9c3910e1de91e7db,libclap_lex-393357da8b6e08be,libanstyle-9228908f29f78a59}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/libsqlite3-sys-22c37d2fa23739b0/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/imgsorter-f003137587947a5c.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: function signature mismatch: time [INFO] [stdout] >>> defined as (i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o) [INFO] [stdout] >>> defined as (i32) -> i64 in /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/libc.a(time.o) [INFO] [stdout] [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: lseek64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: open64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: lseek64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: stat64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: fstat64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: ftruncate64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: fcntl64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-934593f398d6bc5f.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: lstat64 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `imgsorter` (bin "imgsorter") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b9541880d04cdaaf72360514b46d05671eb45786d2c1cb5302e2dd6ef0e31bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9541880d04cdaaf72360514b46d05671eb45786d2c1cb5302e2dd6ef0e31bac", kill_on_drop: false }` [INFO] [stdout] b9541880d04cdaaf72360514b46d05671eb45786d2c1cb5302e2dd6ef0e31bac