[INFO] fetching crate luah 1.1.0... [INFO] testing luah-1.1.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate luah 1.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate luah 1.1.0 [INFO] finished tweaking crates.io crate luah 1.1.0 [INFO] tweaked toml for crates.io crate luah 1.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate luah 1.1.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate luah 1.1.0 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78fd0b636388f1cfe69014c5f0084e191fa4ed22fe48d55af41e0e5d06bc37fb [INFO] running `Command { std: "docker" "start" "-a" "78fd0b636388f1cfe69014c5f0084e191fa4ed22fe48d55af41e0e5d06bc37fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78fd0b636388f1cfe69014c5f0084e191fa4ed22fe48d55af41e0e5d06bc37fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fd0b636388f1cfe69014c5f0084e191fa4ed22fe48d55af41e0e5d06bc37fb", kill_on_drop: false }` [INFO] [stdout] 78fd0b636388f1cfe69014c5f0084e191fa4ed22fe48d55af41e0e5d06bc37fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d45aa73f1d1efcc982f0e51ff122cef833937be3c9767397bc9ae54f31f01f2 [INFO] running `Command { std: "docker" "start" "-a" "1d45aa73f1d1efcc982f0e51ff122cef833937be3c9767397bc9ae54f31f01f2", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Compiling luah v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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/parse.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 40 | UnaryOp(FnBc2u8, usize), // (opcode, operand) [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] [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/parse.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 41 | BinaryOp(FnBc3u8, usize, usize), // (opcode, left-operand, right-operand) [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] [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/parse.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 47 | Compare(FnBcBool, usize, usize, Vec, Vec), [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] [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/parse.rs:1186:12 [INFO] [stdout] | [INFO] [stdout] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stdout] 1186 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { // commutative [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/parse.rs:1186:36 [INFO] [stdout] | [INFO] [stdout] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stdout] 1186 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { // commutative [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/parse.rs:1212:12 [INFO] [stdout] | [INFO] [stdout] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stdout] 1212 + if std::ptr::fn_addr_eq(opr, ByteCode::Equal as fn(u8, u8, bool) -> ByteCode) || opr == ByteCode::NotEq { // commutative [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/parse.rs:1212:38 [INFO] [stdout] | [INFO] [stdout] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stdout] 1212 + if opr == ByteCode::Equal || std::ptr::fn_addr_eq(opr, ByteCode::NotEq as fn(u8, u8, bool) -> ByteCode) { // commutative [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/parse.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 40 | UnaryOp(FnBc2u8, usize), // (opcode, operand) [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] [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/parse.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 41 | BinaryOp(FnBc3u8, usize, usize), // (opcode, left-operand, right-operand) [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] [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/parse.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 47 | Compare(FnBcBool, usize, usize, Vec, Vec), [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] [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/parse.rs:1186:12 [INFO] [stdout] | [INFO] [stdout] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stdout] 1186 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { // commutative [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/parse.rs:1186:36 [INFO] [stdout] | [INFO] [stdout] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stdout] 1186 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { // commutative [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/parse.rs:1212:12 [INFO] [stdout] | [INFO] [stdout] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stdout] 1212 + if std::ptr::fn_addr_eq(opr, ByteCode::Equal as fn(u8, u8, bool) -> ByteCode) || opr == ByteCode::NotEq { // commutative [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/parse.rs:1212:38 [INFO] [stdout] | [INFO] [stdout] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stdout] 1212 + if opr == ByteCode::Equal || std::ptr::fn_addr_eq(opr, ByteCode::NotEq as fn(u8, u8, bool) -> ByteCode) { // commutative [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.46s [INFO] running `Command { std: "docker" "inspect" "1d45aa73f1d1efcc982f0e51ff122cef833937be3c9767397bc9ae54f31f01f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d45aa73f1d1efcc982f0e51ff122cef833937be3c9767397bc9ae54f31f01f2", kill_on_drop: false }` [INFO] [stdout] 1d45aa73f1d1efcc982f0e51ff122cef833937be3c9767397bc9ae54f31f01f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0d3b2b4d266a7ebf9840b7a2d955a1e1874d447742c7e95c0d9d0f3b79b916e [INFO] running `Command { std: "docker" "start" "-a" "b0d3b2b4d266a7ebf9840b7a2d955a1e1874d447742c7e95c0d9d0f3b79b916e", kill_on_drop: false }` [INFO] [stderr] Compiling luah v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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/parse.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 40 | UnaryOp(FnBc2u8, usize), // (opcode, operand) [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] [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/parse.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 41 | BinaryOp(FnBc3u8, usize, usize), // (opcode, left-operand, right-operand) [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] [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/parse.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 47 | Compare(FnBcBool, usize, usize, Vec, Vec), [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] [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/parse.rs:1186:12 [INFO] [stdout] | [INFO] [stdout] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stdout] 1186 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { // commutative [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/parse.rs:1186:36 [INFO] [stdout] | [INFO] [stdout] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stdout] 1186 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { // commutative [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/parse.rs:1212:12 [INFO] [stdout] | [INFO] [stdout] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stdout] 1212 + if std::ptr::fn_addr_eq(opr, ByteCode::Equal as fn(u8, u8, bool) -> ByteCode) || opr == ByteCode::NotEq { // commutative [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/parse.rs:1212:38 [INFO] [stdout] | [INFO] [stdout] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stdout] 1212 + if opr == ByteCode::Equal || std::ptr::fn_addr_eq(opr, ByteCode::NotEq as fn(u8, u8, bool) -> ByteCode) { // commutative [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/parse.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 40 | UnaryOp(FnBc2u8, usize), // (opcode, operand) [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] [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/parse.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 41 | BinaryOp(FnBc3u8, usize, usize), // (opcode, left-operand, right-operand) [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] [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/parse.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 47 | Compare(FnBcBool, usize, usize, Vec, Vec), [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] [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/parse.rs:1186:12 [INFO] [stdout] | [INFO] [stdout] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stdout] 1186 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { // commutative [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/parse.rs:1186:36 [INFO] [stdout] | [INFO] [stdout] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stdout] 1186 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { // commutative [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/parse.rs:1212:12 [INFO] [stdout] | [INFO] [stdout] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stdout] 1212 + if std::ptr::fn_addr_eq(opr, ByteCode::Equal as fn(u8, u8, bool) -> ByteCode) || opr == ByteCode::NotEq { // commutative [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/parse.rs:1212:38 [INFO] [stdout] | [INFO] [stdout] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stdout] 1212 + if opr == ByteCode::Equal || std::ptr::fn_addr_eq(opr, ByteCode::NotEq as fn(u8, u8, bool) -> ByteCode) { // commutative [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.86s [INFO] running `Command { std: "docker" "inspect" "b0d3b2b4d266a7ebf9840b7a2d955a1e1874d447742c7e95c0d9d0f3b79b916e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d3b2b4d266a7ebf9840b7a2d955a1e1874d447742c7e95c0d9d0f3b79b916e", kill_on_drop: false }` [INFO] [stdout] b0d3b2b4d266a7ebf9840b7a2d955a1e1874d447742c7e95c0d9d0f3b79b916e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac623bb41c82d28ecfcbe2199807cf92b8f3f5cffbba563284c06cec7979f085 [INFO] running `Command { std: "docker" "start" "-a" "ac623bb41c82d28ecfcbe2199807cf92b8f3f5cffbba563284c06cec7979f085", kill_on_drop: false }` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/parse.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, PartialEq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 40 | UnaryOp(FnBc2u8, usize), // (opcode, operand) [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 [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [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/parse.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, PartialEq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 41 | BinaryOp(FnBc3u8, usize, usize), // (opcode, left-operand, right-operand) [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 [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/parse.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, PartialEq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 47 | Compare(FnBcBool, usize, usize, Vec, Vec), [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 [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/parse.rs:1186:12 [INFO] [stderr] | [INFO] [stderr] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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 [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stderr] 1186 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { // commutative [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/parse.rs:1186:36 [INFO] [stderr] | [INFO] [stderr] 1186 | if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [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 [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 1186 - if opr == ByteCode::Add || opr == ByteCode::Mul { // commutative [INFO] [stderr] 1186 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { // commutative [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/parse.rs:1212:12 [INFO] [stderr] | [INFO] [stderr] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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 [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stderr] 1212 + if std::ptr::fn_addr_eq(opr, ByteCode::Equal as fn(u8, u8, bool) -> ByteCode) || opr == ByteCode::NotEq { // commutative [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/parse.rs:1212:38 [INFO] [stderr] | [INFO] [stderr] 1212 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [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 [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 1212 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { // commutative [INFO] [stderr] 1212 + if opr == ByteCode::Equal || std::ptr::fn_addr_eq(opr, ByteCode::NotEq as fn(u8, u8, bool) -> ByteCode) { // commutative [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `luah` (bin "luah" test) generated 7 warnings [INFO] [stderr] warning: `luah` (lib test) generated 8 warnings (7 duplicates) (run `cargo fix --lib -p luah --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/luah-336c1b1cb869287d) [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.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/luah-a0a55d5f1f626d39) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ac623bb41c82d28ecfcbe2199807cf92b8f3f5cffbba563284c06cec7979f085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac623bb41c82d28ecfcbe2199807cf92b8f3f5cffbba563284c06cec7979f085", kill_on_drop: false }` [INFO] [stdout] ac623bb41c82d28ecfcbe2199807cf92b8f3f5cffbba563284c06cec7979f085