Skip to content

Cube: first ported kernel + comptime support + variable reuse + cleanup #4208

Cube: first ported kernel + comptime support + variable reuse + cleanup

Cube: first ported kernel + comptime support + variable reuse + cleanup #4208

Triggered via pull request May 22, 2024 16:14
Status Failure
Total duration 2m 31s
Artifacts

test.yml

on: pull_request
check-typos
34s
check-typos
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

26 errors
tests (blaze/macos-14, stable, std)
Process completed with exit code 101.
[clippy] crates/burn-cube-macros/src/codegen/branch.rs#L62: crates/burn-cube-macros/src/codegen/branch.rs#L62
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/burn-cube-macros/src/codegen/branch.rs:62:52 | 62 | syn::Expr::Binary(expr) => (codegen_binary(&expr, loop_level, variable_analyses), false), | ^^^^^ help: change this to: `expr` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
[clippy] crates/burn-cube-macros/src/codegen/branch.rs#L63: crates/burn-cube-macros/src/codegen/branch.rs#L63
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/burn-cube-macros/src/codegen/branch.rs:63:46 | 63 | syn::Expr::Lit(expr) => (codegen_lit(&expr), false), | ^^^^^ help: change this to: `expr` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
[clippy] crates/burn-cube-macros/src/codegen/branch.rs#L65: crates/burn-cube-macros/src/codegen/branch.rs#L65
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/burn-cube-macros/src/codegen/branch.rs:65:30 | 65 | codegen_path_rhs(&expr, loop_level, variable_analyses), | ^^^^^ help: change this to: `expr` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
[clippy] crates/burn-cube-macros/src/codegen/branch.rs#L68: crates/burn-cube-macros/src/codegen/branch.rs#L68
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/burn-cube-macros/src/codegen/branch.rs:68:54 | 68 | syn::Expr::Call(expr) => parse_function_call(&expr, loop_level, variable_analyses), | ^^^^^ help: change this to: `expr` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
[clippy] crates/burn-cube-macros/src/codegen/function.rs#L80: crates/burn-cube-macros/src/codegen/function.rs#L80
error: this creates an owned instance just for comparison --> crates/burn-cube-macros/src/codegen/function.rs:80:12 | 80 | if ident.to_string() == "Comptime" { | ^^^^^^^^^^^^^^^^^ help: try: `*ident` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned = note: `-D clippy::cmp-owned` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::cmp_owned)]`
tests (blaze/macos-14, 1.75.0, std)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (blaze/macos-14, 1.75.0, std)
Process completed with exit code 101.
tests (ubuntu-22.04, stable, std)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (ubuntu-22.04, stable, std)
The operation was canceled.
tests (windows-2022, stable, std)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (windows-2022, stable, std)
The operation was canceled.
tests (windows-2022, 1.75.0, std)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (windows-2022, 1.75.0, std)
The operation was canceled.
tests (windows-2022, stable, examples)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (windows-2022, stable, examples)
The operation was canceled.
tests (ubuntu-22.04, 1.75.0, no-std)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (ubuntu-22.04, 1.75.0, no-std)
The operation was canceled.
tests (ubuntu-22.04, stable, examples)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (ubuntu-22.04, stable, examples)
The operation was canceled.
tests (blaze/macos-14, stable, examples)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (blaze/macos-14, stable, examples)
The operation was canceled.
tests (ubuntu-22.04, 1.75.0, std)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (ubuntu-22.04, 1.75.0, std)
The operation was canceled.
tests (ubuntu-22.04, stable, no-std)
The job was canceled because "blaze_macos-14_stable_std" failed.
tests (ubuntu-22.04, stable, no-std)
The operation was canceled.