[INFO] cloning repository https://github.com/Shadlock0133/tex-slasher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shadlock0133/tex-slasher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShadlock0133%2Ftex-slasher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShadlock0133%2Ftex-slasher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 038937d25714b4e881070446b3b97195b2581a77 [INFO] building Shadlock0133/tex-slasher against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShadlock0133%2Ftex-slasher" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Shadlock0133/tex-slasher [INFO] finished tweaking git repo https://github.com/Shadlock0133/tex-slasher [INFO] tweaked toml for git repo https://github.com/Shadlock0133/tex-slasher written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Shadlock0133/tex-slasher 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/Shadlock0133/tex-slasher 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8c4818a4f088fb7f6d8e147dc087012a6658bfb95a430f335ca8f4a6f5949414 [INFO] running `Command { std: "docker" "start" "-a" "8c4818a4f088fb7f6d8e147dc087012a6658bfb95a430f335ca8f4a6f5949414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c4818a4f088fb7f6d8e147dc087012a6658bfb95a430f335ca8f4a6f5949414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4818a4f088fb7f6d8e147dc087012a6658bfb95a430f335ca8f4a6f5949414", kill_on_drop: false }` [INFO] [stdout] 8c4818a4f088fb7f6d8e147dc087012a6658bfb95a430f335ca8f4a6f5949414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 326f5c84e4f2acc32c908735e6232d4b9ba9e1958441daf3e65f4ac6c09b1684 [INFO] running `Command { std: "docker" "start" "-a" "326f5c84e4f2acc32c908735e6232d4b9ba9e1958441daf3e65f4ac6c09b1684", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tex-slasher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `imgs` and `bin` are never read [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct Toml { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 106 | imgs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | bin: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Toml` 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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | fn find(&mut self, file: &str) -> Option { [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] 171 | fn find(&mut self, file: &str) -> Option> { [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" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtoml-d38e205b0c665c78,libanyhow-ed3213efbd3b0469,libzip-aa3eccacfe3be43f,libtime-18bb4411c9e01c7b,libwasi-e8918ae1b8252f97,libthiserror-6ce23ddd2f5b5a94,libbzip2-70dcd620cd5a001f,libbzip2_sys-28d715e8d72cc99d,liblibc-4eb60b6e8052056b,libflate2-b475a5a4ffa27f9f,libminiz_oxide-629d95067ea26f96,libadler-5d585fd5ceaaf370,libstructopt-f0743e7019f1a4dd,liblazy_static-36da267ce9339a94,libclap-389c04c504030131,libvec_map-4d1795d7ce776985,libtextwrap-afcebc57a5f97b39,libunicode_width-ed08a5a3aca89d2c,libstrsim-77da817db1277a2f,libatty-3242e974e54baef7,libansi_term-6c0151593fd7624b,libserde-7b3329da5df87306,libimage-ff189051e7f97a2f,libcolor_quant-8e07a515e6ff48c0,libnum_iter-cb98697f428d40c4,libbytemuck-eaca2bf54f3a1ce9,libpng-ce9f4378674c8fba,libminiz_oxide-dadf386c3d95bd8d,libcrc32fast-16c73443c28ec47a,libcfg_if-50b02a9e3502ecf2,libdeflate-cec0dcc85515ac5c,libbyteorder-f00db367bf6f80f8,libadler32-9f2c3df339504c4f,libbitflags-15e3d67e03629ffa,libnum_rational-cc41532932283355,libnum_integer-4dd7eb7c765b6f02,libnum_traits-9b1d81968a913e17}.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-0211537df9afc813/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/tex_slasher-eb94ca5371e6d843.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-28d715e8d72cc99d.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-28d715e8d72cc99d.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-28d715e8d72cc99d.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-28d715e8d72cc99d.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-28d715e8d72cc99d.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-28d715e8d72cc99d.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-28d715e8d72cc99d.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-70dcd620cd5a001f.rlib(bzip2-70dcd620cd5a001f.bzip2.abf3d9617064b7e0-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-70dcd620cd5a001f.rlib(bzip2-70dcd620cd5a001f.bzip2.abf3d9617064b7e0-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-70dcd620cd5a001f.rlib(bzip2-70dcd620cd5a001f.bzip2.abf3d9617064b7e0-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressEnd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tex-slasher` (bin "tex-slasher") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "326f5c84e4f2acc32c908735e6232d4b9ba9e1958441daf3e65f4ac6c09b1684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326f5c84e4f2acc32c908735e6232d4b9ba9e1958441daf3e65f4ac6c09b1684", kill_on_drop: false }` [INFO] [stdout] 326f5c84e4f2acc32c908735e6232d4b9ba9e1958441daf3e65f4ac6c09b1684