Skip to content

Merge branch 'develop' into feature/#67-introduce-IR #551

Merge branch 'develop' into feature/#67-introduce-IR

Merge branch 'develop' into feature/#67-introduce-IR #551

Triggered via push December 4, 2024 07:55
Status Failure
Total duration 10m 28s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 errors
cargo-fmt
Process completed with exit code 1.
unneeded `return` statement: crates/brack-lower/src/text.rs#L8
error: unneeded `return` statement --> crates/brack-lower/src/text.rs:8:5 | 8 | return Ok(vec![]); | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 8 - return Ok(vec![]); 8 + Ok(vec![]) |
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/stmt.rs#L19
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/stmt.rs:19:51 | 19 | AST::Text(_) => text::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/stmt.rs#L18
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/stmt.rs:18:55 | 18 | AST::Square(_) => square::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/stmt.rs#L17
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/stmt.rs:17:53 | 17 | AST::Curly(_) => curly::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/stmt.rs#L16
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/stmt.rs:16:51 | 16 | AST::Expr(_) => expr::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
unneeded `return` statement: crates/brack-lower/src/square.rs#L8
error: unneeded `return` statement --> crates/brack-lower/src/square.rs:8:5 | 8 | return Ok(vec![]); | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `-D clippy::needless-return` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_return)]` help: remove `return` | 8 - return Ok(vec![]); 8 + Ok(vec![]) |
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/expr.rs#L19
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/expr.rs:19:51 | 19 | AST::Text(_) => text::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/expr.rs#L18
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/expr.rs:18:55 | 18 | AST::Square(_) => square::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/expr.rs#L17
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/expr.rs:17:53 | 17 | AST::Curly(_) => curly::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/expr.rs#L16
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/expr.rs:16:45 | 16 | AST::Expr(_) => lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/curly.rs#L30
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/curly.rs:30:51 | 30 | AST::Text(_) => text::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/curly.rs#L29
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/curly.rs:29:55 | 29 | AST::Square(_) => square::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/curly.rs#L28
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/curly.rs:28:46 | 28 | AST::Curly(_) => lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/brack-lower/src/curly.rs#L27
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/brack-lower/src/curly.rs:27:51 | 27 | AST::Expr(_) => expr::lowering(child, &plugins)?, | ^^^^^^^^ help: change this to: `plugins` | = 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)]`
unused variable: `plugins`: crates/brack-lower/src/text.rs#L7
error: unused variable: `plugins` --> crates/brack-lower/src/text.rs:7:35 | 7 | pub(crate) fn lowering(ast: &AST, plugins: &Plugins) -> Result<Vec<OpCode>> { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plugins`
unused variable: `ast`: crates/brack-lower/src/text.rs#L7
error: unused variable: `ast` --> crates/brack-lower/src/text.rs:7:24 | 7 | pub(crate) fn lowering(ast: &AST, plugins: &Plugins) -> Result<Vec<OpCode>> { | ^^^ help: if this is intentional, prefix it with an underscore: `_ast`
unused variable: `plugins`: crates/brack-lower/src/square.rs#L7
error: unused variable: `plugins` --> crates/brack-lower/src/square.rs:7:35 | 7 | pub(crate) fn lowering(ast: &AST, plugins: &Plugins) -> Result<Vec<OpCode>> { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plugins`
unused variable: `ast`: crates/brack-lower/src/square.rs#L7
error: unused variable: `ast` --> crates/brack-lower/src/square.rs:7:24 | 7 | pub(crate) fn lowering(ast: &AST, plugins: &Plugins) -> Result<Vec<OpCode>> { | ^^^ help: if this is intentional, prefix it with an underscore: `_ast`
unused variable: `ident`: crates/brack-lower/src/curly.rs#L20
error: unused variable: `ident` --> crates/brack-lower/src/curly.rs:20:9 | 20 | let ident = ast | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
unused variable: `module`: crates/brack-lower/src/curly.rs#L15
error: unused variable: `module` --> crates/brack-lower/src/curly.rs:15:9 | 15 | let module = ast | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` | = note: `-D unused-variables` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_variables)]`
clippy
Clippy had exited with the 101 exit code