feat: add description stacktrace frames for all formats #485
release.yml
on: push
Test Suite
1m 5s
cargo-release
0s
Matrix: github-release
Annotations
1 error and 66 warnings
Test Suite
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L183
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:183:15
|
183 | out.push_str(&remaining);
| ^^^^^^^^^^ help: change this to: `remaining`
|
= 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/jrsonnet-stdlib/src/manifest/xml.rs#L180
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:180:16
|
180 | out.push_str(&str);
| ^^^^ help: change this to: `str`
|
= 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/jrsonnet-stdlib/src/manifest/xml.rs#L133
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:133:18
|
133 | buf.push_str(&tag);
| ^^^^ help: change this to: `tag`
|
= 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/jrsonnet-stdlib/src/manifest/xml.rs#L128
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:128:21
|
128 | manifest_jsonml(&child, buf, opts)?;
| ^^^^^^ help: change this to: `child`
|
= 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/jrsonnet-stdlib/src/manifest/xml.rs#L103
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:103:17
|
103 | buf.push_str(&tag);
| ^^^^ help: change this to: `tag`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-W clippy::needless-borrow` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
|
useless use of `format!`:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L74
warning: useless use of `format!`
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:74:8
|
74 | || format!("parsing children"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"parsing children".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
|
useless use of `format!`:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L55
warning: useless use of `format!`
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:55:24
|
55 | .with_description(|| format!("parsing JSONML tag"))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"parsing JSONML tag".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
|
length comparison to one:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L47
warning: length comparison to one
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:47:6
|
47 | if arr.len() < 1 {
| ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `arr.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `-W clippy::len-zero` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::len_zero)]`
|
useless use of `format!`:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L42
warning: useless use of `format!`
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:42:25
|
42 | .with_description(|| format!("parsing JSONML value (an array or string)"))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"parsing JSONML value (an array or string)".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `-W clippy::useless-format` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::useless_format)]`
|
unused imports: `Either4`, `IndexableVal`:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L4
warning: unused imports: `Either4`, `IndexableVal`
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:4:35
|
4 | typed::{ComplexValType, Either2, Either4, Typed, ValType},
| ^^^^^^^
5 | val::{ArrValue, IndexableVal},
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
usage of wildcard import:
crates/jrsonnet-evaluator/src/obj.rs#L91
warning: usage of wildcard import
--> crates/jrsonnet-evaluator/src/obj.rs:91:5
|
91 | use ordering::*;
| ^^^^^^^^^^^ help: try: `ordering::{FieldIndex, FieldSortKey, SuperDepth}`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports
= note: `-W clippy::wildcard-imports` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::wildcard_imports)]`
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L546
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:546:3
|
546 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L533
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:533:3
|
533 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L509
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:509:3
|
509 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L416
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:416:3
|
416 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L399
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:399:3
|
399 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L373
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:373:3
|
373 | V: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `V: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L372
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:372:3
|
372 | K: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `K: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L361
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:361:3
|
361 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L351
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:351:3
|
351 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
= note: `-W clippy::type-repetition-in-bounds` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::type_repetition_in_bounds)]`
|
pub(crate) import inside private module:
crates/jrsonnet-evaluator/src/lib.rs#L1
warning: pub(crate) import inside private module
--> crates/jrsonnet-evaluator/src/lib.rs:1:1
|
1 | / //! jsonnet interpreter implementation
2 | | #![cfg_attr(feature = "nightly", feature(thread_local, type_alias_impl_trait))]
3 | |
4 | | // For jrsonnet-macros
... |
13 | | mod evaluate;
14 | | pub mod function;
| |_
|
::: crates/jrsonnet-evaluator/src/arr/mod.rs:14:1
|
14 | pub(crate) use spec::*;
| ---------- help: consider using: `pub`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate
= note: `-W clippy::redundant-pub-crate` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::redundant_pub_crate)]`
|
unknown lint: `clippy::unconditional_recursion`:
crates/jrsonnet-evaluator/src/val.rs#L366
warning: unknown lint: `clippy::unconditional_recursion`
--> crates/jrsonnet-evaluator/src/val.rs:366:10
|
366 | #[allow(clippy::unconditional_recursion)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `unconditional_recursion`
|
= note: `#[warn(unknown_lints)]` on by default
|
unused import: `NonZeroUsize`:
crates/jrsonnet-evaluator/src/val.rs#L5
warning: unused import: `NonZeroUsize`
--> crates/jrsonnet-evaluator/src/val.rs:5:20
|
5 | num::{NonZeroU32, NonZeroUsize},
| ^^^^^^^^^^^^
|
unused import: `NonZeroUsize`:
crates/jrsonnet-evaluator/src/arr/mod.rs#L3
warning: unused import: `NonZeroUsize`
--> crates/jrsonnet-evaluator/src/arr/mod.rs:3:20
|
3 | num::{NonZeroU32, NonZeroUsize},
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
redundant clone:
crates/jrsonnet-macros/src/lib.rs#L221
warning: redundant clone
--> crates/jrsonnet-macros/src/lib.rs:221:20
|
221 | let item_fn = item.clone();
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> crates/jrsonnet-macros/src/lib.rs:221:16
|
221 | let item_fn = item.clone();
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
= note: `-W clippy::redundant-clone` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::redundant_clone)]`
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L183
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:183:15
|
183 | out.push_str(&remaining);
| ^^^^^^^^^^ help: change this to: `remaining`
|
= 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/jrsonnet-stdlib/src/manifest/xml.rs#L180
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:180:16
|
180 | out.push_str(&str);
| ^^^^ help: change this to: `str`
|
= 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/jrsonnet-stdlib/src/manifest/xml.rs#L133
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:133:18
|
133 | buf.push_str(&tag);
| ^^^^ help: change this to: `tag`
|
= 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/jrsonnet-stdlib/src/manifest/xml.rs#L128
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:128:21
|
128 | manifest_jsonml(&child, buf, opts)?;
| ^^^^^^ help: change this to: `child`
|
= 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/jrsonnet-stdlib/src/manifest/xml.rs#L103
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:103:17
|
103 | buf.push_str(&tag);
| ^^^^ help: change this to: `tag`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-W clippy::needless-borrow` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
|
useless use of `format!`:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L74
warning: useless use of `format!`
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:74:8
|
74 | || format!("parsing children"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"parsing children".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
|
useless use of `format!`:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L55
warning: useless use of `format!`
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:55:24
|
55 | .with_description(|| format!("parsing JSONML tag"))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"parsing JSONML tag".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
|
length comparison to one:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L47
warning: length comparison to one
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:47:6
|
47 | if arr.len() < 1 {
| ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `arr.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `-W clippy::len-zero` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::len_zero)]`
|
useless use of `format!`:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L42
warning: useless use of `format!`
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:42:25
|
42 | .with_description(|| format!("parsing JSONML value (an array or string)"))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"parsing JSONML value (an array or string)".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `-W clippy::useless-format` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::useless_format)]`
|
unused imports: `Either4`, `IndexableVal`:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L4
warning: unused imports: `Either4`, `IndexableVal`
--> crates/jrsonnet-stdlib/src/manifest/xml.rs:4:35
|
4 | typed::{ComplexValType, Either2, Either4, Typed, ValType},
| ^^^^^^^
5 | val::{ArrValue, IndexableVal},
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
usage of wildcard import:
crates/jrsonnet-evaluator/src/obj.rs#L91
warning: usage of wildcard import
--> crates/jrsonnet-evaluator/src/obj.rs:91:5
|
91 | use ordering::*;
| ^^^^^^^^^^^ help: try: `ordering::{FieldIndex, FieldSortKey, SuperDepth}`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports
= note: `-W clippy::wildcard-imports` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::wildcard_imports)]`
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L546
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:546:3
|
546 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L533
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:533:3
|
533 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L509
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:509:3
|
509 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L416
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:416:3
|
416 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L399
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:399:3
|
399 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L373
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:373:3
|
373 | V: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `V: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L372
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:372:3
|
372 | K: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `K: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L361
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:361:3
|
361 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L351
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:351:3
|
351 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
= note: `-W clippy::type-repetition-in-bounds` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::type_repetition_in_bounds)]`
|
pub(crate) import inside private module:
crates/jrsonnet-evaluator/src/lib.rs#L1
warning: pub(crate) import inside private module
--> crates/jrsonnet-evaluator/src/lib.rs:1:1
|
1 | / //! jsonnet interpreter implementation
2 | | #![cfg_attr(feature = "nightly", feature(thread_local, type_alias_impl_trait))]
3 | |
4 | | // For jrsonnet-macros
... |
13 | | mod evaluate;
14 | | pub mod function;
| |_
|
::: crates/jrsonnet-evaluator/src/arr/mod.rs:14:1
|
14 | pub(crate) use spec::*;
| ---------- help: consider using: `pub`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate
= note: `-W clippy::redundant-pub-crate` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::redundant_pub_crate)]`
|
unknown lint: `clippy::unconditional_recursion`:
crates/jrsonnet-evaluator/src/val.rs#L366
warning: unknown lint: `clippy::unconditional_recursion`
--> crates/jrsonnet-evaluator/src/val.rs:366:10
|
366 | #[allow(clippy::unconditional_recursion)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `unconditional_recursion`
|
= note: `#[warn(unknown_lints)]` on by default
|
unused import: `NonZeroUsize`:
crates/jrsonnet-evaluator/src/val.rs#L5
warning: unused import: `NonZeroUsize`
--> crates/jrsonnet-evaluator/src/val.rs:5:20
|
5 | num::{NonZeroU32, NonZeroUsize},
| ^^^^^^^^^^^^
|
unused import: `NonZeroUsize`:
crates/jrsonnet-evaluator/src/arr/mod.rs#L3
warning: unused import: `NonZeroUsize`
--> crates/jrsonnet-evaluator/src/arr/mod.rs:3:20
|
3 | num::{NonZeroU32, NonZeroUsize},
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
redundant clone:
crates/jrsonnet-macros/src/lib.rs#L221
warning: redundant clone
--> crates/jrsonnet-macros/src/lib.rs:221:20
|
221 | let item_fn = item.clone();
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> crates/jrsonnet-macros/src/lib.rs:221:16
|
221 | let item_fn = item.clone();
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
= note: `-W clippy::redundant-clone` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::redundant_clone)]`
|
Test Suite
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite:
crates/jrsonnet-evaluator/src/arr/mod.rs#L3
unused import: `NonZeroUsize`
|
Test Suite:
crates/jrsonnet-evaluator/src/val.rs#L5
unused import: `NonZeroUsize`
|
Test Suite:
crates/jrsonnet-evaluator/src/function/arglike.rs#L81
trait `Unnamed` is never used
|
Test Suite:
crates/jrsonnet-evaluator/src/function/arglike.rs#L83
trait `Named` is never used
|
Test Suite:
crates/jrsonnet-stdlib/src/manifest/xml.rs#L4
unused imports: `Either4`, `IndexableVal`
|
Test Suite
`jrsonnet-evaluator` (lib) generated 4 warnings (run `cargo fix --lib -p jrsonnet-evaluator` to apply 2 suggestions)
|
Test Suite
`jrsonnet-stdlib` (lib) generated 1 warning (run `cargo fix --lib -p jrsonnet-stdlib` to apply 1 suggestion)
|
Test Suite:
cmds/jrsonnet-fmt/src/tests.rs#L26
use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead
|
Test Suite
`jrsonnet-fmt` (bin "jrsonnet-fmt" test) generated 1 warning
|
Test Suite
`jrsonnet-evaluator` (lib test) generated 4 warnings (4 duplicates)
|