[INFO] cloning repository https://github.com/Zakki0925224/rua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zakki0925224/rua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakki0925224%2Frua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakki0925224%2Frua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 325636cafe87a764a45f49f471d117b1b74eeac2 [INFO] checking Zakki0925224/rua against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakki0925224%2Frua" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Zakki0925224/rua [INFO] finished tweaking git repo https://github.com/Zakki0925224/rua [INFO] tweaked toml for git repo https://github.com/Zakki0925224/rua written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Zakki0925224/rua on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Zakki0925224/rua 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v15.0.0 [INFO] [stderr] Downloaded clap v4.5.26 [INFO] [stderr] Downloaded clap_derive v4.5.24 [INFO] [stderr] Downloaded clap_builder v4.5.26 [INFO] [stderr] Downloaded rustix v1.0.2 [INFO] [stderr] Downloaded linux-raw-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f [INFO] running `Command { std: "docker" "start" "d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking linux-raw-sys v0.9.2 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking rustyline v15.0.0 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking rua v0.1.0 (/opt/rustwide/workdir) [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:23:13 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 23 | UnaryOp(fn(u8, u8) -> ByteCode, usize), [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:24:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | BinaryOp(fn(u8, u8, u8) -> ByteCode, usize, usize), [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:454:12 [INFO] [stdout] | [INFO] [stdout] 454 | if opr == ByteCode::Add || opr == ByteCode::Mul { [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] 454 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 454 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { [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:454:36 [INFO] [stdout] | [INFO] [stdout] 454 | if opr == ByteCode::Add || opr == ByteCode::Mul { [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] 454 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 454 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/value.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | Value::Float(f) => unsafe { mem::transmute::(*f).hash(state) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 109 - Value::Float(f) => unsafe { mem::transmute::(*f).hash(state) }, [INFO] [stdout] 109 + Value::Float(f) => unsafe { f64::to_bits(*f).cast_signed().hash(state) }, [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:23:13 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 23 | UnaryOp(fn(u8, u8) -> ByteCode, usize), [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:24:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | BinaryOp(fn(u8, u8, u8) -> ByteCode, usize, usize), [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:454:12 [INFO] [stdout] | [INFO] [stdout] 454 | if opr == ByteCode::Add || opr == ByteCode::Mul { [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] 454 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 454 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { [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:454:36 [INFO] [stdout] | [INFO] [stdout] 454 | if opr == ByteCode::Add || opr == ByteCode::Mul { [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] 454 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 454 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/value.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | Value::Float(f) => unsafe { mem::transmute::(*f).hash(state) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 109 - Value::Float(f) => unsafe { mem::transmute::(*f).hash(state) }, [INFO] [stdout] 109 + Value::Float(f) => unsafe { f64::to_bits(*f).cast_signed().hash(state) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.04s [INFO] running `Command { std: "docker" "inspect" "d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f", kill_on_drop: false }` [INFO] [stdout] d71e37c6be766058c47d0c3de32a10194f6e5f4022f957431ae26bdf96905b6f