[INFO] fetching crate px8_plugin_lua 0.0.11... [INFO] testing px8_plugin_lua-0.0.11 against 1.60.0 for beta-1.61-1 [INFO] extracting crate px8_plugin_lua 0.0.11 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate px8_plugin_lua 0.0.11 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3beef12aed6f459c90feb14b929802469096966de99248078579e9b76e3ba2bc [INFO] running `Command { std: "docker" "start" "-a" "3beef12aed6f459c90feb14b929802469096966de99248078579e9b76e3ba2bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3beef12aed6f459c90feb14b929802469096966de99248078579e9b76e3ba2bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3beef12aed6f459c90feb14b929802469096966de99248078579e9b76e3ba2bc", kill_on_drop: false }` [INFO] [stdout] 3beef12aed6f459c90feb14b929802469096966de99248078579e9b76e3ba2bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c963e7ed00fae9ead8ea512afcb59c1b569dd1747bcb44be5a50c8cf7ebc8705 [INFO] running `Command { std: "docker" "start" "-a" "c963e7ed00fae9ead8ea512afcb59c1b569dd1747bcb44be5a50c8cf7ebc8705", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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-805376ac78871109/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-805376ac78871109/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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - pub type Extra = Box; [INFO] [stdout] 274 + pub type Extra = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.09s [INFO] running `Command { std: "docker" "inspect" "c963e7ed00fae9ead8ea512afcb59c1b569dd1747bcb44be5a50c8cf7ebc8705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c963e7ed00fae9ead8ea512afcb59c1b569dd1747bcb44be5a50c8cf7ebc8705", kill_on_drop: false }` [INFO] [stdout] c963e7ed00fae9ead8ea512afcb59c1b569dd1747bcb44be5a50c8cf7ebc8705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5691e1a6c7b320fe6f1ae1b0a854ab40f9539850352a39d35908f71c46c90b36 [INFO] running `Command { std: "docker" "start" "-a" "5691e1a6c7b320fe6f1ae1b0a854ab40f9539850352a39d35908f71c46c90b36", kill_on_drop: false }` [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: 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] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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-805376ac78871109/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-805376ac78871109/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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - pub type Extra = Box; [INFO] [stdout] 274 + pub type Extra = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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[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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] [stderr] error: could not compile `px8_plugin_lua` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/userdata/main.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let mut state = State::from_ptr(L); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/userdata-with-drop/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut state = State::from_ptr(L); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/userdata-with-drop/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let mut state = State::from_ptr(L); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/userdata/main.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut state = State::from_ptr(L); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/userdata-with-drop/main.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let mut state = State::from_ptr(L); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/userdata/main.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | let mut state = State::from_ptr(L); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/userdata-with-drop/main.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let mut state = State::from_ptr(L); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope [INFO] [stdout] --> examples/userdata/main.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe extern "C" fn lua_new(L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/userdata-with-drop/main.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mut state = State::from_ptr(L); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope [INFO] [stdout] --> examples/userdata/main.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe extern "C" fn lua_x(L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope [INFO] [stdout] --> examples/userdata/main.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe extern "C" fn lua_y(L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> examples/userdata/main.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | const POINT2D_LIB: [(&'static str, Function); 3] = [ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope [INFO] [stdout] --> examples/userdata-with-drop/main.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe extern "C" fn lua_new(L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope [INFO] [stdout] --> examples/userdata-with-drop/main.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe extern "C" fn lua_get(L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope [INFO] [stdout] --> examples/userdata-with-drop/main.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe extern "C" fn lua_push(L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope [INFO] [stdout] --> examples/userdata-with-drop/main.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe extern "C" fn lua_len(L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `lua_State` in this scope [INFO] [stdout] --> examples/userdata-with-drop/main.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe extern "C" fn lua_gc(L: *mut lua_State) -> c_int { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> examples/userdata-with-drop/main.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | const VECWRAPPER_LIB: [(&'static str, Function); 4] = [ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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-805376ac78871109/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-805376ac78871109/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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - pub type Extra = Box; [INFO] [stdout] 274 + pub type Extra = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5691e1a6c7b320fe6f1ae1b0a854ab40f9539850352a39d35908f71c46c90b36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5691e1a6c7b320fe6f1ae1b0a854ab40f9539850352a39d35908f71c46c90b36", kill_on_drop: false }` [INFO] [stdout] 5691e1a6c7b320fe6f1ae1b0a854ab40f9539850352a39d35908f71c46c90b36