[INFO] fetching crate px8_plugin_lua 0.0.11... [INFO] checking px8_plugin_lua-0.0.11 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate px8_plugin_lua 0.0.11 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate px8_plugin_lua 0.0.11 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate px8_plugin_lua 0.0.11 [INFO] finished tweaking crates.io crate px8_plugin_lua 0.0.11 [INFO] tweaked toml for crates.io crate px8_plugin_lua 0.0.11 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages [INFO] [stderr] Adding bitflags v0.1.1 (latest: v2.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8aa0e2d535046c14cd1f3fa0943d35270478863016140e2952cdf5a14cf4cab [INFO] running `Command { std: "docker" "start" "-a" "c8aa0e2d535046c14cd1f3fa0943d35270478863016140e2952cdf5a14cf4cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8aa0e2d535046c14cd1f3fa0943d35270478863016140e2952cdf5a14cf4cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8aa0e2d535046c14cd1f3fa0943d35270478863016140e2952cdf5a14cf4cab", kill_on_drop: false }` [INFO] [stdout] c8aa0e2d535046c14cd1f3fa0943d35270478863016140e2952cdf5a14cf4cab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97a7dea9f513ecaa959a60bab1d3bd3ae2a0e7e522ef6e6bd11bec692240d585 [INFO] running `Command { std: "docker" "start" "-a" "97a7dea9f513ecaa959a60bab1d3bd3ae2a0e7e522ef6e6bd11bec692240d585", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling px8_plugin_lua v0.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | 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:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(build_lua_msvc(&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:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | 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:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | 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:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | 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:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | 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:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | 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:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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`, `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`, `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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/wrapper/state.rs:1443:9 [INFO] [stdout] | [INFO] [stdout] 1443 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `c_char` is imported redundantly [INFO] [stdout] --> src/wrapper/state.rs:1444:9 [INFO] [stdout] | [INFO] [stdout] 26 | use libc::{c_int, c_void, c_char, size_t}; [INFO] [stdout] | ------ the item `c_char` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1444 | use libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/wrapper/state.rs:1540:9 [INFO] [stdout] | [INFO] [stdout] 1540 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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`, `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`, `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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/wrapper/state.rs:1443:9 [INFO] [stdout] | [INFO] [stdout] 1443 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `c_char` is imported redundantly [INFO] [stdout] --> src/wrapper/state.rs:1444:9 [INFO] [stdout] | [INFO] [stdout] 26 | use libc::{c_int, c_void, c_char, size_t}; [INFO] [stdout] | ------ the item `c_char` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1444 | use libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/wrapper/state.rs:1540:9 [INFO] [stdout] | [INFO] [stdout] 1540 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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/px8_plugin_lua-543e80b012bbaea3/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/px8_plugin_lua-543e80b012bbaea3/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:1182:43 [INFO] [stdout] | [INFO] [stdout] 1182 | 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:1193:43 [INFO] [stdout] | [INFO] [stdout] 1193 | 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/px8_plugin_lua-543e80b012bbaea3/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/px8_plugin_lua-543e80b012bbaea3/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:1182:43 [INFO] [stdout] | [INFO] [stdout] 1182 | 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:1193:43 [INFO] [stdout] | [INFO] [stdout] 1193 | 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 an object-safe 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 an object-safe 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:1182:38 [INFO] [stdout] | [INFO] [stdout] 1182 | 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:1193:38 [INFO] [stdout] | [INFO] [stdout] 1193 | 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `lua_Debug` does not permit being left uninitialized [INFO] [stdout] --> src/wrapper/state.rs:1182:38 [INFO] [stdout] | [INFO] [stdout] 1182 | 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:1193:38 [INFO] [stdout] | [INFO] [stdout] 1193 | 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `lua` [INFO] [stdout] --> examples/userdata/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate lua; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `lua` [INFO] [stdout] --> examples/userdata-with-drop/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate lua; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `lua` [INFO] [stdout] --> tests/extra.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate lua; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/userdata/main.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | ("x", Some(Point2D::lua_x)), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ expected fn item, found a different fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn item `unsafe extern "C" fn(_) -> _ {Point2D::lua_new}` [INFO] [stdout] found fn item `unsafe extern "C" fn(_) -> _ {Point2D::lua_x}` [INFO] [stdout] = note: different fn items have unique types, even if their signatures are the same [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut {type error}) -> i32 {Point2D::lua_x}` due to the type of the argument passed [INFO] [stdout] --> examples/userdata/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | ("x", Some(Point2D::lua_x)), [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/userdata-with-drop/main.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | ("get", Some(VecWrapper::lua_get)), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected fn item, found a different fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn item `unsafe extern "C" fn(_) -> _ {VecWrapper::lua_new}` [INFO] [stdout] found fn item `unsafe extern "C" fn(_) -> _ {VecWrapper::lua_get}` [INFO] [stdout] = note: different fn items have unique types, even if their signatures are the same [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut {type error}) -> i32 {VecWrapper::lua_get}` due to the type of the argument passed [INFO] [stdout] --> examples/userdata-with-drop/main.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | ("get", Some(VecWrapper::lua_get)), [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/userdata/main.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | ("y", Some(Point2D::lua_y)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ expected fn item, found a different fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn item `unsafe extern "C" fn(_) -> _ {Point2D::lua_new}` [INFO] [stdout] found fn item `unsafe extern "C" fn(_) -> _ {Point2D::lua_y}` [INFO] [stdout] = note: different fn items have unique types, even if their signatures are the same [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut {type error}) -> i32 {Point2D::lua_y}` due to the type of the argument passed [INFO] [stdout] --> examples/userdata/main.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | ("y", Some(Point2D::lua_y)) [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/userdata-with-drop/main.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | ("push", Some(VecWrapper::lua_push)), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ expected fn item, found a different fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn item `unsafe extern "C" fn(_) -> _ {VecWrapper::lua_new}` [INFO] [stdout] found fn item `unsafe extern "C" fn(_) -> _ {VecWrapper::lua_push}` [INFO] [stdout] = note: different fn items have unique types, even if their signatures are the same [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut {type error}) -> i32 {VecWrapper::lua_push}` due to the type of the argument passed [INFO] [stdout] --> examples/userdata-with-drop/main.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | ("push", Some(VecWrapper::lua_push)), [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `px8_plugin_lua` (test "extra") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/userdata-with-drop/main.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | ("len", Some(VecWrapper::lua_len)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected fn item, found a different fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn item `unsafe extern "C" fn(_) -> _ {VecWrapper::lua_new}` [INFO] [stdout] found fn item `unsafe extern "C" fn(_) -> _ {VecWrapper::lua_len}` [INFO] [stdout] = note: different fn items have unique types, even if their signatures are the same [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut {type error}) -> i32 {VecWrapper::lua_len}` due to the type of the argument passed [INFO] [stdout] --> examples/userdata-with-drop/main.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | ("len", Some(VecWrapper::lua_len)) [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `px8_plugin_lua` (example "userdata") due to 4 previous errors [INFO] [stderr] error: could not compile `px8_plugin_lua` (example "userdata-with-drop") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "97a7dea9f513ecaa959a60bab1d3bd3ae2a0e7e522ef6e6bd11bec692240d585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a7dea9f513ecaa959a60bab1d3bd3ae2a0e7e522ef6e6bd11bec692240d585", kill_on_drop: false }` [INFO] [stdout] 97a7dea9f513ecaa959a60bab1d3bd3ae2a0e7e522ef6e6bd11bec692240d585 [INFO] checking px8_plugin_lua-0.0.11 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate px8_plugin_lua 0.0.11 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate px8_plugin_lua 0.0.11 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate px8_plugin_lua 0.0.11 [INFO] finished tweaking crates.io crate px8_plugin_lua 0.0.11 [INFO] tweaked toml for crates.io crate px8_plugin_lua 0.0.11 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dc79daf3ec27196b67b40102a3527a2b63fc32e7a628a51a915569f4785cc0d [INFO] running `Command { std: "docker" "start" "-a" "0dc79daf3ec27196b67b40102a3527a2b63fc32e7a628a51a915569f4785cc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dc79daf3ec27196b67b40102a3527a2b63fc32e7a628a51a915569f4785cc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc79daf3ec27196b67b40102a3527a2b63fc32e7a628a51a915569f4785cc0d", kill_on_drop: false }` [INFO] [stdout] 0dc79daf3ec27196b67b40102a3527a2b63fc32e7a628a51a915569f4785cc0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbdb0a7de1a5e65d50d6b50381c285dbdb912f9f393acd01b86988fb7292b31a [INFO] running `Command { std: "docker" "start" "-a" "dbdb0a7de1a5e65d50d6b50381c285dbdb912f9f393acd01b86988fb7292b31a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "dbdb0a7de1a5e65d50d6b50381c285dbdb912f9f393acd01b86988fb7292b31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbdb0a7de1a5e65d50d6b50381c285dbdb912f9f393acd01b86988fb7292b31a", kill_on_drop: false }` [INFO] [stdout] dbdb0a7de1a5e65d50d6b50381c285dbdb912f9f393acd01b86988fb7292b31a