[INFO] cloning repository https://github.com/kanersps/dynamic_lua_ffi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanersps/dynamic_lua_ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanersps%2Fdynamic_lua_ffi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanersps%2Fdynamic_lua_ffi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d31d7fe00b395655bef348548018957a40963c06 [INFO] testing kanersps/dynamic_lua_ffi against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanersps%2Fdynamic_lua_ffi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kanersps/dynamic_lua_ffi [INFO] finished tweaking git repo https://github.com/kanersps/dynamic_lua_ffi [INFO] tweaked toml for git repo https://github.com/kanersps/dynamic_lua_ffi written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kanersps/dynamic_lua_ffi on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kanersps/dynamic_lua_ffi 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bcf7495d2344d544e6a2f9762e785fb6a05b1c3060e03755692a23e2d14d8f5 [INFO] running `Command { std: "docker" "start" "-a" "3bcf7495d2344d544e6a2f9762e785fb6a05b1c3060e03755692a23e2d14d8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bcf7495d2344d544e6a2f9762e785fb6a05b1c3060e03755692a23e2d14d8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bcf7495d2344d544e6a2f9762e785fb6a05b1c3060e03755692a23e2d14d8f5", kill_on_drop: false }` [INFO] [stdout] 3bcf7495d2344d544e6a2f9762e785fb6a05b1c3060e03755692a23e2d14d8f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3ec77ccf839fa1434186892fcc2039a716ff543e4a6c766b33c31763db38999d [INFO] running `Command { std: "docker" "start" "-a" "3ec77ccf839fa1434186892fcc2039a716ff543e4a6c766b33c31763db38999d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling io-lifetimes v0.6.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rustix v0.34.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.0.46 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lua-src v544.0.1 [INFO] [stderr] Compiling luajit-src v210.3.4+resty073ac54 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling mlua v0.8.0-beta.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fd-lock v3.0.5 [INFO] [stderr] Compiling rustyline v9.1.2 [INFO] [stderr] Compiling testlua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | let func :libloading::Symbol = lib.get(b"load_rust").unwrap(); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => println!("Can not print!"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 12 | Value::Nil => println!("nil"), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 13 | Value::Boolean(b) => println!("{}", b), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 14 | Value::LightUserData(lu) => println!("{:?}", lu), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 15 | Value::Integer(i) => println!("{}", i), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 23 | _ => println!("Can not print!"), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/main.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | let load_library = lua.create_function(|d, library: String| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | lua.globals().set("load_library", load_library); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = lua.globals().set("load_library", load_library); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcE6BgGo/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibloading-9bcc23d3cb2d4dff.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librustyline-0d102df7fa7f68b0.rlib,libutf8parse-e2d7ad32b02aac46.rlib,libnix-8d61724ca1ff44c6.rlib,libmemoffset-9acda8b838fa5d0e.rlib,libfd_lock-445ac2d80e440821.rlib,librustix-7ecbd9906464c4c9.rlib,libio_lifetimes-da7fe49e8f71d879.rlib,libbitflags-e274cd04b58a060d.rlib,liblinux_raw_sys-ae77eb2b03e6ac9e.rlib,libunicode_width-2222409b5ba3ddc6.rlib,libunicode_segmentation-3334e91806fdcd11.rlib,liblog-fc4b0167ad2190de.rlib,libdirs_next-3f32cceda99ee45d.rlib,libdirs_sys_next-4adc2ff14eaf8e29.rlib,liblibc-15944c32b85e201e.rlib,libcfg_if-66d55f6b302e88c8.rlib,libradix_trie-af3a57570faa3220.rlib,libnibble_vec-6ebb71f6fe4a71b3.rlib,libsmallvec-39c23b8b078c47c3.rlib,libendian_type-a288539e743c60b9.rlib,libmlua-197dad4bd178718c.rlib,libonce_cell-6bb3d6b31615d1dd.rlib,librustc_hash-de524032ebe4928f.rlib,libnum_traits-86a63621aee64471.rlib,libbstr-9e8ec9415b712ab8.rlib,libmemchr-d88797af6a5880b4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcE6BgGo/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/testlua-9978c38718364e94" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lj_alloc.o): in function `mmap_probe': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lj_alloc.c:240:(.text+0x51): undefined reference to `mmap64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lj_prng.o): in function `lj_prng_seed_secure': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lj_prng.c:221:(.text+0x1a6): undefined reference to `open64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lj_load.o): in function `luaL_loadfilex': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lj_load.c:91:(.text+0x273): undefined reference to `fopen64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lj_ccallback.o): in function `callback_mcode_new': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lj_ccallback.c:334:(.text+0x7b0): undefined reference to `mmap64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lib_io.o): in function `io_file_open': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lib_io.c:87:(.text+0x100): undefined reference to `fopen64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lib_io.o): in function `lj_cf_io_method_seek': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lib_io.c:341:(.text+0xe2c): undefined reference to `fseeko64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lib_io.c:341:(.text+0xe5c): undefined reference to `fseeko64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lib_io.c:352:(.text+0xe68): undefined reference to `ftello64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lib_io.o): in function `lj_cf_io_tmpfile': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lib_io.c:445:(.text+0x1083): undefined reference to `tmpfile64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lib_io.o): in function `lj_cf_io_open': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lib_io.c:415:(.text+0x1140): undefined reference to `fopen64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lib_os.o): in function `lj_cf_os_tmpname': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lib_os.c:87:(.text+0x230): undefined reference to `mkstemp64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lib_package.o): in function `readable': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lib_package.c:299:(.text+0x5c4): undefined reference to `fopen64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lj_mcode.o): in function `mcode_alloc_at': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lj_mcode.c:108:(.text+0x117): undefined reference to `mmap64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmlua-197dad4bd178718c.rlib(lj_clib.o): in function `clib_resolve_lds': [INFO] [stdout] /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/mlua-40dd356137f58028/out/luajit-build/build/src/lj_clib.c:97:(.text+0x3cd): undefined reference to `fopen64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: 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#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `testlua` (bin "testlua") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ec77ccf839fa1434186892fcc2039a716ff543e4a6c766b33c31763db38999d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec77ccf839fa1434186892fcc2039a716ff543e4a6c766b33c31763db38999d", kill_on_drop: false }` [INFO] [stdout] 3ec77ccf839fa1434186892fcc2039a716ff543e4a6c766b33c31763db38999d