lower literals when binding eval #2894
ci_build_test.yml
on: push
Create conformance report for `push` and `pull_request` events
6m 25s
Matrix: Build and Test
Matrix: cargo-deny
Create comparison report for `pull_request` event
0s
Annotations
1 error and 115 warnings
Create conformance report for `push` and `pull_request` events
Process completed with exit code 101.
|
cargo-deny (bans licenses sources)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo-deny (advisories)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
doc list item without indentation:
partiql-conformance-tests/src/bin/generate_comparison_report.rs#L23
warning: doc list item without indentation
--> partiql-conformance-tests/src/bin/generate_comparison_report.rs:23:5
|
23 | /// regressed behavior)
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
23 | /// regressed behavior)
| ++
|
unreachable pattern:
partiql-logical-planner/src/typer.rs#L348
warning: unreachable pattern
--> partiql-logical-planner/src/typer.rs:348:21
|
348 | _ => {
| ^ no value can reach this
|
note: multiple earlier patterns match some of the same values
--> partiql-logical-planner/src/typer.rs:348:21
|
336 | Lit::Null | Lit::Missing => type_undefined!(),
| ------------------------ matches some of the same values
337 | Lit::Int8(_) | Lit::Int16(_) | Lit::Int32(_) | Lit::Int64(_) => {
| ------------------------------------------------------------ matches some of the same values
...
340 | Lit::Decimal(_) => type_decimal!(),
| --------------- matches some of the same values
341 | Lit::Double(_) => type_float64!(),
| -------------- matches some of the same values
...
348 | _ => {
| ^ ...and 6 other patterns collectively make this unreachable
= note: `#[warn(unreachable_patterns)]` on by default
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L164
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:164:13
|
163 | pub struct EvaluationFailAssertion {
| ----------------------- field in this struct
164 | pub result: String,
| ^^^^^^
|
= note: `EvaluationFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L157
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:157:13
|
156 | pub struct EvaluationSuccessAssertion {
| -------------------------- field in this struct
157 | pub result: String,
| ^^^^^^
|
= note: `EvaluationSuccessAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L152
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:152:13
|
151 | pub struct StaticAnalysisFailAssertion {
| --------------------------- field in this struct
152 | pub result: String,
| ^^^^^^
|
= note: `StaticAnalysisFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L147
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:147:13
|
146 | pub struct SyntaxFailAssertion {
| ------------------- field in this struct
147 | pub result: String,
| ^^^^^^
|
= note: `SyntaxFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L142
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:142:13
|
141 | pub struct SyntaxSuccessAssertion {
| ---------------------- field in this struct
142 | pub result: String,
| ^^^^^^
|
= note: `SyntaxSuccessAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L75
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:75:28
|
75 | StaticAnalysisFail(StaticAnalysisFailAssertion),
| ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
75 | StaticAnalysisFail(()),
| ~~
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L74
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:74:20
|
74 | SyntaxFail(SyntaxFailAssertion),
| ---------- ^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
74 | SyntaxFail(()),
| ~~
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L73
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:73:23
|
73 | SyntaxSuccess(SyntaxSuccessAssertion),
| ------------- ^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
73 | SyntaxSuccess(()),
| ~~
|
method `all_satisfies` is never used:
partiql-eval/src/eval/eval_expr_wrapper.rs#L22
warning: method `all_satisfies` is never used
--> partiql-eval/src/eval/eval_expr_wrapper.rs:22:8
|
20 | trait TypeSatisfier {
| ------------- method in this trait
21 | fn satisfies(&self, value: &Value) -> bool;
22 | fn all_satisfies<'a>(&self, values: impl Iterator<Item = &'a Value>) -> bool;
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `values`:
partiql-eval/src/eval/eval_expr_wrapper.rs#L80
warning: unused variable: `values`
--> partiql-eval/src/eval/eval_expr_wrapper.rs:80:33
|
80 | fn all_satisfies<'a>(&self, values: impl Iterator<Item = &'a Value>) -> bool {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
|
unused variable: `values`:
partiql-eval/src/eval/eval_expr_wrapper.rs#L63
warning: unused variable: `values`
--> partiql-eval/src/eval/eval_expr_wrapper.rs:63:33
|
63 | fn all_satisfies<'a>(&self, values: impl Iterator<Item = &'a Value>) -> bool {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
|
unused variable: `seq`:
partiql-eval/src/eval/eval_expr_wrapper.rs#L52
warning: unused variable: `seq`
--> partiql-eval/src/eval/eval_expr_wrapper.rs:52:74
|
52 | (StaticCategory::Sequence(shape), DatumCategoryRef::Sequence(seq)) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `shape`:
partiql-eval/src/eval/eval_expr_wrapper.rs#L52
warning: unused variable: `shape`
--> partiql-eval/src/eval/eval_expr_wrapper.rs:52:39
|
52 | (StaticCategory::Sequence(shape), DatumCategoryRef::Sequence(seq)) => {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape`
|
= note: `#[warn(unused_variables)]` on by default
|
unexpected `cfg` condition value: `serde`:
partiql-eval/src/eval/mod.rs#L149
warning: unexpected `cfg` condition value: `serde`
--> partiql-eval/src/eval/mod.rs:149:12
|
149 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `serde` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
spawned process is never `wait()`ed on:
partiql-conformance-tests/build.rs#L11
warning: spawned process is never `wait()`ed on
--> partiql-conformance-tests/build.rs:11:5
|
11 | / Command::new("cargo")
12 | | .arg("fmt")
13 | | .arg("--")
14 | | .spawn()
15 | | .expect("cargo fmt of tests/ failed");
| | ^- help: try: `.wait()`
| |_____________________________________________|
|
|
= note: not doing so might leave behind zombie processes
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes
= note: `#[warn(clippy::zombie_processes)]` on by default
|
function `parse_embedded_ion_str` is never used:
partiql-logical/src/util.rs#L91
warning: function `parse_embedded_ion_str` is never used
--> partiql-logical/src/util.rs:91:4
|
91 | fn parse_embedded_ion_str(contents: &str) -> Result<Value, LiteralError> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
variant `Literal` is never constructed:
partiql-logical/src/util.rs#L87
warning: variant `Literal` is never constructed
--> partiql-logical/src/util.rs:87:5
|
84 | pub enum LiteralError {
| ------------ variant in this enum
...
87 | Literal { literal: String, error: String },
| ^^^^^^^
|
= note: `LiteralError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
type `boxed_ion::BoxedIonStreamType` is more private than the item `boxed_ion::BoxedIon::parse`:
extension/partiql-extension-ion/src/boxed_ion.rs#L339
warning: type `boxed_ion::BoxedIonStreamType` is more private than the item `boxed_ion::BoxedIon::parse`
--> extension/partiql-extension-ion/src/boxed_ion.rs:339:5
|
339 | pub fn parse(data: Vec<u8>, expected: BoxedIonStreamType) -> IonResult<Self> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::parse` is reachable at visibility `pub`
|
note: but type `boxed_ion::BoxedIonStreamType` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:411:1
|
411 | enum BoxedIonStreamType {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
type `boxed_ion::IonContext` is more private than the item `boxed_ion::BoxedIon::new_value`:
extension/partiql-extension-ion/src/boxed_ion.rs#L324
warning: type `boxed_ion::IonContext` is more private than the item `boxed_ion::BoxedIon::new_value`
--> extension/partiql-extension-ion/src/boxed_ion.rs:324:5
|
324 | pub fn new_value(doc: impl Into<BoxedIonValue>, ctx: IonContextPtr) -> Value {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::new_value` is reachable at visibility `pub`
|
note: but type `boxed_ion::IonContext` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:66:1
|
66 | struct IonContext {
| ^^^^^^^^^^^^^^^^^
|
type `boxed_ion::BoxedIonValue` is more private than the item `boxed_ion::BoxedIon::new_value`:
extension/partiql-extension-ion/src/boxed_ion.rs#L324
warning: type `boxed_ion::BoxedIonValue` is more private than the item `boxed_ion::BoxedIon::new_value`
--> extension/partiql-extension-ion/src/boxed_ion.rs:324:5
|
324 | pub fn new_value(doc: impl Into<BoxedIonValue>, ctx: IonContextPtr) -> Value {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::new_value` is reachable at visibility `pub`
|
note: but type `boxed_ion::BoxedIonValue` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:418:1
|
418 | enum BoxedIonValue {
| ^^^^^^^^^^^^^^^^^^
|
type `boxed_ion::IonContext` is more private than the item `boxed_ion::BoxedIon::new`:
extension/partiql-extension-ion/src/boxed_ion.rs#L318
warning: type `boxed_ion::IonContext` is more private than the item `boxed_ion::BoxedIon::new`
--> extension/partiql-extension-ion/src/boxed_ion.rs:318:5
|
318 | pub fn new(doc: impl Into<BoxedIonValue>, ctx: IonContextPtr) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::new` is reachable at visibility `pub`
|
note: but type `boxed_ion::IonContext` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:66:1
|
66 | struct IonContext {
| ^^^^^^^^^^^^^^^^^
|
type `boxed_ion::BoxedIonValue` is more private than the item `boxed_ion::BoxedIon::new`:
extension/partiql-extension-ion/src/boxed_ion.rs#L318
warning: type `boxed_ion::BoxedIonValue` is more private than the item `boxed_ion::BoxedIon::new`
--> extension/partiql-extension-ion/src/boxed_ion.rs:318:5
|
318 | pub fn new(doc: impl Into<BoxedIonValue>, ctx: IonContextPtr) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::new` is reachable at visibility `pub`
|
note: but type `boxed_ion::BoxedIonValue` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:418:1
|
418 | enum BoxedIonValue {
| ^^^^^^^^^^^^^^^^^^
= note: `#[warn(private_bounds)]` on by default
|
type `boxed_ion::IonContext` is more private than the item `boxed_ion::IonContextPtr`:
extension/partiql-extension-ion/src/boxed_ion.rs#L82
warning: type `boxed_ion::IonContext` is more private than the item `boxed_ion::IonContextPtr`
--> extension/partiql-extension-ion/src/boxed_ion.rs:82:1
|
82 | pub type IonContextPtr = Rc<RefCell<IonContext>>;
| ^^^^^^^^^^^^^^^^^^^^^^ type alias `boxed_ion::IonContextPtr` is reachable at visibility `pub`
|
note: but type `boxed_ion::IonContext` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:66:1
|
66 | struct IonContext {
| ^^^^^^^^^^^^^^^^^
= note: `#[warn(private_interfaces)]` on by default
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L295
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:295:21
|
295 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L281
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:281:37
|
281 | BoxedIonValue::Sequence(seq) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `k`:
extension/partiql-extension-ion/src/boxed_ion.rs#L270
warning: unused variable: `k`
--> extension/partiql-extension-ion/src/boxed_ion.rs:270:23
|
270 | fn take_val(self, k: &BindingsName<'_>) -> Option<Value> {
| ^ help: if this is intentional, prefix it with an underscore: `_k`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L263
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:263:21
|
263 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L249
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:249:37
|
249 | BoxedIonValue::Sequence(seq) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L235
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:235:21
|
235 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L230
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:230:37
|
230 | BoxedIonValue::Sequence(seq) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L214
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:214:21
|
214 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L192
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:192:21
|
192 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L172
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:172:21
|
172 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L145
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:145:37
|
145 | BoxedIonValue::Sequence(seq) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L131
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:131:37
|
131 | BoxedIonValue::Sequence(seq) => DatumCategoryRef::Sequence(DatumSeqRef::Dynamic(self)),
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `state`:
extension/partiql-extension-ion/src/boxed_ion.rs#L112
warning: unused variable: `state`
--> extension/partiql-extension-ion/src/boxed_ion.rs:112:31
|
112 | fn hash<H: Hasher>(&self, state: &mut H) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
|
unused variable: `deserializer`:
extension/partiql-extension-ion/src/boxed_ion.rs#L103
warning: unused variable: `deserializer`
--> extension/partiql-extension-ion/src/boxed_ion.rs:103:23
|
103 | fn deserialize<D>(deserializer: D) -> std::result::Result<Self, D::Error>
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserializer`
|
unused variable: `serializer`:
extension/partiql-extension-ion/src/boxed_ion.rs#L93
warning: unused variable: `serializer`
--> extension/partiql-extension-ion/src/boxed_ion.rs:93:28
|
93 | fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serializer`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `ion_rs_old::IonReader`:
extension/partiql-extension-ion/src/boxed_ion.rs#L5
warning: unused import: `ion_rs_old::IonReader`
--> extension/partiql-extension-ion/src/boxed_ion.rs:5:5
|
5 | use ion_rs_old::IonReader;
| ^^^^^^^^^^^^^^^^^^^^^
|
unreachable call:
extension/partiql-extension-ion/src/boxed_ion.rs#L137
warning: unreachable call
--> extension/partiql-extension-ion/src/boxed_ion.rs:137:47
|
137 | _ => DatumCategoryRef::Scalar(DatumValueRef::Value(todo!())),
| ^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable
| |
| unreachable call
|
= note: `#[warn(unreachable_code)]` on by default
|
unused imports: `Deserialize` and `Serialize`:
extension/partiql-extension-ion/src/lib.rs#L5
warning: unused imports: `Deserialize` and `Serialize`
--> extension/partiql-extension-ion/src/lib.rs:5:13
|
5 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L164
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:164:13
|
163 | pub struct EvaluationFailAssertion {
| ----------------------- field in this struct
164 | pub result: String,
| ^^^^^^
|
= note: `EvaluationFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L157
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:157:13
|
156 | pub struct EvaluationSuccessAssertion {
| -------------------------- field in this struct
157 | pub result: String,
| ^^^^^^
|
= note: `EvaluationSuccessAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L152
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:152:13
|
151 | pub struct StaticAnalysisFailAssertion {
| --------------------------- field in this struct
152 | pub result: String,
| ^^^^^^
|
= note: `StaticAnalysisFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L147
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:147:13
|
146 | pub struct SyntaxFailAssertion {
| ------------------- field in this struct
147 | pub result: String,
| ^^^^^^
|
= note: `SyntaxFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L142
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:142:13
|
141 | pub struct SyntaxSuccessAssertion {
| ---------------------- field in this struct
142 | pub result: String,
| ^^^^^^
|
= note: `SyntaxSuccessAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L75
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:75:28
|
75 | StaticAnalysisFail(StaticAnalysisFailAssertion),
| ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
75 | StaticAnalysisFail(()),
| ~~
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L74
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:74:20
|
74 | SyntaxFail(SyntaxFailAssertion),
| ---------- ^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
74 | SyntaxFail(()),
| ~~
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L73
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:73:23
|
73 | SyntaxSuccess(SyntaxSuccessAssertion),
| ------------- ^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
73 | SyntaxSuccess(()),
| ~~
|
field `0` is never read:
partiql-value/src/embedded_doc.rs#L120
warning: field `0` is never read
--> partiql-value/src/embedded_doc.rs:120:32
|
120 | pub struct EmbeddedDocIter<'a>(EmbeddedDocValueIter<'a>);
| --------------- ^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= help: consider removing this field
= note: `#[warn(dead_code)]` on by default
|
unused variable: `doc`:
partiql-value/src/value/iter.rs#L44
warning: unused variable: `doc`
--> partiql-value/src/value/iter.rs:44:33
|
44 | ValueIter::Embedded(doc) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_doc`
|
unused variable: `doc`:
partiql-value/src/value/iter.rs#L24
warning: unused variable: `doc`
--> partiql-value/src/value/iter.rs:24:33
|
24 | ValueIter::Embedded(doc) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_doc`
|
= note: `#[warn(unused_variables)]` on by default
|
unnecessary associated type bound for dyn-incompatible associated type:
partiql-value/src/embedded_document.rs#L36
warning: unnecessary associated type bound for dyn-incompatible associated type
--> partiql-value/src/embedded_document.rs:36:60
|
36 | pub type EmbeddedTypeTag<D> = Box<dyn EmbeddedDocumentType<Doc = D>>;
| ^^^^^^^ help: remove this bound
|
= note: this associated type has a `where Self: Sized` bound, and while the associated type can be specified, it cannot be used because trait objects are never `Sized`
= note: `#[warn(unused_associated_type_bounds)]` on by default
|
unused imports: `Deserialize` and `Serialize`:
partiql-value/src/lib.rs#L30
warning: unused imports: `Deserialize` and `Serialize`
--> partiql-value/src/lib.rs:30:13
|
30 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
doc list item without indentation:
partiql-conformance-tests/src/bin/generate_comparison_report.rs#L23
warning: doc list item without indentation
--> partiql-conformance-tests/src/bin/generate_comparison_report.rs:23:5
|
23 | /// regressed behavior)
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
23 | /// regressed behavior)
| ++
|
unreachable pattern:
partiql-logical-planner/src/typer.rs#L348
warning: unreachable pattern
--> partiql-logical-planner/src/typer.rs:348:21
|
348 | _ => {
| ^ no value can reach this
|
note: multiple earlier patterns match some of the same values
--> partiql-logical-planner/src/typer.rs:348:21
|
336 | Lit::Null | Lit::Missing => type_undefined!(),
| ------------------------ matches some of the same values
337 | Lit::Int8(_) | Lit::Int16(_) | Lit::Int32(_) | Lit::Int64(_) => {
| ------------------------------------------------------------ matches some of the same values
...
340 | Lit::Decimal(_) => type_decimal!(),
| --------------- matches some of the same values
341 | Lit::Double(_) => type_float64!(),
| -------------- matches some of the same values
...
348 | _ => {
| ^ ...and 6 other patterns collectively make this unreachable
= note: `#[warn(unreachable_patterns)]` on by default
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L164
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:164:13
|
163 | pub struct EvaluationFailAssertion {
| ----------------------- field in this struct
164 | pub result: String,
| ^^^^^^
|
= note: `EvaluationFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L157
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:157:13
|
156 | pub struct EvaluationSuccessAssertion {
| -------------------------- field in this struct
157 | pub result: String,
| ^^^^^^
|
= note: `EvaluationSuccessAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L152
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:152:13
|
151 | pub struct StaticAnalysisFailAssertion {
| --------------------------- field in this struct
152 | pub result: String,
| ^^^^^^
|
= note: `StaticAnalysisFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L147
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:147:13
|
146 | pub struct SyntaxFailAssertion {
| ------------------- field in this struct
147 | pub result: String,
| ^^^^^^
|
= note: `SyntaxFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L142
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:142:13
|
141 | pub struct SyntaxSuccessAssertion {
| ---------------------- field in this struct
142 | pub result: String,
| ^^^^^^
|
= note: `SyntaxSuccessAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L75
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:75:28
|
75 | StaticAnalysisFail(StaticAnalysisFailAssertion),
| ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
75 | StaticAnalysisFail(()),
| ~~
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L74
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:74:20
|
74 | SyntaxFail(SyntaxFailAssertion),
| ---------- ^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
74 | SyntaxFail(()),
| ~~
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L73
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:73:23
|
73 | SyntaxSuccess(SyntaxSuccessAssertion),
| ------------- ^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
73 | SyntaxSuccess(()),
| ~~
|
method `all_satisfies` is never used:
partiql-eval/src/eval/eval_expr_wrapper.rs#L22
warning: method `all_satisfies` is never used
--> partiql-eval/src/eval/eval_expr_wrapper.rs:22:8
|
20 | trait TypeSatisfier {
| ------------- method in this trait
21 | fn satisfies(&self, value: &Value) -> bool;
22 | fn all_satisfies<'a>(&self, values: impl Iterator<Item = &'a Value>) -> bool;
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `values`:
partiql-eval/src/eval/eval_expr_wrapper.rs#L80
warning: unused variable: `values`
--> partiql-eval/src/eval/eval_expr_wrapper.rs:80:33
|
80 | fn all_satisfies<'a>(&self, values: impl Iterator<Item = &'a Value>) -> bool {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
|
unused variable: `values`:
partiql-eval/src/eval/eval_expr_wrapper.rs#L63
warning: unused variable: `values`
--> partiql-eval/src/eval/eval_expr_wrapper.rs:63:33
|
63 | fn all_satisfies<'a>(&self, values: impl Iterator<Item = &'a Value>) -> bool {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
|
unused variable: `seq`:
partiql-eval/src/eval/eval_expr_wrapper.rs#L52
warning: unused variable: `seq`
--> partiql-eval/src/eval/eval_expr_wrapper.rs:52:74
|
52 | (StaticCategory::Sequence(shape), DatumCategoryRef::Sequence(seq)) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `shape`:
partiql-eval/src/eval/eval_expr_wrapper.rs#L52
warning: unused variable: `shape`
--> partiql-eval/src/eval/eval_expr_wrapper.rs:52:39
|
52 | (StaticCategory::Sequence(shape), DatumCategoryRef::Sequence(seq)) => {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape`
|
= note: `#[warn(unused_variables)]` on by default
|
unexpected `cfg` condition value: `serde`:
partiql-eval/src/eval/mod.rs#L149
warning: unexpected `cfg` condition value: `serde`
--> partiql-eval/src/eval/mod.rs:149:12
|
149 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `serde` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
spawned process is never `wait()`ed on:
partiql-conformance-tests/build.rs#L11
warning: spawned process is never `wait()`ed on
--> partiql-conformance-tests/build.rs:11:5
|
11 | / Command::new("cargo")
12 | | .arg("fmt")
13 | | .arg("--")
14 | | .spawn()
15 | | .expect("cargo fmt of tests/ failed");
| | ^- help: try: `.wait()`
| |_____________________________________________|
|
|
= note: not doing so might leave behind zombie processes
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes
= note: `#[warn(clippy::zombie_processes)]` on by default
|
function `parse_embedded_ion_str` is never used:
partiql-logical/src/util.rs#L91
warning: function `parse_embedded_ion_str` is never used
--> partiql-logical/src/util.rs:91:4
|
91 | fn parse_embedded_ion_str(contents: &str) -> Result<Value, LiteralError> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
variant `Literal` is never constructed:
partiql-logical/src/util.rs#L87
warning: variant `Literal` is never constructed
--> partiql-logical/src/util.rs:87:5
|
84 | pub enum LiteralError {
| ------------ variant in this enum
...
87 | Literal { literal: String, error: String },
| ^^^^^^^
|
= note: `LiteralError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
type `boxed_ion::BoxedIonStreamType` is more private than the item `boxed_ion::BoxedIon::parse`:
extension/partiql-extension-ion/src/boxed_ion.rs#L339
warning: type `boxed_ion::BoxedIonStreamType` is more private than the item `boxed_ion::BoxedIon::parse`
--> extension/partiql-extension-ion/src/boxed_ion.rs:339:5
|
339 | pub fn parse(data: Vec<u8>, expected: BoxedIonStreamType) -> IonResult<Self> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::parse` is reachable at visibility `pub`
|
note: but type `boxed_ion::BoxedIonStreamType` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:411:1
|
411 | enum BoxedIonStreamType {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
type `boxed_ion::IonContext` is more private than the item `boxed_ion::BoxedIon::new_value`:
extension/partiql-extension-ion/src/boxed_ion.rs#L324
warning: type `boxed_ion::IonContext` is more private than the item `boxed_ion::BoxedIon::new_value`
--> extension/partiql-extension-ion/src/boxed_ion.rs:324:5
|
324 | pub fn new_value(doc: impl Into<BoxedIonValue>, ctx: IonContextPtr) -> Value {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::new_value` is reachable at visibility `pub`
|
note: but type `boxed_ion::IonContext` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:66:1
|
66 | struct IonContext {
| ^^^^^^^^^^^^^^^^^
|
type `boxed_ion::BoxedIonValue` is more private than the item `boxed_ion::BoxedIon::new_value`:
extension/partiql-extension-ion/src/boxed_ion.rs#L324
warning: type `boxed_ion::BoxedIonValue` is more private than the item `boxed_ion::BoxedIon::new_value`
--> extension/partiql-extension-ion/src/boxed_ion.rs:324:5
|
324 | pub fn new_value(doc: impl Into<BoxedIonValue>, ctx: IonContextPtr) -> Value {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::new_value` is reachable at visibility `pub`
|
note: but type `boxed_ion::BoxedIonValue` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:418:1
|
418 | enum BoxedIonValue {
| ^^^^^^^^^^^^^^^^^^
|
type `boxed_ion::IonContext` is more private than the item `boxed_ion::BoxedIon::new`:
extension/partiql-extension-ion/src/boxed_ion.rs#L318
warning: type `boxed_ion::IonContext` is more private than the item `boxed_ion::BoxedIon::new`
--> extension/partiql-extension-ion/src/boxed_ion.rs:318:5
|
318 | pub fn new(doc: impl Into<BoxedIonValue>, ctx: IonContextPtr) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::new` is reachable at visibility `pub`
|
note: but type `boxed_ion::IonContext` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:66:1
|
66 | struct IonContext {
| ^^^^^^^^^^^^^^^^^
|
type `boxed_ion::BoxedIonValue` is more private than the item `boxed_ion::BoxedIon::new`:
extension/partiql-extension-ion/src/boxed_ion.rs#L318
warning: type `boxed_ion::BoxedIonValue` is more private than the item `boxed_ion::BoxedIon::new`
--> extension/partiql-extension-ion/src/boxed_ion.rs:318:5
|
318 | pub fn new(doc: impl Into<BoxedIonValue>, ctx: IonContextPtr) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `boxed_ion::BoxedIon::new` is reachable at visibility `pub`
|
note: but type `boxed_ion::BoxedIonValue` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:418:1
|
418 | enum BoxedIonValue {
| ^^^^^^^^^^^^^^^^^^
= note: `#[warn(private_bounds)]` on by default
|
type `boxed_ion::IonContext` is more private than the item `boxed_ion::IonContextPtr`:
extension/partiql-extension-ion/src/boxed_ion.rs#L82
warning: type `boxed_ion::IonContext` is more private than the item `boxed_ion::IonContextPtr`
--> extension/partiql-extension-ion/src/boxed_ion.rs:82:1
|
82 | pub type IonContextPtr = Rc<RefCell<IonContext>>;
| ^^^^^^^^^^^^^^^^^^^^^^ type alias `boxed_ion::IonContextPtr` is reachable at visibility `pub`
|
note: but type `boxed_ion::IonContext` is only usable at visibility `pub(self)`
--> extension/partiql-extension-ion/src/boxed_ion.rs:66:1
|
66 | struct IonContext {
| ^^^^^^^^^^^^^^^^^
= note: `#[warn(private_interfaces)]` on by default
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L295
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:295:21
|
295 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L281
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:281:37
|
281 | BoxedIonValue::Sequence(seq) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `k`:
extension/partiql-extension-ion/src/boxed_ion.rs#L270
warning: unused variable: `k`
--> extension/partiql-extension-ion/src/boxed_ion.rs:270:23
|
270 | fn take_val(self, k: &BindingsName<'_>) -> Option<Value> {
| ^ help: if this is intentional, prefix it with an underscore: `_k`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L263
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:263:21
|
263 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L249
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:249:37
|
249 | BoxedIonValue::Sequence(seq) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L235
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:235:21
|
235 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L230
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:230:37
|
230 | BoxedIonValue::Sequence(seq) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L214
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:214:21
|
214 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L192
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:192:21
|
192 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `e`:
extension/partiql-extension-ion/src/boxed_ion.rs#L172
warning: unused variable: `e`
--> extension/partiql-extension-ion/src/boxed_ion.rs:172:21
|
172 | Err(e) => todo!(),
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L145
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:145:37
|
145 | BoxedIonValue::Sequence(seq) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `seq`:
extension/partiql-extension-ion/src/boxed_ion.rs#L131
warning: unused variable: `seq`
--> extension/partiql-extension-ion/src/boxed_ion.rs:131:37
|
131 | BoxedIonValue::Sequence(seq) => DatumCategoryRef::Sequence(DatumSeqRef::Dynamic(self)),
| ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
|
unused variable: `state`:
extension/partiql-extension-ion/src/boxed_ion.rs#L112
warning: unused variable: `state`
--> extension/partiql-extension-ion/src/boxed_ion.rs:112:31
|
112 | fn hash<H: Hasher>(&self, state: &mut H) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
|
unused variable: `deserializer`:
extension/partiql-extension-ion/src/boxed_ion.rs#L103
warning: unused variable: `deserializer`
--> extension/partiql-extension-ion/src/boxed_ion.rs:103:23
|
103 | fn deserialize<D>(deserializer: D) -> std::result::Result<Self, D::Error>
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserializer`
|
unused variable: `serializer`:
extension/partiql-extension-ion/src/boxed_ion.rs#L93
warning: unused variable: `serializer`
--> extension/partiql-extension-ion/src/boxed_ion.rs:93:28
|
93 | fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serializer`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `ion_rs_old::IonReader`:
extension/partiql-extension-ion/src/boxed_ion.rs#L5
warning: unused import: `ion_rs_old::IonReader`
--> extension/partiql-extension-ion/src/boxed_ion.rs:5:5
|
5 | use ion_rs_old::IonReader;
| ^^^^^^^^^^^^^^^^^^^^^
|
unreachable call:
extension/partiql-extension-ion/src/boxed_ion.rs#L137
warning: unreachable call
--> extension/partiql-extension-ion/src/boxed_ion.rs:137:47
|
137 | _ => DatumCategoryRef::Scalar(DatumValueRef::Value(todo!())),
| ^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable
| |
| unreachable call
|
= note: `#[warn(unreachable_code)]` on by default
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L164
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:164:13
|
163 | pub struct EvaluationFailAssertion {
| ----------------------- field in this struct
164 | pub result: String,
| ^^^^^^
|
= note: `EvaluationFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L157
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:157:13
|
156 | pub struct EvaluationSuccessAssertion {
| -------------------------- field in this struct
157 | pub result: String,
| ^^^^^^
|
= note: `EvaluationSuccessAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L152
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:152:13
|
151 | pub struct StaticAnalysisFailAssertion {
| --------------------------- field in this struct
152 | pub result: String,
| ^^^^^^
|
= note: `StaticAnalysisFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L147
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:147:13
|
146 | pub struct SyntaxFailAssertion {
| ------------------- field in this struct
147 | pub result: String,
| ^^^^^^
|
= note: `SyntaxFailAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `result` is never read:
partiql-conformance-test-generator/src/schema.rs#L142
warning: field `result` is never read
--> partiql-conformance-test-generator/src/schema.rs:142:13
|
141 | pub struct SyntaxSuccessAssertion {
| ---------------------- field in this struct
142 | pub result: String,
| ^^^^^^
|
= note: `SyntaxSuccessAssertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L75
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:75:28
|
75 | StaticAnalysisFail(StaticAnalysisFailAssertion),
| ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
75 | StaticAnalysisFail(()),
| ~~
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L74
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:74:20
|
74 | SyntaxFail(SyntaxFailAssertion),
| ---------- ^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
74 | SyntaxFail(()),
| ~~
|
field `0` is never read:
partiql-conformance-test-generator/src/schema.rs#L73
warning: field `0` is never read
--> partiql-conformance-test-generator/src/schema.rs:73:23
|
73 | SyntaxSuccess(SyntaxSuccessAssertion),
| ------------- ^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `Assertion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
73 | SyntaxSuccess(()),
| ~~
|
unused imports: `Deserialize` and `Serialize`:
extension/partiql-extension-ion/src/lib.rs#L5
warning: unused imports: `Deserialize` and `Serialize`
--> extension/partiql-extension-ion/src/lib.rs:5:13
|
5 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
field `0` is never read:
partiql-value/src/embedded_doc.rs#L120
warning: field `0` is never read
--> partiql-value/src/embedded_doc.rs:120:32
|
120 | pub struct EmbeddedDocIter<'a>(EmbeddedDocValueIter<'a>);
| --------------- ^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= help: consider removing this field
= note: `#[warn(dead_code)]` on by default
|
unused variable: `doc`:
partiql-value/src/value/iter.rs#L44
warning: unused variable: `doc`
--> partiql-value/src/value/iter.rs:44:33
|
44 | ValueIter::Embedded(doc) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_doc`
|
unused variable: `doc`:
partiql-value/src/value/iter.rs#L24
warning: unused variable: `doc`
--> partiql-value/src/value/iter.rs:24:33
|
24 | ValueIter::Embedded(doc) => {
| ^^^ help: if this is intentional, prefix it with an underscore: `_doc`
|
= note: `#[warn(unused_variables)]` on by default
|
unnecessary associated type bound for dyn-incompatible associated type:
partiql-value/src/embedded_document.rs#L36
warning: unnecessary associated type bound for dyn-incompatible associated type
--> partiql-value/src/embedded_document.rs:36:60
|
36 | pub type EmbeddedTypeTag<D> = Box<dyn EmbeddedDocumentType<Doc = D>>;
| ^^^^^^^ help: remove this bound
|
= note: this associated type has a `where Self: Sized` bound, and while the associated type can be specified, it cannot be used because trait objects are never `Sized`
= note: `#[warn(unused_associated_type_bounds)]` on by default
|
unused imports: `Deserialize` and `Serialize`:
partiql-value/src/lib.rs#L30
warning: unused imports: `Deserialize` and `Serialize`
--> partiql-value/src/lib.rs:30:13
|
30 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "artifact".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact
|
1020 KB |
|