[INFO] fetching crate zyx 0.14.0... [INFO] checking zyx-0.14.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate zyx 0.14.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate zyx 0.14.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zyx 0.14.0 [INFO] tweaked toml for crates.io crate zyx 0.14.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zyx 0.14.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 158 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.22.6 (available: v0.26.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding wgpu v22.1.0 (available: v26.0.1) [INFO] [stderr] Adding xdg v2.5.2 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06aa8946e5096605b1afde5167b35d240c30c93b77062834a6f5e7c22c1286bf [INFO] running `Command { std: "docker" "start" "-a" "06aa8946e5096605b1afde5167b35d240c30c93b77062834a6f5e7c22c1286bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06aa8946e5096605b1afde5167b35d240c30c93b77062834a6f5e7c22c1286bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06aa8946e5096605b1afde5167b35d240c30c93b77062834a6f5e7c22c1286bf", kill_on_drop: false }` [INFO] [stdout] 06aa8946e5096605b1afde5167b35d240c30c93b77062834a6f5e7c22c1286bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6b4e2bffd9732686a63ea9f04fafc4b8ab965741e46a1f931c2a85fac3c512e [INFO] running `Command { std: "docker" "start" "-a" "d6b4e2bffd9732686a63ea9f04fafc4b8ab965741e46a1f931c2a85fac3c512e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking inline_colorization v0.1.6 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bitcode_derive v0.6.7 [INFO] [stderr] Checking bitcode v0.6.7 [INFO] [stderr] Checking zyx v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/tensor.rs:2097:40 [INFO] [stdout] | [INFO] [stdout] 2097 | .map(|((k, i), d)| (0..(k * (i + d)) as isize)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2097 - .map(|((k, i), d)| (0..(k * (i + d)) as isize)), [INFO] [stdout] 2097 + .map(|((k, i), d)| 0..(k * (i + d)) as isize), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/tensor.rs:2097:40 [INFO] [stdout] | [INFO] [stdout] 2097 | .map(|((k, i), d)| (0..(k * (i + d)) as isize)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2097 - .map(|((k, i), d)| (0..(k * (i + d)) as isize)), [INFO] [stdout] 2097 + .map(|((k, i), d)| 0..(k * (i + d)) as isize), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/dtype.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | return f.write_fmt(format_args!("{}", unsafe { t::<_, f32>(*value) })); [INFO] [stdout] | -----------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/dtype.rs:99:64 [INFO] [stdout] | [INFO] [stdout] 99 | return f.write_fmt(format_args!("{}", unsafe { t::<_, f64>(*value) })); [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/dtype.rs:232:50 [INFO] [stdout] | [INFO] [stdout] 232 | DType::F32 => Constant::F32(unsafe { core::mem::transmute(0f32) }), [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/dtype.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | DType::F64 => Constant::F64(unsafe { core::mem::transmute(0f64) }), [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/dtype.rs:253:50 [INFO] [stdout] | [INFO] [stdout] 253 | DType::F32 => Constant::F32(unsafe { core::mem::transmute(f32::MIN) }), [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/dtype.rs:254:50 [INFO] [stdout] | [INFO] [stdout] 254 | DType::F64 => Constant::F64(unsafe { core::mem::transmute(f64::MIN) }), [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/runtime/backend/cuda.rs:1239:44 [INFO] [stdout] | [INFO] [stdout] 1239 | format!("{:.12}", unsafe { t::<_, f32>(*x) }) [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/runtime/backend/cuda.rs:1245:44 [INFO] [stdout] | [INFO] [stdout] 1245 | format!("{:.12}", unsafe { t::<_, f64>(*x) }) [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/runtime/backend/cuda.rs:1313:39 [INFO] [stdout] | [INFO] [stdout] 1313 | let x: f32 = unsafe { t::<_, f32>(*x) }; [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/runtime/backend/hip.rs:724:57 [INFO] [stdout] | [INFO] [stdout] 724 | Constant::F32(x) => format!("{}f", unsafe { t::<_, f32>(*x) }), [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/runtime/backend/hip.rs:725:57 [INFO] [stdout] | [INFO] [stdout] 725 | Constant::F64(x) => format!("{}f", unsafe { t::<_, f64>(*x) }), [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/runtime/backend/opencl.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | core::mem::transmute([ [INFO] [stdout] | ^------------------- [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 576 | | mwis[i * 8 + 0], [INFO] [stdout] 577 | | mwis[i * 8 + 1], [INFO] [stdout] 578 | | mwis[i * 8 + 2], [INFO] [stdout] ... | [INFO] [stdout] 583 | | mwis[i * 8 + 7], [INFO] [stdout] 584 | | ]) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/runtime/backend/opencl.rs:1214:61 [INFO] [stdout] | [INFO] [stdout] 1214 | Constant::F32(x) => format!("{:.16}f", unsafe { t::<_, f32>(*x) }), [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/runtime/backend/opencl.rs:1215:61 [INFO] [stdout] | [INFO] [stdout] 1215 | Constant::F64(x) => format!("{:.16}f", unsafe { t::<_, f64>(*x) }), [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/runtime/node.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | DType::F32 => Constant::F32(unsafe { std::mem::transmute(self.cast::()) }), [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/runtime/node.rs:158:50 [INFO] [stdout] | [INFO] [stdout] 158 | DType::F64 => Constant::F64(unsafe { std::mem::transmute(self.cast::()) }), [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/runtime/node.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | Constant::F32(x) => unsafe { t::<_, f32>(x) }.cast_dtype(dtype), [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/runtime/node.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | Constant::F64(x) => unsafe { t::<_, f64>(x) }.cast_dtype(dtype), [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/runtime/node.rs:203:60 [INFO] [stdout] | [INFO] [stdout] 203 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).relu()) }), [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/runtime/node.rs:203:62 [INFO] [stdout] | [INFO] [stdout] 203 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).relu()) }), [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/runtime/node.rs:204:60 [INFO] [stdout] | [INFO] [stdout] 204 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).relu()) }), [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/runtime/node.rs:204:62 [INFO] [stdout] | [INFO] [stdout] 204 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).relu()) }), [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/runtime/node.rs:222:60 [INFO] [stdout] | [INFO] [stdout] 222 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).neg()) }), [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/runtime/node.rs:222:62 [INFO] [stdout] | [INFO] [stdout] 222 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).neg()) }), [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/runtime/node.rs:223:60 [INFO] [stdout] | [INFO] [stdout] 223 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).neg()) }), [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/runtime/node.rs:223:62 [INFO] [stdout] | [INFO] [stdout] 223 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).neg()) }), [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/runtime/node.rs:241:60 [INFO] [stdout] | [INFO] [stdout] 241 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).exp2()) }), [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/runtime/node.rs:241:62 [INFO] [stdout] | [INFO] [stdout] 241 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).exp2()) }), [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/runtime/node.rs:242:60 [INFO] [stdout] | [INFO] [stdout] 242 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).exp2()) }), [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/runtime/node.rs:242:62 [INFO] [stdout] | [INFO] [stdout] 242 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).exp2()) }), [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/runtime/node.rs:260:60 [INFO] [stdout] | [INFO] [stdout] 260 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).log2()) }), [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/runtime/node.rs:260:62 [INFO] [stdout] | [INFO] [stdout] 260 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).log2()) }), [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/runtime/node.rs:261:60 [INFO] [stdout] | [INFO] [stdout] 261 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).log2()) }), [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/runtime/node.rs:261:62 [INFO] [stdout] | [INFO] [stdout] 261 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).log2()) }), [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/runtime/node.rs:283:60 [INFO] [stdout] | [INFO] [stdout] 283 | Constant::F32(x) => Constant::F32(unsafe { t(1f32 / t::<_, f32>(x)) }), [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/runtime/node.rs:283:69 [INFO] [stdout] | [INFO] [stdout] 283 | Constant::F32(x) => Constant::F32(unsafe { t(1f32 / t::<_, f32>(x)) }), [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/runtime/node.rs:284:60 [INFO] [stdout] | [INFO] [stdout] 284 | Constant::F64(x) => Constant::F64(unsafe { t(1f64 / t::<_, f64>(x)) }), [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/runtime/node.rs:284:69 [INFO] [stdout] | [INFO] [stdout] 284 | Constant::F64(x) => Constant::F64(unsafe { t(1f64 / t::<_, f64>(x)) }), [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/runtime/node.rs:302:60 [INFO] [stdout] | [INFO] [stdout] 302 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).sqrt()) }), [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/runtime/node.rs:302:62 [INFO] [stdout] | [INFO] [stdout] 302 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).sqrt()) }), [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/runtime/node.rs:303:60 [INFO] [stdout] | [INFO] [stdout] 303 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).sqrt()) }), [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/runtime/node.rs:303:62 [INFO] [stdout] | [INFO] [stdout] 303 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).sqrt()) }), [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/runtime/node.rs:321:60 [INFO] [stdout] | [INFO] [stdout] 321 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).sin()) }), [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/runtime/node.rs:321:62 [INFO] [stdout] | [INFO] [stdout] 321 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).sin()) }), [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/runtime/node.rs:322:60 [INFO] [stdout] | [INFO] [stdout] 322 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).sin()) }), [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/runtime/node.rs:322:62 [INFO] [stdout] | [INFO] [stdout] 322 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).sin()) }), [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/runtime/node.rs:340:60 [INFO] [stdout] | [INFO] [stdout] 340 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).cos()) }), [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/runtime/node.rs:340:62 [INFO] [stdout] | [INFO] [stdout] 340 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).cos()) }), [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/runtime/node.rs:341:60 [INFO] [stdout] | [INFO] [stdout] 341 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).cos()) }), [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/runtime/node.rs:341:62 [INFO] [stdout] | [INFO] [stdout] 341 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).cos()) }), [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/runtime/node.rs:360:44 [INFO] [stdout] | [INFO] [stdout] 360 | Constant::F32(unsafe { t(if t::<_, f32>(x) == 0f32 { 1f32 } else { 0f32 }) }) [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/runtime/node.rs:360:49 [INFO] [stdout] | [INFO] [stdout] 360 | Constant::F32(unsafe { t(if t::<_, f32>(x) == 0f32 { 1f32 } else { 0f32 }) }) [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/runtime/node.rs:363:44 [INFO] [stdout] | [INFO] [stdout] 363 | Constant::F64(unsafe { t(if t::<_, f64>(x) == 0f64 { 1f64 } else { 0f64 }) }) [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/runtime/node.rs:363:49 [INFO] [stdout] | [INFO] [stdout] 363 | Constant::F64(unsafe { t(if t::<_, f64>(x) == 0f64 { 1f64 } else { 0f64 }) }) [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/runtime/node.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | Constant::F32(unsafe { t((t::<_, f32>(x) != 0.) as i32 as f32) }) [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/runtime/node.rs:383:47 [INFO] [stdout] | [INFO] [stdout] 383 | Constant::F32(unsafe { t((t::<_, f32>(x) != 0.) as i32 as f32) }) [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/runtime/node.rs:386:44 [INFO] [stdout] | [INFO] [stdout] 386 | Constant::F64(unsafe { t((t::<_, f64>(x) != 0.) as i64 as f64) }) [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/runtime/node.rs:386:47 [INFO] [stdout] | [INFO] [stdout] 386 | Constant::F64(unsafe { t((t::<_, f64>(x) != 0.) as i64 as f64) }) [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/dtype.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | return f.write_fmt(format_args!("{}", unsafe { t::<_, f32>(*value) })); [INFO] [stdout] | -----------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/dtype.rs:99:64 [INFO] [stdout] | [INFO] [stdout] 99 | return f.write_fmt(format_args!("{}", unsafe { t::<_, f64>(*value) })); [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/dtype.rs:232:50 [INFO] [stdout] | [INFO] [stdout] 232 | DType::F32 => Constant::F32(unsafe { core::mem::transmute(0f32) }), [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/dtype.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | DType::F64 => Constant::F64(unsafe { core::mem::transmute(0f64) }), [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/dtype.rs:253:50 [INFO] [stdout] | [INFO] [stdout] 253 | DType::F32 => Constant::F32(unsafe { core::mem::transmute(f32::MIN) }), [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/dtype.rs:254:50 [INFO] [stdout] | [INFO] [stdout] 254 | DType::F64 => Constant::F64(unsafe { core::mem::transmute(f64::MIN) }), [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/runtime/backend/cuda.rs:1239:44 [INFO] [stdout] | [INFO] [stdout] 1239 | format!("{:.12}", unsafe { t::<_, f32>(*x) }) [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/runtime/backend/cuda.rs:1245:44 [INFO] [stdout] | [INFO] [stdout] 1245 | format!("{:.12}", unsafe { t::<_, f64>(*x) }) [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/runtime/backend/cuda.rs:1313:39 [INFO] [stdout] | [INFO] [stdout] 1313 | let x: f32 = unsafe { t::<_, f32>(*x) }; [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/runtime/backend/hip.rs:724:57 [INFO] [stdout] | [INFO] [stdout] 724 | Constant::F32(x) => format!("{}f", unsafe { t::<_, f32>(*x) }), [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/runtime/backend/hip.rs:725:57 [INFO] [stdout] | [INFO] [stdout] 725 | Constant::F64(x) => format!("{}f", unsafe { t::<_, f64>(*x) }), [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/runtime/backend/opencl.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | core::mem::transmute([ [INFO] [stdout] | ^------------------- [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 576 | | mwis[i * 8 + 0], [INFO] [stdout] 577 | | mwis[i * 8 + 1], [INFO] [stdout] 578 | | mwis[i * 8 + 2], [INFO] [stdout] ... | [INFO] [stdout] 583 | | mwis[i * 8 + 7], [INFO] [stdout] 584 | | ]) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/runtime/backend/opencl.rs:1214:61 [INFO] [stdout] | [INFO] [stdout] 1214 | Constant::F32(x) => format!("{:.16}f", unsafe { t::<_, f32>(*x) }), [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/runtime/backend/opencl.rs:1215:61 [INFO] [stdout] | [INFO] [stdout] 1215 | Constant::F64(x) => format!("{:.16}f", unsafe { t::<_, f64>(*x) }), [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/runtime/node.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | DType::F32 => Constant::F32(unsafe { std::mem::transmute(self.cast::()) }), [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/runtime/node.rs:158:50 [INFO] [stdout] | [INFO] [stdout] 158 | DType::F64 => Constant::F64(unsafe { std::mem::transmute(self.cast::()) }), [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/runtime/node.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | Constant::F32(x) => unsafe { t::<_, f32>(x) }.cast_dtype(dtype), [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/runtime/node.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | Constant::F64(x) => unsafe { t::<_, f64>(x) }.cast_dtype(dtype), [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/runtime/node.rs:203:60 [INFO] [stdout] | [INFO] [stdout] 203 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).relu()) }), [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/runtime/node.rs:203:62 [INFO] [stdout] | [INFO] [stdout] 203 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).relu()) }), [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/runtime/node.rs:204:60 [INFO] [stdout] | [INFO] [stdout] 204 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).relu()) }), [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/runtime/node.rs:204:62 [INFO] [stdout] | [INFO] [stdout] 204 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).relu()) }), [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/runtime/node.rs:222:60 [INFO] [stdout] | [INFO] [stdout] 222 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).neg()) }), [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/runtime/node.rs:222:62 [INFO] [stdout] | [INFO] [stdout] 222 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).neg()) }), [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/runtime/node.rs:223:60 [INFO] [stdout] | [INFO] [stdout] 223 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).neg()) }), [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/runtime/node.rs:223:62 [INFO] [stdout] | [INFO] [stdout] 223 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).neg()) }), [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/runtime/node.rs:241:60 [INFO] [stdout] | [INFO] [stdout] 241 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).exp2()) }), [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/runtime/node.rs:241:62 [INFO] [stdout] | [INFO] [stdout] 241 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).exp2()) }), [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/runtime/node.rs:242:60 [INFO] [stdout] | [INFO] [stdout] 242 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).exp2()) }), [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/runtime/node.rs:242:62 [INFO] [stdout] | [INFO] [stdout] 242 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).exp2()) }), [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/runtime/node.rs:260:60 [INFO] [stdout] | [INFO] [stdout] 260 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).log2()) }), [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/runtime/node.rs:260:62 [INFO] [stdout] | [INFO] [stdout] 260 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).log2()) }), [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/runtime/node.rs:261:60 [INFO] [stdout] | [INFO] [stdout] 261 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).log2()) }), [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/runtime/node.rs:261:62 [INFO] [stdout] | [INFO] [stdout] 261 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).log2()) }), [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/runtime/node.rs:283:60 [INFO] [stdout] | [INFO] [stdout] 283 | Constant::F32(x) => Constant::F32(unsafe { t(1f32 / t::<_, f32>(x)) }), [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/runtime/node.rs:283:69 [INFO] [stdout] | [INFO] [stdout] 283 | Constant::F32(x) => Constant::F32(unsafe { t(1f32 / t::<_, f32>(x)) }), [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/runtime/node.rs:284:60 [INFO] [stdout] | [INFO] [stdout] 284 | Constant::F64(x) => Constant::F64(unsafe { t(1f64 / t::<_, f64>(x)) }), [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/runtime/node.rs:284:69 [INFO] [stdout] | [INFO] [stdout] 284 | Constant::F64(x) => Constant::F64(unsafe { t(1f64 / t::<_, f64>(x)) }), [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/runtime/node.rs:302:60 [INFO] [stdout] | [INFO] [stdout] 302 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).sqrt()) }), [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/runtime/node.rs:302:62 [INFO] [stdout] | [INFO] [stdout] 302 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).sqrt()) }), [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/runtime/node.rs:303:60 [INFO] [stdout] | [INFO] [stdout] 303 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).sqrt()) }), [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/runtime/node.rs:303:62 [INFO] [stdout] | [INFO] [stdout] 303 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).sqrt()) }), [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/runtime/node.rs:321:60 [INFO] [stdout] | [INFO] [stdout] 321 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).sin()) }), [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/runtime/node.rs:321:62 [INFO] [stdout] | [INFO] [stdout] 321 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).sin()) }), [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/runtime/node.rs:322:60 [INFO] [stdout] | [INFO] [stdout] 322 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).sin()) }), [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/runtime/node.rs:322:62 [INFO] [stdout] | [INFO] [stdout] 322 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).sin()) }), [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/runtime/node.rs:340:60 [INFO] [stdout] | [INFO] [stdout] 340 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).cos()) }), [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/runtime/node.rs:340:62 [INFO] [stdout] | [INFO] [stdout] 340 | Constant::F32(x) => Constant::F32(unsafe { t(t::<_, f32>(x).cos()) }), [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/runtime/node.rs:341:60 [INFO] [stdout] | [INFO] [stdout] 341 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).cos()) }), [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/runtime/node.rs:341:62 [INFO] [stdout] | [INFO] [stdout] 341 | Constant::F64(x) => Constant::F64(unsafe { t(t::<_, f64>(x).cos()) }), [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/runtime/node.rs:360:44 [INFO] [stdout] | [INFO] [stdout] 360 | Constant::F32(unsafe { t(if t::<_, f32>(x) == 0f32 { 1f32 } else { 0f32 }) }) [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/runtime/node.rs:360:49 [INFO] [stdout] | [INFO] [stdout] 360 | Constant::F32(unsafe { t(if t::<_, f32>(x) == 0f32 { 1f32 } else { 0f32 }) }) [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/runtime/node.rs:363:44 [INFO] [stdout] | [INFO] [stdout] 363 | Constant::F64(unsafe { t(if t::<_, f64>(x) == 0f64 { 1f64 } else { 0f64 }) }) [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/runtime/node.rs:363:49 [INFO] [stdout] | [INFO] [stdout] 363 | Constant::F64(unsafe { t(if t::<_, f64>(x) == 0f64 { 1f64 } else { 0f64 }) }) [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/runtime/node.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | Constant::F32(unsafe { t((t::<_, f32>(x) != 0.) as i32 as f32) }) [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/runtime/node.rs:383:47 [INFO] [stdout] | [INFO] [stdout] 383 | Constant::F32(unsafe { t((t::<_, f32>(x) != 0.) as i32 as f32) }) [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/runtime/node.rs:386:44 [INFO] [stdout] | [INFO] [stdout] 386 | Constant::F64(unsafe { t((t::<_, f64>(x) != 0.) as i64 as f64) }) [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/runtime/node.rs:386:47 [INFO] [stdout] | [INFO] [stdout] 386 | Constant::F64(unsafe { t((t::<_, f64>(x) != 0.) as i64 as f64) }) [INFO] [stdout] | -----------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized] target(s) in 7.19s [INFO] running `Command { std: "docker" "inspect" "d6b4e2bffd9732686a63ea9f04fafc4b8ab965741e46a1f931c2a85fac3c512e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b4e2bffd9732686a63ea9f04fafc4b8ab965741e46a1f931c2a85fac3c512e", kill_on_drop: false }` [INFO] [stdout] d6b4e2bffd9732686a63ea9f04fafc4b8ab965741e46a1f931c2a85fac3c512e