Skip to content

add scaffolding for repl #79

add scaffolding for repl

add scaffolding for repl #79

Triggered via push August 17, 2024 18:06
Status Failure
Total duration 41s
Artifacts

ci.yml

on: push
run cargo tests
31s
run cargo tests
verify formatting and lints
25s
verify formatting and lints
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
run cargo tests: src/frontend/repl.rs#L2
struct `Repl` is never constructed
run cargo tests
Process completed with exit code 101.
verify formatting and lints: filter-types/src/value.rs#L121
casting `f64` to `i64` may truncate the value
verify formatting and lints: filter-types/src/value.rs#L130
casting `i64` to `f64` causes a loss of precision (`i64` is 64 bits wide, but `f64`'s mantissa is only 52 bits wide)
verify formatting and lints: src/interpreter/mod.rs#L336
unnecessary hashes around raw string literal
verify formatting and lints: src/interpreter/mod.rs#L347
unnecessary hashes around raw string literal
verify formatting and lints: src/frontend/repl.rs#L2
struct `Repl` is never constructed
verify formatting and lints: src/frontend/ast.rs#L46
docs for function which may panic missing `# Panics` section
verify formatting and lints: src/frontend/ast.rs#L53
docs for function which may panic missing `# Panics` section
verify formatting and lints: src/frontend/ast.rs#L217
it is more concise to loop over references to containers instead of using explicit iteration methods
verify formatting and lints: src/frontend/parser.rs#L52
this method could have a `#[must_use]` attribute
verify formatting and lints: src/frontend/parser.rs#L72
docs for function returning `Result` missing `# Errors` section