Skip to content

draft pretty printer types and smoke test; #352

draft pretty printer types and smoke test;

draft pretty printer types and smoke test; #352

Triggered via push July 24, 2023 10:45
Status Success
Total duration 1m 13s
Artifacts

audit.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
function `print_expr` is never used: ergotree-ir/src/pretty_printer.rs#L12
error: function `print_expr` is never used --> ergotree-ir/src/pretty_printer.rs:12:15 | 12 | pub(crate) fn print_expr(expr: Expr) -> Result<PrintExpr, PrintError> { | ^^^^^^^^^^
struct `PrintExpr` is never constructed: ergotree-ir/src/pretty_printer.rs#L3
error: struct `PrintExpr` is never constructed --> ergotree-ir/src/pretty_printer.rs:3:19 | 3 | pub(crate) struct PrintExpr { | ^^^^^^^^^ | note: the lint level is defined here --> ergotree-ir/src/lib.rs:9:9 | 9 | #![deny(dead_code)] | ^^^^^^^^^
unused variable: `expr`: ergotree-ir/src/pretty_printer.rs#L12
error: unused variable: `expr` --> ergotree-ir/src/pretty_printer.rs:12:26 | 12 | pub(crate) fn print_expr(expr: Expr) -> Result<PrintExpr, PrintError> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` | = note: `-D unused-variables` implied by `-D warnings`
cargo audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/