[INFO] fetching crate wasm-translator 0.1.3... [INFO] testing wasm-translator-0.1.3 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate wasm-translator 0.1.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate wasm-translator 0.1.3 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm-translator 0.1.3 [INFO] finished tweaking crates.io crate wasm-translator 0.1.3 [INFO] tweaked toml for crates.io crate wasm-translator 0.1.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-core v0.2.15 [INFO] [stderr] Downloaded parity-wasm v0.27.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 065e57e90666bc0fc2fd01e0428fb15a8df65082489ebda9599eb91138e0893c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "065e57e90666bc0fc2fd01e0428fb15a8df65082489ebda9599eb91138e0893c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "065e57e90666bc0fc2fd01e0428fb15a8df65082489ebda9599eb91138e0893c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "065e57e90666bc0fc2fd01e0428fb15a8df65082489ebda9599eb91138e0893c", kill_on_drop: false }` [INFO] [stdout] 065e57e90666bc0fc2fd01e0428fb15a8df65082489ebda9599eb91138e0893c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4172d9f13a5a332ed4231945e0841e0858ea9ec6bfaec8c35c58ca32578e4ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4172d9f13a5a332ed4231945e0841e0858ea9ec6bfaec8c35c58ca32578e4ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling parity-wasm v0.27.6 [INFO] [stderr] Compiling llvm-sys v60.6.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling wasm-core v0.2.15 [INFO] [stderr] Compiling wasm-translator v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `gt` [INFO] [stdout] --> src/lib.rs:184:38 [INFO] [stdout] | [INFO] [stdout] 184 | External::Global(ref gt) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ft_ret` [INFO] [stdout] --> src/lib.rs:491:37 [INFO] [stdout] | [INFO] [stdout] 491 | let Type::Func(ref ft_args, ref ft_ret) = *ty; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ft_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/optrans.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | let mut new_label = Label::new(LabelType::If(result.len())); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin/wa.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Module` [INFO] [stdout] --> src/bin/wa.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use translator::wasm_core::module::{Module, Export}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.wtrans.3eabd397-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50.1hulrknlze9b4f2.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/llvm-sys-5dc498a384750909/out" "-L" "/usr/lib/llvm-10/lib" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-1d628f6b4c148360.rlib" "/opt/rustwide/target/debug/deps/libryu-e6fb900e507a464e.rlib" "/opt/rustwide/target/debug/deps/libitoa-653c401ca764c4cb.rlib" "/opt/rustwide/target/debug/deps/libwasm_translator-1f14c97cf89a7aef.rlib" "/opt/rustwide/target/debug/deps/libparity_wasm-d8cb881e4169aed0.rlib" "/opt/rustwide/target/debug/deps/libwasm_core-f6877bc6e8be5743.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f328109de99d6196.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-557b026a7b505c72.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-535c06e7d7e0b10d.rlib" "/opt/rustwide/target/debug/deps/libllvm_sys-bcffeb17eb4d91e3.rlib" "/opt/rustwide/target/debug/deps/liblibc-333aa5b90e875ae0.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f67718dd40129317.rlib" "/opt/rustwide/target/debug/deps/libbincode-a181024ddc7c752e.rlib" "/opt/rustwide/target/debug/deps/libserde-ca2eddef037d8f42.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.rlib" "-Wl,-Bdynamic" "-lz" "-lrt" "-ldl" "-ltinfo" "-lpthread" "-lm" "-lstdc++" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/wtrans-ae99fd6e32440f50" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libwasm_core-f6877bc6e8be5743.rlib(wasm_core-f6877bc6e8be5743.wasm_core.5db02890-cgu.9.rcgu.o): in function `wasm_core::jit::llvm::Orc::add_lazily_compiled_ir': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wasm-core-0.2.15/src/jit/llvm.rs:378: undefined reference to `LLVMOrcMakeSharedModule' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-translator` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c4172d9f13a5a332ed4231945e0841e0858ea9ec6bfaec8c35c58ca32578e4ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4172d9f13a5a332ed4231945e0841e0858ea9ec6bfaec8c35c58ca32578e4ed", kill_on_drop: false }` [INFO] [stdout] c4172d9f13a5a332ed4231945e0841e0858ea9ec6bfaec8c35c58ca32578e4ed