[INFO] fetching crate lua 0.0.10... [INFO] checking lua-0.0.10 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate lua 0.0.10 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lua 0.0.10 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0dfbba789fb4777dc657f9e845a494ebd98344d6812d1e70f36cf853b083cad [INFO] running `Command { std: "docker" "start" "-a" "c0dfbba789fb4777dc657f9e845a494ebd98344d6812d1e70f36cf853b083cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0dfbba789fb4777dc657f9e845a494ebd98344d6812d1e70f36cf853b083cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0dfbba789fb4777dc657f9e845a494ebd98344d6812d1e70f36cf853b083cad", kill_on_drop: false }` [INFO] [stdout] c0dfbba789fb4777dc657f9e845a494ebd98344d6812d1e70f36cf853b083cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2302e5e8bd07cef77948df8a2f6e21130dc87d8e8e995d7b5f591ef36f686cb [INFO] running `Command { std: "docker" "start" "-a" "e2302e5e8bd07cef77948df8a2f6e21130dc87d8e8e995d7b5f591ef36f686cb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking 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)]` 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: 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)]` 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-3910ee8fb5dde992/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-3910ee8fb5dde992/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: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-3910ee8fb5dde992/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-3910ee8fb5dde992/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)]` 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: 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)]` 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: 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 `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)]` 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] error: 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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/slice/mod.rs:570:5 [INFO] [stdout] = note: `#[deny(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)]` 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] [stderr] error: could not compile `lua` (example "userdata-with-drop") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e2302e5e8bd07cef77948df8a2f6e21130dc87d8e8e995d7b5f591ef36f686cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2302e5e8bd07cef77948df8a2f6e21130dc87d8e8e995d7b5f591ef36f686cb", kill_on_drop: false }` [INFO] [stdout] e2302e5e8bd07cef77948df8a2f6e21130dc87d8e8e995d7b5f591ef36f686cb