[INFO] cloning repository https://github.com/divvun/executorch-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/divvun/executorch-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fexecutorch-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fexecutorch-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de614656a5057c89d4224d25b4449a6e68ef6a21 [INFO] checking divvun/executorch-rs against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fexecutorch-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/divvun/executorch-rs [INFO] finished tweaking git repo https://github.com/divvun/executorch-rs [INFO] tweaked toml for git repo https://github.com/divvun/executorch-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/divvun/executorch-rs on toolchain 65b20a97de33e9e59992793a144aef2950c48c76 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/divvun/executorch-rs 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599 [INFO] running `Command { std: "docker" "start" "ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.54 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling bytemuck_derive v1.11.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.54 [INFO] [stderr] Compiling dyn-stack-macros v0.1.3 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling cc v1.3.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Compiling linkme-impl v0.3.37 [INFO] [stderr] Compiling flatbuffers v25.12.19 [INFO] [stderr] Compiling syn v3.0.1 [INFO] [stderr] Compiling linkme v0.3.37 [INFO] [stderr] Compiling executorch-macros v0.1.0 (/opt/rustwide/workdir/crates/executorch-macros) [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.13.2 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking rustfft v6.4.1 [INFO] [stderr] Compiling executorch v0.1.0 (/opt/rustwide/workdir/crates/executorch) [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking realfft v3.5.0 [INFO] [stderr] Checking gemm-common v0.18.2 [INFO] [stderr] Checking gemm-f32 v0.18.2 [INFO] [stderr] Checking gemm-f64 v0.18.2 [INFO] [stderr] Checking gemm-c32 v0.18.2 [INFO] [stderr] Checking gemm-c64 v0.18.2 [INFO] [stderr] Checking gemm-f16 v0.18.2 [INFO] [stderr] Checking gemm v0.18.2 [INFO] [stdout] warning: unused import: `crate::runtime::core::portable_type::scalar_type::ScalarType` [INFO] [stdout] --> crates/executorch/src/kernels/optimized/cpu/op_grid_sampler_2d.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::runtime::core::portable_type::scalar_type::ScalarType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::portable_type::scalar_type::ScalarType` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_add.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::runtime::core::portable_type::scalar_type::ScalarType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_clamp.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | fn is_out_of_bounds_i64(val_cast: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_clamp.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn is_out_of_bounds_f64(val_cast: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_cumsum.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | fn cumsum_tensors( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_VAL` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_scatter.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn scatter_value_helper( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeVal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `SELF_CTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_to_copy.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn _to_impl(self_: &Tensor, out: &Tensor) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SelfCtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `OUT_CTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_to_copy.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn _to_impl(self_: &Tensor, out: &Tensor) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OutCtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `SELF_COMP` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_view_as_real_copy.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | fn _to_impl(self_: &Tensor, out: &Tensor) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SelfComp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `OUT_CTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_view_as_real_copy.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | fn _to_impl(self_: &Tensor, out: &Tensor) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OutCtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_A` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:517:36 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn apply_binary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_B` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:517:45 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn apply_binary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:517:54 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn apply_binary_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_A` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:549:37 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn apply_ternary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_B` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:549:46 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn apply_ternary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_C` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:549:55 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn apply_ternary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:549:64 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn apply_ternary_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BOOL_OR_BYTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | BOOL_OR_BYTE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BoolOrByte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAME_AS_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SAME_AS_COMPUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SameAsCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAME_AS_COMMON` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | SAME_AS_COMMON, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SameAsCommon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | pub type LoadToComputeFn = fn(*const core::ffi::c_void) -> CTYPE_COMPUTE; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | pub type StoreComputeToTensorFn = fn(CTYPE_COMPUTE, *mut core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:308:46 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn get_load_to_compute_fn_realhbbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:322:45 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn get_load_to_compute_fn_realhbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:336:46 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_load_to_compute_fn_floathbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:350:40 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn get_load_to_compute_fn_intb( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:364:40 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn get_load_to_compute_fn_bool( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:386:48 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn get_load_to_compute_fn_bool_or_byte( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:472:54 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn get_store_compute_to_tensor_fn_realhbbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:498:53 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn get_store_compute_to_tensor_fn_realhbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:523:54 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn get_store_compute_to_tensor_fn_floathbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:543:48 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn get_store_compute_to_tensor_fn_intb( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:565:48 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn get_store_compute_to_tensor_fn_bool( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:590:56 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn get_store_compute_to_tensor_fn_bool_or_byte( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | CTYPE_COMPUTE: Copy [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | CTYPE_COMPUTE: Copy [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:688:23 [INFO] [stdout] | [INFO] [stdout] 688 | fn null_load_impl(_p: *const core::ffi::c_void) -> CTYPE_COMPUTE { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:691:24 [INFO] [stdout] | [INFO] [stdout] 691 | fn null_store_impl(_v: CTYPE_COMPUTE, _p: *mut core::ffi::c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:694:22 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn null_load() -> LoadToComputeFn { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:697:23 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn null_store() -> StoreComputeToTensorFn { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:860:9 [INFO] [stdout] | [INFO] [stdout] 860 | CTYPE_COMPUTE: crate::runtime::core::exec_aten::util::scalar_type_util::CppTypeToScalarType, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn dtype_specialized_elementwise_fn_impl( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn dtype_specialized_elementwise_fn_impl( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn validate_elementwise_fn_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn apply_elementwise_fn_generic_impl( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | struct InputInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:208:52 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn apply_elementwise_fn_runtime_out_dtypes( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn apply_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:405:50 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn apply_unitensor_elementwise_fn_deprecated( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:441:39 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn apply_unitensor_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:474:49 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn apply_bitensor_elementwise_fn_deprecated( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:509:38 [INFO] [stdout] | [INFO] [stdout] 509 | pub fn apply_bitensor_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:544:50 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn apply_tritensor_elementwise_fn_deprecated( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:581:39 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn apply_tritensor_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/functional_util.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn apply_unary_map_fn( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/functional_util.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn apply_unary_map_fn( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/functional_util.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn apply_unary_map_reduce_fn( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/functional_util.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn apply_unary_map_reduce_fn( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:697:28 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn map_reduce_over_dim( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:697:38 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn map_reduce_over_dim( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:777:20 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn execute( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:777:30 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn execute( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:822:33 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn map_reduce_over_dim_list( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:822:43 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn map_reduce_over_dim_list( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `K_UNSET_CHAIN_ID` and `K_UNSET_DEBUG_HANDLE` [INFO] [stdout] --> crates/executorch/src/runtime/core/event_tracer_hooks.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | ChainID, DebugHandle, EventTracer, EventTracerEntry, K_UNSET_CHAIN_ID, K_UNSET_DEBUG_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bits1x8_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type bits1x8_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Bits1x8Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bits2x4_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub type bits2x4_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Bits2x4Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bits4x2_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub type bits4x2_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Bits4x2Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qint8_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type qint8_underlying = i8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Qint8Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quint8_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type quint8_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Quint8Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qint32_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub type qint32_underlying = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Qint32Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quint4x2_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub type quint4x2_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Quint4x2Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quint2x4_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub type quint2x4_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Quint2x4Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Float8_e5m2_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Float8_e5m2_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E5m2Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Float8_e4m3fn_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub type Float8_e4m3fn_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E4m3fnUnderlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Float8_e5m2fnuz_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub type Float8_e5m2fnuz_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E5m2fnuzUnderlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Float8_e4m3fnuz_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | pub type Float8_e4m3fnuz_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E4m3fnuzUnderlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float8_e5m2` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | Float8_e5m2 = 23, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E5m2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float8_e4m3fn` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | Float8_e4m3fn = 24, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E4m3fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float8_e5m2fnuz` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | Float8_e5m2fnuz = 25, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E5m2fnuz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float8_e4m3fnuz` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | Float8_e4m3fnuz = 26, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E4m3fnuz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ssize_t` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/executor/program_validation.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type ssize_t = isize; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SsizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::portable_type::scalar_type::ScalarType` [INFO] [stdout] --> crates/executorch/src/kernels/optimized/cpu/op_grid_sampler_2d.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::runtime::core::portable_type::scalar_type::ScalarType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::portable_type::scalar_type::ScalarType` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_add.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::runtime::core::portable_type::scalar_type::ScalarType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_clamp.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | fn is_out_of_bounds_i64(val_cast: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_clamp.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn is_out_of_bounds_f64(val_cast: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_cumsum.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | fn cumsum_tensors( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `OUT_DTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_glu.rs:309:44 [INFO] [stdout] | [INFO] [stdout] 309 | fn expect_tensor_close( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OutDtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `OUT_DTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_glu.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | fn test_glu_out() [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OutDtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `INPUT_DTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_glu.rs:365:38 [INFO] [stdout] | [INFO] [stdout] 365 | fn test_glu_out_mismatched_shape() [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputDtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `INPUT_DTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_glu.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 381 | fn test_glu_out_invalid_dim() [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputDtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `INPUT_DTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_glu.rs:399:42 [INFO] [stdout] | [INFO] [stdout] 399 | fn test_div_invalid_input_dtype_dies() [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputDtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `OUTPUT_DTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_glu.rs:415:43 [INFO] [stdout] | [INFO] [stdout] 415 | fn test_div_invalid_output_dtype_dies() [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OutputDtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_masked_select.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_max.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_max_pool2d_with_indices.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_max_pool2d_with_indices_backward.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_maximum.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_mean.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_min.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_minimum.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_mm.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_VAL` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_scatter.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn scatter_value_helper( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeVal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_sub.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use crate::runtime::core::exec_aten::testing_util::tensor_util::tensors_are_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComplexDouble` and `ComplexFloat` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_sum.rs:486:28 [INFO] [stdout] | [INFO] [stdout] 486 | BFloat16, Complex, ComplexDouble, ComplexFloat, Half, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_tensor_eq` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_sum.rs:488:38 [INFO] [stdout] | [INFO] [stdout] 488 | use crate::{assert_tensor_close, assert_tensor_eq}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `SELF_CTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_to_copy.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn _to_impl(self_: &Tensor, out: &Tensor) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SelfCtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `OUT_CTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_to_copy.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn _to_impl(self_: &Tensor, out: &Tensor) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OutCtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `SELF_COMP` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_view_as_real_copy.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | fn _to_impl(self_: &Tensor, out: &Tensor) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SelfComp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `OUT_CTYPE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_view_as_real_copy.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | fn _to_impl(self_: &Tensor, out: &Tensor) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OutCtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_A` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:517:36 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn apply_binary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_B` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:517:45 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn apply_binary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:517:54 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn apply_binary_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_A` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:549:37 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn apply_ternary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_B` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:549:46 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn apply_ternary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_C` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:549:55 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn apply_ternary_elementwise_fn( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CtypeC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:549:64 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn apply_ternary_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BOOL_OR_BYTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | BOOL_OR_BYTE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BoolOrByte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAME_AS_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SAME_AS_COMPUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SameAsCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAME_AS_COMMON` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | SAME_AS_COMMON, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SameAsCommon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | pub type LoadToComputeFn = fn(*const core::ffi::c_void) -> CTYPE_COMPUTE; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | pub type StoreComputeToTensorFn = fn(CTYPE_COMPUTE, *mut core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:308:46 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn get_load_to_compute_fn_realhbbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:322:45 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn get_load_to_compute_fn_realhbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:336:46 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_load_to_compute_fn_floathbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:350:40 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn get_load_to_compute_fn_intb( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:364:40 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn get_load_to_compute_fn_bool( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:386:48 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn get_load_to_compute_fn_bool_or_byte( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:472:54 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn get_store_compute_to_tensor_fn_realhbbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:498:53 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn get_store_compute_to_tensor_fn_realhbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:523:54 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn get_store_compute_to_tensor_fn_floathbf16( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:543:48 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn get_store_compute_to_tensor_fn_intb( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:565:48 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn get_store_compute_to_tensor_fn_bool( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:590:56 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn get_store_compute_to_tensor_fn_bool_or_byte( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | CTYPE_COMPUTE: Copy [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | CTYPE_COMPUTE: Copy [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:688:23 [INFO] [stdout] | [INFO] [stdout] 688 | fn null_load_impl(_p: *const core::ffi::c_void) -> CTYPE_COMPUTE { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:691:24 [INFO] [stdout] | [INFO] [stdout] 691 | fn null_store_impl(_v: CTYPE_COMPUTE, _p: *mut core::ffi::c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:694:22 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn null_load() -> LoadToComputeFn { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:697:23 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn null_store() -> StoreComputeToTensorFn { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | CTYPE_COMPUTE: ComputeCast [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/dtype_util.rs:860:9 [INFO] [stdout] | [INFO] [stdout] 860 | CTYPE_COMPUTE: crate::runtime::core::exec_aten::util::scalar_type_util::CppTypeToScalarType, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn dtype_specialized_elementwise_fn_impl( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn dtype_specialized_elementwise_fn_impl( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn validate_elementwise_fn_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn apply_elementwise_fn_generic_impl( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | struct InputInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:208:52 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn apply_elementwise_fn_runtime_out_dtypes( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn apply_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:405:50 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn apply_unitensor_elementwise_fn_deprecated( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:441:39 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn apply_unitensor_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:474:49 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn apply_bitensor_elementwise_fn_deprecated( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:509:38 [INFO] [stdout] | [INFO] [stdout] 509 | pub fn apply_bitensor_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:544:50 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn apply_tritensor_elementwise_fn_deprecated( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_COMPUTE` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/elementwise_util.rs:581:39 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn apply_tritensor_elementwise_fn( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeCompute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/functional_util.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn apply_unary_map_fn( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/functional_util.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn apply_unary_map_fn( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/functional_util.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn apply_unary_map_reduce_fn( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/functional_util.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn apply_unary_map_reduce_fn( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:697:28 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn map_reduce_over_dim( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:697:38 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn map_reduce_over_dim( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:777:20 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn execute( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:777:30 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn execute( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_IN` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:822:33 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn map_reduce_over_dim_list( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CtypeIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `CTYPE_OUT` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/reduce_util.rs:822:43 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn map_reduce_over_dim_list( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CtypeOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `K_UNSET_CHAIN_ID` and `K_UNSET_DEBUG_HANDLE` [INFO] [stdout] --> crates/executorch/src/runtime/core/event_tracer_hooks.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | ChainID, DebugHandle, EventTracer, EventTracerEntry, K_UNSET_CHAIN_ID, K_UNSET_DEBUG_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_tensor_close_with_tol`, `assert_tensor_close`, `assert_tensor_data_close`, `assert_tensor_data_eq`, `assert_tensor_eq`, and `assert_tensor_ne` [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/testing_util/tensor_util.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | assert_tensor_close, assert_tensor_close_with_tol, assert_tensor_data_close, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 492 | assert_tensor_data_eq, assert_tensor_eq, assert_tensor_ne, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bits1x8_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type bits1x8_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Bits1x8Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bits2x4_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub type bits2x4_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Bits2x4Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bits4x2_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub type bits4x2_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Bits4x2Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qint8_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type qint8_underlying = i8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Qint8Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quint8_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type quint8_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Quint8Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qint32_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub type qint32_underlying = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Qint32Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quint4x2_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub type quint4x2_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Quint4x2Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quint2x4_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub type quint2x4_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Quint2x4Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Float8_e5m2_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Float8_e5m2_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E5m2Underlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Float8_e4m3fn_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub type Float8_e4m3fn_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E4m3fnUnderlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Float8_e5m2fnuz_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub type Float8_e5m2fnuz_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E5m2fnuzUnderlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Float8_e4m3fnuz_underlying` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | pub type Float8_e4m3fnuz_underlying = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E4m3fnuzUnderlying` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float8_e5m2` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | Float8_e5m2 = 23, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E5m2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float8_e4m3fn` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | Float8_e4m3fn = 24, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E4m3fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float8_e5m2fnuz` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | Float8_e5m2fnuz = 25, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E5m2fnuz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float8_e4m3fnuz` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | Float8_e4m3fnuz = 26, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Float8E4m3fnuz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ssize_t` should have an upper camel case name [INFO] [stdout] --> crates/executorch/src/runtime/executor/program_validation.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type ssize_t = isize; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SsizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `runtime::core::exec_aten::util::tensor_util::resize` [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/testing_util/tensor_factory.rs:675:62 [INFO] [stdout] | [INFO] [stdout] 675 | use crate::runtime::core::exec_aten::util::tensor_util::{resize, resize_tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `must_use` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> crates/executorch/src/extension/flat_tensor/flat_tensor_data_map.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[must_use] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `must_use` attribute can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `runtime::core::portable_type::tensor::Tensor::<'a>::data_ptr` [INFO] [stdout] --> crates/executorch/src/extension/tensor/tensor_ptr.rs:1295:36 [INFO] [stdout] | [INFO] [stdout] 1295 | assert_eq!(tensor.tensor().data_ptr::(), data_ptr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `runtime::core::portable_type::tensor::Tensor::<'a>::data_ptr` [INFO] [stdout] --> crates/executorch/src/extension/tensor/tensor_ptr.rs:1372:19 [INFO] [stdout] | [INFO] [stdout] 1372 | assert!(t.data_ptr::().is_null()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `runtime::core::portable_type::tensor::Tensor::<'a>::data_ptr` [INFO] [stdout] --> crates/executorch/src/extension/tensor/tensor_ptr_maker.rs:1132:36 [INFO] [stdout] | [INFO] [stdout] 1132 | assert_eq!(tensor.tensor().data_ptr::(), data_ptr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_data` is never read [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_constant_pad_nd.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | self_data = unsafe { self_data.add(copy_len) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `xdim` is never read [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_index.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | let mut xdim: usize = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 347 | xdim = get_indices_broadcast_ndim(indices); [INFO] [stdout] | ------------------------------------------ `xdim` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | alloc::alloc::alloc(layout) as *mut T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe fn alloc_array(count: usize) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | alloc::alloc::dealloc(ptr as *mut u8, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn dealloc_array(ptr: *mut T, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/kernel_ops_util.rs:472:34 [INFO] [stdout] | [INFO] [stdout] 472 | let mut count: i64 = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 491 | count = (ih1 - ih0) * (iw1 - iw0); [INFO] [stdout] | --------------------------------- `count` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/kernel_ops_util.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | stride: IntArrayRef, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_tracer` [INFO] [stdout] --> crates/executorch/src/runtime/core/event_tracer_hooks_delegate.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | event_tracer: *mut dyn EventTracer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_tracer` [INFO] [stdout] --> crates/executorch/src/runtime/core/event_tracer_hooks_delegate.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | event_tracer: *mut dyn EventTracer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_tracer` [INFO] [stdout] --> crates/executorch/src/runtime/core/event_tracer_hooks_delegate.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | event_tracer: *mut dyn EventTracer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program_size` is never read [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | let mut program_size: usize = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 320 | program_size = *ResultExt::get(&result); [INFO] [stdout] | --------------------------------------- `program_size` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `segment_data_size` is never read [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:266:44 [INFO] [stdout] | [INFO] [stdout] 266 | let mut segment_data_size: usize = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 285 | segment_data_size = ResultExt::get(&eh).segment_data_size as usize; [INFO] [stdout] | ------------------------------------------------------------------ `segment_data_size` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_OFFSET` is never used [INFO] [stdout] --> crates/executorch/src/backends/xnnpack/runtime/XNNStatus.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const K_OFFSET: [u16; 7] = [0, 19, 44, 73, 98, 131, 163]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_DATA` is never used [INFO] [stdout] --> crates/executorch/src/backends/xnnpack/runtime/XNNStatus.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const K_DATA: &[u8] = b"xnn_status_success\0\ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_floating_point` is never used [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Scalar { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn to_floating_point(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_data_` is never read [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct Program<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 189 | program_data_: FreeableBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `XNNHeader` should have a snake case name [INFO] [stdout] --> crates/executorch/src/backends/xnnpack/runtime/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod XNNHeader; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xnnheader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `XNNStatus` should have a snake case name [INFO] [stdout] --> crates/executorch/src/backends/xnnpack/runtime/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod XNNStatus; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xnnstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_abs.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | if self < 0u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_C` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let in_C = *in_sizes.at(1) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `in_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_C` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let out_C = *out_sizes.at(1) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let out_H = *out_sizes.at(2) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `out_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let in_H = *in_sizes.at(2) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `in_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let w_H = *w_sizes.at(2) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `w_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let out_W = *out_sizes.at(3) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let in_W = *in_sizes.at(3) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `in_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let w_W = *w_sizes.at(3) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `w_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_C_per_group` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let in_C_per_group = in_C / groups as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `in_c_per_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_C_per_group` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let out_C_per_group = out_C / groups as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_c_per_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_C` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | let in_C = *in_sizes.at(1) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `in_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_D` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | let out_D = *out_sizes.at(2) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `out_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_D` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | let in_D = *in_sizes.at(2) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `in_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_D` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let w_D = *w_sizes.at(2) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `w_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | let out_H = *out_sizes.at(3) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `out_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | let in_H = *in_sizes.at(3) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `in_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | let w_H = *w_sizes.at(3) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `w_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let out_W = *out_sizes.at(4) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let in_W = *in_sizes.at(4) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `in_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | let w_W = *w_sizes.at(4) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `w_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_C_per_group` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let in_C_per_group = in_C / groups as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `in_c_per_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_N` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let out_N = out.size(0) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `out_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_C` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let out_C = out.size(1) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_C_per_group` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | let out_C_per_group = out_C / groups as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_c_per_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmod_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_fmod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn fmod_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fmod_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmod_Scalar_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_fmod.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn fmod_Scalar_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fmod_scalar_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_index.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn index_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remainder_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_remainder.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn remainder_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remainder_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remainder_Scalar_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_remainder.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn remainder_Scalar_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `remainder_scalar_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeat_interleave_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_repeat_interleave.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn repeat_interleave_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `repeat_interleave_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_copy_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_slice_copy.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn slice_copy_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `slice_copy_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_copy_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_split_copy.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn split_copy_Tensor_out( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `split_copy_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check__to_dim_order_copy_args` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/copy_ops_util.rs:1018:8 [INFO] [stdout] | [INFO] [stdout] 1018 | pub fn check__to_dim_order_copy_args( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_to_dim_order_copy_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getLeadingDims` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:891:8 [INFO] [stdout] | [INFO] [stdout] 891 | pub fn getLeadingDims(tensor: &Tensor, dim: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_leading_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getTrailingDims` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:914:8 [INFO] [stdout] | [INFO] [stdout] 914 | pub fn getTrailingDims(tensor: &Tensor, dim: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_trailing_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinateToIndex` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:943:15 [INFO] [stdout] | [INFO] [stdout] 943 | pub unsafe fn coordinateToIndex(tensor: &Tensor, coordinate: *const usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `coordinate_to_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `memoizeTrailingDims` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:959:15 [INFO] [stdout] | [INFO] [stdout] 959 | pub unsafe fn memoizeTrailingDims(tensor: &Tensor, trailing_dims_memo: *mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `memoize_trailing_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinateToIndexWithTrailingDimsMemo` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:977:15 [INFO] [stdout] | [INFO] [stdout] 977 | pub unsafe fn coordinateToIndexWithTrailingDimsMemo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `coordinate_to_index_with_trailing_dims_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indexToCoordinate` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:997:15 [INFO] [stdout] | [INFO] [stdout] 997 | pub unsafe fn indexToCoordinate(tensor: &Tensor, mut index: usize, coordinate: *mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_to_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | x: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | x: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | x: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | x: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 648 | ) -> Result { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 648 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:678:24 [INFO] [stdout] | [INFO] [stdout] 678 | pub fn method_meta(&self, method_name: &core::ffi::CStr) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 678 | pub fn method_meta(&self, method_name: &core::ffi::CStr) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_data` is never read [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_constant_pad_nd.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | self_data = unsafe { self_data.add(copy_len) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `xdim` is never read [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_index.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | let mut xdim: usize = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 347 | xdim = get_indices_broadcast_ndim(indices); [INFO] [stdout] | ------------------------------------------ `xdim` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `training` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_native_batch_norm.rs:2358:13 [INFO] [stdout] | [INFO] [stdout] 2358 | let training = true; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `training` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_native_batch_norm.rs:2418:13 [INFO] [stdout] | [INFO] [stdout] 2418 | let training = true; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `training` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_native_batch_norm.rs:2468:13 [INFO] [stdout] | [INFO] [stdout] 2468 | let training = true; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | alloc::alloc::alloc(layout) as *mut T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe fn alloc_array(count: usize) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | alloc::alloc::dealloc(ptr as *mut u8, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/broadcast_util.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn dealloc_array(ptr: *mut T, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/kernel_ops_util.rs:472:34 [INFO] [stdout] | [INFO] [stdout] 472 | let mut count: i64 = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 491 | count = (ih1 - ih0) * (iw1 - iw0); [INFO] [stdout] | --------------------------------- `count` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/kernel_ops_util.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | stride: IntArrayRef, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `target` is never read [INFO] [stdout] --> crates/executorch/src/runtime/core/device_memory_buffer.rs:398:26 [INFO] [stdout] | [INFO] [stdout] 398 | let mut target = DeviceMemoryBuffer::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 399 | // target = std::move(original); [INFO] [stdout] 400 | target = core::mem::take(&mut original); [INFO] [stdout] | ------ `target` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/executorch/src/runtime/core/error.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let mut res = get_no_copy(2); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/executorch/src/runtime/core/error.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let mut res2 = res; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_tracer` [INFO] [stdout] --> crates/executorch/src/runtime/core/event_tracer_hooks_delegate.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | event_tracer: *mut dyn EventTracer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_tracer` [INFO] [stdout] --> crates/executorch/src/runtime/core/event_tracer_hooks_delegate.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | event_tracer: *mut dyn EventTracer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_tracer` [INFO] [stdout] --> crates/executorch/src/runtime/core/event_tracer_hooks_delegate.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | event_tracer: *mut dyn EventTracer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program_size` is never read [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | let mut program_size: usize = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 320 | program_size = *ResultExt::get(&result); [INFO] [stdout] | --------------------------------------- `program_size` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `segment_data_size` is never read [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:266:44 [INFO] [stdout] | [INFO] [stdout] 266 | let mut segment_data_size: usize = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 285 | segment_data_size = ResultExt::get(&eh).segment_data_size as usize; [INFO] [stdout] | ------------------------------------------------------------------ `segment_data_size` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> crates/executorch/src/runtime/executor/mod.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | backend: unsafe { &raw mut CLS } as *mut dyn BackendInterface, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_OFFSET` is never used [INFO] [stdout] --> crates/executorch/src/backends/xnnpack/runtime/XNNStatus.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const K_OFFSET: [u16; 7] = [0, 19, 44, 73, 98, 131, 163]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_DATA` is never used [INFO] [stdout] --> crates/executorch/src/backends/xnnpack/runtime/XNNStatus.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const K_DATA: &[u8] = b"xnn_status_success\0\ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_all_real_input_half_output_bound_dynamism_support` is never used [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/pattern/unary_ufunc_realhbbf16_to_floathbf16.rs:391:19 [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn test_all_real_input_half_output_bound_dynamism_support( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float32` and `Int8` are never constructed [INFO] [stdout] --> crates/executorch/src/runtime/backend/backend_options_map.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 553 | enum Precision { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 554 | Float32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 555 | Float16, [INFO] [stdout] 556 | Int8, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_data_` is never read [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct Program<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 189 | program_data_: FreeableBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `XNNHeader` should have a snake case name [INFO] [stdout] --> crates/executorch/src/backends/xnnpack/runtime/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod XNNHeader; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xnnheader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `XNNStatus` should have a snake case name [INFO] [stdout] --> crates/executorch/src/backends/xnnpack/runtime/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod XNNStatus; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xnnstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_abs.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | if self < 0u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_C` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let in_C = *in_sizes.at(1) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `in_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_C` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let out_C = *out_sizes.at(1) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let out_H = *out_sizes.at(2) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `out_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let in_H = *in_sizes.at(2) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `in_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let w_H = *w_sizes.at(2) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `w_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let out_W = *out_sizes.at(3) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let in_W = *in_sizes.at(3) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `in_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let w_W = *w_sizes.at(3) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `w_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_C_per_group` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let in_C_per_group = in_C / groups as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `in_c_per_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_C_per_group` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let out_C_per_group = out_C / groups as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_c_per_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_C` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | let in_C = *in_sizes.at(1) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `in_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_D` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | let out_D = *out_sizes.at(2) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `out_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_D` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | let in_D = *in_sizes.at(2) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `in_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_D` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let w_D = *w_sizes.at(2) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `w_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | let out_H = *out_sizes.at(3) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `out_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | let in_H = *in_sizes.at(3) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `in_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_H` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | let w_H = *w_sizes.at(3) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `w_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let out_W = *out_sizes.at(4) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let in_W = *in_sizes.at(4) as usize; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `in_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `w_W` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | let w_W = *w_sizes.at(4) as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `w_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_C_per_group` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let in_C_per_group = in_C / groups as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `in_c_per_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_N` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let out_N = out.size(0) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `out_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_C` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let out_C = out.size(1) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_C_per_group` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_convolution.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | let out_C_per_group = out_C / groups as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `out_c_per_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmod_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_fmod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn fmod_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fmod_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmod_Scalar_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_fmod.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn fmod_Scalar_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fmod_scalar_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_index.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn index_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remainder_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_remainder.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn remainder_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remainder_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remainder_Scalar_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_remainder.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn remainder_Scalar_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `remainder_scalar_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeat_interleave_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_repeat_interleave.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn repeat_interleave_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `repeat_interleave_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_select_copy.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | fn dyn_shape_data(tf: &TensorFactory) -> (PtTensor, PtTensor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 361 | fn dyn_shape_data(tf: &TensorFactory) -> (PtTensor<'_>, PtTensor<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_copy_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_slice_copy.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn slice_copy_Tensor_out<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `slice_copy_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_copy_Tensor_out` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/op_split_copy.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn split_copy_Tensor_out( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `split_copy_tensor_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check__to_dim_order_copy_args` should have a snake case name [INFO] [stdout] --> crates/executorch/src/kernels/portable/cpu/util/copy_ops_util.rs:1018:8 [INFO] [stdout] | [INFO] [stdout] 1018 | pub fn check__to_dim_order_copy_args( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_to_dim_order_copy_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getLeadingDims` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:891:8 [INFO] [stdout] | [INFO] [stdout] 891 | pub fn getLeadingDims(tensor: &Tensor, dim: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_leading_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getTrailingDims` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:914:8 [INFO] [stdout] | [INFO] [stdout] 914 | pub fn getTrailingDims(tensor: &Tensor, dim: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_trailing_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinateToIndex` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:943:15 [INFO] [stdout] | [INFO] [stdout] 943 | pub unsafe fn coordinateToIndex(tensor: &Tensor, coordinate: *const usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `coordinate_to_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `memoizeTrailingDims` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:959:15 [INFO] [stdout] | [INFO] [stdout] 959 | pub unsafe fn memoizeTrailingDims(tensor: &Tensor, trailing_dims_memo: *mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `memoize_trailing_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinateToIndexWithTrailingDimsMemo` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:977:15 [INFO] [stdout] | [INFO] [stdout] 977 | pub unsafe fn coordinateToIndexWithTrailingDimsMemo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `coordinate_to_index_with_trailing_dims_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indexToCoordinate` should have a snake case name [INFO] [stdout] --> crates/executorch/src/runtime/core/exec_aten/util/tensor_util.rs:997:15 [INFO] [stdout] | [INFO] [stdout] 997 | pub unsafe fn indexToCoordinate(tensor: &Tensor, mut index: usize, coordinate: *mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_to_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/bits_types.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/qint_types.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | val_: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | x: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | x: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | x: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> crates/executorch/src/runtime/core/portable_type/scalar_type.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | x: unsafe { core::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 648 | ) -> Result { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 648 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/executorch/src/runtime/executor/program.rs:678:24 [INFO] [stdout] | [INFO] [stdout] 678 | pub fn method_meta(&self, method_name: &core::ffi::CStr) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 678 | pub fn method_meta(&self, method_name: &core::ffi::CStr) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> crates/executorch/src/runtime/platform/platform.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | assert!(time_a >= 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599", kill_on_drop: false }` [INFO] [stdout] ec906d7bbc7210005bc0d5b2637854f4979c28f623b0ae56275e0033f9015599