[INFO] cloning repository https://github.com/matthewashton-k/json-to-kmz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthewashton-k/json-to-kmz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewashton-k%2Fjson-to-kmz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewashton-k%2Fjson-to-kmz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94e5e21948c41180235244dfb56afc7b30e23bb5 [INFO] building matthewashton-k/json-to-kmz against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewashton-k%2Fjson-to-kmz" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matthewashton-k/json-to-kmz [INFO] finished tweaking git repo https://github.com/matthewashton-k/json-to-kmz [INFO] tweaked toml for git repo https://github.com/matthewashton-k/json-to-kmz written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matthewashton-k/json-to-kmz 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/matthewashton-k/json-to-kmz 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3ce94730845295a3e2f1a38a7288e40f1ca1db793a66476aea64fe90d596f500 [INFO] running `Command { std: "docker" "start" "-a" "3ce94730845295a3e2f1a38a7288e40f1ca1db793a66476aea64fe90d596f500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ce94730845295a3e2f1a38a7288e40f1ca1db793a66476aea64fe90d596f500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ce94730845295a3e2f1a38a7288e40f1ca1db793a66476aea64fe90d596f500", kill_on_drop: false }` [INFO] [stdout] 3ce94730845295a3e2f1a38a7288e40f1ca1db793a66476aea64fe90d596f500 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8794029793a610c8edc99442f0437481728da72bbc1b6f1eef25f9695c275944 [INFO] running `Command { std: "docker" "start" "-a" "8794029793a610c8edc99442f0437481728da72bbc1b6f1eef25f9695c275944", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling kmz_mine_script v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | ... let name = v["name"].as_str().unwrap().replace("&", "and"); // for some reason kmz doesnt like the & symbol which is used some... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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" "<4 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libzip-a560b71a5fa8792d,libtime-a2aa11c1e0c9e4ff,libwasi-e8918ae1b8252f97,libthiserror-96983d8e7a7d7e8f,libbzip2-45f19710d74262c6,libbzip2_sys-96082050d930193a,liblibc-1b3cdbeccd2009cc,libflate2-00038f57a2bef1a3,libminiz_oxide-9ef4ee65f5b7616a,libadler-5d585fd5ceaaf370,libbyteorder-f00db367bf6f80f8,libcrc32fast-f0a61590867b47c0,libcfg_if-50b02a9e3502ecf2,libserde_json-7fb4934dd4bcf9d9,libryu-758d5f45864a8a15,libitoa-9c1bb7077bf41900,libserde-60b9bf4bc2b4d723}.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-cae10a46963f3595/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/kmz_mine_script-2e4ea6a285ad1886.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-96082050d930193a.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-96082050d930193a.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-96082050d930193a.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-96082050d930193a.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-96082050d930193a.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-96082050d930193a.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-96082050d930193a.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-45f19710d74262c6.rlib(bzip2-45f19710d74262c6.bzip2.6fda3bb5d5ce1d36-cgu.0.rcgu.o): undefined symbol: BZ2_bzCompress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-45f19710d74262c6.rlib(bzip2-45f19710d74262c6.bzip2.6fda3bb5d5ce1d36-cgu.0.rcgu.o): undefined symbol: BZ2_bzCompressInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-45f19710d74262c6.rlib(bzip2-45f19710d74262c6.bzip2.6fda3bb5d5ce1d36-cgu.0.rcgu.o): undefined symbol: BZ2_bzCompressEnd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kmz_mine_script` (bin "kmz_mine_script") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8794029793a610c8edc99442f0437481728da72bbc1b6f1eef25f9695c275944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8794029793a610c8edc99442f0437481728da72bbc1b6f1eef25f9695c275944", kill_on_drop: false }` [INFO] [stdout] 8794029793a610c8edc99442f0437481728da72bbc1b6f1eef25f9695c275944