[INFO] fetching crate lua 0.0.10... [INFO] checking lua-0.0.10 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate lua 0.0.10 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate lua 0.0.10 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] 95ea03e55f64bab1bff80fdb9f42693eb036a03d58de5d7f5b26ddbedf22c043 [INFO] running `Command { std: "docker" "start" "-a" "95ea03e55f64bab1bff80fdb9f42693eb036a03d58de5d7f5b26ddbedf22c043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95ea03e55f64bab1bff80fdb9f42693eb036a03d58de5d7f5b26ddbedf22c043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ea03e55f64bab1bff80fdb9f42693eb036a03d58de5d7f5b26ddbedf22c043", kill_on_drop: false }` [INFO] [stdout] 95ea03e55f64bab1bff80fdb9f42693eb036a03d58de5d7f5b26ddbedf22c043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 382e745fcf2c8afa637da60b5a345d11bafb437bfe74e4eda2f8285ae3858f62 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "382e745fcf2c8afa637da60b5a345d11bafb437bfe74e4eda2f8285ae3858f62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [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: 7 warnings emitted [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn any::Any + 'static + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/wrapper/state.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1424 | 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:1425: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] 1425 | 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:1521:9 [INFO] [stdout] | [INFO] [stdout] 1521 | 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/lua-d60021682cff7f26/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-d60021682cff7f26/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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn any::Any + 'static + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/wrapper/state.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1424 | 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:1425: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] 1425 | 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:1521:9 [INFO] [stdout] | [INFO] [stdout] 1521 | 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/lua-d60021682cff7f26/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-d60021682cff7f26/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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.09s [INFO] running `Command { std: "docker" "inspect" "382e745fcf2c8afa637da60b5a345d11bafb437bfe74e4eda2f8285ae3858f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382e745fcf2c8afa637da60b5a345d11bafb437bfe74e4eda2f8285ae3858f62", kill_on_drop: false }` [INFO] [stdout] 382e745fcf2c8afa637da60b5a345d11bafb437bfe74e4eda2f8285ae3858f62