[INFO] fetching crate half-2 2.4.2... [INFO] testing half-2-2.4.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate half-2 2.4.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate half-2 2.4.2 [INFO] finished tweaking crates.io crate half-2 2.4.2 [INFO] tweaked toml for crates.io crate half-2 2.4.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate half-2 2.4.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate half-2 2.4.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb92a7478ffe3b68a0aeb3d12b1a409f09c198bb75eb2b37d38ad2aaaa530b63 [INFO] running `Command { std: "docker" "start" "-a" "fb92a7478ffe3b68a0aeb3d12b1a409f09c198bb75eb2b37d38ad2aaaa530b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb92a7478ffe3b68a0aeb3d12b1a409f09c198bb75eb2b37d38ad2aaaa530b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb92a7478ffe3b68a0aeb3d12b1a409f09c198bb75eb2b37d38ad2aaaa530b63", kill_on_drop: false }` [INFO] [stdout] fb92a7478ffe3b68a0aeb3d12b1a409f09c198bb75eb2b37d38ad2aaaa530b63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb23c5e88b994d86757b9e2572ca85ff03cf54c28b12e0b1d5f22f4ffac5d216 [INFO] running `Command { std: "docker" "start" "-a" "eb23c5e88b994d86757b9e2572ca85ff03cf54c28b12e0b1d5f22f4ffac5d216", kill_on_drop: false }` [INFO] [stderr] Compiling half-2 v2.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | #![cfg_attr(not(target_arch = "spirv"), warn(missing_debug_implementations))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/bfloat.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(kani, derive(kani::Arbitrary))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:918:11 [INFO] [stdout] | [INFO] [stdout] 918 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:926:11 [INFO] [stdout] | [INFO] [stdout] 926 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:933:11 [INFO] [stdout] | [INFO] [stdout] 933 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:940:11 [INFO] [stdout] | [INFO] [stdout] 940 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:947:11 [INFO] [stdout] | [INFO] [stdout] 947 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:954:11 [INFO] [stdout] | [INFO] [stdout] 954 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:961:11 [INFO] [stdout] | [INFO] [stdout] 961 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:968:11 [INFO] [stdout] | [INFO] [stdout] 968 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:975:11 [INFO] [stdout] | [INFO] [stdout] 975 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/binary16.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg_attr(kani, derive(kani::Arbitrary))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:929:11 [INFO] [stdout] | [INFO] [stdout] 929 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:937:11 [INFO] [stdout] | [INFO] [stdout] 937 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:944:11 [INFO] [stdout] | [INFO] [stdout] 944 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:951:11 [INFO] [stdout] | [INFO] [stdout] 951 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:958:11 [INFO] [stdout] | [INFO] [stdout] 958 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:965:11 [INFO] [stdout] | [INFO] [stdout] 965 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:972:11 [INFO] [stdout] | [INFO] [stdout] 972 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:979:11 [INFO] [stdout] | [INFO] [stdout] 979 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:986:11 [INFO] [stdout] | [INFO] [stdout] 986 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let x: u32 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let val: u64 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { mem::transmute::((i as u32 | 0x0040u32) << 16) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { mem::transmute::((i as u32) << 16) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | return unsafe { mem::transmute::((i as u64) << 48) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | mem::transmute::((half_sign << 48) | 0x7FF0_0000_0000_0000u64) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | mem::transmute::( [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 127 | | (half_sign << 48) | 0x7FF8_0000_0000_0000u64 | (half_man << 45), [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:485:27 [INFO] [stdout] | [INFO] [stdout] 485 | let x: u32 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:547:29 [INFO] [stdout] | [INFO] [stdout] 547 | let val: u64 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:615:25 [INFO] [stdout] | [INFO] [stdout] 615 | return unsafe { mem::transmute::((i as u32) << 16) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:626:29 [INFO] [stdout] | [INFO] [stdout] 626 | return unsafe { mem::transmute::((half_sign << 16) | 0x7F80_0000u32) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:630:17 [INFO] [stdout] | [INFO] [stdout] 630 | mem::transmute::((half_sign << 16) | 0x7FC0_0000u32 | (half_man << 13)) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:648:25 [INFO] [stdout] | [INFO] [stdout] 648 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:654:14 [INFO] [stdout] | [INFO] [stdout] 654 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:662:25 [INFO] [stdout] | [INFO] [stdout] 662 | return unsafe { mem::transmute::((i as u64) << 48) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | mem::transmute::((half_sign << 48) | 0x7FF0_0000_0000_0000u64) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | mem::transmute::( [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 680 | | (half_sign << 48) | 0x7FF8_0000_0000_0000u64 | (half_man << 42), [INFO] [stdout] 681 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:699:25 [INFO] [stdout] | [INFO] [stdout] 699 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:705:14 [INFO] [stdout] | [INFO] [stdout] 705 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "eb23c5e88b994d86757b9e2572ca85ff03cf54c28b12e0b1d5f22f4ffac5d216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb23c5e88b994d86757b9e2572ca85ff03cf54c28b12e0b1d5f22f4ffac5d216", kill_on_drop: false }` [INFO] [stdout] eb23c5e88b994d86757b9e2572ca85ff03cf54c28b12e0b1d5f22f4ffac5d216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17d764becb64998098752eddcb8e5245bf81a0a8cdb02d160bdb0f1555e72bab [INFO] running `Command { std: "docker" "start" "-a" "17d764becb64998098752eddcb8e5245bf81a0a8cdb02d160bdb0f1555e72bab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | #![cfg_attr(not(target_arch = "spirv"), warn(missing_debug_implementations))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/bfloat.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(kani, derive(kani::Arbitrary))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:918:11 [INFO] [stdout] | [INFO] [stdout] 918 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:926:11 [INFO] [stdout] | [INFO] [stdout] 926 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:933:11 [INFO] [stdout] | [INFO] [stdout] 933 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:940:11 [INFO] [stdout] | [INFO] [stdout] 940 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:947:11 [INFO] [stdout] | [INFO] [stdout] 947 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:954:11 [INFO] [stdout] | [INFO] [stdout] 954 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:961:11 [INFO] [stdout] | [INFO] [stdout] 961 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:968:11 [INFO] [stdout] | [INFO] [stdout] 968 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:975:11 [INFO] [stdout] | [INFO] [stdout] 975 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/binary16.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg_attr(kani, derive(kani::Arbitrary))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:929:11 [INFO] [stdout] | [INFO] [stdout] 929 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:937:11 [INFO] [stdout] | [INFO] [stdout] 937 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:944:11 [INFO] [stdout] | [INFO] [stdout] 944 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:951:11 [INFO] [stdout] | [INFO] [stdout] 951 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:958:11 [INFO] [stdout] | [INFO] [stdout] 958 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:965:11 [INFO] [stdout] | [INFO] [stdout] 965 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:972:11 [INFO] [stdout] | [INFO] [stdout] 972 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:979:11 [INFO] [stdout] | [INFO] [stdout] 979 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:986:11 [INFO] [stdout] | [INFO] [stdout] 986 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let x: u32 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let val: u64 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { mem::transmute::((i as u32 | 0x0040u32) << 16) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { mem::transmute::((i as u32) << 16) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | return unsafe { mem::transmute::((i as u64) << 48) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | mem::transmute::((half_sign << 48) | 0x7FF0_0000_0000_0000u64) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | mem::transmute::( [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 127 | | (half_sign << 48) | 0x7FF8_0000_0000_0000u64 | (half_man << 45), [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:485:27 [INFO] [stdout] | [INFO] [stdout] 485 | let x: u32 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:547:29 [INFO] [stdout] | [INFO] [stdout] 547 | let val: u64 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:615:25 [INFO] [stdout] | [INFO] [stdout] 615 | return unsafe { mem::transmute::((i as u32) << 16) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:626:29 [INFO] [stdout] | [INFO] [stdout] 626 | return unsafe { mem::transmute::((half_sign << 16) | 0x7F80_0000u32) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:630:17 [INFO] [stdout] | [INFO] [stdout] 630 | mem::transmute::((half_sign << 16) | 0x7FC0_0000u32 | (half_man << 13)) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:648:25 [INFO] [stdout] | [INFO] [stdout] 648 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:654:14 [INFO] [stdout] | [INFO] [stdout] 654 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:662:25 [INFO] [stdout] | [INFO] [stdout] 662 | return unsafe { mem::transmute::((i as u64) << 48) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | mem::transmute::((half_sign << 48) | 0x7FF0_0000_0000_0000u64) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | mem::transmute::( [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 680 | | (half_sign << 48) | 0x7FF8_0000_0000_0000u64 | (half_man << 42), [INFO] [stdout] 681 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:699:25 [INFO] [stdout] | [INFO] [stdout] 699 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:705:14 [INFO] [stdout] | [INFO] [stdout] 705 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling half-2 v2.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | #![cfg_attr(not(target_arch = "spirv"), warn(missing_debug_implementations))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/bfloat.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(kani, derive(kani::Arbitrary))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:918:11 [INFO] [stdout] | [INFO] [stdout] 918 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:926:11 [INFO] [stdout] | [INFO] [stdout] 926 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:933:11 [INFO] [stdout] | [INFO] [stdout] 933 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:940:11 [INFO] [stdout] | [INFO] [stdout] 940 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:947:11 [INFO] [stdout] | [INFO] [stdout] 947 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:954:11 [INFO] [stdout] | [INFO] [stdout] 954 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:961:11 [INFO] [stdout] | [INFO] [stdout] 961 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:968:11 [INFO] [stdout] | [INFO] [stdout] 968 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/bfloat.rs:975:11 [INFO] [stdout] | [INFO] [stdout] 975 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/binary16.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg_attr(kani, derive(kani::Arbitrary))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:929:11 [INFO] [stdout] | [INFO] [stdout] 929 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:937:11 [INFO] [stdout] | [INFO] [stdout] 937 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:944:11 [INFO] [stdout] | [INFO] [stdout] 944 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:951:11 [INFO] [stdout] | [INFO] [stdout] 951 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:958:11 [INFO] [stdout] | [INFO] [stdout] 958 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:965:11 [INFO] [stdout] | [INFO] [stdout] 965 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:972:11 [INFO] [stdout] | [INFO] [stdout] 972 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:979:11 [INFO] [stdout] | [INFO] [stdout] 979 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/binary16.rs:986:11 [INFO] [stdout] | [INFO] [stdout] 986 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/leading_zeros.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | target_arch = "spirv", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stdout] --> src/leading_zeros.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | target_feature = "IntegerFunctions2INTEL", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stdout] --> src/leading_zeros.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `spirv` [INFO] [stdout] --> src/lib.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | #[cfg(not(target_arch = "spirv"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let x: u32 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let val: u64 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { mem::transmute::((i as u32 | 0x0040u32) << 16) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { mem::transmute::((i as u32) << 16) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | return unsafe { mem::transmute::((i as u64) << 48) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | mem::transmute::((half_sign << 48) | 0x7FF0_0000_0000_0000u64) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | mem::transmute::( [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 127 | | (half_sign << 48) | 0x7FF8_0000_0000_0000u64 | (half_man << 45), [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bfloat/convert.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:485:27 [INFO] [stdout] | [INFO] [stdout] 485 | let x: u32 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:547:29 [INFO] [stdout] | [INFO] [stdout] 547 | let val: u64 = unsafe { mem::transmute::(value) }; [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:615:25 [INFO] [stdout] | [INFO] [stdout] 615 | return unsafe { mem::transmute::((i as u32) << 16) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:626:29 [INFO] [stdout] | [INFO] [stdout] 626 | return unsafe { mem::transmute::((half_sign << 16) | 0x7F80_0000u32) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:630:17 [INFO] [stdout] | [INFO] [stdout] 630 | mem::transmute::((half_sign << 16) | 0x7FC0_0000u32 | (half_man << 13)) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:648:25 [INFO] [stdout] | [INFO] [stdout] 648 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:654:14 [INFO] [stdout] | [INFO] [stdout] 654 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:662:25 [INFO] [stdout] | [INFO] [stdout] 662 | return unsafe { mem::transmute::((i as u64) << 48) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | mem::transmute::((half_sign << 48) | 0x7FF0_0000_0000_0000u64) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | mem::transmute::( [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 680 | | (half_sign << 48) | 0x7FF8_0000_0000_0000u64 | (half_man << 42), [INFO] [stdout] 681 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:699:25 [INFO] [stdout] | [INFO] [stdout] 699 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary16/arch.rs:705:14 [INFO] [stdout] | [INFO] [stdout] 705 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.80s [INFO] running `Command { std: "docker" "inspect" "17d764becb64998098752eddcb8e5245bf81a0a8cdb02d160bdb0f1555e72bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d764becb64998098752eddcb8e5245bf81a0a8cdb02d160bdb0f1555e72bab", kill_on_drop: false }` [INFO] [stdout] 17d764becb64998098752eddcb8e5245bf81a0a8cdb02d160bdb0f1555e72bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c76c48561b1daa6c1fc01d3ef354779cd2c460da332c2dea472582f3839a096f [INFO] running `Command { std: "docker" "start" "-a" "c76c48561b1daa6c1fc01d3ef354779cd2c460da332c2dea472582f3839a096f", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/lib.rs:200:17 [INFO] [stderr] | [INFO] [stderr] 200 | #![cfg_attr(not(target_arch = "spirv"), warn(missing_debug_implementations))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/lib.rs:216:11 [INFO] [stderr] | [INFO] [stderr] 216 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `kani` [INFO] [stderr] --> src/bfloat.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | #[cfg_attr(kani, derive(kani::Arbitrary))] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:918:11 [INFO] [stderr] | [INFO] [stderr] 918 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:926:11 [INFO] [stderr] | [INFO] [stderr] 926 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:933:11 [INFO] [stderr] | [INFO] [stderr] 933 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:940:11 [INFO] [stderr] | [INFO] [stderr] 940 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:947:11 [INFO] [stderr] | [INFO] [stderr] 947 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:954:11 [INFO] [stderr] | [INFO] [stderr] 954 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:961:11 [INFO] [stderr] | [INFO] [stderr] 961 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:968:11 [INFO] [stderr] | [INFO] [stderr] 968 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/bfloat.rs:975:11 [INFO] [stderr] | [INFO] [stderr] 975 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `kani` [INFO] [stderr] --> src/binary16.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg_attr(kani, derive(kani::Arbitrary))] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:929:11 [INFO] [stderr] | [INFO] [stderr] 929 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:937:11 [INFO] [stderr] | [INFO] [stderr] 937 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:944:11 [INFO] [stderr] | [INFO] [stderr] 944 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:951:11 [INFO] [stderr] | [INFO] [stderr] 951 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:958:11 [INFO] [stderr] | [INFO] [stderr] 958 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:965:11 [INFO] [stderr] | [INFO] [stderr] 965 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:972:11 [INFO] [stderr] | [INFO] [stderr] 972 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:979:11 [INFO] [stderr] | [INFO] [stderr] 979 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/binary16.rs:986:11 [INFO] [stderr] | [INFO] [stderr] 986 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/leading_zeros.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | target_arch = "spirv", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stderr] --> src/leading_zeros.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | target_feature = "IntegerFunctions2INTEL", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stderr] --> src/leading_zeros.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/leading_zeros.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | target_arch = "spirv", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stderr] --> src/leading_zeros.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | target_feature = "IntegerFunctions2INTEL", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stderr] --> src/leading_zeros.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/leading_zeros.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | target_arch = "spirv", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `IntegerFunctions2INTEL` [INFO] [stderr] --> src/leading_zeros.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | target_feature = "IntegerFunctions2INTEL", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `SPV_INTEL_shader_integer_functions2` [INFO] [stderr] --> src/leading_zeros.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | target_feature = "SPV_INTEL_shader_integer_functions2" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_feature` are: `10e60`, `2e3`, `32s`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-avx512`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-fp8`, `amx-int8`, `amx-movrs`, `amx-tf32`, `amx-tile`, `amx-transpose`, `apxf`, `atomics`, `avx`, `avx10.1`, `avx10.2`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, and `avx512dq` and 429 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `spirv` [INFO] [stderr] --> src/lib.rs:238:15 [INFO] [stderr] | [INFO] [stderr] 238 | #[cfg(not(target_arch = "spirv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | let x: u32 = unsafe { mem::transmute::(value) }; [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | let val: u64 = unsafe { mem::transmute::(value) }; [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:98:18 [INFO] [stderr] | [INFO] [stderr] 98 | unsafe { mem::transmute::((i as u32 | 0x0040u32) << 16) } [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:100:18 [INFO] [stderr] | [INFO] [stderr] 100 | unsafe { mem::transmute::((i as u32) << 16) } [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:109:25 [INFO] [stderr] | [INFO] [stderr] 109 | return unsafe { mem::transmute::((i as u64) << 48) }; [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:121:17 [INFO] [stderr] | [INFO] [stderr] 121 | mem::transmute::((half_sign << 48) | 0x7FF0_0000_0000_0000u64) [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | mem::transmute::( [INFO] [stderr] | ^------------------------- [INFO] [stderr] | | [INFO] [stderr] | _________________help: replace this with: `f64::from_bits` [INFO] [stderr] | | [INFO] [stderr] 127 | | (half_sign << 48) | 0x7FF8_0000_0000_0000u64 | (half_man << 45), [INFO] [stderr] 128 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:146:25 [INFO] [stderr] | [INFO] [stderr] 146 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bfloat/convert.rs:151:14 [INFO] [stderr] | [INFO] [stderr] 151 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:485:27 [INFO] [stderr] | [INFO] [stderr] 485 | let x: u32 = unsafe { mem::transmute::(value) }; [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:547:29 [INFO] [stderr] | [INFO] [stderr] 547 | let val: u64 = unsafe { mem::transmute::(value) }; [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:615:25 [INFO] [stderr] | [INFO] [stderr] 615 | return unsafe { mem::transmute::((i as u32) << 16) }; [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:626:29 [INFO] [stderr] | [INFO] [stderr] 626 | return unsafe { mem::transmute::((half_sign << 16) | 0x7F80_0000u32) }; [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:630:17 [INFO] [stderr] | [INFO] [stderr] 630 | mem::transmute::((half_sign << 16) | 0x7FC0_0000u32 | (half_man << 13)) [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:648:25 [INFO] [stderr] | [INFO] [stderr] 648 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:654:14 [INFO] [stderr] | [INFO] [stderr] 654 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:662:25 [INFO] [stderr] | [INFO] [stderr] 662 | return unsafe { mem::transmute::((i as u64) << 48) }; [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:674:17 [INFO] [stderr] | [INFO] [stderr] 674 | mem::transmute::((half_sign << 48) | 0x7FF0_0000_0000_0000u64) [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:679:17 [INFO] [stderr] | [INFO] [stderr] 679 | mem::transmute::( [INFO] [stderr] | ^------------------------- [INFO] [stderr] | | [INFO] [stderr] | _________________help: replace this with: `f64::from_bits` [INFO] [stderr] | | [INFO] [stderr] 680 | | (half_sign << 48) | 0x7FF8_0000_0000_0000u64 | (half_man << 42), [INFO] [stderr] 681 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:699:25 [INFO] [stderr] | [INFO] [stderr] 699 | return unsafe { mem::transmute::(sign | exp | man) }; [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/binary16/arch.rs:705:14 [INFO] [stderr] | [INFO] [stderr] 705 | unsafe { mem::transmute::(sign | exp | man) } [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: `half-2` (lib) generated 55 warnings (run `cargo fix --lib -p half-2` to apply 21 suggestions) [INFO] [stderr] warning: `half-2` (lib test) generated 55 warnings (55 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/half_2-ebbbb8639bfe718f) [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test bfloat::test::formatting ... ok [INFO] [stdout] test bfloat::test::test_bf16_to_f32 ... ok [INFO] [stdout] test bfloat::test::test_bf16_to_f64 ... ok [INFO] [stdout] test bfloat::test::round_to_even_f64 ... ok [INFO] [stdout] test bfloat::test::test_nan_conversion_to_smaller ... ok [INFO] [stdout] test binary16::test::arithmetic ... ok [INFO] [stdout] test binary16::test::formatting ... ok [INFO] [stdout] test bfloat::test::round_to_even_f32 ... ok [INFO] [stdout] test bfloat::test::test_comparisons ... ok [INFO] [stdout] test bfloat::test::test_nan_conversion_to_larger ... ok [INFO] [stdout] test bfloat::test::test_bf16_consts_from_f64 ... ok [INFO] [stdout] test bfloat::test::qc_roundtrip_bf16_f64_is_identity ... ok [INFO] [stdout] test binary16::test::qc_roundtrip_f16_f32_is_identity ... ok [INFO] [stdout] test bfloat::test::qc_roundtrip_bf16_f32_is_identity ... ok [INFO] [stdout] test binary16::test::round_to_even_f64 ... ok [INFO] [stdout] test bfloat::test::test_bf16_consts_from_f32 ... ok [INFO] [stdout] test binary16::test::test_f16_consts ... ok [INFO] [stdout] test binary16::test::test_f16_consts_from_f32 ... ok [INFO] [stdout] test slice::test::slice_convert_f16_f32 ... ok [INFO] [stdout] test slice::test::slice_convert_f16_f64 ... ok [INFO] [stdout] test slice::test::slice_convert_bf16_f32 ... ok [INFO] [stdout] test slice::test::test_mutablility_bf16 ... ok [INFO] [stdout] test binary16::test::test_f16_consts_from_f64 ... ok [INFO] [stdout] test binary16::test::test_f16_to_f32 ... ok [INFO] [stdout] test slice::test::test_mutablility_f16 ... ok [INFO] [stdout] test slice::test::test_slice_conversions_bf16 ... ok [INFO] [stdout] test binary16::test::test_nan_conversion_to_larger ... ok [INFO] [stdout] test binary16::test::test_nan_conversion_to_smaller ... ok [INFO] [stdout] test leading_zeros::test::leading_zeros_u16_fallback ... ok [INFO] [stdout] test vec::test::test_vec_conversions_bf16 ... ok [INFO] [stdout] test vec::test::test_vec_conversions_f16 ... ok [INFO] [stdout] test slice::test::test_slice_conversions_f16 ... ok [INFO] [stdout] test binary16::test::round_to_even_f32 ... ok [INFO] [stdout] test binary16::test::qc_roundtrip_f16_f64_is_identity ... ok [INFO] [stdout] test binary16::test::test_comparisons ... ok [INFO] [stdout] test slice::test::slice_convert_bf16_f64 ... ok [INFO] [stdout] test binary16::test::test_f16_to_f64 ... ok [INFO] [stdout] test slice::test::convert_to_f32_slice_len_mismatch_panics - should panic ... ok [INFO] [stdout] test slice::test::convert_to_f64_slice_len_mismatch_panics - should panic ... ok [INFO] [stdout] test slice::test::convert_from_f64_slice_len_mismatch_panics - should panic ... ok [INFO] [stdout] test slice::test::convert_from_f32_slice_len_mismatch_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests half_2 [INFO] [stdout] [INFO] [stdout] running 53 tests [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::is_normal (line 342) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::classify (line 373) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::max (line 501) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::from_be_bytes (line 193) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::clamp (line 553) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::is_finite (line 318) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::is_infinite (line 294) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::is_nan (line 275) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::is_sign_positive (line 430) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::min (line 524) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::from_ne_bytes (line 212) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::copysign (line 478) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::to_le_bytes (line 123) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::from_le_bytes (line 178) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::is_sign_negative (line 453) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::clamp (line 564) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::copysign (line 489) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::signum (line 404) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::to_be_bytes (line 139) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::signum (line 415) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::from_be_bytes (line 199) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::from_le_bytes (line 184) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::from_ne_bytes (line 218) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::classify (line 384) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::max (line 512) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::to_be_bytes (line 145) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::is_nan (line 285) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::is_infinite (line 305) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::total_cmp (line 604) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::to_le_bytes (line 129) ... FAILED [INFO] [stdout] test src/bfloat.rs - bfloat::bf16::to_ne_bytes (line 159) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::is_normal (line 353) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::is_sign_negative (line 464) ... FAILED [INFO] [stdout] test src/lib.rs - prelude (line 231) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::is_sign_positive (line 441) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::to_ne_bytes (line 165) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfBitsSliceExt::reinterpret_cast (line 238) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::is_finite (line 329) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfFloatSliceExt::to_f32_vec (line 191) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::total_cmp (line 615) ... FAILED [INFO] [stdout] test src/binary16.rs - binary16::f16::min (line 535) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfFloatSliceExt::convert_to_f64_slice (line 164) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfFloatSliceExt::reinterpret_cast_mut (line 45) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfFloatSliceExt::convert_from_f32_slice (line 78) ... FAILED [INFO] [stdout] test src/vec.rs - vec::HalfFloatVecExt::reinterpret_into (line 29) ... FAILED [INFO] [stdout] test src/vec.rs - vec::HalfFloatVecExt::from_f64_slice (line 65) ... FAILED [INFO] [stdout] test src/vec.rs - vec::HalfBitsVecExt::reinterpret_into (line 89) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfBitsSliceExt::reinterpret_cast_mut (line 264) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfFloatSliceExt::convert_from_f64_slice (line 107) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfFloatSliceExt::convert_to_f32_slice (line 136) ... FAILED [INFO] [stdout] test src/vec.rs - vec::HalfFloatVecExt::from_f32_slice (line 47) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfFloatSliceExt::to_f64_vec (line 213) ... FAILED [INFO] [stdout] test src/slice.rs - slice::HalfFloatSliceExt::reinterpret_cast (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::is_normal (line 342) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:345:11 [INFO] [stdout] | [INFO] [stdout] 6 | let min = bf16::MIN_POSITIVE; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let min = bf16::MIN_POSITIVE; [INFO] [stdout] 6 + let min = f16::MIN_POSITIVE; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:346:11 [INFO] [stdout] | [INFO] [stdout] 7 | let max = bf16::MAX; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - let max = bf16::MAX; [INFO] [stdout] 7 + let max = f16::MAX; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:347:22 [INFO] [stdout] | [INFO] [stdout] 8 | let lower_than_min = bf16::from_f32(1.0e-39_f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - let lower_than_min = bf16::from_f32(1.0e-39_f32); [INFO] [stdout] 8 + let lower_than_min = f16::from_f32(1.0e-39_f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 9 | let zero = bf16::from_f32(0.0_f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - let zero = bf16::from_f32(0.0_f32); [INFO] [stdout] 9 + let zero = f16::from_f32(0.0_f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:354:10 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!bf16::NAN.is_normal()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 15 - assert!(!bf16::NAN.is_normal()); [INFO] [stdout] 15 + assert!(!f16::NAN.is_normal()); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(!bf16::INFINITY.is_normal()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - assert!(!bf16::INFINITY.is_normal()); [INFO] [stdout] 16 + assert!(!f16::INFINITY.is_normal()); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::classify (line 373) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 5 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:377:11 [INFO] [stdout] | [INFO] [stdout] 7 | let num = bf16::from_f32(12.4_f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - let num = bf16::from_f32(12.4_f32); [INFO] [stdout] 7 + let num = f16::from_f32(12.4_f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:378:11 [INFO] [stdout] | [INFO] [stdout] 8 | let inf = bf16::INFINITY; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - let inf = bf16::INFINITY; [INFO] [stdout] 8 + let inf = f16::INFINITY; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::max (line 501) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 5 | let x = bf16::from_f32(1.0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let x = bf16::from_f32(1.0); [INFO] [stdout] 5 + let x = f16::from_f32(1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 6 | let y = bf16::from_f32(2.0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let y = bf16::from_f32(2.0); [INFO] [stdout] 6 + let y = f16::from_f32(2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::from_be_bytes (line 193) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = bf16::from_be_bytes([0x41, 0x48]); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let value = bf16::from_be_bytes([0x41, 0x48]); [INFO] [stdout] 5 + let value = f16::from_be_bytes([0x41, 0x48]); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(value, bf16::from_f32(12.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(value, bf16::from_f32(12.5)); [INFO] [stdout] 6 + assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::clamp (line 553) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] 5 + assert!(f16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:555:36 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] 5 + assert!(bf16::from_f32(-3.0).clamp(f16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:555:58 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] 5 + assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), f16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:555:82 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(-2.0)); [INFO] [stdout] 5 + assert!(bf16::from_f32(-3.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:556:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] 6 + assert!(f16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:556:35 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] 6 + assert!(bf16::from_f32(0.0).clamp(f16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:556:57 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] 6 + assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), f16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:556:81 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(0.0)); [INFO] [stdout] 6 + assert!(bf16::from_f32(0.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] 7 + assert!(f16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:557:35 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] 7 + assert!(bf16::from_f32(2.0).clamp(f16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:557:57 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] 7 + assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), f16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:557:81 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == bf16::from_f32(1.0)); [INFO] [stdout] 7 + assert!(bf16::from_f32(2.0).clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(bf16::NAN.clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - assert!(bf16::NAN.clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] 8 + assert!(f16::NAN.clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:558:25 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(bf16::NAN.clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - assert!(bf16::NAN.clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] 8 + assert!(bf16::NAN.clamp(f16::from_f32(-2.0), bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:558:47 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(bf16::NAN.clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - assert!(bf16::NAN.clamp(bf16::from_f32(-2.0), bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] 8 + assert!(bf16::NAN.clamp(bf16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::is_finite (line 318) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 6 | let f = bf16::from_f32(7.0f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let f = bf16::from_f32(7.0f32); [INFO] [stdout] 6 + let f = f16::from_f32(7.0f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:322:11 [INFO] [stdout] | [INFO] [stdout] 7 | let inf = bf16::INFINITY; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - let inf = bf16::INFINITY; [INFO] [stdout] 7 + let inf = f16::INFINITY; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 8 | let neg_inf = bf16::NEG_INFINITY; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - let neg_inf = bf16::NEG_INFINITY; [INFO] [stdout] 8 + let neg_inf = f16::NEG_INFINITY; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:324:11 [INFO] [stdout] | [INFO] [stdout] 9 | let nan = bf16::NAN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - let nan = bf16::NAN; [INFO] [stdout] 9 + let nan = f16::NAN; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::is_infinite (line 294) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 6 | let f = bf16::from_f32(7.0f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let f = bf16::from_f32(7.0f32); [INFO] [stdout] 6 + let f = f16::from_f32(7.0f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 7 | let inf = bf16::INFINITY; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - let inf = bf16::INFINITY; [INFO] [stdout] 7 + let inf = f16::INFINITY; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 8 | let neg_inf = bf16::NEG_INFINITY; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - let neg_inf = bf16::NEG_INFINITY; [INFO] [stdout] 8 + let neg_inf = f16::NEG_INFINITY; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 9 | let nan = bf16::NAN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - let nan = bf16::NAN; [INFO] [stdout] 9 + let nan = f16::NAN; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::is_nan (line 275) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = bf16::NAN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let nan = bf16::NAN; [INFO] [stdout] 6 + let nan = f16::NAN; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 7 | let f = bf16::from_f32(7.0_f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - let f = bf16::from_f32(7.0_f32); [INFO] [stdout] 7 + let f = f16::from_f32(7.0_f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::is_sign_positive (line 430) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:433:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = bf16::NAN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let nan = bf16::NAN; [INFO] [stdout] 6 + let nan = f16::NAN; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 7 | let f = bf16::from_f32(7.0_f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - let f = bf16::from_f32(7.0_f32); [INFO] [stdout] 7 + let f = f16::from_f32(7.0_f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 8 | let g = bf16::from_f32(-7.0_f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - let g = bf16::from_f32(-7.0_f32); [INFO] [stdout] 8 + let g = f16::from_f32(-7.0_f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::min (line 524) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 5 | let x = bf16::from_f32(1.0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let x = bf16::from_f32(1.0); [INFO] [stdout] 5 + let x = f16::from_f32(1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 6 | let y = bf16::from_f32(2.0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let y = bf16::from_f32(2.0); [INFO] [stdout] 6 + let y = f16::from_f32(2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::from_ne_bytes (line 212) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = bf16::from_ne_bytes(if cfg!(target_endian = "big") { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let value = bf16::from_ne_bytes(if cfg!(target_endian = "big") { [INFO] [stdout] 5 + let value = f16::from_ne_bytes(if cfg!(target_endian = "big") { [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(value, bf16::from_f32(12.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(value, bf16::from_f32(12.5)); [INFO] [stdout] 10 + assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::copysign (line 478) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 5 | let f = bf16::from_f32(3.5); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let f = bf16::from_f32(3.5); [INFO] [stdout] 5 + let f = f16::from_f32(3.5); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(f.copysign(bf16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(f.copysign(bf16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] 7 + assert_eq!(f.copysign(f16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:482:46 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(f.copysign(bf16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(f.copysign(bf16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] 7 + assert_eq!(f.copysign(bf16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:483:23 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.copysign(bf16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(f.copysign(bf16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] 8 + assert_eq!(f.copysign(f16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:483:47 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.copysign(bf16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(f.copysign(bf16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] 8 + assert_eq!(f.copysign(bf16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:484:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!((-f).copysign(bf16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!((-f).copysign(bf16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] 9 + assert_eq!((-f).copysign(f16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:484:49 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!((-f).copysign(bf16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!((-f).copysign(bf16::from_f32(0.42)), bf16::from_f32(3.5)); [INFO] [stdout] 9 + assert_eq!((-f).copysign(bf16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:485:26 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!((-f).copysign(bf16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!((-f).copysign(bf16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] 10 + assert_eq!((-f).copysign(f16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:485:50 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!((-f).copysign(bf16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!((-f).copysign(bf16::from_f32(-0.42)), bf16::from_f32(-3.5)); [INFO] [stdout] 10 + assert_eq!((-f).copysign(bf16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(bf16::NAN.copysign(bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - assert!(bf16::NAN.copysign(bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] 12 + assert!(f16::NAN.copysign(bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(bf16::NAN.copysign(bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - assert!(bf16::NAN.copysign(bf16::from_f32(1.0)).is_nan()); [INFO] [stdout] 12 + assert!(bf16::NAN.copysign(f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::to_le_bytes (line 123) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = bf16::from_f32(12.5).to_le_bytes(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let bytes = bf16::from_f32(12.5).to_le_bytes(); [INFO] [stdout] 5 + let bytes = f16::from_f32(12.5).to_le_bytes(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::from_le_bytes (line 178) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = bf16::from_le_bytes([0x48, 0x41]); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let value = bf16::from_le_bytes([0x48, 0x41]); [INFO] [stdout] 5 + let value = f16::from_le_bytes([0x48, 0x41]); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(value, bf16::from_f32(12.5)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(value, bf16::from_f32(12.5)); [INFO] [stdout] 6 + assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::is_sign_negative (line 453) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:456:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = bf16::NAN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let nan = bf16::NAN; [INFO] [stdout] 6 + let nan = f16::NAN; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 7 | let f = bf16::from_f32(7.0f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - let f = bf16::from_f32(7.0f32); [INFO] [stdout] 7 + let f = f16::from_f32(7.0f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 8 | let g = bf16::from_f32(-7.0f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - let g = bf16::from_f32(-7.0f32); [INFO] [stdout] 8 + let g = f16::from_f32(-7.0f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::clamp (line 564) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:566:35 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:566:56 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:566:79 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:567:34 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:567:55 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:567:78 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:568:34 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:568:55 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:568:78 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:569:24 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:569:45 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:566:14 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] 5 + assert!(f16::from(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:566:40 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] 5 + assert!(f16::from_f32(-3.0).clamp(f16::from(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:566:61 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] 5 + assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:566:84 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(-2.0)); [INFO] [stdout] 5 + assert!(f16::from_f32(-3.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from(-2.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:567:14 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] 6 + assert!(f16::from(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:567:39 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] 6 + assert!(f16::from_f32(0.0).clamp(f16::from(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:567:60 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] 6 + assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:567:83 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(0.0)); [INFO] [stdout] 6 + assert!(f16::from_f32(0.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from(0.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] 7 + assert!(f16::from(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:568:39 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] 7 + assert!(f16::from_f32(2.0).clamp(f16::from(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:568:60 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] 7 + assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:568:83 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from_f32(1.0)); [INFO] [stdout] 7 + assert!(f16::from_f32(2.0).clamp(f16::from_f32(-2.0), f16::from_f32(1.0)) == f16::from(1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:569:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:569:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] 8 + assert!(f16::NAN.clamp(f16::from(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:569:50 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] 8 + assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from(1.0)).is_nan()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:569:65 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(f16::NAN.clamp(f16::from_f32(-2.0), f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::copysign (line 489) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 5 | let f = f16::from_f32(3.5); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:493:23 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(f.copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:493:45 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(f.copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:494:23 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:494:46 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:495:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!((-f).copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:495:48 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!((-f).copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:496:26 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!((-f).copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:496:49 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!((-f).copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(f16::NAN.copysign(f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:498:27 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(f16::NAN.copysign(f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:491:14 [INFO] [stdout] | [INFO] [stdout] 5 | let f = f16::from_f32(3.5); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let f = f16::from_f32(3.5); [INFO] [stdout] 5 + let f = f16::from(3.5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:493:28 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(f.copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(f.copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] 7 + assert_eq!(f.copysign(f16::from(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:493:50 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(f.copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(f.copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] 7 + assert_eq!(f.copysign(f16::from_f32(0.42)), f16::from(3.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:494:28 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(f.copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] 8 + assert_eq!(f.copysign(f16::from(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:494:51 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(f.copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] 8 + assert_eq!(f.copysign(f16::from_f32(-0.42)), f16::from(-3.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:495:31 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!((-f).copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!((-f).copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] 9 + assert_eq!((-f).copysign(f16::from(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:495:53 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!((-f).copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!((-f).copysign(f16::from_f32(0.42)), f16::from_f32(3.5)); [INFO] [stdout] 9 + assert_eq!((-f).copysign(f16::from_f32(0.42)), f16::from(3.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:496:31 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!((-f).copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!((-f).copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] 10 + assert_eq!((-f).copysign(f16::from(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:496:54 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!((-f).copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!((-f).copysign(f16::from_f32(-0.42)), f16::from_f32(-3.5)); [INFO] [stdout] 10 + assert_eq!((-f).copysign(f16::from_f32(-0.42)), f16::from(-3.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(f16::NAN.copysign(f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:498:18 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(f16::NAN.copysign(f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:498:32 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(f16::NAN.copysign(f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - assert!(f16::NAN.copysign(f16::from_f32(1.0)).is_nan()); [INFO] [stdout] 12 + assert!(f16::NAN.copysign(f16::from(1.0)).is_nan()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:498:47 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(f16::NAN.copysign(f16::from_f32(1.0)).is_nan()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::signum (line 404) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 6 | let f = bf16::from_f32(3.5_f32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let f = bf16::from_f32(3.5_f32); [INFO] [stdout] 6 + let f = f16::from_f32(3.5_f32); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.signum(), bf16::from_f32(1.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(f.signum(), bf16::from_f32(1.0)); [INFO] [stdout] 8 + assert_eq!(f.signum(), f16::from_f32(1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(bf16::NEG_INFINITY.signum(), bf16::from_f32(-1.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(bf16::NEG_INFINITY.signum(), bf16::from_f32(-1.0)); [INFO] [stdout] 9 + assert_eq!(f16::NEG_INFINITY.signum(), bf16::from_f32(-1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:410:41 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(bf16::NEG_INFINITY.signum(), bf16::from_f32(-1.0)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(bf16::NEG_INFINITY.signum(), bf16::from_f32(-1.0)); [INFO] [stdout] 9 + assert_eq!(bf16::NEG_INFINITY.signum(), f16::from_f32(-1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(bf16::NAN.signum().is_nan()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 - assert!(bf16::NAN.signum().is_nan()); [INFO] [stdout] 11 + assert!(f16::NAN.signum().is_nan()); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::to_be_bytes (line 139) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = bf16::from_f32(12.5).to_be_bytes(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let bytes = bf16::from_f32(12.5).to_be_bytes(); [INFO] [stdout] 5 + let bytes = f16::from_f32(12.5).to_be_bytes(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::signum (line 415) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 6 | let f = f16::from_f32(3.5_f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.signum(), f16::from_f32(1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f16::NEG_INFINITY.signum(), f16::from_f32(-1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:421:40 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f16::NEG_INFINITY.signum(), f16::from_f32(-1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(f16::NAN.signum().is_nan()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:418:14 [INFO] [stdout] | [INFO] [stdout] 6 | let f = f16::from_f32(3.5_f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - let f = f16::from_f32(3.5_f32); [INFO] [stdout] 6 + let f = f16::from(3.5_f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:420:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f.signum(), f16::from_f32(1.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(f.signum(), f16::from_f32(1.0)); [INFO] [stdout] 8 + assert_eq!(f.signum(), f16::from(1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f16::NEG_INFINITY.signum(), f16::from_f32(-1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:421:30 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f16::NEG_INFINITY.signum(), f16::from_f32(-1.0)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:421:45 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f16::NEG_INFINITY.signum(), f16::from_f32(-1.0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(f16::NEG_INFINITY.signum(), f16::from_f32(-1.0)); [INFO] [stdout] 9 + assert_eq!(f16::NEG_INFINITY.signum(), f16::from(-1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(f16::NAN.signum().is_nan()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:423:18 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(f16::NAN.signum().is_nan()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:423:27 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(f16::NAN.signum().is_nan()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::from_be_bytes (line 199) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = f16::from_be_bytes([0x4A, 0x40]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = f16::from_be_bytes([0x4A, 0x40]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] 6 + assert_eq!(value, f16::from(12.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::from_le_bytes (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = f16::from_le_bytes([0x40, 0x4A]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = f16::from_le_bytes([0x40, 0x4A]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] 6 + assert_eq!(value, f16::from(12.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::from_ne_bytes (line 218) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = f16::from_ne_bytes(if cfg!(target_endian = "big") { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = f16::from_ne_bytes(if cfg!(target_endian = "big") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(value, f16::from_f32(12.5)); [INFO] [stdout] 10 + assert_eq!(value, f16::from(12.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::classify (line 384) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 5 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:388:11 [INFO] [stdout] | [INFO] [stdout] 7 | let num = f16::from_f32(12.4_f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:389:11 [INFO] [stdout] | [INFO] [stdout] 8 | let inf = f16::INFINITY; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 7 | let num = f16::from_f32(12.4_f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - let num = f16::from_f32(12.4_f32); [INFO] [stdout] 7 + let num = f16::from(12.4_f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:389:11 [INFO] [stdout] | [INFO] [stdout] 8 | let inf = f16::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:392:16 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(inf.classify(), FpCategory::Infinite); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::max (line 512) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 5 | let x = f16::from_f32(1.0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 6 | let y = f16::from_f32(2.0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:514:14 [INFO] [stdout] | [INFO] [stdout] 5 | let x = f16::from_f32(1.0); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let x = f16::from_f32(1.0); [INFO] [stdout] 5 + let x = f16::from(1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:515:14 [INFO] [stdout] | [INFO] [stdout] 6 | let y = f16::from_f32(2.0); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - let y = f16::from_f32(2.0); [INFO] [stdout] 6 + let y = f16::from(2.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::to_be_bytes (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = f16::from_f32(12.5).to_be_bytes(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = f16::from_f32(12.5).to_be_bytes(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let bytes = f16::from_f32(12.5).to_be_bytes(); [INFO] [stdout] 5 + let bytes = f16::from(12.5).to_be_bytes(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::is_nan (line 285) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = f16::NAN; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 7 | let f = f16::from_f32(7.0_f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = f16::NAN; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 7 | let f = f16::from_f32(7.0_f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - let f = f16::from_f32(7.0_f32); [INFO] [stdout] 7 + let f = f16::from(7.0_f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(nan.is_nan()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::is_infinite (line 305) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 6 | let f = f16::from_f32(7.0f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 7 | let inf = f16::INFINITY; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 8 | let neg_inf = f16::NEG_INFINITY; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 9 | let nan = f16::NAN; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 6 | let f = f16::from_f32(7.0f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - let f = f16::from_f32(7.0f32); [INFO] [stdout] 6 + let f = f16::from(7.0f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 7 | let inf = f16::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 8 | let neg_inf = f16::NEG_INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 9 | let nan = f16::NAN; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(!nan.is_infinite()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(inf.is_infinite()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(neg_inf.is_infinite()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::total_cmp (line 604) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `half` [INFO] [stdout] --> src/bfloat.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::bf16; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::to_le_bytes (line 129) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = f16::from_f32(12.5).to_le_bytes(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = f16::from_f32(12.5).to_le_bytes(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let bytes = f16::from_f32(12.5).to_le_bytes(); [INFO] [stdout] 5 + let bytes = f16::from(12.5).to_le_bytes(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bfloat.rs - bfloat::bf16::to_ne_bytes (line 159) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/bfloat.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bf16` [INFO] [stdout] --> src/bfloat.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = bf16::from_f32(12.5).to_ne_bytes(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bf16` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bf16`, use `cargo add bf16` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let bytes = bf16::from_f32(12.5).to_ne_bytes(); [INFO] [stdout] 5 + let bytes = f16::from_f32(12.5).to_ne_bytes(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::x86_64::bf16; [INFO] [stdout] | [INFO] [stdout] 3 + use half_2::bf16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::is_normal (line 353) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 6 | let min = f16::MIN_POSITIVE; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:357:11 [INFO] [stdout] | [INFO] [stdout] 7 | let max = f16::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 8 | let lower_than_min = f16::from_f32(1.0e-10_f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 9 | let zero = f16::from_f32(0.0_f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!f16::NAN.is_normal()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(!f16::INFINITY.is_normal()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 6 | let min = f16::MIN_POSITIVE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:357:11 [INFO] [stdout] | [INFO] [stdout] 7 | let max = f16::MAX; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:358:27 [INFO] [stdout] | [INFO] [stdout] 8 | let lower_than_min = f16::from_f32(1.0e-10_f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let lower_than_min = f16::from_f32(1.0e-10_f32); [INFO] [stdout] 8 + let lower_than_min = f16::from(1.0e-10_f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 9 | let zero = f16::from_f32(0.0_f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - let zero = f16::from_f32(0.0_f32); [INFO] [stdout] 9 + let zero = f16::from(0.0_f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(min.is_normal()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(max.is_normal()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!f16::NAN.is_normal()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:365:19 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!f16::NAN.is_normal()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(!f16::INFINITY.is_normal()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:366:24 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(!f16::INFINITY.is_normal()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::is_sign_negative (line 464) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:467:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = f16::NAN; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 7 | let f = f16::from_f32(7.0f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 8 | let g = f16::from_f32(-7.0f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:467:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = f16::NAN; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:468:14 [INFO] [stdout] | [INFO] [stdout] 7 | let f = f16::from_f32(7.0f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - let f = f16::from_f32(7.0f32); [INFO] [stdout] 7 + let f = f16::from(7.0f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:469:14 [INFO] [stdout] | [INFO] [stdout] 8 | let g = f16::from_f32(-7.0f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let g = f16::from_f32(-7.0f32); [INFO] [stdout] 8 + let g = f16::from(-7.0f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(nan.is_sign_positive() != nan.is_sign_negative()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:474:39 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(nan.is_sign_positive() != nan.is_sign_negative()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - prelude (line 231) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/lib.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::is_sign_positive (line 441) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:444:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = f16::NAN; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 7 | let f = f16::from_f32(7.0_f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 8 | let g = f16::from_f32(-7.0_f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:444:11 [INFO] [stdout] | [INFO] [stdout] 6 | let nan = f16::NAN; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 7 | let f = f16::from_f32(7.0_f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - let f = f16::from_f32(7.0_f32); [INFO] [stdout] 7 + let f = f16::from(7.0_f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:446:14 [INFO] [stdout] | [INFO] [stdout] 8 | let g = f16::from_f32(-7.0_f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let g = f16::from_f32(-7.0_f32); [INFO] [stdout] 8 + let g = f16::from(-7.0_f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(nan.is_sign_positive() != nan.is_sign_negative()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:451:39 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(nan.is_sign_positive() != nan.is_sign_negative()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::to_ne_bytes (line 165) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = f16::from_f32(12.5).to_ne_bytes(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = f16::from_f32(12.5).to_ne_bytes(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let bytes = f16::from_f32(12.5).to_ne_bytes(); [INFO] [stdout] 5 + let bytes = f16::from(12.5).to_ne_bytes(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfBitsSliceExt::reinterpret_cast (line 238) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:240:48 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:240:77 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 6 | let float_buffer: &[f16] = int_buffer.reinterpret_cast(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:243:46 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:243:65 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:247:50 [INFO] [stdout] | [INFO] [stdout] 12 | let typed_buffer = int_buffer.reinterpret_cast::(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let int_buffer = [f16::from(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:240:53 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let int_buffer = [f16::from_f32(1.).to_bits(), f16::from(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:240:82 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 8 + assert_eq!(float_buffer, [f16::from(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:243:51 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 8 + assert_eq!(float_buffer, [f16::from_f32(1.), f16::from(2.), f16::from_f32(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:243:70 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 8 + assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::is_finite (line 329) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 6 | let f = f16::from_f32(7.0f32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:333:11 [INFO] [stdout] | [INFO] [stdout] 7 | let inf = f16::INFINITY; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:334:15 [INFO] [stdout] | [INFO] [stdout] 8 | let neg_inf = f16::NEG_INFINITY; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:335:11 [INFO] [stdout] | [INFO] [stdout] 9 | let nan = f16::NAN; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:332:14 [INFO] [stdout] | [INFO] [stdout] 6 | let f = f16::from_f32(7.0f32); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - let f = f16::from_f32(7.0f32); [INFO] [stdout] 6 + let f = f16::from(7.0f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:333:11 [INFO] [stdout] | [INFO] [stdout] 7 | let inf = f16::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:334:15 [INFO] [stdout] | [INFO] [stdout] 8 | let neg_inf = f16::NEG_INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:335:11 [INFO] [stdout] | [INFO] [stdout] 9 | let nan = f16::NAN; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(!nan.is_finite()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(!inf.is_finite()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `f16` [INFO] [stdout] --> src/binary16.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!neg_inf.is_finite()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfFloatSliceExt::to_f32_vec (line 191) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:193:39 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:193:58 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:193:77 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] 5 + let half_values = [f16::from(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] 5 + let half_values = [f16::from_f32(1.), f16::from(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:193:63 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] 5 + let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from(3.), f16::from_f32(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:193:82 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] 5 + let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::total_cmp (line 615) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `half` [INFO] [stdout] --> src/binary16.rs:616:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::f16; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binary16.rs - binary16::f16::min (line 535) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/binary16.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 5 | let x = f16::from_f32(1.0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/binary16.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 6 | let y = f16::from_f32(2.0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:537:14 [INFO] [stdout] | [INFO] [stdout] 5 | let x = f16::from_f32(1.0); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let x = f16::from_f32(1.0); [INFO] [stdout] 5 + let x = f16::from(1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/binary16.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 6 | let y = f16::from_f32(2.0); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - let y = f16::from_f32(2.0); [INFO] [stdout] 6 + let y = f16::from(2.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfFloatSliceExt::convert_to_f64_slice (line 164) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:169:58 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:169:77 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] 8 + let half_values = [f16::from(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] 8 + let half_values = [f16::from_f64(1.), f16::from(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:169:63 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] 8 + let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from(3.), f16::from_f64(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:169:82 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] 8 + let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfFloatSliceExt::reinterpret_cast_mut (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 5 | let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 5 | let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:47:63 [INFO] [stdout] | [INFO] [stdout] 5 | let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:52:58 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:52:87 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:59:65 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let mut float_buffer = [f16::from(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 5 | let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let mut float_buffer = [f16::from_f32(1.), f16::from(2.), f16::from_f32(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:47:68 [INFO] [stdout] | [INFO] [stdout] 5 | let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let mut float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 10 + assert_eq!(int_buffer, [f16::from(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:52:63 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 10 + assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:52:92 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 10 + assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 17 + assert_eq!(float_buffer, [f16::from(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 17 + assert_eq!(float_buffer, [f16::from_f32(0.), f16::from(2.), f16::from_f32(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 17 + assert_eq!(float_buffer, [f16::from_f32(0.), f16::from_f32(2.), f16::from(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfFloatSliceExt::convert_from_f32_slice (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 7 | let buffer = buffer.reinterpret_cast_mut::(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:89:59 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:89:78 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reinterpret_cast_mut` found for array `[u16; 4]` in the current scope [INFO] [stdout] --> src/slice.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 7 | let buffer = buffer.reinterpret_cast_mut::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `[u16; 4]` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] 14 + assert_eq!(buffer, [f16::from(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] 14 + assert_eq!(buffer, [f16::from_f32(1.), f16::from(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:89:64 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] 14 + assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from(3.), f16::from_f32(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:89:83 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] 14 + assert_eq!(buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::HalfFloatVecExt::reinterpret_into (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/vec.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:34:83 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let float_buffer = vec![f16::from(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let float_buffer = vec![f16::from_f32(1.), f16::from(2.), f16::from_f32(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let float_buffer = vec![f16::from_f32(1.), f16::from_f32(2.), f16::from(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 8 + assert_eq!(int_buffer, [f16::from(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 8 + assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:34:88 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 8 + assert_eq!(int_buffer, [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::HalfFloatVecExt::from_f64_slice (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/vec.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 6 | let vec: Vec = Vec::from_f64_slice(&float_values); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:70:60 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:70:79 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/vec.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 6 | let vec: Vec = Vec::from_f64_slice(&float_values); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] 8 + assert_eq!(vec, vec![f16::from(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] 8 + assert_eq!(vec, vec![f16::from_f64(1.), f16::from(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:70:65 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] 8 + assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from(3.), f16::from_f64(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] 8 + assert_eq!(vec, vec![f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::HalfBitsVecExt::reinterpret_into (line 89) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/vec.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:91:52 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:91:81 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:92:50 [INFO] [stdout] | [INFO] [stdout] 6 | let float_buffer = int_buffer.reinterpret_into::(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:94:65 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let int_buffer = vec![f16::from(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:91:57 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:91:86 [INFO] [stdout] | [INFO] [stdout] 5 | let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let int_buffer = vec![f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 8 + assert_eq!(float_buffer, [f16::from(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:94:51 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 8 + assert_eq!(float_buffer, [f16::from_f32(1.), f16::from(2.), f16::from_f32(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:94:70 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 8 + assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfBitsSliceExt::reinterpret_cast_mut (line 264) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 5 | let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:266:52 [INFO] [stdout] | [INFO] [stdout] 5 | let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:266:81 [INFO] [stdout] | [INFO] [stdout] 5 | let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 8 | let float_buffer: &mut [f16] = int_buffer.reinterpret_cast_mut(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:271:31 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:271:50 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:271:69 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 13 | float_buffer[0] = f16::from_f32(0.); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:278:83 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:282:54 [INFO] [stdout] | [INFO] [stdout] 21 | let typed_buffer = int_buffer.reinterpret_cast_mut::(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:266:28 [INFO] [stdout] | [INFO] [stdout] 5 | let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let mut int_buffer = [f16::from(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:266:57 [INFO] [stdout] | [INFO] [stdout] 5 | let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:266:86 [INFO] [stdout] | [INFO] [stdout] 5 | let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]; [INFO] [stdout] 5 + let mut int_buffer = [f16::from_f32(1.).to_bits(), f16::from_f32(2.).to_bits(), f16::from(3.).to_bits()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:271:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 10 + assert_eq!(float_buffer, [f16::from(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:271:55 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 10 + assert_eq!(float_buffer, [f16::from_f32(1.), f16::from(2.), f16::from_f32(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:271:74 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]); [INFO] [stdout] 10 + assert_eq!(float_buffer, [f16::from_f32(1.), f16::from_f32(2.), f16::from(3.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 13 | float_buffer[0] = f16::from_f32(0.); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 13 - float_buffer[0] = f16::from_f32(0.); [INFO] [stdout] 13 + float_buffer[0] = f16::from(0.); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 17 + assert_eq!(int_buffer, [f16::from(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:278:59 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 17 + assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:278:88 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from_f32(3.).to_bits()]); [INFO] [stdout] 17 + assert_eq!(int_buffer, [f16::from_f32(0.).to_bits(), f16::from_f32(2.).to_bits(), f16::from(3.).to_bits()]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfFloatSliceExt::convert_from_f64_slice (line 107) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 7 | let buffer = buffer.reinterpret_cast_mut::(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:118:59 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:118:78 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reinterpret_cast_mut` found for array `[u16; 4]` in the current scope [INFO] [stdout] --> src/slice.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 7 | let buffer = buffer.reinterpret_cast_mut::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `[u16; 4]` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] 14 + assert_eq!(buffer, [f16::from(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:118:45 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] 14 + assert_eq!(buffer, [f16::from_f64(1.), f16::from(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:118:64 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] 14 + assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from(3.), f16::from_f64(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:118:83 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]); [INFO] [stdout] 14 + assert_eq!(buffer, [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfFloatSliceExt::convert_to_f32_slice (line 136) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:141:58 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:141:77 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] 8 + let half_values = [f16::from(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] 8 + let half_values = [f16::from_f32(1.), f16::from(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:141:63 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] 8 + let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from(3.), f16::from_f32(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:141:82 [INFO] [stdout] | [INFO] [stdout] 8 | let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]; [INFO] [stdout] 8 + let half_values = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::HalfFloatVecExt::from_f32_slice (line 47) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/vec.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 6 | let vec: Vec = Vec::from_f32_slice(&float_values); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:52:60 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/vec.rs:52:79 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32_slice` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/vec.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 6 | let vec: Vec = Vec::from_f32_slice(&float_values); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] 8 + assert_eq!(vec, vec![f16::from(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] 8 + assert_eq!(vec, vec![f16::from_f32(1.), f16::from(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:52:65 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] 8 + assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from(3.), f16::from_f32(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/vec.rs:52:84 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from_f32(4.)]); [INFO] [stdout] 8 + assert_eq!(vec, vec![f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.), f16::from(4.)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfFloatSliceExt::to_f64_vec (line 213) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:215:58 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:215:77 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] 5 + let half_values = [f16::from(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:215:44 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] 5 + let half_values = [f16::from_f64(1.), f16::from(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:215:63 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] 5 + let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from(3.), f16::from_f64(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:215:82 [INFO] [stdout] | [INFO] [stdout] 5 | let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from_f64(4.)]; [INFO] [stdout] 5 + let half_values = [f16::from_f64(1.), f16::from_f64(2.), f16::from_f64(3.), f16::from(4.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::HalfFloatSliceExt::reinterpret_cast (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `half` [INFO] [stdout] --> src/slice.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 4 | use half::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `half` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `half`, use `cargo add half` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: the type `f16` is unstable [INFO] [stdout] --> src/slice.rs:29:59 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #116909 for more information [INFO] [stdout] = help: add `#![feature(f16)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let float_buffer = [f16::from(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let float_buffer = [f16::from_f32(1.), f16::from(2.), f16::from_f32(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f32` found for type `f16` in the current scope [INFO] [stdout] --> src/slice.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 5 | let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `f16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from_f32(3.)]; [INFO] [stdout] 5 + let float_buffer = [f16::from_f32(1.), f16::from_f32(2.), f16::from(3.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/bfloat.rs - bfloat::bf16::clamp (line 553) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::classify (line 373) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::copysign (line 478) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::from_be_bytes (line 193) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::from_le_bytes (line 178) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::from_ne_bytes (line 212) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::is_finite (line 318) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::is_infinite (line 294) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::is_nan (line 275) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::is_normal (line 342) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::is_sign_negative (line 453) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::is_sign_positive (line 430) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::max (line 501) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::min (line 524) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::signum (line 404) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::to_be_bytes (line 139) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::to_le_bytes (line 123) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::to_ne_bytes (line 159) [INFO] [stdout] src/bfloat.rs - bfloat::bf16::total_cmp (line 604) [INFO] [stdout] src/binary16.rs - binary16::f16::clamp (line 564) [INFO] [stdout] src/binary16.rs - binary16::f16::classify (line 384) [INFO] [stdout] src/binary16.rs - binary16::f16::copysign (line 489) [INFO] [stdout] src/binary16.rs - binary16::f16::from_be_bytes (line 199) [INFO] [stdout] src/binary16.rs - binary16::f16::from_le_bytes (line 184) [INFO] [stdout] src/binary16.rs - binary16::f16::from_ne_bytes (line 218) [INFO] [stdout] src/binary16.rs - binary16::f16::is_finite (line 329) [INFO] [stdout] src/binary16.rs - binary16::f16::is_infinite (line 305) [INFO] [stdout] src/binary16.rs - binary16::f16::is_nan (line 285) [INFO] [stdout] src/binary16.rs - binary16::f16::is_normal (line 353) [INFO] [stdout] src/binary16.rs - binary16::f16::is_sign_negative (line 464) [INFO] [stdout] src/binary16.rs - binary16::f16::is_sign_positive (line 441) [INFO] [stdout] src/binary16.rs - binary16::f16::max (line 512) [INFO] [stdout] src/binary16.rs - binary16::f16::min (line 535) [INFO] [stdout] src/binary16.rs - binary16::f16::signum (line 415) [INFO] [stdout] src/binary16.rs - binary16::f16::to_be_bytes (line 145) [INFO] [stdout] src/binary16.rs - binary16::f16::to_le_bytes (line 129) [INFO] [stdout] src/binary16.rs - binary16::f16::to_ne_bytes (line 165) [INFO] [stdout] src/binary16.rs - binary16::f16::total_cmp (line 615) [INFO] [stdout] src/lib.rs - prelude (line 231) [INFO] [stdout] src/slice.rs - slice::HalfBitsSliceExt::reinterpret_cast (line 238) [INFO] [stdout] src/slice.rs - slice::HalfBitsSliceExt::reinterpret_cast_mut (line 264) [INFO] [stdout] src/slice.rs - slice::HalfFloatSliceExt::convert_from_f32_slice (line 78) [INFO] [stdout] src/slice.rs - slice::HalfFloatSliceExt::convert_from_f64_slice (line 107) [INFO] [stdout] src/slice.rs - slice::HalfFloatSliceExt::convert_to_f32_slice (line 136) [INFO] [stdout] src/slice.rs - slice::HalfFloatSliceExt::convert_to_f64_slice (line 164) [INFO] [stdout] src/slice.rs - slice::HalfFloatSliceExt::reinterpret_cast (line 27) [INFO] [stdout] src/slice.rs - slice::HalfFloatSliceExt::reinterpret_cast_mut (line 45) [INFO] [stdout] src/slice.rs - slice::HalfFloatSliceExt::to_f32_vec (line 191) [INFO] [stdout] src/slice.rs - slice::HalfFloatSliceExt::to_f64_vec (line 213) [INFO] [stdout] src/vec.rs - vec::HalfBitsVecExt::reinterpret_into (line 89) [INFO] [stdout] src/vec.rs - vec::HalfFloatVecExt::from_f32_slice (line 47) [INFO] [stdout] src/vec.rs - vec::HalfFloatVecExt::from_f64_slice (line 65) [INFO] [stdout] src/vec.rs - vec::HalfFloatVecExt::reinterpret_into (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 53 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c76c48561b1daa6c1fc01d3ef354779cd2c460da332c2dea472582f3839a096f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76c48561b1daa6c1fc01d3ef354779cd2c460da332c2dea472582f3839a096f", kill_on_drop: false }` [INFO] [stdout] c76c48561b1daa6c1fc01d3ef354779cd2c460da332c2dea472582f3839a096f