[INFO] cloning repository https://github.com/bczhc/backup-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bczhc/backup-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbczhc%2Fbackup-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbczhc%2Fbackup-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 758dec6fd8918bf6e33a4ba507130299266b818f [INFO] building bczhc/backup-tool against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbczhc%2Fbackup-tool" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bczhc/backup-tool [INFO] finished tweaking git repo https://github.com/bczhc/backup-tool [INFO] tweaked toml for git repo https://github.com/bczhc/backup-tool written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bczhc/backup-tool 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/bczhc/backup-tool 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 18175d3030c3bd25510da5bd44b56c67a06052109bcd69c9565fc028cb918b50 [INFO] running `Command { std: "docker" "start" "-a" "18175d3030c3bd25510da5bd44b56c67a06052109bcd69c9565fc028cb918b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18175d3030c3bd25510da5bd44b56c67a06052109bcd69c9565fc028cb918b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18175d3030c3bd25510da5bd44b56c67a06052109bcd69c9565fc028cb918b50", kill_on_drop: false }` [INFO] [stdout] 18175d3030c3bd25510da5bd44b56c67a06052109bcd69c9565fc028cb918b50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5ea9fa0260765b17f2513d3497a8e5727ce419bf648e4f154b13b5326379f065 [INFO] running `Command { std: "docker" "start" "-a" "5ea9fa0260765b17f2513d3497a8e5727ce419bf648e4f154b13b5326379f065", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Compiling blake3 v1.7.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling fern v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling yeet-ops v1.0.0 [INFO] [stderr] Compiling bytesize v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling rusqlite v0.34.0 [INFO] [stderr] Compiling backup-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IteratorExt` [INFO] [stdout] --> src/lib.rs:14:53 [INFO] [stdout] | [INFO] [stdout] 14 | use rusqlite::fallible_iterator::{FallibleIterator, IteratorExt}; [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: `Permissions` [INFO] [stdout] --> src/lib.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::{File, Permissions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/lib.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FallibleIterator` [INFO] [stdout] --> src/lib.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | use rusqlite::fallible_iterator::{FallibleIterator, IteratorExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn transaction(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn transaction(&mut self) -> anyhow::Result> { [INFO] [stdout] | ++++ [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/{libyeet_ops-524a5da900250e0a,libbackup_tool-71b3969be8877057,libhex-85aa986ef279af61,libpathdiff-47646faed5e161f1,libjwalk-c287288c98c648bb,librayon-d1e657c959b3d0c1,librayon_core-5f99f33b5622d260,libeither-cfdd7ad9333739d9,libcrossbeam-f440f695b6ca3bc0,libcrossbeam_deque-f2a195995adbe5a1,libcrossbeam_channel-d27764a82d16a8e1,libcrossbeam_queue-156477e1d6fa2526,libcrossbeam_epoch-cfc6ee721375722d,libcrossbeam_utils-a2bafd6ea59dbe61,libhumantime-52dacae366b4b560,librusqlite-36943cc404301e74,libbitflags-187d29be22795cbf,libsmallvec-cf1a506e5f66d810,libhashlink-603ed51621ad8c5c,libhashbrown-fd63e0fb9af2d46a,libfoldhash-6e98285c7e677e53,liblibsqlite3_sys-a04e421884a87147,libfallible_streaming_iterator-4db7add6bd66d620,libfallible_iterator-d7eda3bd821ede72,liblazy_regex-c6b990418db8bd1d,libregex-9f945f82d9e6e821,libregex_automata-e273330034291918,libaho_corasick-d8b2a3f669230f65,libmemchr-fce70e7b22dffad4,libregex_syntax-b44ef8663a4740f2,libonce_cell-a26aef2be6190daf,libfiletime-74e61373ffecf69e,libfern-97249cd979edc3c4,libcolored-a6051a9009ef4eaf,liblazy_static-6cae036cc417a885,liblog-4ecbc956a4935ae7,libcolored-35602419dc6f2b65,libclap-0dfbc2b8844bd026,libclap_builder-eeaed740b64f8e67,libstrsim-e512297c5f919e18,libanstream-cfed71fa82033df3,libanstyle_query-5f094c86118711a2,libis_terminal_polyfill-55cc14b2bc4075e2,libcolorchoice-34bb85f11e447472,libanstyle_parse-cce6b73a0cf8514a,libutf8parse-9c3910e1de91e7db,libclap_lex-5c194e2e9ab41dcc,libanstyle-00553110323c47ee,libchrono-6f54e8b9ceeac7df,libnum_traits-6e7b9dacdf29ab7b,libbytesize-1454fc8e9f96fc11,libblake3-c904460d569b1317,libconstant_time_eq-0873a0aff6023e9e,libcfg_if-50b02a9e3502ecf2,libarrayvec-e1eaf3377f1d004d,libarrayref-6dead67ff175e18d,libanyhow-158b16066d692c49}.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-772081f4398bc4f5/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/backup_tool-a4a225a870a6a922.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-a04e421884a87147.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-a04e421884a87147.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: lseek64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-a04e421884a87147.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: open64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-a04e421884a87147.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: lseek64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-a04e421884a87147.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: stat64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-a04e421884a87147.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: fstat64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-a04e421884a87147.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: ftruncate64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-a04e421884a87147.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: fcntl64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibsqlite3_sys-a04e421884a87147.rlib(c877a2978823c39d-sqlite3.o): undefined symbol: lstat64 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `backup-tool` (bin "backup-tool") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "5ea9fa0260765b17f2513d3497a8e5727ce419bf648e4f154b13b5326379f065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea9fa0260765b17f2513d3497a8e5727ce419bf648e4f154b13b5326379f065", kill_on_drop: false }` [INFO] [stdout] 5ea9fa0260765b17f2513d3497a8e5727ce419bf648e4f154b13b5326379f065