[INFO] fetching crate xl 0.1.7... [INFO] building xl-0.1.7 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate xl 0.1.7 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate xl 0.1.7 [INFO] finished tweaking crates.io crate xl 0.1.7 [INFO] tweaked toml for crates.io crate xl 0.1.7 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xl 0.1.7 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 crates.io crate xl 0.1.7 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-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] 33cbfa544abf3265475f4e0666533be3e8c9b767a2d765c5821e30cdac02b2ab [INFO] running `Command { std: "docker" "start" "-a" "33cbfa544abf3265475f4e0666533be3e8c9b767a2d765c5821e30cdac02b2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33cbfa544abf3265475f4e0666533be3e8c9b767a2d765c5821e30cdac02b2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33cbfa544abf3265475f4e0666533be3e8c9b767a2d765c5821e30cdac02b2ab", kill_on_drop: false }` [INFO] [stdout] 33cbfa544abf3265475f4e0666533be3e8c9b767a2d765c5821e30cdac02b2ab [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] 74e14eedb3b4354eaa5000f656a41193afdbaa64d9f16f9a5ea7cba999e0ea00 [INFO] running `Command { std: "docker" "start" "-a" "74e14eedb3b4354eaa5000f656a41193afdbaa64d9f16f9a5ea7cba999e0ea00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling xl v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `encoding` is never read [INFO] [stdout] --> src/wb.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Workbook { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | encoding: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Workbook` 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: fields `relationship_id` and `sheet_id` are never read [INFO] [stdout] --> src/ws.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Worksheet { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | relationship_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | sheet_id: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worksheet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(args: &[String]) -> 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] 77 | pub fn new(args: &[String]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wb.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait SheetAccessTrait { fn go(&self) -> SheetNameOrNum; } [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | pub trait SheetAccessTrait { fn go(&self) -> SheetNameOrNum<'_>; } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wb.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(&self) -> SheetNameOrNum { SheetNameOrNum::Name(*self) } [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn go(&self) -> SheetNameOrNum<'_> { SheetNameOrNum::Name(*self) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wb.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | fn go(&self) -> SheetNameOrNum { SheetNameOrNum::Pos(*self) } [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 106 | fn go(&self) -> SheetNameOrNum<'_> { SheetNameOrNum::Pos(*self) } [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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libxl-bfcc08951f7be3af,libchrono-ad7695b293686064,libnum_integer-63ff705a192663b9,libnum_traits-cc983f754dc65362,libzip-825fc37c09488d9b,libtime-919dc1cc7b38afc2,libwasi-e8918ae1b8252f97,libthiserror-1647a70fd55f60d5,libbzip2-960478f29ab1261c,libbzip2_sys-3c378d597ca435b1,liblibc-573fbe978ba00580,libflate2-6a52c93e9fb20a2d,libminiz_oxide-629d95067ea26f96,libadler-5d585fd5ceaaf370,libbyteorder-f00db367bf6f80f8,libcrc32fast-16c73443c28ec47a,libcfg_if-50b02a9e3502ecf2,libquick_xml-70ea76a96f50ffac,libmemchr-3d9dcb1d7c8e7341}.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-d2289c477b891076/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/xlcat-22a3b154ced0dd76.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-3c378d597ca435b1.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-3c378d597ca435b1.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-3c378d597ca435b1.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-3c378d597ca435b1.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-3c378d597ca435b1.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-3c378d597ca435b1.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-3c378d597ca435b1.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-960478f29ab1261c.rlib(bzip2-960478f29ab1261c.bzip2.28f6394c969cc52e-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-960478f29ab1261c.rlib(bzip2-960478f29ab1261c.bzip2.28f6394c969cc52e-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-960478f29ab1261c.rlib(bzip2-960478f29ab1261c.bzip2.28f6394c969cc52e-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressEnd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xl` (bin "xlcat") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "74e14eedb3b4354eaa5000f656a41193afdbaa64d9f16f9a5ea7cba999e0ea00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e14eedb3b4354eaa5000f656a41193afdbaa64d9f16f9a5ea7cba999e0ea00", kill_on_drop: false }` [INFO] [stdout] 74e14eedb3b4354eaa5000f656a41193afdbaa64d9f16f9a5ea7cba999e0ea00