[INFO] fetching crate lua 0.0.10... [INFO] testing lua-0.0.10 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate lua 0.0.10 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate lua 0.0.10 [INFO] finished tweaking crates.io crate lua 0.0.10 [INFO] tweaked toml for crates.io crate lua 0.0.10 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lua 0.0.10 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.1.1 (available: v2.9.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fae7944916c93aec11bb58adb7b867ce9ef295ddf8e41dad6a723697650e68d5 [INFO] running `Command { std: "docker" "start" "-a" "fae7944916c93aec11bb58adb7b867ce9ef295ddf8e41dad6a723697650e68d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fae7944916c93aec11bb58adb7b867ce9ef295ddf8e41dad6a723697650e68d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae7944916c93aec11bb58adb7b867ce9ef295ddf8e41dad6a723697650e68d5", kill_on_drop: false }` [INFO] [stdout] fae7944916c93aec11bb58adb7b867ce9ef295ddf8e41dad6a723697650e68d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d73fa3c046363822370e0651fff4f0deed0f3bcf94890c5263e0f48e2ecb739 [INFO] running `Command { std: "docker" "start" "-a" "1d73fa3c046363822370e0651fff4f0deed0f3bcf94890c5263e0f48e2ecb739", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling lua v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let status = try!(self.status()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | try!(fs::create_dir_all(&build_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | try!(build_lua(&tooling, &lua_dir, &build_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | try!(config.include(&lua_dir).get_compiler().to_command() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | try!(Command::new(glue) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LUA_MAXINTEGER` [INFO] [stdout] --> src/ffi/luaconf.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | pub use super::glue::{LUA_MININTEGER, LUA_MAXINTEGER}; [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 import: `super::glue::LUAI_MAXSTACK` [INFO] [stdout] --> src/ffi/luaconf.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use super::glue::LUAI_MAXSTACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::glue::LUAL_NUMSIZES` [INFO] [stdout] --> src/ffi/luaconf.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use super::glue::LUAL_NUMSIZES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LUA_VERSION_MAJOR`, `LUA_VERSION_MINOR`, and `LUA_VERSION_RELEASE` [INFO] [stdout] --> src/ffi/lua.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub use super::glue::{LUA_VERSION_MAJOR, LUA_VERSION_MINOR, LUA_VERSION_NUM, LUA_VERSION_RELEASE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LUA_AUTHORS`, `LUA_COPYRIGHT`, `LUA_RELEASE`, and `LUA_VERSION` [INFO] [stdout] --> src/ffi/lua.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub use super::glue::{LUA_VERSION, LUA_RELEASE, LUA_COPYRIGHT, LUA_AUTHORS}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | extern { [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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lualib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn loader(&self) -> unsafe extern fn (L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe extern fn continue_func(st: *mut lua_State, status: c_int, ctx: ffi::lua_KContext) -> c_int [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe extern fn alloc_func(_: *mut c_void, ptr: *mut c_void, old_size: size_t, new_size: size_t) -> *mut c_void { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:917:12 [INFO] [stdout] | [INFO] [stdout] 917 | unsafe extern fn read(st: *mut lua_State, ud: *mut c_void, sz: *mut size_t) -> *const c_char [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:939:12 [INFO] [stdout] | [INFO] [stdout] 939 | unsafe extern fn write(st: *mut lua_State, p: *const c_void, sz: size_t, ud: *mut c_void) -> c_int [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe extern fn wrapped c_int>(s: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-660d50edf973d03e/out/glue.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub type LUA_UNSIGNED = uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-660d50edf973d03e/out/glue.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub type LUA_INTEGER = int64_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrapper/state.rs:1177:43 [INFO] [stdout] | [INFO] [stdout] 1177 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrapper/state.rs:1188:43 [INFO] [stdout] | [INFO] [stdout] 1188 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wrapper/state.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | pub type Extra = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | pub type Extra = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stdout] --> src/wrapper/state.rs:1177:38 [INFO] [stdout] | [INFO] [stdout] 1177 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/lua.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | pub event: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stdout] --> src/wrapper/state.rs:1188:38 [INFO] [stdout] | [INFO] [stdout] 1188 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/lua.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | pub event: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.45s [INFO] running `Command { std: "docker" "inspect" "1d73fa3c046363822370e0651fff4f0deed0f3bcf94890c5263e0f48e2ecb739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d73fa3c046363822370e0651fff4f0deed0f3bcf94890c5263e0f48e2ecb739", kill_on_drop: false }` [INFO] [stdout] 1d73fa3c046363822370e0651fff4f0deed0f3bcf94890c5263e0f48e2ecb739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08f28db3fe0c8370664b8c6d4415a461e1639e5ea19fecc62f44253ed93b5289 [INFO] running `Command { std: "docker" "start" "-a" "08f28db3fe0c8370664b8c6d4415a461e1639e5ea19fecc62f44253ed93b5289", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let status = try!(self.status()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | try!(fs::create_dir_all(&build_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | try!(build_lua(&tooling, &lua_dir, &build_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | try!(config.include(&lua_dir).get_compiler().to_command() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | try!(Command::new(glue) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LUA_MAXINTEGER` [INFO] [stdout] --> src/ffi/luaconf.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | pub use super::glue::{LUA_MININTEGER, LUA_MAXINTEGER}; [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 import: `super::glue::LUAI_MAXSTACK` [INFO] [stdout] --> src/ffi/luaconf.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use super::glue::LUAI_MAXSTACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::glue::LUAL_NUMSIZES` [INFO] [stdout] --> src/ffi/luaconf.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use super::glue::LUAL_NUMSIZES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LUA_VERSION_MAJOR`, `LUA_VERSION_MINOR`, and `LUA_VERSION_RELEASE` [INFO] [stdout] --> src/ffi/lua.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub use super::glue::{LUA_VERSION_MAJOR, LUA_VERSION_MINOR, LUA_VERSION_NUM, LUA_VERSION_RELEASE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LUA_AUTHORS`, `LUA_COPYRIGHT`, `LUA_RELEASE`, and `LUA_VERSION` [INFO] [stdout] --> src/ffi/lua.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub use super::glue::{LUA_VERSION, LUA_RELEASE, LUA_COPYRIGHT, LUA_AUTHORS}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | extern { [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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lua v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lualib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn loader(&self) -> unsafe extern fn (L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe extern fn continue_func(st: *mut lua_State, status: c_int, ctx: ffi::lua_KContext) -> c_int [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe extern fn alloc_func(_: *mut c_void, ptr: *mut c_void, old_size: size_t, new_size: size_t) -> *mut c_void { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:917:12 [INFO] [stdout] | [INFO] [stdout] 917 | unsafe extern fn read(st: *mut lua_State, ud: *mut c_void, sz: *mut size_t) -> *const c_char [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:939:12 [INFO] [stdout] | [INFO] [stdout] 939 | unsafe extern fn write(st: *mut lua_State, p: *const c_void, sz: size_t, ud: *mut c_void) -> c_int [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe extern fn wrapped c_int>(s: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-660d50edf973d03e/out/glue.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub type LUA_UNSIGNED = uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-660d50edf973d03e/out/glue.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub type LUA_INTEGER = int64_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrapper/state.rs:1177:43 [INFO] [stdout] | [INFO] [stdout] 1177 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrapper/state.rs:1188:43 [INFO] [stdout] | [INFO] [stdout] 1188 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wrapper/state.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | pub type Extra = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | pub type Extra = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stdout] --> src/wrapper/state.rs:1177:38 [INFO] [stdout] | [INFO] [stdout] 1177 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/lua.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | pub event: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stdout] --> src/wrapper/state.rs:1188:38 [INFO] [stdout] | [INFO] [stdout] 1188 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/lua.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | pub event: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LUA_MAXINTEGER` [INFO] [stdout] --> src/ffi/luaconf.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | pub use super::glue::{LUA_MININTEGER, LUA_MAXINTEGER}; [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 import: `super::glue::LUAI_MAXSTACK` [INFO] [stdout] --> src/ffi/luaconf.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use super::glue::LUAI_MAXSTACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::glue::LUAL_NUMSIZES` [INFO] [stdout] --> src/ffi/luaconf.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use super::glue::LUAL_NUMSIZES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LUA_VERSION_MAJOR`, `LUA_VERSION_MINOR`, and `LUA_VERSION_RELEASE` [INFO] [stdout] --> src/ffi/lua.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub use super::glue::{LUA_VERSION_MAJOR, LUA_VERSION_MINOR, LUA_VERSION_NUM, LUA_VERSION_RELEASE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LUA_AUTHORS`, `LUA_COPYRIGHT`, `LUA_RELEASE`, and `LUA_VERSION` [INFO] [stdout] --> src/ffi/lua.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub use super::glue::{LUA_VERSION, LUA_RELEASE, LUA_COPYRIGHT, LUA_AUTHORS}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | extern { [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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lua.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lauxlib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi/lualib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn loader(&self) -> unsafe extern fn (L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe extern fn continue_func(st: *mut lua_State, status: c_int, ctx: ffi::lua_KContext) -> c_int [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe extern fn alloc_func(_: *mut c_void, ptr: *mut c_void, old_size: size_t, new_size: size_t) -> *mut c_void { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:917:12 [INFO] [stdout] | [INFO] [stdout] 917 | unsafe extern fn read(st: *mut lua_State, ud: *mut c_void, sz: *mut size_t) -> *const c_char [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wrapper/state.rs:939:12 [INFO] [stdout] | [INFO] [stdout] 939 | unsafe extern fn write(st: *mut lua_State, p: *const c_void, sz: size_t, ud: *mut c_void) -> c_int [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe extern fn wrapped c_int>(s: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-660d50edf973d03e/out/glue.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub type LUA_UNSIGNED = uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-660d50edf973d03e/out/glue.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub type LUA_INTEGER = int64_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrapper/state.rs:1177:43 [INFO] [stdout] | [INFO] [stdout] 1177 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrapper/state.rs:1188:43 [INFO] [stdout] | [INFO] [stdout] 1188 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wrapper/state.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | pub type Extra = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | pub type Extra = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ThreadStatus` that must be used [INFO] [stdout] --> examples/userdata/main.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | / state.do_string("local p = Point2D.new(12, 34) [INFO] [stdout] 107 | | print(p:x(), p:y())"); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = state.do_string("local p = Point2D.new(12, 34) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> examples/userdata-with-drop/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | match (*v).data.get(i) { [INFO] [stdout] | ^^-^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecWrapper` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[i64]` [INFO] [stdout] --> examples/userdata-with-drop/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | match (*v).data.get(i) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/slice/mod.rs:570:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 62 | match (&(*v).data).get(i) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ThreadStatus` that must be used [INFO] [stdout] --> examples/userdata-with-drop/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / state.do_string("local v = VecWrapper.new() [INFO] [stdout] 135 | | v:push(12) [INFO] [stdout] 136 | | v:push(34) [INFO] [stdout] 137 | | -- should print 2 [INFO] [stdout] 138 | | print('length of vec is', v:len()) [INFO] [stdout] 139 | | -- should print 12 34 nil [INFO] [stdout] 140 | | print(v:get(0), v:get(1), v:get(2))"); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = state.do_string("local v = VecWrapper.new() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stdout] --> src/wrapper/state.rs:1177:38 [INFO] [stdout] | [INFO] [stdout] 1177 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/lua.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | pub event: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stdout] --> src/wrapper/state.rs:1188:38 [INFO] [stdout] | [INFO] [stdout] 1188 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/lua.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | pub event: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "08f28db3fe0c8370664b8c6d4415a461e1639e5ea19fecc62f44253ed93b5289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f28db3fe0c8370664b8c6d4415a461e1639e5ea19fecc62f44253ed93b5289", kill_on_drop: false }` [INFO] [stdout] 08f28db3fe0c8370664b8c6d4415a461e1639e5ea19fecc62f44253ed93b5289 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 467ec8cc27629649dd8c68d927f0f8b967c916a986db15d76c5334bc6412de7c [INFO] running `Command { std: "docker" "start" "-a" "467ec8cc27629649dd8c68d927f0f8b967c916a986db15d76c5334bc6412de7c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> build.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | let status = try!(self.status()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> build.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | try!(fs::create_dir_all(&build_dir)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> build.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | try!(build_lua(&tooling, &lua_dir, &build_dir)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> build.rs:107:9 [INFO] [stderr] | [INFO] [stderr] 107 | try!(config.include(&lua_dir).get_compiler().to_command() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> build.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | try!(Command::new(glue) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:87:27 [INFO] [stderr] | [INFO] [stderr] 87 | let mut config = gcc::Config::new(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:87:35 [INFO] [stderr] | [INFO] [stderr] 87 | let mut config = gcc::Config::new(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `lua` (build script) generated 7 warnings [INFO] [stderr] warning: unused import: `LUA_MAXINTEGER` [INFO] [stderr] --> src/ffi/luaconf.rs:31:39 [INFO] [stderr] | [INFO] [stderr] 31 | pub use super::glue::{LUA_MININTEGER, LUA_MAXINTEGER}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::glue::LUAI_MAXSTACK` [INFO] [stderr] --> src/ffi/luaconf.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub use super::glue::LUAI_MAXSTACK; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::glue::LUAL_NUMSIZES` [INFO] [stderr] --> src/ffi/luaconf.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub use super::glue::LUAL_NUMSIZES; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LUA_VERSION_MAJOR`, `LUA_VERSION_MINOR`, and `LUA_VERSION_RELEASE` [INFO] [stderr] --> src/ffi/lua.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | pub use super::glue::{LUA_VERSION_MAJOR, LUA_VERSION_MINOR, LUA_VERSION_NUM, LUA_VERSION_RELEASE}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LUA_AUTHORS`, `LUA_COPYRIGHT`, `LUA_RELEASE`, and `LUA_VERSION` [INFO] [stderr] --> src/ffi/lua.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | pub use super::glue::{LUA_VERSION, LUA_RELEASE, LUA_COPYRIGHT, LUA_AUTHORS}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:102:1 [INFO] [stderr] | [INFO] [stderr] 102 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:159:1 [INFO] [stderr] | [INFO] [stderr] 159 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:167:1 [INFO] [stderr] | [INFO] [stderr] 167 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:173:1 [INFO] [stderr] | [INFO] [stderr] 173 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:189:1 [INFO] [stderr] | [INFO] [stderr] 189 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:205:1 [INFO] [stderr] | [INFO] [stderr] 205 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:218:1 [INFO] [stderr] | [INFO] [stderr] 218 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:236:1 [INFO] [stderr] | [INFO] [stderr] 236 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:259:1 [INFO] [stderr] | [INFO] [stderr] 259 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:264:1 [INFO] [stderr] | [INFO] [stderr] 264 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lua.rs:404:1 [INFO] [stderr] | [INFO] [stderr] 404 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lauxlib.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lauxlib.rs:86:1 [INFO] [stderr] | [INFO] [stderr] 86 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lauxlib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lauxlib.rs:243:1 [INFO] [stderr] | [INFO] [stderr] 243 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi/lualib.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/wrapper/state.rs:195:34 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn loader(&self) -> unsafe extern fn (L: *mut lua_State) -> c_int { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/wrapper/state.rs:267:8 [INFO] [stderr] | [INFO] [stderr] 267 | unsafe extern fn continue_func(st: *mut lua_State, status: c_int, ctx: ffi::lua_KContext) -> c_int [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/wrapper/state.rs:277:8 [INFO] [stderr] | [INFO] [stderr] 277 | unsafe extern fn alloc_func(_: *mut c_void, ptr: *mut c_void, old_size: size_t, new_size: size_t) -> *mut c_void { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/wrapper/state.rs:917:12 [INFO] [stderr] | [INFO] [stderr] 917 | unsafe extern fn read(st: *mut lua_State, ud: *mut c_void, sz: *mut size_t) -> *const c_char [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/wrapper/state.rs:939:12 [INFO] [stderr] | [INFO] [stderr] 939 | unsafe extern fn write(st: *mut lua_State, p: *const c_void, sz: size_t, ud: *mut c_void) -> c_int [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/macros.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | unsafe extern fn wrapped c_int>(s: *mut lua_State) -> c_int { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stderr] --> /opt/rustwide/target/debug/build/lua-660d50edf973d03e/out/glue.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | pub type LUA_UNSIGNED = uint64_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stderr] --> /opt/rustwide/target/debug/build/lua-660d50edf973d03e/out/glue.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | pub type LUA_INTEGER = int64_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/wrapper/state.rs:1177:43 [INFO] [stderr] | [INFO] [stderr] 1177 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/wrapper/state.rs:1188:43 [INFO] [stderr] | [INFO] [stderr] 1188 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wrapper/state.rs:274:22 [INFO] [stderr] | [INFO] [stderr] 274 | pub type Extra = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 274 | pub type Extra = Box; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stderr] --> src/wrapper/state.rs:1177:38 [INFO] [stderr] | [INFO] [stderr] 1177 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi/lua.rs:423:3 [INFO] [stderr] | [INFO] [stderr] 423 | pub event: c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stderr] --> src/wrapper/state.rs:1188:38 [INFO] [stderr] | [INFO] [stderr] 1188 | let mut ar: lua_Debug = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi/lua.rs:423:3 [INFO] [stderr] | [INFO] [stderr] 423 | pub event: c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lua` (lib) generated 34 warnings (run `cargo fix --lib -p lua` to apply 28 suggestions) [INFO] [stderr] warning: `lua` (lib test) generated 34 warnings (34 duplicates) [INFO] [stderr] warning: unused `ThreadStatus` that must be used [INFO] [stderr] --> examples/userdata/main.rs:106:3 [INFO] [stderr] | [INFO] [stderr] 106 | / state.do_string("local p = Point2D.new(12, 34) [INFO] [stderr] 107 | | print(p:x(), p:y())"); [INFO] [stderr] | |________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 106 | let _ = state.do_string("local p = Point2D.new(12, 34) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> examples/userdata-with-drop/main.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | match (*v).data.get(i) { [INFO] [stderr] | ^^-^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut VecWrapper` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[i64]` [INFO] [stderr] --> examples/userdata-with-drop/main.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | match (*v).data.get(i) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] note: method calls to `get` require a reference [INFO] [stderr] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/slice/mod.rs:570:5 [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 62 | match (&(*v).data).get(i) { [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: unused `ThreadStatus` that must be used [INFO] [stderr] --> examples/userdata-with-drop/main.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | / state.do_string("local v = VecWrapper.new() [INFO] [stderr] 135 | | v:push(12) [INFO] [stderr] 136 | | v:push(34) [INFO] [stderr] 137 | | -- should print 2 [INFO] [stderr] 138 | | print('length of vec is', v:len()) [INFO] [stderr] 139 | | -- should print 12 34 nil [INFO] [stderr] 140 | | print(v:get(0), v:get(1), v:get(2))"); [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 134 | let _ = state.do_string("local v = VecWrapper.new() [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `lua` (example "userdata") generated 1 warning [INFO] [stderr] warning: `lua` (example "userdata-with-drop") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lua-580d331f48ed1c58) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/extra.rs (/opt/rustwide/target/debug/deps/extra-5b4aa09acd346b1d) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_extra_owned ... ok [INFO] [stdout] test test_extra_threads ... ok [INFO] [stdout] test test_extra_typed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests lua [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/wrapper/state.rs - wrapper::state::State::new_userdata_typed (line 800) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "467ec8cc27629649dd8c68d927f0f8b967c916a986db15d76c5334bc6412de7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467ec8cc27629649dd8c68d927f0f8b967c916a986db15d76c5334bc6412de7c", kill_on_drop: false }` [INFO] [stdout] 467ec8cc27629649dd8c68d927f0f8b967c916a986db15d76c5334bc6412de7c