[INFO] cloning repository https://github.com/knkski/juju-bundle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knkski/juju-bundle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknkski%2Fjuju-bundle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknkski%2Fjuju-bundle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c815950b62f5c86e03980e282e0b13ad28f8978f [INFO] building knkski/juju-bundle against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknkski%2Fjuju-bundle" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/knkski/juju-bundle [INFO] finished tweaking git repo https://github.com/knkski/juju-bundle [INFO] tweaked toml for git repo https://github.com/knkski/juju-bundle written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/knkski/juju-bundle 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/knkski/juju-bundle 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] [stderr] Updating git repository `https://github.com/knkski/rust-libjuju.git` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding juju-rs v0.2.0 (https://github.com/knkski/rust-libjuju.git?rev=e5d8635#e5d86355) [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] 5eaca0786963d1f5b057611428dcdbc63acc096ad4a3304ae24e198d60fbbd26 [INFO] running `Command { std: "docker" "start" "-a" "5eaca0786963d1f5b057611428dcdbc63acc096ad4a3304ae24e198d60fbbd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eaca0786963d1f5b057611428dcdbc63acc096ad4a3304ae24e198d60fbbd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eaca0786963d1f5b057611428dcdbc63acc096ad4a3304ae24e198d60fbbd26", kill_on_drop: false }` [INFO] [stdout] 5eaca0786963d1f5b057611428dcdbc63acc096ad4a3304ae24e198d60fbbd26 [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] 9c265058918bcba6b33ec19c216af7416be803a06a98528e35afeb1b418b1366 [INFO] running `Command { std: "docker" "start" "-a" "9c265058918bcba6b33ec19c216af7416be803a06a98528e35afeb1b418b1366", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ex v0.1.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling juju-rs v0.2.0 (https://github.com/knkski/rust-libjuju.git?rev=e5d8635#e5d86355) [INFO] [stderr] Compiling juju-bundle v0.4.0 (/opt/rustwide/workdir) [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" "<12 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libjuju-44cd7c6939d3e71e,libdirs-66dc359d7d9fbe10,libcfg_if-c52cb2c48f08318d,libnom-320e2ac207592e52,liblexical_core-e145946433a4ff1c,libryu-b540009c26d765e9,libstatic_assertions-5a320074c6765347,libarrayvec-9ed5fb6180e5e114,libmemchr-09631bfaeea5dddf,libzip-af46725fd92ae03a,libtime-8c8d004edb8f9333,libthiserror-2df2ecc5a7d67237,libbzip2-a0292d55af45562e,libbzip2_sys-7e5cec3d32679c75,libflate2-c29645fa8571c309,libminiz_oxide-629d95067ea26f96,libadler-5d585fd5ceaaf370,libbyteorder-f00db367bf6f80f8,libcrc32fast-f994177ce033b336,libserde_yaml-9ebd1cee56a8817d,libdtoa-87e994b73e10ebb9,libyaml_rust-5019b2f028a3a724,liblinked_hash_map-8aa27a3e521f2ee8,libserde-0aeca0a62dac8982,libtempfile-d79aeae703463f76,librand-2145f800a0a68ab8,librand_chacha-6bba8531ab9516fe,libppv_lite86-aea581a1139b51e8,librand_core-04ed6117f234b762,libgetrandom-503e6d57b6b3aea7,libwasi-4ea4ad5c0c21a1a2,libremove_dir_all-32c9c6acbd877993,libstructopt-679823a497d089ba,libclap-ed7e92ef276e9683,libvec_map-4d1795d7ce776985,libtextwrap-afcebc57a5f97b39,libunicode_width-ed08a5a3aca89d2c,libstrsim-77da817db1277a2f,libbitflags-15e3d67e03629ffa,libatty-3242e974e54baef7,libansi_term-e6505b9a6cac2ba7,librayon-092e6b683aa9babb,librayon_core-f50896d157f9dc5a,libnum_cpus-f50d37954c9ec0f9,liblibc-686d7c078f0dfb85,libcrossbeam_deque-36eb94bb848dc289,libcrossbeam_epoch-48c68f384b73a4cf,libmemoffset-f76aa4440d3e75f2,libscopeguard-969e7c3c4435a7ba,libcrossbeam_channel-96268804cffcca59,libcrossbeam_utils-06a455d081b8265f,liblazy_static-36da267ce9339a94,libcfg_if-50b02a9e3502ecf2,libeither-dc6839dd41631a68,libpetgraph-e0f3988c02df03d0,libindexmap-8f3e8adf6304a45d,libhashbrown-ece374be44553230,libfixedbitset-56eadc682e3c494c,libex-7ac2ca41be913277,libquick_error-bfa68e8908574023,libanyhow-a39faba36c7d7464}.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-2eef46e03db390b9/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/juju_bundle-018e1f1c0b329368.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-7e5cec3d32679c75.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-7e5cec3d32679c75.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-7e5cec3d32679c75.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-7e5cec3d32679c75.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-7e5cec3d32679c75.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-7e5cec3d32679c75.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-7e5cec3d32679c75.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-a0292d55af45562e.rlib(bzip2-a0292d55af45562e.bzip2.6ce0018843557edb-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompress [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-a0292d55af45562e.rlib(bzip2-a0292d55af45562e.bzip2.6ce0018843557edb-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressInit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbzip2-a0292d55af45562e.rlib(bzip2-a0292d55af45562e.bzip2.6ce0018843557edb-cgu.0.rcgu.o): undefined symbol: BZ2_bzDecompressEnd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `juju-bundle` (bin "juju-bundle") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "9c265058918bcba6b33ec19c216af7416be803a06a98528e35afeb1b418b1366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c265058918bcba6b33ec19c216af7416be803a06a98528e35afeb1b418b1366", kill_on_drop: false }` [INFO] [stdout] 9c265058918bcba6b33ec19c216af7416be803a06a98528e35afeb1b418b1366