[INFO] cloning repository https://github.com/sam-barr/epubsearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sam-barr/epubsearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-barr%2Fepubsearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-barr%2Fepubsearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d94f95e14be466facc48bc77a23e7d2a88918c7c [INFO] building sam-barr/epubsearch against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-barr%2Fepubsearch" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sam-barr/epubsearch [INFO] finished tweaking git repo https://github.com/sam-barr/epubsearch [INFO] tweaked toml for git repo https://github.com/sam-barr/epubsearch written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sam-barr/epubsearch 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/sam-barr/epubsearch 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9f5c161d124a07e33422b506fc1f0960753d4d56aecf427efb15e0f871ca6a3e [INFO] running `Command { std: "docker" "start" "-a" "9f5c161d124a07e33422b506fc1f0960753d4d56aecf427efb15e0f871ca6a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f5c161d124a07e33422b506fc1f0960753d4d56aecf427efb15e0f871ca6a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5c161d124a07e33422b506fc1f0960753d4d56aecf427efb15e0f871ca6a3e", kill_on_drop: false }` [INFO] [stdout] 9f5c161d124a07e33422b506fc1f0960753d4d56aecf427efb15e0f871ca6a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bd329258256418cb5ec165c3a33d89c74641315fdd0b0638e05ceaa04894ed3d [INFO] running `Command { std: "docker" "start" "-a" "bd329258256418cb5ec165c3a33d89c74641315fdd0b0638e05ceaa04894ed3d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling argh_derive v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling argh v0.1.5 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling epubsearch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Zip(ZipError), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Zip(ZipError), [INFO] [stdout] 17 + Zip(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - IO(std::io::Error), [INFO] [stdout] 18 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Epub(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EpubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Epub(String), [INFO] [stdout] 19 + Epub(()), [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/{libatty-3242e974e54baef7,libzip-62fa131b26b5c63e,libtime-919dc1cc7b38afc2,libwasi-e8918ae1b8252f97,libthiserror-da95f420690c2b4b,libbzip2-61ca84a29559a9b5,libbzip2_sys-dcfd1ca97aac5e75,liblibc-573fbe978ba00580,libflate2-6a52c93e9fb20a2d,libminiz_oxide-629d95067ea26f96,libadler-5d585fd5ceaaf370,libbyteorder-f00db367bf6f80f8,libcrc32fast-16c73443c28ec47a,libcfg_if-50b02a9e3502ecf2,libxml-1b32d9af79220f4d,libtermcolor-c34103f6b37717ab,libregex-307c8b4cc2ded674,libaho_corasick-c17903141c8841a1,libmemchr-3d9dcb1d7c8e7341,libregex_syntax-8d711ceefe044bbe,libpercent_encoding-8efcb70eb2ff38b2,libargh-18dfbc51de54ec96,libargh_shared-64d957a407af4488}.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-319604950989cafb/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/epubsearch-1bdaee151e32d3cf.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-dcfd1ca97aac5e75.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-dcfd1ca97aac5e75.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-dcfd1ca97aac5e75.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-dcfd1ca97aac5e75.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-dcfd1ca97aac5e75.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-dcfd1ca97aac5e75.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-dcfd1ca97aac5e75.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-61ca84a29559a9b5.rlib(bzip2-61ca84a29559a9b5.bzip2.28e0a06cc4d60176-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-61ca84a29559a9b5.rlib(bzip2-61ca84a29559a9b5.bzip2.28e0a06cc4d60176-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-61ca84a29559a9b5.rlib(bzip2-61ca84a29559a9b5.bzip2.28e0a06cc4d60176-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressEnd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `epubsearch` (bin "epubsearch") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd329258256418cb5ec165c3a33d89c74641315fdd0b0638e05ceaa04894ed3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd329258256418cb5ec165c3a33d89c74641315fdd0b0638e05ceaa04894ed3d", kill_on_drop: false }` [INFO] [stdout] bd329258256418cb5ec165c3a33d89c74641315fdd0b0638e05ceaa04894ed3d