[INFO] cloning repository https://github.com/LibreNetwork-dev/luathread [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LibreNetwork-dev/luathread" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLibreNetwork-dev%2Fluathread", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLibreNetwork-dev%2Fluathread'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aad6f1fa26162c6210cedac089617f83c34f3900 [INFO] building LibreNetwork-dev/luathread against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLibreNetwork-dev%2Fluathread" "/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/LibreNetwork-dev/luathread [INFO] finished tweaking git repo https://github.com/LibreNetwork-dev/luathread [INFO] tweaked toml for git repo https://github.com/LibreNetwork-dev/luathread written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LibreNetwork-dev/luathread 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/LibreNetwork-dev/luathread 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-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] bfe96eb0d7b45cc959811f0b53881e2a1b177dfb72f7c4cd62a0ee87375361b6 [INFO] running `Command { std: "docker" "start" "-a" "bfe96eb0d7b45cc959811f0b53881e2a1b177dfb72f7c4cd62a0ee87375361b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfe96eb0d7b45cc959811f0b53881e2a1b177dfb72f7c4cd62a0ee87375361b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe96eb0d7b45cc959811f0b53881e2a1b177dfb72f7c4cd62a0ee87375361b6", kill_on_drop: false }` [INFO] [stdout] bfe96eb0d7b45cc959811f0b53881e2a1b177dfb72f7c4cd62a0ee87375361b6 [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] 35c8ae027846398a4defe563315a5e0bb27e0d3fba7d23a52271016d0132e404 [INFO] running `Command { std: "docker" "start" "-a" "35c8ae027846398a4defe563315a5e0bb27e0d3fba7d23a52271016d0132e404", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling mlua-sys v0.6.7 [INFO] [stderr] Compiling mlua_derive v0.9.3 [INFO] [stderr] Compiling mlua v0.9.9 [INFO] [stderr] Compiling luathread v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let l_thread = unsafe {Lua::new()}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | fn luathread(lua: &Lua) -> 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] 5 | fn luathread(lua: &Lua) -> Result> { [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" "luaopen_luathread" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmlua-31e159d8f42aed5c,libonce_cell-bcd15b06b8f373b9,librustc_hash-b695fc556540dede,libmlua_sys-3834f8e4498d8e17,libnum_traits-b77bdcaa9e27e278,libbstr-08ff74bbbaf48c2a,libmemchr-fce70e7b22dffad4}.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" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_gettop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_pcall [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_gettop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_gettop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_checkstack [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_pushvalue [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_xmove [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_gettop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_setmetatable [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_checkstack [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_settop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_setmetatable [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/luathread.luathread.77f4477bf4a1a8aa-cgu.0.rcgu.o: undefined symbol: lua_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmlua-31e159d8f42aed5c.rlib(mlua-31e159d8f42aed5c.mlua.1fae9dc15f2cd799-cgu.01.rcgu.o): undefined symbol: lua_touserdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmlua-31e159d8f42aed5c.rlib(mlua-31e159d8f42aed5c.mlua.1fae9dc15f2cd799-cgu.01.rcgu.o): undefined symbol: lua_touserdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmlua-31e159d8f42aed5c.rlib(mlua-31e159d8f42aed5c.mlua.1fae9dc15f2cd799-cgu.01.rcgu.o): undefined symbol: lua_touserdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmlua-31e159d8f42aed5c.rlib(mlua-31e159d8f42aed5c.mlua.1fae9dc15f2cd799-cgu.01.rcgu.o): undefined symbol: lua_touserdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmlua-31e159d8f42aed5c.rlib(mlua-31e159d8f42aed5c.mlua.1fae9dc15f2cd799-cgu.01.rcgu.o): undefined symbol: lua_touserdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmlua-31e159d8f42aed5c.rlib(mlua-31e159d8f42aed5c.mlua.1fae9dc15f2cd799-cgu.01.rcgu.o): undefined symbol: lua_newuserdata [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luathread` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35c8ae027846398a4defe563315a5e0bb27e0d3fba7d23a52271016d0132e404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c8ae027846398a4defe563315a5e0bb27e0d3fba7d23a52271016d0132e404", kill_on_drop: false }` [INFO] [stdout] 35c8ae027846398a4defe563315a5e0bb27e0d3fba7d23a52271016d0132e404