[INFO] cloning repository https://github.com/Hmiya6/rust-backup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hmiya6/rust-backup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHmiya6%2Frust-backup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHmiya6%2Frust-backup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 383fc8a331c577e2043963a4179758724be6d0e1 [INFO] building Hmiya6/rust-backup against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHmiya6%2Frust-backup" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hmiya6/rust-backup [INFO] finished tweaking git repo https://github.com/Hmiya6/rust-backup [INFO] tweaked toml for git repo https://github.com/Hmiya6/rust-backup written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hmiya6/rust-backup 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/Hmiya6/rust-backup 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 99bbfe98a020f10fbd96980eb7144012abc4ea973a7c53c7e923bd368d316444 [INFO] running `Command { std: "docker" "start" "-a" "99bbfe98a020f10fbd96980eb7144012abc4ea973a7c53c7e923bd368d316444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99bbfe98a020f10fbd96980eb7144012abc4ea973a7c53c7e923bd368d316444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99bbfe98a020f10fbd96980eb7144012abc4ea973a7c53c7e923bd368d316444", kill_on_drop: false }` [INFO] [stdout] 99bbfe98a020f10fbd96980eb7144012abc4ea973a7c53c7e923bd368d316444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 205a1e53333acad0454959f84e065cdd6cfeefc3c3c0532c0d69eb5c877fac7d [INFO] running `Command { std: "docker" "start" "-a" "205a1e53333acad0454959f84e065cdd6cfeefc3c3c0532c0d69eb5c877fac7d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling zip v0.5.11 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rust-backup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/backup.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let mut flag = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | // interface: DebugInterface, [INFO] [stdout] 10 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/config.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | file_name: String, [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" "--export" "bz_internal_error" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libchrono-c6504a80f5994c45,libnum_integer-63ff705a192663b9,libnum_traits-cc983f754dc65362,libzip-ca3a1e0d590d6445,libtime-255c92fda9db9252,libwasi-e8918ae1b8252f97,libthiserror-ad5296a64e95a4c0,libbzip2-240b0e3a578d52d8,libbzip2_sys-88d6550c86f97d74,liblibc-b06d1ebb92b2eeca,libflate2-c6a64f806c38d855,libminiz_oxide-dadf386c3d95bd8d,libadler32-9f2c3df339504c4f,libcfg_if-c52cb2c48f08318d,libbyteorder-f00db367bf6f80f8,libcrc32fast-16c73443c28ec47a,libsha2-b9978aa95ae4b124,libcfg_if-50b02a9e3502ecf2,libopaque_debug-d63d41056a54e997,libdigest-fd1a91a2a1f46984,libblock_buffer-62d9cf5f73ee21bc,libgeneric_array-1b993ac8df8397b6,libtypenum-19a2d1fc11c79c0d,libwalkdir-e16523cfab32a1c0,libsame_file-d90975b76a214118,libtoml-7098dac21eef526f,libserde-fc7fdeb008fc4ff7,libanyhow-76b07ad1babd3ab9}.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/bzip2-sys-0e1e1596db877246/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/rust_backup-6562db4ea2d8a548.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-88d6550c86f97d74.rlib: archive member 'blocksort.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-88d6550c86f97d74.rlib: archive member 'huffman.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-88d6550c86f97d74.rlib: archive member 'crctable.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-88d6550c86f97d74.rlib: archive member 'randtable.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-88d6550c86f97d74.rlib: archive member 'compress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-88d6550c86f97d74.rlib: archive member 'decompress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2_sys-88d6550c86f97d74.rlib: archive member 'bzlib.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-240b0e3a578d52d8.rlib(bzip2-240b0e3a578d52d8.bzip2.4d4671a21c2d2097-cgu.0.rcgu.o): undefined symbol: BZ2_bzCompress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-240b0e3a578d52d8.rlib(bzip2-240b0e3a578d52d8.bzip2.4d4671a21c2d2097-cgu.0.rcgu.o): undefined symbol: BZ2_bzCompressInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-240b0e3a578d52d8.rlib(bzip2-240b0e3a578d52d8.bzip2.4d4671a21c2d2097-cgu.0.rcgu.o): undefined symbol: BZ2_bzCompressEnd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-backup` (bin "rust-backup") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "205a1e53333acad0454959f84e065cdd6cfeefc3c3c0532c0d69eb5c877fac7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "205a1e53333acad0454959f84e065cdd6cfeefc3c3c0532c0d69eb5c877fac7d", kill_on_drop: false }` [INFO] [stdout] 205a1e53333acad0454959f84e065cdd6cfeefc3c3c0532c0d69eb5c877fac7d