[INFO] cloning repository https://github.com/MaartenStaa/lua_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaartenStaa/lua_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaartenStaa%2Flua_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaartenStaa%2Flua_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab9aede6cb39c45ce4e00dda2fdb243632f9ed05 [INFO] building MaartenStaa/lua_interpreter against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaartenStaa%2Flua_interpreter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MaartenStaa/lua_interpreter [INFO] finished tweaking git repo https://github.com/MaartenStaa/lua_interpreter [INFO] tweaked toml for git repo https://github.com/MaartenStaa/lua_interpreter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MaartenStaa/lua_interpreter on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MaartenStaa/lua_interpreter 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.17 [INFO] [stderr] Downloaded rustix v0.38.36 [INFO] [stderr] Downloaded anstyle-parse v0.2.5 [INFO] [stderr] Downloaded terminal_size v0.3.0 [INFO] [stderr] Downloaded anstyle-query v1.1.1 [INFO] [stderr] Downloaded anstream v0.6.15 [INFO] [stderr] Downloaded miette-derive v7.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded plist v1.4.3 [INFO] [stderr] Downloaded clap_derive v4.5.13 [INFO] [stderr] Downloaded owo-colors v4.0.0 [INFO] [stderr] Downloaded cc v1.1.16 [INFO] [stderr] Downloaded base64 v0.21.5 [INFO] [stderr] Downloaded serde v1.0.202 [INFO] [stderr] Downloaded clap_builder v4.5.17 [INFO] [stderr] Downloaded quick-xml v0.28.2 [INFO] [stderr] Downloaded serde_json v1.0.117 [INFO] [stderr] Downloaded syntect v5.2.0 [INFO] [stderr] Downloaded object v0.36.4 [INFO] [stderr] Downloaded supports-color v3.0.1 [INFO] [stderr] Downloaded supports-hyperlinks v3.0.0 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded line-wrap v0.1.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.64 [INFO] [stderr] Downloaded thiserror v1.0.64 [INFO] [stderr] Downloaded anstyle-wincon v3.0.4 [INFO] [stderr] Downloaded anstyle v1.0.8 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded miette v7.2.0 [INFO] [stderr] Downloaded subslice v0.2.3 [INFO] [stderr] Downloaded colorchoice v1.0.2 [INFO] [stderr] Downloaded cpu-time v1.0.0 [INFO] [stderr] Downloaded onig v6.4.0 [INFO] [stderr] Downloaded deranged v0.3.10 [INFO] [stderr] Downloaded onig_sys v69.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d92ef03467f99786656be38b8fd8c799ae73254d587f16114a743b135d88f22 [INFO] running `Command { std: "docker" "start" "-a" "0d92ef03467f99786656be38b8fd8c799ae73254d587f16114a743b135d88f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d92ef03467f99786656be38b8fd8c799ae73254d587f16114a743b135d88f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d92ef03467f99786656be38b8fd8c799ae73254d587f16114a743b135d88f22", kill_on_drop: false }` [INFO] [stdout] 0d92ef03467f99786656be38b8fd8c799ae73254d587f16114a743b135d88f22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 405ea6de3fe4665de4d9cac80169a26fd90d20d6d28b6eaeb22b7cf510368053 [INFO] running `Command { std: "docker" "start" "-a" "405ea6de3fe4665de4d9cac80169a26fd90d20d6d28b6eaeb22b7cf510368053", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling supports-color v3.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling cpu-time v1.0.0 [INFO] [stderr] Compiling subslice v0.2.3 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling plist v1.4.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling lua_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stdlib/io.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | Stdin(std::io::Stdin), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - Stdin(std::io::Stdin), [INFO] [stdout] 42 + Stdin(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `File` is never constructed [INFO] [stdout] --> src/stdlib/io.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum FileHandle { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | File(std::fs::File), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BNOT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) static BNOT_KEY: LazyLock = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SHL_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) static SHL_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__shl".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SHR_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) static SHR_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__shr".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONCAT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) static CONCAT_KEY: LazyLock = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LEN_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) static LEN_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__len".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EQ_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) static EQ_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__eq".into())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) static LT_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__lt".into())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LE_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) static LE_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__le".into())); [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/value/object.rs:36:83 [INFO] [stdout] | [INFO] [stdout] 36 | (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => a == b, [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 [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] 36 - (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => a == b, [INFO] [stdout] 36 + (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => std::ptr::fn_addr_eq(*a, *b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_chunk(&self, index: usize) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_chunk(&self, index: usize) -> Option<&Chunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.01s [INFO] running `Command { std: "docker" "inspect" "405ea6de3fe4665de4d9cac80169a26fd90d20d6d28b6eaeb22b7cf510368053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "405ea6de3fe4665de4d9cac80169a26fd90d20d6d28b6eaeb22b7cf510368053", kill_on_drop: false }` [INFO] [stdout] 405ea6de3fe4665de4d9cac80169a26fd90d20d6d28b6eaeb22b7cf510368053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 754e3a490eda4ed951caaa959b85eb3ff6e2e9927a4a148c21f2cf233288d568 [INFO] running `Command { std: "docker" "start" "-a" "754e3a490eda4ed951caaa959b85eb3ff6e2e9927a4a148c21f2cf233288d568", kill_on_drop: false }` [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stdlib/io.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | Stdin(std::io::Stdin), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - Stdin(std::io::Stdin), [INFO] [stdout] 42 + Stdin(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `File` is never constructed [INFO] [stdout] --> src/stdlib/io.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum FileHandle { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | File(std::fs::File), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BNOT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) static BNOT_KEY: LazyLock = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SHL_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) static SHL_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__shl".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SHR_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) static SHR_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__shr".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lua_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `CONCAT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) static CONCAT_KEY: LazyLock = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LEN_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) static LEN_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__len".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EQ_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) static EQ_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__eq".into())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) static LT_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__lt".into())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LE_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) static LE_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__le".into())); [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/value/object.rs:36:83 [INFO] [stdout] | [INFO] [stdout] 36 | (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => a == b, [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 [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] 36 - (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => a == b, [INFO] [stdout] 36 + (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => std::ptr::fn_addr_eq(*a, *b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_chunk(&self, index: usize) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_chunk(&self, index: usize) -> Option<&Chunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stdlib/io.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | Stdin(std::io::Stdin), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - Stdin(std::io::Stdin), [INFO] [stdout] 42 + Stdin(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `File` is never constructed [INFO] [stdout] --> src/stdlib/io.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum FileHandle { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | File(std::fs::File), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BNOT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) static BNOT_KEY: LazyLock = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SHL_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) static SHL_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__shl".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SHR_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) static SHR_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__shr".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONCAT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) static CONCAT_KEY: LazyLock = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LEN_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) static LEN_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__len".into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EQ_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) static EQ_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__eq".into())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LT_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) static LT_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__lt".into())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LE_KEY` is never used [INFO] [stdout] --> src/value/metatables.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) static LE_KEY: LazyLock = LazyLock::new(|| LuaValue::String(b"__le".into())); [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/value/object.rs:36:83 [INFO] [stdout] | [INFO] [stdout] 36 | (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => a == b, [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 [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] 36 - (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => a == b, [INFO] [stdout] 36 + (LuaObject::NativeFunction(_, a), LuaObject::NativeFunction(_, b)) => std::ptr::fn_addr_eq(*a, *b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_chunk(&self, index: usize) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_chunk(&self, index: usize) -> Option<&Chunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.69s [INFO] running `Command { std: "docker" "inspect" "754e3a490eda4ed951caaa959b85eb3ff6e2e9927a4a148c21f2cf233288d568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "754e3a490eda4ed951caaa959b85eb3ff6e2e9927a4a148c21f2cf233288d568", kill_on_drop: false }` [INFO] [stdout] 754e3a490eda4ed951caaa959b85eb3ff6e2e9927a4a148c21f2cf233288d568