[INFO] fetching crate lua 0.0.10... [INFO] checking lua-0.0.10 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate lua 0.0.10 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate lua 0.0.10 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 246b852da5c0db8f165d9dc0856312a6c83f4f1a4ec8648ac8cb2c78553e2224 [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" "246b852da5c0db8f165d9dc0856312a6c83f4f1a4ec8648ac8cb2c78553e2224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "246b852da5c0db8f165d9dc0856312a6c83f4f1a4ec8648ac8cb2c78553e2224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246b852da5c0db8f165d9dc0856312a6c83f4f1a4ec8648ac8cb2c78553e2224", kill_on_drop: false }` [INFO] [stdout] 246b852da5c0db8f165d9dc0856312a6c83f4f1a4ec8648ac8cb2c78553e2224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ebd6ffd16e566db2beb16c113979a44a035b7640cc7cceac27c9141d757b793 [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" "9ebd6ffd16e566db2beb16c113979a44a035b7640cc7cceac27c9141d757b793", kill_on_drop: false }` [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:22 [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:22 [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] [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: 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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-511ba927651c23f9/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-511ba927651c23f9/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: 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 function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [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] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [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] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua-511ba927651c23f9/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-511ba927651c23f9/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:38 [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:38 [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-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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.79s [INFO] running `Command { std: "docker" "inspect" "9ebd6ffd16e566db2beb16c113979a44a035b7640cc7cceac27c9141d757b793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ebd6ffd16e566db2beb16c113979a44a035b7640cc7cceac27c9141d757b793", kill_on_drop: false }` [INFO] [stdout] 9ebd6ffd16e566db2beb16c113979a44a035b7640cc7cceac27c9141d757b793