[INFO] cloning repository https://github.com/Yiklek/rslua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yiklek/rslua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYiklek%2Frslua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYiklek%2Frslua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d50ce071b19088c4aa7776c92906750d748b36d [INFO] testing Yiklek/rslua against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYiklek%2Frslua" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yiklek/rslua on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yiklek/rslua [INFO] finished tweaking git repo https://github.com/Yiklek/rslua [INFO] tweaked toml for git repo https://github.com/Yiklek/rslua written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/Yiklek/rslua already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7717a65498b24c00d73d0644dba2b0b0c679e305f192f922a0e76561eb51e8ba [INFO] running `Command { std: "docker" "start" "-a" "7717a65498b24c00d73d0644dba2b0b0c679e305f192f922a0e76561eb51e8ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7717a65498b24c00d73d0644dba2b0b0c679e305f192f922a0e76561eb51e8ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7717a65498b24c00d73d0644dba2b0b0c679e305f192f922a0e76561eb51e8ba", kill_on_drop: false }` [INFO] [stdout] 7717a65498b24c00d73d0644dba2b0b0c679e305f192f922a0e76561eb51e8ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 174c7f0fa1b2848e3be5c0c81aa756518c448281676283f0236ea6854eb2177a [INFO] running `Command { std: "docker" "start" "-a" "174c7f0fa1b2848e3be5c0c81aa756518c448281676283f0236ea6854eb2177a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling rslua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut registry = LuaValue::Table(Arc::new(RefCell::new(table))); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LightUserData` [INFO] [stdout] --> src/api.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | LightUserData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/api.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UserData` [INFO] [stdout] --> src/api.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | UserData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Thread` [INFO] [stdout] --> src/api.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | Thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ABC_B_LEN` [INFO] [stdout] --> src/instruction.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | const ABC_B_LEN :usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `A_SBX_A_LEN` [INFO] [stdout] --> src/instruction.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | const A_SBX_A_LEN :usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `A_SBX_SBX_LEN` [INFO] [stdout] --> src/instruction.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | const A_SBX_SBX_LEN :usize = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AX_AX_LEN` [INFO] [stdout] --> src/instruction.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | const AX_AX_LEN :usize = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_name` [INFO] [stdout] --> src/instruction.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn op_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mode` [INFO] [stdout] --> src/instruction.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn op_mode(&self) -> OpMode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `b_mode` [INFO] [stdout] --> src/instruction.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn b_mode(&self) -> OpArgMode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `c_mode` [INFO] [stdout] --> src/instruction.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn c_mode(&self) -> OpArgMode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `test_flag` [INFO] [stdout] --> src/instruction.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | test_flag: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/instruction.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `set_a_flag` [INFO] [stdout] --> src/instruction.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | set_a_flag: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/instruction.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arg_b_mode` [INFO] [stdout] --> src/instruction.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | arg_b_mode: OpArgMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/instruction.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arg_c_mode` [INFO] [stdout] --> src/instruction.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | arg_c_mode: OpArgMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/instruction.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `op_mode` [INFO] [stdout] --> src/instruction.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | op_mode: OpMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/instruction.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/instruction.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | name: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/instruction.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/state.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn new() -> LuaState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/state.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn with_capacity(i: usize) -> LuaState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_stack` [INFO] [stdout] --> src/state.rs:748:15 [INFO] [stdout] | [INFO] [stdout] 748 | pub(crate) fn print_stack(state: &LuaState) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_stack` [INFO] [stdout] --> src/state.rs:757:15 [INFO] [stdout] | [INFO] [stdout] 757 | pub(crate) fn format_stack(state: &LuaState) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `signature` [INFO] [stdout] --> src/chunk.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | signature: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/chunk.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | version: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/chunk.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | format: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_c_data` [INFO] [stdout] --> src/chunk.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | lua_c_data: [u8; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c_int_size` [INFO] [stdout] --> src/chunk.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | c_int_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c_size_t_size` [INFO] [stdout] --> src/chunk.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | c_size_t_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction_size` [INFO] [stdout] --> src/chunk.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | instruction_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_integer_size` [INFO] [stdout] --> src/chunk.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | lua_integer_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_number_size` [INFO] [stdout] --> src/chunk.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | lua_number_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_c_int` [INFO] [stdout] --> src/chunk.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | lua_c_int: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_c_num` [INFO] [stdout] --> src/chunk.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | lua_c_num: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/chunk.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | header: Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size_up_values` [INFO] [stdout] --> src/chunk.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | size_up_values: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `main_func` [INFO] [stdout] --> src/chunk.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | main_func: ProtoType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `un_dump_file` [INFO] [stdout] --> src/chunk.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) fn un_dump_file(file_path: &dyn ToString) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> src/chunk.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | pub(crate) fn read_file(file_path: &dyn ToString) -> Bytes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list` [INFO] [stdout] --> src/chunk.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn list(p: &ProtoType) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_header` [INFO] [stdout] --> src/chunk.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn print_header(p: &ProtoType) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_code` [INFO] [stdout] --> src/chunk.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn print_code(p: &ProtoType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_operands` [INFO] [stdout] --> src/chunk.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn print_operands(i: Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_detail` [INFO] [stdout] --> src/chunk.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn print_detail(p: &ProtoType) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_chunk` [INFO] [stdout] --> src/chunk.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn print_chunk(path: &dyn ToString) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lua_main` [INFO] [stdout] --> src/vm.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn lua_main(file: &dyn ToString){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/state.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if new_top < 0 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.27s [INFO] running `Command { std: "docker" "inspect" "174c7f0fa1b2848e3be5c0c81aa756518c448281676283f0236ea6854eb2177a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "174c7f0fa1b2848e3be5c0c81aa756518c448281676283f0236ea6854eb2177a", kill_on_drop: false }` [INFO] [stdout] 174c7f0fa1b2848e3be5c0c81aa756518c448281676283f0236ea6854eb2177a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e173cd670824fc263e4e7f3ca141e68b722dbbfd0488419c19eddf745575b4d [INFO] running `Command { std: "docker" "start" "-a" "8e173cd670824fc263e4e7f3ca141e68b722dbbfd0488419c19eddf745575b4d", kill_on_drop: false }` [INFO] [stderr] Compiling rslua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/chunk.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/chunk.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `list`, `un_dump` [INFO] [stdout] --> src/chunk.rs:385:24 [INFO] [stdout] | [INFO] [stdout] 385 | use crate::chunk::{un_dump, list, print_chunk}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut registry = LuaValue::Table(Arc::new(RefCell::new(table))); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LightUserData` [INFO] [stdout] --> src/api.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | LightUserData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/api.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UserData` [INFO] [stdout] --> src/api.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | UserData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Thread` [INFO] [stdout] --> src/api.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | Thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ABC_B_LEN` [INFO] [stdout] --> src/instruction.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | const ABC_B_LEN :usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `A_SBX_A_LEN` [INFO] [stdout] --> src/instruction.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | const A_SBX_A_LEN :usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `A_SBX_SBX_LEN` [INFO] [stdout] --> src/instruction.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | const A_SBX_SBX_LEN :usize = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AX_AX_LEN` [INFO] [stdout] --> src/instruction.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | const AX_AX_LEN :usize = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `test_flag` [INFO] [stdout] --> src/instruction.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | test_flag: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/instruction.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `set_a_flag` [INFO] [stdout] --> src/instruction.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | set_a_flag: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/instruction.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `signature` [INFO] [stdout] --> src/chunk.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | signature: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/chunk.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | version: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/chunk.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | format: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_c_data` [INFO] [stdout] --> src/chunk.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | lua_c_data: [u8; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c_int_size` [INFO] [stdout] --> src/chunk.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | c_int_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c_size_t_size` [INFO] [stdout] --> src/chunk.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | c_size_t_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction_size` [INFO] [stdout] --> src/chunk.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | instruction_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_integer_size` [INFO] [stdout] --> src/chunk.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | lua_integer_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_number_size` [INFO] [stdout] --> src/chunk.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | lua_number_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_c_int` [INFO] [stdout] --> src/chunk.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | lua_c_int: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lua_c_num` [INFO] [stdout] --> src/chunk.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | lua_c_num: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/chunk.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | header: Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size_up_values` [INFO] [stdout] --> src/chunk.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | size_up_values: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `main_func` [INFO] [stdout] --> src/chunk.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | main_func: ProtoType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chunk.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `un_dump_file` [INFO] [stdout] --> src/chunk.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) fn un_dump_file(file_path: &dyn ToString) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/state.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if new_top < 0 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "8e173cd670824fc263e4e7f3ca141e68b722dbbfd0488419c19eddf745575b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e173cd670824fc263e4e7f3ca141e68b722dbbfd0488419c19eddf745575b4d", kill_on_drop: false }` [INFO] [stdout] 8e173cd670824fc263e4e7f3ca141e68b722dbbfd0488419c19eddf745575b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78e68502110ea0450972833c1d9085d8f1654787518706d1ed573572d1972f0c [INFO] running `Command { std: "docker" "start" "-a" "78e68502110ea0450972833c1d9085d8f1654787518706d1ed573572d1972f0c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/api.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::DerefMut` [INFO] [stderr] --> src/state.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::ops::DerefMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bytes::Bytes` [INFO] [stderr] --> src/chunk.rs:383:9 [INFO] [stderr] | [INFO] [stderr] 383 | use bytes::Bytes; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/chunk.rs:384:9 [INFO] [stderr] | [INFO] [stderr] 384 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `list`, `un_dump` [INFO] [stderr] --> src/chunk.rs:385:24 [INFO] [stderr] | [INFO] [stderr] 385 | use crate::chunk::{un_dump, list, print_chunk}; [INFO] [stderr] | ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/state.rs:169:13 [INFO] [stderr] | [INFO] [stderr] 169 | let mut registry = LuaValue::Table(Arc::new(RefCell::new(table))); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LightUserData` [INFO] [stderr] --> src/api.rs:256:5 [INFO] [stderr] | [INFO] [stderr] 256 | LightUserData, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api.rs:251:10 [INFO] [stderr] | [INFO] [stderr] 251 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Function` [INFO] [stderr] --> src/api.rs:261:5 [INFO] [stderr] | [INFO] [stderr] 261 | Function, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api.rs:251:10 [INFO] [stderr] | [INFO] [stderr] 251 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UserData` [INFO] [stderr] --> src/api.rs:263:5 [INFO] [stderr] | [INFO] [stderr] 263 | UserData, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api.rs:251:10 [INFO] [stderr] | [INFO] [stderr] 251 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Thread` [INFO] [stderr] --> src/api.rs:264:5 [INFO] [stderr] | [INFO] [stderr] 264 | Thread, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LuaValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api.rs:251:10 [INFO] [stderr] | [INFO] [stderr] 251 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ABC_B_LEN` [INFO] [stderr] --> src/instruction.rs:146:1 [INFO] [stderr] | [INFO] [stderr] 146 | const ABC_B_LEN :usize = 9; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `A_SBX_A_LEN` [INFO] [stderr] --> src/instruction.rs:150:1 [INFO] [stderr] | [INFO] [stderr] 150 | const A_SBX_A_LEN :usize = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `A_SBX_SBX_LEN` [INFO] [stderr] --> src/instruction.rs:151:1 [INFO] [stderr] | [INFO] [stderr] 151 | const A_SBX_SBX_LEN :usize = 18; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `AX_AX_LEN` [INFO] [stderr] --> src/instruction.rs:152:1 [INFO] [stderr] | [INFO] [stderr] 152 | const AX_AX_LEN :usize = 26; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `test_flag` [INFO] [stderr] --> src/instruction.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | test_flag: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/instruction.rs:212:16 [INFO] [stderr] | [INFO] [stderr] 212 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `set_a_flag` [INFO] [stderr] --> src/instruction.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | set_a_flag: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/instruction.rs:212:16 [INFO] [stderr] | [INFO] [stderr] 212 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `signature` [INFO] [stderr] --> src/chunk.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | signature: [u8; 4], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/chunk.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | version: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `format` [INFO] [stderr] --> src/chunk.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | format: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lua_c_data` [INFO] [stderr] --> src/chunk.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | lua_c_data: [u8; 6], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `c_int_size` [INFO] [stderr] --> src/chunk.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | c_int_size: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `c_size_t_size` [INFO] [stderr] --> src/chunk.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | c_size_t_size: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `instruction_size` [INFO] [stderr] --> src/chunk.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | instruction_size: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lua_integer_size` [INFO] [stderr] --> src/chunk.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | lua_integer_size: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lua_number_size` [INFO] [stderr] --> src/chunk.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | lua_number_size: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lua_c_int` [INFO] [stderr] --> src/chunk.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | lua_c_int: i64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lua_c_num` [INFO] [stderr] --> src/chunk.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | lua_c_num: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `header` [INFO] [stderr] --> src/chunk.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | header: Header, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size_up_values` [INFO] [stderr] --> src/chunk.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | size_up_values: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `main_func` [INFO] [stderr] --> src/chunk.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | main_func: ProtoType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chunk.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `un_dump_file` [INFO] [stderr] --> src/chunk.rs:126:15 [INFO] [stderr] | [INFO] [stderr] 126 | pub(crate) fn un_dump_file(file_path: &dyn ToString) -> Arc { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/state.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | if new_top < 0 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rslua` (bin "rslua" test) generated 32 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rslua-c57c09980e3339bf) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test arith::tests::arith ... ok [INFO] [stdout] test macros::tests::test_enum ... ok [INFO] [stdout] test chunk::tests::read_chunk ... ok [INFO] [stdout] test api::tests::table ... ok [INFO] [stdout] test state::tests::state ... ok [INFO] [stdout] test vm::tests::rust_fn ... ok [INFO] [stdout] test vm::tests::function_return_fix ... ok [INFO] [stdout] test vm::tests::set_list_tail_func ... ok [INFO] [stdout] test vm::tests::function ... ok [INFO] [stdout] test vm::tests::simple_vm ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "78e68502110ea0450972833c1d9085d8f1654787518706d1ed573572d1972f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e68502110ea0450972833c1d9085d8f1654787518706d1ed573572d1972f0c", kill_on_drop: false }` [INFO] [stdout] 78e68502110ea0450972833c1d9085d8f1654787518706d1ed573572d1972f0c