[INFO] cloning repository https://github.com/spinjam/pyxeledit-to-ldtk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spinjam/pyxeledit-to-ldtk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fpyxeledit-to-ldtk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fpyxeledit-to-ldtk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab68b5568e3d4e00b5f37a34575a3da3df9ad071 [INFO] building spinjam/pyxeledit-to-ldtk against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fpyxeledit-to-ldtk" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/spinjam/pyxeledit-to-ldtk [INFO] finished tweaking git repo https://github.com/spinjam/pyxeledit-to-ldtk [INFO] tweaked toml for git repo https://github.com/spinjam/pyxeledit-to-ldtk written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spinjam/pyxeledit-to-ldtk 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/spinjam/pyxeledit-to-ldtk 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0f930473f2485d2e3905c2fe196e9de1b8510ac676e9d11d917356c1267ad1c8 [INFO] running `Command { std: "docker" "start" "-a" "0f930473f2485d2e3905c2fe196e9de1b8510ac676e9d11d917356c1267ad1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f930473f2485d2e3905c2fe196e9de1b8510ac676e9d11d917356c1267ad1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f930473f2485d2e3905c2fe196e9de1b8510ac676e9d11d917356c1267ad1c8", kill_on_drop: false }` [INFO] [stdout] 0f930473f2485d2e3905c2fe196e9de1b8510ac676e9d11d917356c1267ad1c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fdf0860bbad6a36283ade222113e806ad0bda9885969fb26afc385d8ca3ad00b [INFO] running `Command { std: "docker" "start" "-a" "fdf0860bbad6a36283ade222113e806ad0bda9885969fb26afc385d8ca3ad00b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling zip v0.5.12 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling pyxeledit2ldtk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | /// Layer type (possible values: IntGrid, Entities, Tiles or AutoLayer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | layer_instance_type: "Tiles".to_owned(), [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | /// Reference the Layer definition UID (important!) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | layer_def_uid: layer_uid, [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | / /// Pixel coordinates of the tile in the **layer** [INFO] [stdout] 199 | | /// (`[x,y]` format). Don't forget optional [INFO] [stdout] 200 | | /// layer offsets, if they exist! [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 201 | px: vec![(pos_x * tile_w) as i64, (pos_y * tile_w) as i64], [INFO] [stdout] | ---------------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | /// Pixel coordinates of the tile in the **tileset** (`[x,y]` format) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 204 | src: vec![0, 0], [INFO] [stdout] | --------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | /// flip bits [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 206 | f: 0, [INFO] [stdout] | ---- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | /// tile id in the corresponding tileset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | t: tile_index, [INFO] [stdout] | ------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | / /// Internal data used by the editor. [INFO] [stdout] 210 | | /// For auto-layer tiles: `[ruleId, coordId]` [INFO] [stdout] 211 | | /// For tile-layer tiles: `[coordId]` [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] 212 | // d: vec![tile_index], [INFO] [stdout] 213 | d: vec![pos_y * map_w + pos_x], [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tile_h` is never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SharedData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | tile_h: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coord` is never constructed [INFO] [stdout] --> src/convert.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Coord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | tiles.push(current.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/convert.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | let filename = file.name().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/convert.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | docdata_filename.push_str(file.name().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [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" "<11 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libzip-55d135213288caac,libtime-e31d9ea1b17a7091,libwasi-e8918ae1b8252f97,libthiserror-9f4f880c73b03f57,libbzip2-b7f367cb653c51a1,libbzip2_sys-77fdc7b28df4b4aa,libflate2-760aac84f91ac075,libimage-544dea14ac72746a,libbytemuck-9168380213fb86cd,libpng-664685a40a0bdb2f,libminiz_oxide-dadf386c3d95bd8d,libcrc32fast-16c73443c28ec47a,libdeflate-cec0dcc85515ac5c,libadler32-9f2c3df339504c4f,libbitflags-05377f64c37263ee,libnum_iter-cb98697f428d40c4,libscoped_threadpool-57e4edce7c277e36,libnum_rational-cc41532932283355,libnum_integer-4dd7eb7c765b6f02,libgif-7b3023bd2ce2c454,libcolor_quant-8e07a515e6ff48c0,libbyteorder-f00db367bf6f80f8,libnum_traits-9b1d81968a913e17,libtiff-191d0a825610b5ab,libweezl-ed0828c504bd21fb,libminiz_oxide-911c7d29f95a0214,libadler-5d585fd5ceaaf370,libjpeg_decoder-8726044bfbb0b453,librayon-0741e790aa877598,librayon_core-f1f797c176f4c230,libnum_cpus-690303e81b288308,liblibc-569ec0831f4d38d7,libcrossbeam_deque-9c05fbb45e91d936,libcrossbeam_epoch-86b1527dafeafa9b,libmemoffset-5adbfebf8244c340,libscopeguard-969e7c3c4435a7ba,libcrossbeam_channel-94666da497406907,libcrossbeam_utils-a847fb3e9aa802c1,liblazy_static-36da267ce9339a94,libcfg_if-50b02a9e3502ecf2,libeither-dc6839dd41631a68,libserde_json-e0f7e9c5fe191918,libryu-1081a85990212fc6,libitoa-92f6c7a8e940dc8c,libserde-31710b5658ec5719}.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/pyxeledit2ldtk-2086fc1ec126109d.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-77fdc7b28df4b4aa.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-77fdc7b28df4b4aa.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-77fdc7b28df4b4aa.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-77fdc7b28df4b4aa.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-77fdc7b28df4b4aa.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-77fdc7b28df4b4aa.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-77fdc7b28df4b4aa.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-b7f367cb653c51a1.rlib(bzip2-b7f367cb653c51a1.bzip2.7d221cf5f470dede-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-b7f367cb653c51a1.rlib(bzip2-b7f367cb653c51a1.bzip2.7d221cf5f470dede-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-b7f367cb653c51a1.rlib(bzip2-b7f367cb653c51a1.bzip2.7d221cf5f470dede-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressEnd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyxeledit2ldtk` (bin "pyxeledit2ldtk") due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fdf0860bbad6a36283ade222113e806ad0bda9885969fb26afc385d8ca3ad00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf0860bbad6a36283ade222113e806ad0bda9885969fb26afc385d8ca3ad00b", kill_on_drop: false }` [INFO] [stdout] fdf0860bbad6a36283ade222113e806ad0bda9885969fb26afc385d8ca3ad00b