[INFO] fetching crate lua-vm 0.0.4...
[INFO] testing lua-vm-0.0.4 against 1.96.0-beta.9 for beta-1.97-1
[INFO] extracting crate lua-vm 0.0.4 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate lua-vm 0.0.4
[INFO] finished tweaking crates.io crate lua-vm 0.0.4
[INFO] tweaked toml for crates.io crate lua-vm 0.0.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lua-vm 0.0.4 on toolchain 1.96.0-beta.9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.96.0-beta.9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lua-vm 0.0.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.96.0-beta.9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lua-gc v0.0.4
[INFO] [stderr]   Downloaded lua-types v0.0.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5bab584a5eba55bc9d8a2b7a3d13d60a7fa96cdfaf6aeaee06c37507706d887
[INFO] running `Command { std: "docker" "start" "-a" "c5bab584a5eba55bc9d8a2b7a3d13d60a7fa96cdfaf6aeaee06c37507706d887", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5bab584a5eba55bc9d8a2b7a3d13d60a7fa96cdfaf6aeaee06c37507706d887", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5bab584a5eba55bc9d8a2b7a3d13d60a7fa96cdfaf6aeaee06c37507706d887", kill_on_drop: false }`
[INFO] [stdout] c5bab584a5eba55bc9d8a2b7a3d13d60a7fa96cdfaf6aeaee06c37507706d887
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c45870f92a2dc79ca6e63a1a5a10ee874f85cd71c6d6ffd5caee5b17ca6b39a
[INFO] running `Command { std: "docker" "start" "-a" "0c45870f92a2dc79ca6e63a1a5a10ee874f85cd71c6d6ffd5caee5b17ca6b39a", kill_on_drop: false }`
[INFO] [stderr]    Compiling lua-gc v0.0.4
[INFO] [stderr]    Compiling lua-types v0.0.4
[INFO] [stderr]    Compiling lua-vm v0.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `CallInfoIdx`, `CallInfo`, `GlobalState`, `LuaClosureExt`, `LuaProtoExt`, and `LuaStringRefExt`
[INFO] [stdout]   --> src/api.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::state::{LuaState, LuaCFunction, GlobalState, CallInfo, CallInfoIdx, StackIdx,
[INFO] [stdout]    |                                            ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 14 |     LuaValueExt, LuaTypeExt, StackIdxExt,
[INFO] [stdout] 15 |     LuaTableRefExt, LuaUserDataRefExt, LuaStringRefExt,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     LuaLClosureRefExt, LuaClosureExt, LuaProtoExt};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpVal`
[INFO] [stdout]   --> src/api.rs:18:70
[INFO] [stdout]    |
[INFO] [stdout] 18 |     LuaValue, LuaType, LuaError, LuaString, LuaUserData, LuaClosure, UpVal,
[INFO] [stdout]    |                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CIST_C` and `UpVal`
[INFO] [stdout]   --> src/debug.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     UpVal, CIST_C, CIST_FIN, CIST_HOOKED, CIST_HOOKYIELD, CIST_TAIL, CIST_TRAN,
[INFO] [stdout]    |     ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/func.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tagmethods::TagMethod`
[INFO] [stdout]   --> src/func.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     tagmethods::TagMethod,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lua_types::value::F2Imod`
[INFO] [stdout]   --> src/object.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use lua_types::value::F2Imod;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LuaClosure`
[INFO] [stdout]   --> src/undump.rs:22:26
[INFO] [stdout]    |
[INFO] [stdout] 22 | use lua_types::closure::{LuaClosure, LuaLClosure};
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lua_types::upval::UpVal`
[INFO] [stdout]   --> src/undump.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use lua_types::upval::UpVal;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]     --> src/vm.rs:2409:54
[INFO] [stdout]      |
[INFO] [stdout] 2409 | ...                   state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stdout]      |                                                ^                                   ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 2409 -                             state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stdout] 2409 +                             state.ci_adjust_func(ci, nextraargs as i32 + nparams1 as i32);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LuaLClosureRefExt`
[INFO] [stdout]   --> src/api.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     LuaLClosureRefExt, LuaClosureExt, LuaProtoExt};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]     --> src/debug.rs:1202:47
[INFO] [stdout]      |
[INFO] [stdout] 1202 | fn in_stack(ci: &CallInfo, val_idx: StackIdx, state: &LuaState) -> i32 {
[INFO] [stdout]      |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/do_.rs:161:21
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) fn throw(state: &mut LuaState, errcode: LuaStatus) -> ! {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]     --> src/do_.rs:1466:5
[INFO] [stdout]      |
[INFO] [stdout] 1466 |     state: &mut LuaState,
[INFO] [stdout]      |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/func.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     state: &mut LuaState,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `valid_end`
[INFO] [stdout]    --> src/object.rs:328:9
[INFO] [stdout]     |
[INFO] [stdout] 328 |     let valid_end = idx;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/object.rs:872:9
[INFO] [stdout]     |
[INFO] [stdout] 872 |     let mut write_bytes = |out: &mut [u8], written: &mut usize, bytes: &[u8]| {
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/string.rs:757:5
[INFO] [stdout]     |
[INFO] [stdout] 757 |     state: &mut LuaState,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/undump.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn load_error(s: &LoadState<'_>, why: &'static str) -> LuaError {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `trap` is never read
[INFO] [stdout]     --> src/vm.rs:2114:25
[INFO] [stdout]      |
[INFO] [stdout] 2114 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2119 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ------------------------ `trap` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `trap` is never read
[INFO] [stdout]     --> src/vm.rs:2404:29
[INFO] [stdout]      |
[INFO] [stdout] 2404 |                             trap = state.ci_trap(ci);
[INFO] [stdout]      |                             ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2413 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ------------------------ `trap` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPHABIT` is never used
[INFO] [stdout]   --> src/ctype.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const ALPHABIT: u32 = 0;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIGITBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const DIGITBIT: u32 = 1;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRINTBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const PRINTBIT: u32 = 2;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPACEBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | const SPACEBIT: u32 = 3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XDIGITBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const XDIGITBIT: u32 = 4;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CTYPE_TABLE` is never used
[INFO] [stdout]   --> src/ctype.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub(crate) static CTYPE_TABLE: [u8; 257] = [
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_prop` is never used
[INFO] [stdout]    --> src/ctype.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn test_prop(c: i32, mask: u8) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lislalpha` is never used
[INFO] [stdout]    --> src/ctype.rs:131:15
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub(crate) fn lislalpha(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lislalnum` is never used
[INFO] [stdout]    --> src/ctype.rs:138:15
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub(crate) fn lislalnum(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisdigit` is never used
[INFO] [stdout]    --> src/ctype.rs:145:15
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub(crate) fn lisdigit(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisspace` is never used
[INFO] [stdout]    --> src/ctype.rs:153:15
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub(crate) fn lisspace(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisprint` is never used
[INFO] [stdout]    --> src/ctype.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub(crate) fn lisprint(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisxdigit` is never used
[INFO] [stdout]    --> src/ctype.rs:167:15
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub(crate) fn lisxdigit(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ltolower` is never used
[INFO] [stdout]    --> src/ctype.rs:181:15
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub(crate) fn ltolower(c: i32) -> i32 {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_MASKCALL` is never used
[INFO] [stdout]   --> src/debug.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 | const LUA_MASKCALL: u8 = 1 << 0;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_YIELD_STATUS` is never used
[INFO] [stdout]   --> src/debug.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LUA_YIELD_STATUS: i32 = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `runtime_from_top` is never used
[INFO] [stdout]    --> src/debug.rs:249:4
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn runtime_from_top(state: &mut crate::state::LuaState) -> LuaError {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `concat_error` is never used
[INFO] [stdout]     --> src/debug.rs:1407:15
[INFO] [stdout]      |
[INFO] [stdout] 1407 | pub(crate) fn concat_error(
[INFO] [stdout]      |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_msg` is never used
[INFO] [stdout]     --> src/debug.rs:1536:15
[INFO] [stdout]      |
[INFO] [stdout] 1536 | pub(crate) fn error_msg(state: &mut LuaState) -> Result<(), LuaError> {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_error` is never used
[INFO] [stdout]     --> src/debug.rs:1561:15
[INFO] [stdout]      |
[INFO] [stdout] 1561 | pub(crate) fn run_error(state: &mut LuaState, msg: Vec<u8>) -> Result<(), LuaError> {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `throw` is never used
[INFO] [stdout]    --> src/do_.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) fn throw(state: &mut LuaState, errcode: LuaStatus) -> ! {
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inc_top` is never used
[INFO] [stdout]    --> src/do_.rs:329:15
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub(crate) fn inc_top(state: &mut LuaState) -> Result<(), LuaError> {
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_UPVAL` is never used
[INFO] [stdout]   --> src/func.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub(crate) const MAX_UPVAL: u8 = 255;
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MISS` is never used
[INFO] [stdout]   --> src/func.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub(crate) const MAX_MISS: u32 = 10;
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_c_closure` is never used
[INFO] [stdout]   --> src/func.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub(crate) fn new_c_closure(
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lua_closure` is never used
[INFO] [stdout]    --> src/func.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub(crate) fn new_lua_closure(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unlink_upval` is never used
[INFO] [stdout]    --> src/func.rs:394:15
[INFO] [stdout]     |
[INFO] [stdout] 394 | pub(crate) fn unlink_upval(state: &mut LuaState, uv: &GcRef<UpVal>) {
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_proto` is never used
[INFO] [stdout]    --> src/func.rs:517:15
[INFO] [stdout]     |
[INFO] [stdout] 517 | pub(crate) fn new_proto(state: &mut LuaState) -> GcRef<crate::state::LuaProto> {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_proto` is never used
[INFO] [stdout]    --> src/func.rs:548:15
[INFO] [stdout]     |
[INFO] [stdout] 548 | pub(crate) fn free_proto(_state: &mut LuaState, _f: GcRef<crate::state::LuaProto>) {
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DUMMY_C_FUNCTION_IDX` is never used
[INFO] [stdout]    --> src/func.rs:617:7
[INFO] [stdout]     |
[INFO] [stdout] 617 | const DUMMY_C_FUNCTION_IDX: crate::state::LuaCFnPtr = usize::MAX;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `L_MAX_LEN_NUM` is never used
[INFO] [stdout]   --> src/object.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const L_MAX_LEN_NUM: usize = 200;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CIST_CLSRET` is never used
[INFO] [stdout]    --> src/state.rs:102:18
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub(crate) const CIST_CLSRET: u16 = 1 << 9;
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_MAINTHREAD` is never used
[INFO] [stdout]    --> src/state.rs:106:18
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub(crate) const LUA_RIDX_MAINTHREAD: i64 = 1;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_GLOBALS` is never used
[INFO] [stdout]    --> src/state.rs:107:18
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub(crate) const LUA_RIDX_GLOBALS: i64 = 2;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_LAST` is never used
[INFO] [stdout]    --> src/state.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub(crate) const LUA_RIDX_LAST: usize = 2;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_EXTRASPACE` is never used
[INFO] [stdout]    --> src/state.rs:113:7
[INFO] [stdout]     |
[INFO] [stdout] 113 | const LUA_EXTRASPACE: usize = std::mem::size_of::<*mut ()>();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_thread` is never used
[INFO] [stdout]     --> src/state.rs:3794:15
[INFO] [stdout]      |
[INFO] [stdout] 3794 | pub(crate) fn free_thread(caller: &mut LuaState, thread: &mut LuaState) {
[INFO] [stdout]      |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `warn_error` is never used
[INFO] [stdout]     --> src/state.rs:4149:15
[INFO] [stdout]      |
[INFO] [stdout] 4149 | pub(crate) fn warn_error(state: &mut LuaState, where_: &[u8]) {
[INFO] [stdout]      |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `LocalGcRef` is never used
[INFO] [stdout]   --> src/string.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | type LocalGcRef<T> = Rc<T>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hash` is never read
[INFO] [stdout]    --> src/string.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct LuaStringImpl {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 142 |     hash: Cell<u32>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eq_long_str` is never used
[INFO] [stdout]    --> src/string.rs:327:15
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub(crate) fn eq_long_str(a: &LuaStringImpl, b: &LuaStringImpl) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_long_str` is never used
[INFO] [stdout]    --> src/string.rs:401:15
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub(crate) fn hash_long_str(ts: &LuaStringImpl) -> u32 {
[INFO] [stdout]     |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_cache` is never used
[INFO] [stdout]    --> src/string.rs:494:15
[INFO] [stdout]     |
[INFO] [stdout] 494 | pub(crate) fn clear_cache(g: &mut GlobalState) {
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_long_str` is never used
[INFO] [stdout]    --> src/string.rs:576:15
[INFO] [stdout]     |
[INFO] [stdout] 576 | pub(crate) fn create_long_str(state: &mut LuaState, l: usize) -> GcRef<LuaStringImpl> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_str` is never used
[INFO] [stdout]    --> src/string.rs:605:15
[INFO] [stdout]     |
[INFO] [stdout] 605 | pub(crate) fn remove_str(state: &mut LuaState, ts: &LuaStringImpl) {
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_userdata` is never used
[INFO] [stdout]    --> src/string.rs:756:15
[INFO] [stdout]     |
[INFO] [stdout] 756 | pub(crate) fn new_userdata(
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tm` is never used
[INFO] [stdout]    --> src/tagmethods.rs:210:15
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub(crate) fn get_tm(
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/undump.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct LoadState<'a> {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     name: Vec<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]     --> src/api.rs:1090:61
[INFO] [stdout]      |
[INFO] [stdout] 1090 |             match g.c_functions.iter().position(|&existing| existing == f) {
[INFO] [stdout]      |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the address of the same function can vary between different codegen units
[INFO] [stdout]      = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]      = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]      = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stdout]      |
[INFO] [stdout] 1090 -             match g.c_functions.iter().position(|&existing| existing == f) {
[INFO] [stdout] 1090 +             match g.c_functions.iter().position(|&existing| std::ptr::fn_addr_eq(existing, f)) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `nCcalls` should have a snake case name
[INFO] [stdout]     --> src/state.rs:1304:9
[INFO] [stdout]      |
[INFO] [stdout] 1304 |     pub nCcalls: u32,
[INFO] [stdout]      |         ^^^^^^^ help: convert the identifier to snake case: `n_ccalls`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.19s
[INFO] running `Command { std: "docker" "inspect" "0c45870f92a2dc79ca6e63a1a5a10ee874f85cd71c6d6ffd5caee5b17ca6b39a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c45870f92a2dc79ca6e63a1a5a10ee874f85cd71c6d6ffd5caee5b17ca6b39a", kill_on_drop: false }`
[INFO] [stdout] 0c45870f92a2dc79ca6e63a1a5a10ee874f85cd71c6d6ffd5caee5b17ca6b39a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fb5bcae228d07711f30e255e70a3ba2947673566a727f7c10756b5a780aafca
[INFO] running `Command { std: "docker" "start" "-a" "2fb5bcae228d07711f30e255e70a3ba2947673566a727f7c10756b5a780aafca", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `CallInfoIdx`, `CallInfo`, `GlobalState`, `LuaClosureExt`, `LuaProtoExt`, and `LuaStringRefExt`
[INFO] [stdout]   --> src/api.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::state::{LuaState, LuaCFunction, GlobalState, CallInfo, CallInfoIdx, StackIdx,
[INFO] [stdout]    |                                            ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 14 |     LuaValueExt, LuaTypeExt, StackIdxExt,
[INFO] [stdout] 15 |     LuaTableRefExt, LuaUserDataRefExt, LuaStringRefExt,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     LuaLClosureRefExt, LuaClosureExt, LuaProtoExt};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpVal`
[INFO] [stdout]   --> src/api.rs:18:70
[INFO] [stdout]    |
[INFO] [stdout] 18 |     LuaValue, LuaType, LuaError, LuaString, LuaUserData, LuaClosure, UpVal,
[INFO] [stdout]    |                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CIST_C` and `UpVal`
[INFO] [stdout]   --> src/debug.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     UpVal, CIST_C, CIST_FIN, CIST_HOOKED, CIST_HOOKYIELD, CIST_TAIL, CIST_TRAN,
[INFO] [stdout]    |     ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/func.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tagmethods::TagMethod`
[INFO] [stdout]   --> src/func.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     tagmethods::TagMethod,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lua_types::value::F2Imod`
[INFO] [stdout]   --> src/object.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use lua_types::value::F2Imod;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LuaClosure`
[INFO] [stdout]   --> src/undump.rs:22:26
[INFO] [stdout]    |
[INFO] [stdout] 22 | use lua_types::closure::{LuaClosure, LuaLClosure};
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lua_types::upval::UpVal`
[INFO] [stdout]   --> src/undump.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use lua_types::upval::UpVal;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]     --> src/vm.rs:2409:54
[INFO] [stdout]      |
[INFO] [stdout] 2409 | ...                   state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stdout]      |                                                ^                                   ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 2409 -                             state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stdout] 2409 +                             state.ci_adjust_func(ci, nextraargs as i32 + nparams1 as i32);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LuaLClosureRefExt`
[INFO] [stdout]   --> src/api.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     LuaLClosureRefExt, LuaClosureExt, LuaProtoExt};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]     --> src/debug.rs:1202:47
[INFO] [stdout]      |
[INFO] [stdout] 1202 | fn in_stack(ci: &CallInfo, val_idx: StackIdx, state: &LuaState) -> i32 {
[INFO] [stdout]      |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/do_.rs:161:21
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) fn throw(state: &mut LuaState, errcode: LuaStatus) -> ! {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]     --> src/do_.rs:1466:5
[INFO] [stdout]      |
[INFO] [stdout] 1466 |     state: &mut LuaState,
[INFO] [stdout]      |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/func.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     state: &mut LuaState,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `valid_end`
[INFO] [stdout]    --> src/object.rs:328:9
[INFO] [stdout]     |
[INFO] [stdout] 328 |     let valid_end = idx;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/object.rs:872:9
[INFO] [stdout]     |
[INFO] [stdout] 872 |     let mut write_bytes = |out: &mut [u8], written: &mut usize, bytes: &[u8]| {
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/string.rs:757:5
[INFO] [stdout]     |
[INFO] [stdout] 757 |     state: &mut LuaState,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/undump.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn load_error(s: &LoadState<'_>, why: &'static str) -> LuaError {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `trap` is never read
[INFO] [stdout]     --> src/vm.rs:2114:25
[INFO] [stdout]      |
[INFO] [stdout] 2114 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2119 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ------------------------ `trap` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `trap` is never read
[INFO] [stdout]     --> src/vm.rs:2404:29
[INFO] [stdout]      |
[INFO] [stdout] 2404 |                             trap = state.ci_trap(ci);
[INFO] [stdout]      |                             ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2413 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ------------------------ `trap` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPHABIT` is never used
[INFO] [stdout]   --> src/ctype.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const ALPHABIT: u32 = 0;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIGITBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const DIGITBIT: u32 = 1;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRINTBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const PRINTBIT: u32 = 2;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPACEBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | const SPACEBIT: u32 = 3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XDIGITBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const XDIGITBIT: u32 = 4;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CTYPE_TABLE` is never used
[INFO] [stdout]   --> src/ctype.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub(crate) static CTYPE_TABLE: [u8; 257] = [
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_prop` is never used
[INFO] [stdout]    --> src/ctype.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn test_prop(c: i32, mask: u8) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lislalpha` is never used
[INFO] [stdout]    --> src/ctype.rs:131:15
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub(crate) fn lislalpha(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lislalnum` is never used
[INFO] [stdout]    --> src/ctype.rs:138:15
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub(crate) fn lislalnum(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisdigit` is never used
[INFO] [stdout]    --> src/ctype.rs:145:15
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub(crate) fn lisdigit(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisspace` is never used
[INFO] [stdout]    --> src/ctype.rs:153:15
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub(crate) fn lisspace(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisprint` is never used
[INFO] [stdout]    --> src/ctype.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub(crate) fn lisprint(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisxdigit` is never used
[INFO] [stdout]    --> src/ctype.rs:167:15
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub(crate) fn lisxdigit(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ltolower` is never used
[INFO] [stdout]    --> src/ctype.rs:181:15
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub(crate) fn ltolower(c: i32) -> i32 {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_MASKCALL` is never used
[INFO] [stdout]   --> src/debug.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 | const LUA_MASKCALL: u8 = 1 << 0;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_YIELD_STATUS` is never used
[INFO] [stdout]   --> src/debug.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LUA_YIELD_STATUS: i32 = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `runtime_from_top` is never used
[INFO] [stdout]    --> src/debug.rs:249:4
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn runtime_from_top(state: &mut crate::state::LuaState) -> LuaError {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `concat_error` is never used
[INFO] [stdout]     --> src/debug.rs:1407:15
[INFO] [stdout]      |
[INFO] [stdout] 1407 | pub(crate) fn concat_error(
[INFO] [stdout]      |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_msg` is never used
[INFO] [stdout]     --> src/debug.rs:1536:15
[INFO] [stdout]      |
[INFO] [stdout] 1536 | pub(crate) fn error_msg(state: &mut LuaState) -> Result<(), LuaError> {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_error` is never used
[INFO] [stdout]     --> src/debug.rs:1561:15
[INFO] [stdout]      |
[INFO] [stdout] 1561 | pub(crate) fn run_error(state: &mut LuaState, msg: Vec<u8>) -> Result<(), LuaError> {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `throw` is never used
[INFO] [stdout]    --> src/do_.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) fn throw(state: &mut LuaState, errcode: LuaStatus) -> ! {
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inc_top` is never used
[INFO] [stdout]    --> src/do_.rs:329:15
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub(crate) fn inc_top(state: &mut LuaState) -> Result<(), LuaError> {
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_UPVAL` is never used
[INFO] [stdout]   --> src/func.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub(crate) const MAX_UPVAL: u8 = 255;
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MISS` is never used
[INFO] [stdout]   --> src/func.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub(crate) const MAX_MISS: u32 = 10;
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_c_closure` is never used
[INFO] [stdout]   --> src/func.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub(crate) fn new_c_closure(
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lua_closure` is never used
[INFO] [stdout]    --> src/func.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub(crate) fn new_lua_closure(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unlink_upval` is never used
[INFO] [stdout]    --> src/func.rs:394:15
[INFO] [stdout]     |
[INFO] [stdout] 394 | pub(crate) fn unlink_upval(state: &mut LuaState, uv: &GcRef<UpVal>) {
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_proto` is never used
[INFO] [stdout]    --> src/func.rs:517:15
[INFO] [stdout]     |
[INFO] [stdout] 517 | pub(crate) fn new_proto(state: &mut LuaState) -> GcRef<crate::state::LuaProto> {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_proto` is never used
[INFO] [stdout]    --> src/func.rs:548:15
[INFO] [stdout]     |
[INFO] [stdout] 548 | pub(crate) fn free_proto(_state: &mut LuaState, _f: GcRef<crate::state::LuaProto>) {
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DUMMY_C_FUNCTION_IDX` is never used
[INFO] [stdout]    --> src/func.rs:617:7
[INFO] [stdout]     |
[INFO] [stdout] 617 | const DUMMY_C_FUNCTION_IDX: crate::state::LuaCFnPtr = usize::MAX;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `L_MAX_LEN_NUM` is never used
[INFO] [stdout]   --> src/object.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const L_MAX_LEN_NUM: usize = 200;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CIST_CLSRET` is never used
[INFO] [stdout]    --> src/state.rs:102:18
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub(crate) const CIST_CLSRET: u16 = 1 << 9;
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_MAINTHREAD` is never used
[INFO] [stdout]    --> src/state.rs:106:18
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub(crate) const LUA_RIDX_MAINTHREAD: i64 = 1;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_GLOBALS` is never used
[INFO] [stdout]    --> src/state.rs:107:18
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub(crate) const LUA_RIDX_GLOBALS: i64 = 2;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_LAST` is never used
[INFO] [stdout]    --> src/state.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub(crate) const LUA_RIDX_LAST: usize = 2;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_EXTRASPACE` is never used
[INFO] [stdout]    --> src/state.rs:113:7
[INFO] [stdout]     |
[INFO] [stdout] 113 | const LUA_EXTRASPACE: usize = std::mem::size_of::<*mut ()>();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_thread` is never used
[INFO] [stdout]     --> src/state.rs:3794:15
[INFO] [stdout]      |
[INFO] [stdout] 3794 | pub(crate) fn free_thread(caller: &mut LuaState, thread: &mut LuaState) {
[INFO] [stdout]      |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `warn_error` is never used
[INFO] [stdout]     --> src/state.rs:4149:15
[INFO] [stdout]      |
[INFO] [stdout] 4149 | pub(crate) fn warn_error(state: &mut LuaState, where_: &[u8]) {
[INFO] [stdout]      |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `LocalGcRef` is never used
[INFO] [stdout]   --> src/string.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | type LocalGcRef<T> = Rc<T>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hash` is never read
[INFO] [stdout]    --> src/string.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct LuaStringImpl {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 142 |     hash: Cell<u32>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eq_long_str` is never used
[INFO] [stdout]    --> src/string.rs:327:15
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub(crate) fn eq_long_str(a: &LuaStringImpl, b: &LuaStringImpl) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_long_str` is never used
[INFO] [stdout]    --> src/string.rs:401:15
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub(crate) fn hash_long_str(ts: &LuaStringImpl) -> u32 {
[INFO] [stdout]     |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_cache` is never used
[INFO] [stdout]    --> src/string.rs:494:15
[INFO] [stdout]     |
[INFO] [stdout] 494 | pub(crate) fn clear_cache(g: &mut GlobalState) {
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_long_str` is never used
[INFO] [stdout]    --> src/string.rs:576:15
[INFO] [stdout]     |
[INFO] [stdout] 576 | pub(crate) fn create_long_str(state: &mut LuaState, l: usize) -> GcRef<LuaStringImpl> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_str` is never used
[INFO] [stdout]    --> src/string.rs:605:15
[INFO] [stdout]     |
[INFO] [stdout] 605 | pub(crate) fn remove_str(state: &mut LuaState, ts: &LuaStringImpl) {
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_userdata` is never used
[INFO] [stdout]    --> src/string.rs:756:15
[INFO] [stdout]     |
[INFO] [stdout] 756 | pub(crate) fn new_userdata(
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tm` is never used
[INFO] [stdout]    --> src/tagmethods.rs:210:15
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub(crate) fn get_tm(
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/undump.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct LoadState<'a> {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     name: Vec<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]     --> src/api.rs:1090:61
[INFO] [stdout]      |
[INFO] [stdout] 1090 |             match g.c_functions.iter().position(|&existing| existing == f) {
[INFO] [stdout]      |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the address of the same function can vary between different codegen units
[INFO] [stdout]      = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]      = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]      = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stdout]      |
[INFO] [stdout] 1090 -             match g.c_functions.iter().position(|&existing| existing == f) {
[INFO] [stdout] 1090 +             match g.c_functions.iter().position(|&existing| std::ptr::fn_addr_eq(existing, f)) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `nCcalls` should have a snake case name
[INFO] [stdout]     --> src/state.rs:1304:9
[INFO] [stdout]      |
[INFO] [stdout] 1304 |     pub nCcalls: u32,
[INFO] [stdout]      |         ^^^^^^^ help: convert the identifier to snake case: `n_ccalls`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling lua-vm v0.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `CallInfoIdx`, `CallInfo`, `GlobalState`, `LuaClosureExt`, `LuaProtoExt`, and `LuaStringRefExt`
[INFO] [stdout]   --> src/api.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::state::{LuaState, LuaCFunction, GlobalState, CallInfo, CallInfoIdx, StackIdx,
[INFO] [stdout]    |                                            ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 14 |     LuaValueExt, LuaTypeExt, StackIdxExt,
[INFO] [stdout] 15 |     LuaTableRefExt, LuaUserDataRefExt, LuaStringRefExt,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     LuaLClosureRefExt, LuaClosureExt, LuaProtoExt};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpVal`
[INFO] [stdout]   --> src/api.rs:18:70
[INFO] [stdout]    |
[INFO] [stdout] 18 |     LuaValue, LuaType, LuaError, LuaString, LuaUserData, LuaClosure, UpVal,
[INFO] [stdout]    |                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CIST_C` and `UpVal`
[INFO] [stdout]   --> src/debug.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     UpVal, CIST_C, CIST_FIN, CIST_HOOKED, CIST_HOOKYIELD, CIST_TAIL, CIST_TRAN,
[INFO] [stdout]    |     ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/func.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tagmethods::TagMethod`
[INFO] [stdout]   --> src/func.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     tagmethods::TagMethod,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lua_types::value::F2Imod`
[INFO] [stdout]   --> src/object.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use lua_types::value::F2Imod;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LuaClosure`
[INFO] [stdout]   --> src/undump.rs:22:26
[INFO] [stdout]    |
[INFO] [stdout] 22 | use lua_types::closure::{LuaClosure, LuaLClosure};
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lua_types::upval::UpVal`
[INFO] [stdout]   --> src/undump.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use lua_types::upval::UpVal;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]     --> src/vm.rs:2409:54
[INFO] [stdout]      |
[INFO] [stdout] 2409 | ...                   state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stdout]      |                                                ^                                   ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 2409 -                             state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stdout] 2409 +                             state.ci_adjust_func(ci, nextraargs as i32 + nparams1 as i32);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LuaLClosureRefExt`
[INFO] [stdout]   --> src/api.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     LuaLClosureRefExt, LuaClosureExt, LuaProtoExt};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]     --> src/debug.rs:1202:47
[INFO] [stdout]      |
[INFO] [stdout] 1202 | fn in_stack(ci: &CallInfo, val_idx: StackIdx, state: &LuaState) -> i32 {
[INFO] [stdout]      |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/do_.rs:161:21
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) fn throw(state: &mut LuaState, errcode: LuaStatus) -> ! {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]     --> src/do_.rs:1466:5
[INFO] [stdout]      |
[INFO] [stdout] 1466 |     state: &mut LuaState,
[INFO] [stdout]      |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/func.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     state: &mut LuaState,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `valid_end`
[INFO] [stdout]    --> src/object.rs:328:9
[INFO] [stdout]     |
[INFO] [stdout] 328 |     let valid_end = idx;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/object.rs:872:9
[INFO] [stdout]     |
[INFO] [stdout] 872 |     let mut write_bytes = |out: &mut [u8], written: &mut usize, bytes: &[u8]| {
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/string.rs:757:5
[INFO] [stdout]     |
[INFO] [stdout] 757 |     state: &mut LuaState,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/undump.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn load_error(s: &LoadState<'_>, why: &'static str) -> LuaError {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `trap` is never read
[INFO] [stdout]     --> src/vm.rs:2114:25
[INFO] [stdout]      |
[INFO] [stdout] 2114 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2119 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ------------------------ `trap` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `trap` is never read
[INFO] [stdout]     --> src/vm.rs:2404:29
[INFO] [stdout]      |
[INFO] [stdout] 2404 |                             trap = state.ci_trap(ci);
[INFO] [stdout]      |                             ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2413 |                         trap = state.ci_trap(ci);
[INFO] [stdout]      |                         ------------------------ `trap` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPHABIT` is never used
[INFO] [stdout]   --> src/ctype.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const ALPHABIT: u32 = 0;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIGITBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const DIGITBIT: u32 = 1;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRINTBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const PRINTBIT: u32 = 2;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPACEBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | const SPACEBIT: u32 = 3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XDIGITBIT` is never used
[INFO] [stdout]   --> src/ctype.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const XDIGITBIT: u32 = 4;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CTYPE_TABLE` is never used
[INFO] [stdout]   --> src/ctype.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub(crate) static CTYPE_TABLE: [u8; 257] = [
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_prop` is never used
[INFO] [stdout]    --> src/ctype.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn test_prop(c: i32, mask: u8) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lislalpha` is never used
[INFO] [stdout]    --> src/ctype.rs:131:15
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub(crate) fn lislalpha(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lislalnum` is never used
[INFO] [stdout]    --> src/ctype.rs:138:15
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub(crate) fn lislalnum(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisdigit` is never used
[INFO] [stdout]    --> src/ctype.rs:145:15
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub(crate) fn lisdigit(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisspace` is never used
[INFO] [stdout]    --> src/ctype.rs:153:15
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub(crate) fn lisspace(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisprint` is never used
[INFO] [stdout]    --> src/ctype.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub(crate) fn lisprint(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lisxdigit` is never used
[INFO] [stdout]    --> src/ctype.rs:167:15
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub(crate) fn lisxdigit(c: i32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ltolower` is never used
[INFO] [stdout]    --> src/ctype.rs:181:15
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub(crate) fn ltolower(c: i32) -> i32 {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_MASKCALL` is never used
[INFO] [stdout]   --> src/debug.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 | const LUA_MASKCALL: u8 = 1 << 0;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_YIELD_STATUS` is never used
[INFO] [stdout]   --> src/debug.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LUA_YIELD_STATUS: i32 = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `runtime_from_top` is never used
[INFO] [stdout]    --> src/debug.rs:249:4
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn runtime_from_top(state: &mut crate::state::LuaState) -> LuaError {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `concat_error` is never used
[INFO] [stdout]     --> src/debug.rs:1407:15
[INFO] [stdout]      |
[INFO] [stdout] 1407 | pub(crate) fn concat_error(
[INFO] [stdout]      |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_msg` is never used
[INFO] [stdout]     --> src/debug.rs:1536:15
[INFO] [stdout]      |
[INFO] [stdout] 1536 | pub(crate) fn error_msg(state: &mut LuaState) -> Result<(), LuaError> {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_error` is never used
[INFO] [stdout]     --> src/debug.rs:1561:15
[INFO] [stdout]      |
[INFO] [stdout] 1561 | pub(crate) fn run_error(state: &mut LuaState, msg: Vec<u8>) -> Result<(), LuaError> {
[INFO] [stdout]      |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `throw` is never used
[INFO] [stdout]    --> src/do_.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) fn throw(state: &mut LuaState, errcode: LuaStatus) -> ! {
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inc_top` is never used
[INFO] [stdout]    --> src/do_.rs:329:15
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub(crate) fn inc_top(state: &mut LuaState) -> Result<(), LuaError> {
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_UPVAL` is never used
[INFO] [stdout]   --> src/func.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub(crate) const MAX_UPVAL: u8 = 255;
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MISS` is never used
[INFO] [stdout]   --> src/func.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub(crate) const MAX_MISS: u32 = 10;
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_c_closure` is never used
[INFO] [stdout]   --> src/func.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub(crate) fn new_c_closure(
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lua_closure` is never used
[INFO] [stdout]    --> src/func.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub(crate) fn new_lua_closure(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unlink_upval` is never used
[INFO] [stdout]    --> src/func.rs:394:15
[INFO] [stdout]     |
[INFO] [stdout] 394 | pub(crate) fn unlink_upval(state: &mut LuaState, uv: &GcRef<UpVal>) {
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_proto` is never used
[INFO] [stdout]    --> src/func.rs:517:15
[INFO] [stdout]     |
[INFO] [stdout] 517 | pub(crate) fn new_proto(state: &mut LuaState) -> GcRef<crate::state::LuaProto> {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_proto` is never used
[INFO] [stdout]    --> src/func.rs:548:15
[INFO] [stdout]     |
[INFO] [stdout] 548 | pub(crate) fn free_proto(_state: &mut LuaState, _f: GcRef<crate::state::LuaProto>) {
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DUMMY_C_FUNCTION_IDX` is never used
[INFO] [stdout]    --> src/func.rs:617:7
[INFO] [stdout]     |
[INFO] [stdout] 617 | const DUMMY_C_FUNCTION_IDX: crate::state::LuaCFnPtr = usize::MAX;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `L_MAX_LEN_NUM` is never used
[INFO] [stdout]   --> src/object.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const L_MAX_LEN_NUM: usize = 200;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CIST_CLSRET` is never used
[INFO] [stdout]    --> src/state.rs:102:18
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub(crate) const CIST_CLSRET: u16 = 1 << 9;
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_MAINTHREAD` is never used
[INFO] [stdout]    --> src/state.rs:106:18
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub(crate) const LUA_RIDX_MAINTHREAD: i64 = 1;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_GLOBALS` is never used
[INFO] [stdout]    --> src/state.rs:107:18
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub(crate) const LUA_RIDX_GLOBALS: i64 = 2;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_RIDX_LAST` is never used
[INFO] [stdout]    --> src/state.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub(crate) const LUA_RIDX_LAST: usize = 2;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LUA_EXTRASPACE` is never used
[INFO] [stdout]    --> src/state.rs:113:7
[INFO] [stdout]     |
[INFO] [stdout] 113 | const LUA_EXTRASPACE: usize = std::mem::size_of::<*mut ()>();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_thread` is never used
[INFO] [stdout]     --> src/state.rs:3794:15
[INFO] [stdout]      |
[INFO] [stdout] 3794 | pub(crate) fn free_thread(caller: &mut LuaState, thread: &mut LuaState) {
[INFO] [stdout]      |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `warn_error` is never used
[INFO] [stdout]     --> src/state.rs:4149:15
[INFO] [stdout]      |
[INFO] [stdout] 4149 | pub(crate) fn warn_error(state: &mut LuaState, where_: &[u8]) {
[INFO] [stdout]      |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `LocalGcRef` is never used
[INFO] [stdout]   --> src/string.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | type LocalGcRef<T> = Rc<T>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hash` is never read
[INFO] [stdout]    --> src/string.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct LuaStringImpl {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 142 |     hash: Cell<u32>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eq_long_str` is never used
[INFO] [stdout]    --> src/string.rs:327:15
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub(crate) fn eq_long_str(a: &LuaStringImpl, b: &LuaStringImpl) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_long_str` is never used
[INFO] [stdout]    --> src/string.rs:401:15
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub(crate) fn hash_long_str(ts: &LuaStringImpl) -> u32 {
[INFO] [stdout]     |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_cache` is never used
[INFO] [stdout]    --> src/string.rs:494:15
[INFO] [stdout]     |
[INFO] [stdout] 494 | pub(crate) fn clear_cache(g: &mut GlobalState) {
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_long_str` is never used
[INFO] [stdout]    --> src/string.rs:576:15
[INFO] [stdout]     |
[INFO] [stdout] 576 | pub(crate) fn create_long_str(state: &mut LuaState, l: usize) -> GcRef<LuaStringImpl> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_str` is never used
[INFO] [stdout]    --> src/string.rs:605:15
[INFO] [stdout]     |
[INFO] [stdout] 605 | pub(crate) fn remove_str(state: &mut LuaState, ts: &LuaStringImpl) {
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_userdata` is never used
[INFO] [stdout]    --> src/string.rs:756:15
[INFO] [stdout]     |
[INFO] [stdout] 756 | pub(crate) fn new_userdata(
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tm` is never used
[INFO] [stdout]    --> src/tagmethods.rs:210:15
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub(crate) fn get_tm(
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/undump.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct LoadState<'a> {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     name: Vec<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]     --> src/api.rs:1090:61
[INFO] [stdout]      |
[INFO] [stdout] 1090 |             match g.c_functions.iter().position(|&existing| existing == f) {
[INFO] [stdout]      |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the address of the same function can vary between different codegen units
[INFO] [stdout]      = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]      = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]      = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stdout]      |
[INFO] [stdout] 1090 -             match g.c_functions.iter().position(|&existing| existing == f) {
[INFO] [stdout] 1090 +             match g.c_functions.iter().position(|&existing| std::ptr::fn_addr_eq(existing, f)) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `nCcalls` should have a snake case name
[INFO] [stdout]     --> src/state.rs:1304:9
[INFO] [stdout]      |
[INFO] [stdout] 1304 |     pub nCcalls: u32,
[INFO] [stdout]      |         ^^^^^^^ help: convert the identifier to snake case: `n_ccalls`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s
[INFO] running `Command { std: "docker" "inspect" "2fb5bcae228d07711f30e255e70a3ba2947673566a727f7c10756b5a780aafca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fb5bcae228d07711f30e255e70a3ba2947673566a727f7c10756b5a780aafca", kill_on_drop: false }`
[INFO] [stdout] 2fb5bcae228d07711f30e255e70a3ba2947673566a727f7c10756b5a780aafca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c81e95fb24a01caf22db749fddbd9cc6df6d500d22f5cf3f3b2456e2c97ad29e
[INFO] running `Command { std: "docker" "start" "-a" "c81e95fb24a01caf22db749fddbd9cc6df6d500d22f5cf3f3b2456e2c97ad29e", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `CallInfoIdx`, `CallInfo`, `GlobalState`, `LuaClosureExt`, `LuaProtoExt`, and `LuaStringRefExt`
[INFO] [stderr]   --> src/api.rs:13:44
[INFO] [stderr]    |
[INFO] [stderr] 13 | use crate::state::{LuaState, LuaCFunction, GlobalState, CallInfo, CallInfoIdx, StackIdx,
[INFO] [stderr]    |                                            ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 14 |     LuaValueExt, LuaTypeExt, StackIdxExt,
[INFO] [stderr] 15 |     LuaTableRefExt, LuaUserDataRefExt, LuaStringRefExt,
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stderr] 16 |     LuaLClosureRefExt, LuaClosureExt, LuaProtoExt};
[INFO] [stderr]    |                        ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `UpVal`
[INFO] [stderr]   --> src/api.rs:18:70
[INFO] [stderr]    |
[INFO] [stderr] 18 |     LuaValue, LuaType, LuaError, LuaString, LuaUserData, LuaClosure, UpVal,
[INFO] [stderr]    |                                                                      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CIST_C` and `UpVal`
[INFO] [stderr]   --> src/debug.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     UpVal, CIST_C, CIST_FIN, CIST_HOOKED, CIST_HOOKYIELD, CIST_TAIL, CIST_TRAN,
[INFO] [stderr]    |     ^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]   --> src/func.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 35 | use std::rc::Rc;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tagmethods::TagMethod`
[INFO] [stderr]   --> src/func.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     tagmethods::TagMethod,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `lua_types::value::F2Imod`
[INFO] [stderr]   --> src/object.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use lua_types::value::F2Imod;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `LuaClosure`
[INFO] [stderr]   --> src/undump.rs:22:26
[INFO] [stderr]    |
[INFO] [stderr] 22 | use lua_types::closure::{LuaClosure, LuaLClosure};
[INFO] [stderr]    |                          ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `lua_types::upval::UpVal`
[INFO] [stderr]   --> src/undump.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use lua_types::upval::UpVal;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]     --> src/vm.rs:2409:54
[INFO] [stderr]      |
[INFO] [stderr] 2409 | ...                   state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stderr]      |                                                ^                                   ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 2409 -                             state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stderr] 2409 +                             state.ci_adjust_func(ci, nextraargs as i32 + nparams1 as i32);
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `LuaLClosureRefExt`
[INFO] [stderr]   --> src/api.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     LuaLClosureRefExt, LuaClosureExt, LuaProtoExt};
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]     --> src/debug.rs:1202:47
[INFO] [stderr]      |
[INFO] [stderr] 1202 | fn in_stack(ci: &CallInfo, val_idx: StackIdx, state: &LuaState) -> i32 {
[INFO] [stderr]      |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]    --> src/do_.rs:161:21
[INFO] [stderr]     |
[INFO] [stderr] 161 | pub(crate) fn throw(state: &mut LuaState, errcode: LuaStatus) -> ! {
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]     --> src/do_.rs:1466:5
[INFO] [stderr]      |
[INFO] [stderr] 1466 |     state: &mut LuaState,
[INFO] [stderr]      |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]   --> src/func.rs:74:5
[INFO] [stderr]    |
[INFO] [stderr] 74 |     state: &mut LuaState,
[INFO] [stderr]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `valid_end`
[INFO] [stderr]    --> src/object.rs:328:9
[INFO] [stderr]     |
[INFO] [stderr] 328 |     let valid_end = idx;
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_end`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/object.rs:872:9
[INFO] [stderr]     |
[INFO] [stderr] 872 |     let mut write_bytes = |out: &mut [u8], written: &mut usize, bytes: &[u8]| {
[INFO] [stderr]     |         ----^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]    --> src/string.rs:757:5
[INFO] [stderr]     |
[INFO] [stderr] 757 |     state: &mut LuaState,
[INFO] [stderr]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]    --> src/undump.rs:113:15
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn load_error(s: &LoadState<'_>, why: &'static str) -> LuaError {
[INFO] [stderr]     |               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `trap` is never read
[INFO] [stderr]     --> src/vm.rs:2114:25
[INFO] [stderr]      |
[INFO] [stderr] 2114 |                         trap = state.ci_trap(ci);
[INFO] [stderr]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 2119 |                         trap = state.ci_trap(ci);
[INFO] [stderr]      |                         ------------------------ `trap` is overwritten here before the previous value is read
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `trap` is never read
[INFO] [stderr]     --> src/vm.rs:2404:29
[INFO] [stderr]      |
[INFO] [stderr] 2404 |                             trap = state.ci_trap(ci);
[INFO] [stderr]      |                             ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 2413 |                         trap = state.ci_trap(ci);
[INFO] [stderr]      |                         ------------------------ `trap` is overwritten here before the previous value is read
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ALPHABIT` is never used
[INFO] [stderr]   --> src/ctype.rs:31:7
[INFO] [stderr]    |
[INFO] [stderr] 31 | const ALPHABIT: u32 = 0;
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DIGITBIT` is never used
[INFO] [stderr]   --> src/ctype.rs:33:7
[INFO] [stderr]    |
[INFO] [stderr] 33 | const DIGITBIT: u32 = 1;
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PRINTBIT` is never used
[INFO] [stderr]   --> src/ctype.rs:35:7
[INFO] [stderr]    |
[INFO] [stderr] 35 | const PRINTBIT: u32 = 2;
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `SPACEBIT` is never used
[INFO] [stderr]   --> src/ctype.rs:37:7
[INFO] [stderr]    |
[INFO] [stderr] 37 | const SPACEBIT: u32 = 3;
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `XDIGITBIT` is never used
[INFO] [stderr]   --> src/ctype.rs:39:7
[INFO] [stderr]    |
[INFO] [stderr] 39 | const XDIGITBIT: u32 = 4;
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `CTYPE_TABLE` is never used
[INFO] [stderr]   --> src/ctype.rs:59:19
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub(crate) static CTYPE_TABLE: [u8; 257] = [
[INFO] [stderr]    |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_prop` is never used
[INFO] [stderr]    --> src/ctype.rs:118:4
[INFO] [stderr]     |
[INFO] [stderr] 118 | fn test_prop(c: i32, mask: u8) -> bool {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lislalpha` is never used
[INFO] [stderr]    --> src/ctype.rs:131:15
[INFO] [stderr]     |
[INFO] [stderr] 131 | pub(crate) fn lislalpha(c: i32) -> bool {
[INFO] [stderr]     |               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lislalnum` is never used
[INFO] [stderr]    --> src/ctype.rs:138:15
[INFO] [stderr]     |
[INFO] [stderr] 138 | pub(crate) fn lislalnum(c: i32) -> bool {
[INFO] [stderr]     |               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lisdigit` is never used
[INFO] [stderr]    --> src/ctype.rs:145:15
[INFO] [stderr]     |
[INFO] [stderr] 145 | pub(crate) fn lisdigit(c: i32) -> bool {
[INFO] [stderr]     |               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lisspace` is never used
[INFO] [stderr]    --> src/ctype.rs:153:15
[INFO] [stderr]     |
[INFO] [stderr] 153 | pub(crate) fn lisspace(c: i32) -> bool {
[INFO] [stderr]     |               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lisprint` is never used
[INFO] [stderr]    --> src/ctype.rs:160:15
[INFO] [stderr]     |
[INFO] [stderr] 160 | pub(crate) fn lisprint(c: i32) -> bool {
[INFO] [stderr]     |               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lisxdigit` is never used
[INFO] [stderr]    --> src/ctype.rs:167:15
[INFO] [stderr]     |
[INFO] [stderr] 167 | pub(crate) fn lisxdigit(c: i32) -> bool {
[INFO] [stderr]     |               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ltolower` is never used
[INFO] [stderr]    --> src/ctype.rs:181:15
[INFO] [stderr]     |
[INFO] [stderr] 181 | pub(crate) fn ltolower(c: i32) -> i32 {
[INFO] [stderr]     |               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LUA_MASKCALL` is never used
[INFO] [stderr]   --> src/debug.rs:46:7
[INFO] [stderr]    |
[INFO] [stderr] 46 | const LUA_MASKCALL: u8 = 1 << 0;
[INFO] [stderr]    |       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LUA_YIELD_STATUS` is never used
[INFO] [stderr]   --> src/debug.rs:52:7
[INFO] [stderr]    |
[INFO] [stderr] 52 | const LUA_YIELD_STATUS: i32 = 1;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `runtime_from_top` is never used
[INFO] [stderr]    --> src/debug.rs:249:4
[INFO] [stderr]     |
[INFO] [stderr] 249 | fn runtime_from_top(state: &mut crate::state::LuaState) -> LuaError {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `concat_error` is never used
[INFO] [stderr]     --> src/debug.rs:1407:15
[INFO] [stderr]      |
[INFO] [stderr] 1407 | pub(crate) fn concat_error(
[INFO] [stderr]      |               ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `error_msg` is never used
[INFO] [stderr]     --> src/debug.rs:1536:15
[INFO] [stderr]      |
[INFO] [stderr] 1536 | pub(crate) fn error_msg(state: &mut LuaState) -> Result<(), LuaError> {
[INFO] [stderr]      |               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_error` is never used
[INFO] [stderr]     --> src/debug.rs:1561:15
[INFO] [stderr]      |
[INFO] [stderr] 1561 | pub(crate) fn run_error(state: &mut LuaState, msg: Vec<u8>) -> Result<(), LuaError> {
[INFO] [stderr]      |               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `throw` is never used
[INFO] [stderr]    --> src/do_.rs:161:15
[INFO] [stderr]     |
[INFO] [stderr] 161 | pub(crate) fn throw(state: &mut LuaState, errcode: LuaStatus) -> ! {
[INFO] [stderr]     |               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `inc_top` is never used
[INFO] [stderr]    --> src/do_.rs:329:15
[INFO] [stderr]     |
[INFO] [stderr] 329 | pub(crate) fn inc_top(state: &mut LuaState) -> Result<(), LuaError> {
[INFO] [stderr]     |               ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_UPVAL` is never used
[INFO] [stderr]   --> src/func.rs:59:18
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub(crate) const MAX_UPVAL: u8 = 255;
[INFO] [stderr]    |                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_MISS` is never used
[INFO] [stderr]   --> src/func.rs:63:18
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub(crate) const MAX_MISS: u32 = 10;
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new_c_closure` is never used
[INFO] [stderr]   --> src/func.rs:73:15
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub(crate) fn new_c_closure(
[INFO] [stderr]    |               ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new_lua_closure` is never used
[INFO] [stderr]    --> src/func.rs:103:15
[INFO] [stderr]     |
[INFO] [stderr] 103 | pub(crate) fn new_lua_closure(
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `unlink_upval` is never used
[INFO] [stderr]    --> src/func.rs:394:15
[INFO] [stderr]     |
[INFO] [stderr] 394 | pub(crate) fn unlink_upval(state: &mut LuaState, uv: &GcRef<UpVal>) {
[INFO] [stderr]     |               ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new_proto` is never used
[INFO] [stderr]    --> src/func.rs:517:15
[INFO] [stderr]     |
[INFO] [stderr] 517 | pub(crate) fn new_proto(state: &mut LuaState) -> GcRef<crate::state::LuaProto> {
[INFO] [stderr]     |               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `free_proto` is never used
[INFO] [stderr]    --> src/func.rs:548:15
[INFO] [stderr]     |
[INFO] [stderr] 548 | pub(crate) fn free_proto(_state: &mut LuaState, _f: GcRef<crate::state::LuaProto>) {
[INFO] [stderr]     |               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DUMMY_C_FUNCTION_IDX` is never used
[INFO] [stderr]    --> src/func.rs:617:7
[INFO] [stderr]     |
[INFO] [stderr] 617 | const DUMMY_C_FUNCTION_IDX: crate::state::LuaCFnPtr = usize::MAX;
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `L_MAX_LEN_NUM` is never used
[INFO] [stderr]   --> src/object.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 | const L_MAX_LEN_NUM: usize = 200;
[INFO] [stderr]    |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CIST_CLSRET` is never used
[INFO] [stderr]    --> src/state.rs:102:18
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub(crate) const CIST_CLSRET: u16 = 1 << 9;
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LUA_RIDX_MAINTHREAD` is never used
[INFO] [stderr]    --> src/state.rs:106:18
[INFO] [stderr]     |
[INFO] [stderr] 106 | pub(crate) const LUA_RIDX_MAINTHREAD: i64 = 1;
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LUA_RIDX_GLOBALS` is never used
[INFO] [stderr]    --> src/state.rs:107:18
[INFO] [stderr]     |
[INFO] [stderr] 107 | pub(crate) const LUA_RIDX_GLOBALS: i64 = 2;
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LUA_RIDX_LAST` is never used
[INFO] [stderr]    --> src/state.rs:108:18
[INFO] [stderr]     |
[INFO] [stderr] 108 | pub(crate) const LUA_RIDX_LAST: usize = 2;
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LUA_EXTRASPACE` is never used
[INFO] [stderr]    --> src/state.rs:113:7
[INFO] [stderr]     |
[INFO] [stderr] 113 | const LUA_EXTRASPACE: usize = std::mem::size_of::<*mut ()>();
[INFO] [stderr]     |       ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `free_thread` is never used
[INFO] [stderr]     --> src/state.rs:3794:15
[INFO] [stderr]      |
[INFO] [stderr] 3794 | pub(crate) fn free_thread(caller: &mut LuaState, thread: &mut LuaState) {
[INFO] [stderr]      |               ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `warn_error` is never used
[INFO] [stderr]     --> src/state.rs:4149:15
[INFO] [stderr]      |
[INFO] [stderr] 4149 | pub(crate) fn warn_error(state: &mut LuaState, where_: &[u8]) {
[INFO] [stderr]      |               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `LocalGcRef` is never used
[INFO] [stderr]   --> src/string.rs:37:6
[INFO] [stderr]    |
[INFO] [stderr] 37 | type LocalGcRef<T> = Rc<T>;
[INFO] [stderr]    |      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `hash` is never read
[INFO] [stderr]    --> src/string.rs:142:5
[INFO] [stderr]     |
[INFO] [stderr] 134 | pub struct LuaStringImpl {
[INFO] [stderr]     |            ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 142 |     hash: Cell<u32>,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `eq_long_str` is never used
[INFO] [stderr]    --> src/string.rs:327:15
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub(crate) fn eq_long_str(a: &LuaStringImpl, b: &LuaStringImpl) -> bool {
[INFO] [stderr]     |               ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `hash_long_str` is never used
[INFO] [stderr]    --> src/string.rs:401:15
[INFO] [stderr]     |
[INFO] [stderr] 401 | pub(crate) fn hash_long_str(ts: &LuaStringImpl) -> u32 {
[INFO] [stderr]     |               ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `clear_cache` is never used
[INFO] [stderr]    --> src/string.rs:494:15
[INFO] [stderr]     |
[INFO] [stderr] 494 | pub(crate) fn clear_cache(g: &mut GlobalState) {
[INFO] [stderr]     |               ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_long_str` is never used
[INFO] [stderr]    --> src/string.rs:576:15
[INFO] [stderr]     |
[INFO] [stderr] 576 | pub(crate) fn create_long_str(state: &mut LuaState, l: usize) -> GcRef<LuaStringImpl> {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `remove_str` is never used
[INFO] [stderr]    --> src/string.rs:605:15
[INFO] [stderr]     |
[INFO] [stderr] 605 | pub(crate) fn remove_str(state: &mut LuaState, ts: &LuaStringImpl) {
[INFO] [stderr]     |               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new_userdata` is never used
[INFO] [stderr]    --> src/string.rs:756:15
[INFO] [stderr]     |
[INFO] [stderr] 756 | pub(crate) fn new_userdata(
[INFO] [stderr]     |               ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_tm` is never used
[INFO] [stderr]    --> src/tagmethods.rs:210:15
[INFO] [stderr]     |
[INFO] [stderr] 210 | pub(crate) fn get_tm(
[INFO] [stderr]     |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]   --> src/undump.rs:88:5
[INFO] [stderr]    |
[INFO] [stderr] 83 | struct LoadState<'a> {
[INFO] [stderr]    |        --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 88 |     name: Vec<u8>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stderr]     --> src/api.rs:1090:61
[INFO] [stderr]      |
[INFO] [stderr] 1090 |             match g.c_functions.iter().position(|&existing| existing == f) {
[INFO] [stderr]      |                                                             ^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: the address of the same function can vary between different codegen units
[INFO] [stderr]      = note: furthermore, different functions could have the same address after being merged together
[INFO] [stderr]      = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stderr]      = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stderr]      |
[INFO] [stderr] 1090 -             match g.c_functions.iter().position(|&existing| existing == f) {
[INFO] [stderr] 1090 +             match g.c_functions.iter().position(|&existing| std::ptr::fn_addr_eq(existing, f)) {
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `nCcalls` should have a snake case name
[INFO] [stderr]     --> src/state.rs:1304:9
[INFO] [stderr]      |
[INFO] [stderr] 1304 |     pub nCcalls: u32,
[INFO] [stderr]      |         ^^^^^^^ help: convert the identifier to snake case: `n_ccalls`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `lua-vm` (lib) generated 70 warnings (run `cargo fix --lib -p lua-vm` to apply 17 suggestions)
[INFO] [stderr] warning: `lua-vm` (lib test) generated 70 warnings (70 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lua_vm-4e8f69fd4de113f4)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lua_vm
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]     --> src/vm.rs:2409:54
[INFO] [stderr]      |
[INFO] [stderr] 2409 | ...                   state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stderr]      |                                                ^                                   ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 2409 -                             state.ci_adjust_func(ci, (nextraargs as i32 + nparams1 as i32));
[INFO] [stderr] 2409 +                             state.ci_adjust_func(ci, nextraargs as i32 + nparams1 as i32);
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/do_.rs - do_::parse_stub (line 32) ... FAILED
[INFO] [stdout] test src/vm.rs - vm::finish_set (line 742) ... FAILED
[INFO] [stdout] test src/vm.rs - vm::finish_get (line 696) ... FAILED
[INFO] [stdout] test src/state.rs - state::LuaState::stack_resize (line 1742) ... FAILED
[INFO] [stdout] test src/vm.rs - vm::forlimit (line 576) ... FAILED
[INFO] [stdout] test src/vm.rs - vm::push_closure (line 1294) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/do_.rs - do_::parse_stub (line 32) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]   --> src/do_.rs:33:69
[INFO] [stdout]    |
[INFO] [stdout] 33 |                        Dyndata *dyd, const char *name, int firstchar)`
[INFO] [stdout]    |                                                                     ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vm.rs - vm::finish_set (line 742) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]    --> src/vm.rs:743:53
[INFO] [stdout]     |
[INFO] [stdout] 743 |                      TValue *val, const TValue *slot)`
[INFO] [stdout]     |                                                     ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vm.rs - vm::finish_get (line 696) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]    --> src/vm.rs:697:51
[INFO] [stdout]     |
[INFO] [stdout] 697 |                      StkId val, const TValue *slot)`
[INFO] [stdout]     |                                                   ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/state.rs - state::LuaState::stack_resize (line 1742) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]     --> src/state.rs:1743:52
[INFO] [stdout]      |
[INFO] [stdout] 1743 |                     newsize+EXTRA_STACK, StackValue)`.
[INFO] [stdout]      |                                                    ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vm.rs - vm::forlimit (line 576) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]    --> src/vm.rs:577:54
[INFO] [stdout]     |
[INFO] [stdout] 577 |                      lua_Integer *p, lua_Integer step)`
[INFO] [stdout]     |                                                      ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vm.rs - vm::push_closure (line 1294) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]     --> src/vm.rs:1295:46
[INFO] [stdout]      |
[INFO] [stdout] 1295 |                          StkId base, StkId ra)`
[INFO] [stdout]      |                                              ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/do_.rs - do_::parse_stub (line 32)
[INFO] [stdout]     src/state.rs - state::LuaState::stack_resize (line 1742)
[INFO] [stdout]     src/vm.rs - vm::finish_get (line 696)
[INFO] [stdout]     src/vm.rs - vm::finish_set (line 742)
[INFO] [stdout]     src/vm.rs - vm::forlimit (line 576)
[INFO] [stdout]     src/vm.rs - vm::push_closure (line 1294)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c81e95fb24a01caf22db749fddbd9cc6df6d500d22f5cf3f3b2456e2c97ad29e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c81e95fb24a01caf22db749fddbd9cc6df6d500d22f5cf3f3b2456e2c97ad29e", kill_on_drop: false }`
[INFO] [stdout] c81e95fb24a01caf22db749fddbd9cc6df6d500d22f5cf3f3b2456e2c97ad29e
