Skip to content

Modeling of types to represent query optimization with a persistent memo table #13

Modeling of types to represent query optimization with a persistent memo table

Modeling of types to represent query optimization with a persistent memo table #13

Triggered via pull request January 15, 2025 15:06
Status Failure
Total duration 28s
Artifacts

check.yml

on: pull_request
stable / fmt
12s
stable / fmt
nightly / doc
14s
nightly / doc
ubuntu / stable / features
11s
ubuntu / stable / features
Matrix: clippy
Matrix: msrv
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 74 warnings
ubuntu / 1.56.1
Process completed with exit code 101.
stable / fmt
Process completed with exit code 1.
[clippy] optd-types/src/memo/mod.rs#L59: optd-types/src/memo/mod.rs#L59
warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:59:9 | 59 | expr: LogicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` | = note: `#[warn(unused_variables)]` on by default
[clippy] optd-types/src/memo/mod.rs#L60: optd-types/src/memo/mod.rs#L60
warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:60:9 | 60 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[clippy] optd-types/src/memo/mod.rs#L67: optd-types/src/memo/mod.rs#L67
warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:67:9 | 67 | expr: LogicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[clippy] optd-types/src/memo/mod.rs#L68: optd-types/src/memo/mod.rs#L68
warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:68:9 | 68 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[clippy] optd-types/src/memo/mod.rs#L59: optd-types/src/memo/mod.rs#L59
warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:59:9 | 59 | expr: LogicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` | = note: `#[warn(unused_variables)]` on by default
[clippy] optd-types/src/memo/mod.rs#L75: optd-types/src/memo/mod.rs#L75
warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:75:9 | 75 | expr: PartialLogicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[clippy] optd-types/src/memo/mod.rs#L60: optd-types/src/memo/mod.rs#L60
warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:60:9 | 60 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[clippy] optd-types/src/memo/mod.rs#L67: optd-types/src/memo/mod.rs#L67
warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:67:9 | 67 | expr: LogicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[clippy] optd-types/src/memo/mod.rs#L76: optd-types/src/memo/mod.rs#L76
warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:76:9 | 76 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[clippy] optd-types/src/memo/mod.rs#L68: optd-types/src/memo/mod.rs#L68
warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:68:9 | 68 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[clippy] optd-types/src/memo/mod.rs#L83: optd-types/src/memo/mod.rs#L83
warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:83:9 | 83 | expr: PartialPhysicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[clippy] optd-types/src/memo/mod.rs#L75: optd-types/src/memo/mod.rs#L75
warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:75:9 | 75 | expr: PartialLogicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[clippy] optd-types/src/memo/mod.rs#L84: optd-types/src/memo/mod.rs#L84
warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:84:9 | 84 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[clippy] optd-types/src/memo/mod.rs#L76: optd-types/src/memo/mod.rs#L76
warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:76:9 | 76 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[clippy] optd-types/src/memo/mod.rs#L89: optd-types/src/memo/mod.rs#L89
warning: unused variable: `new_exprs` --> optd-types/src/memo/mod.rs:89:39 | 89 | pub fn add_expressions(&mut self, new_exprs: Vec<MemoNode>) { | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_exprs`
[clippy] optd-types/src/memo/mod.rs#L83: optd-types/src/memo/mod.rs#L83
warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:83:9 | 83 | expr: PartialPhysicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[clippy] optd-types/src/memo/mod.rs#L84: optd-types/src/memo/mod.rs#L84
warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:84:9 | 84 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[clippy] optd-types/src/memo/relation/logical_expression.rs#L5: optd-types/src/memo/relation/logical_expression.rs#L5
warning: type `memo::relation::logical_expression::Scan` is more private than the item `memo::relation::logical_expression::LogicalExpression::Scan::0` --> optd-types/src/memo/relation/logical_expression.rs:5:10 | 5 | Scan(Scan), | ^^^^ field `memo::relation::logical_expression::LogicalExpression::Scan::0` is reachable at visibility `pub` | note: but type `memo::relation::logical_expression::Scan` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/logical_expression.rs:11:1 | 11 | struct Scan { | ^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default
[clippy] optd-types/src/memo/mod.rs#L89: optd-types/src/memo/mod.rs#L89
warning: unused variable: `new_exprs` --> optd-types/src/memo/mod.rs:89:39 | 89 | pub fn add_expressions(&mut self, new_exprs: Vec<MemoNode>) { | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_exprs`
[clippy] optd-types/src/memo/relation/logical_expression.rs#L6: optd-types/src/memo/relation/logical_expression.rs#L6
warning: type `memo::relation::logical_expression::Filter` is more private than the item `memo::relation::logical_expression::LogicalExpression::Filter::0` --> optd-types/src/memo/relation/logical_expression.rs:6:12 | 6 | Filter(Filter), | ^^^^^^ field `memo::relation::logical_expression::LogicalExpression::Filter::0` is reachable at visibility `pub` | note: but type `memo::relation::logical_expression::Filter` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/logical_expression.rs:15:1 | 15 | struct Filter { | ^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L5: optd-types/src/memo/relation/logical_expression.rs#L5
warning: type `memo::relation::logical_expression::Scan` is more private than the item `memo::relation::logical_expression::LogicalExpression::Scan::0` --> optd-types/src/memo/relation/logical_expression.rs:5:10 | 5 | Scan(Scan), | ^^^^ field `memo::relation::logical_expression::LogicalExpression::Scan::0` is reachable at visibility `pub` | note: but type `memo::relation::logical_expression::Scan` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/logical_expression.rs:11:1 | 11 | struct Scan { | ^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default
[clippy] optd-types/src/memo/relation/logical_expression.rs#L7: optd-types/src/memo/relation/logical_expression.rs#L7
warning: type `memo::relation::logical_expression::Join` is more private than the item `memo::relation::logical_expression::LogicalExpression::Join::0` --> optd-types/src/memo/relation/logical_expression.rs:7:10 | 7 | Join(Join), | ^^^^ field `memo::relation::logical_expression::LogicalExpression::Join::0` is reachable at visibility `pub` | note: but type `memo::relation::logical_expression::Join` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/logical_expression.rs:20:1 | 20 | struct Join { | ^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L6: optd-types/src/memo/relation/logical_expression.rs#L6
warning: type `memo::relation::logical_expression::Filter` is more private than the item `memo::relation::logical_expression::LogicalExpression::Filter::0` --> optd-types/src/memo/relation/logical_expression.rs:6:12 | 6 | Filter(Filter), | ^^^^^^ field `memo::relation::logical_expression::LogicalExpression::Filter::0` is reachable at visibility `pub` | note: but type `memo::relation::logical_expression::Filter` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/logical_expression.rs:15:1 | 15 | struct Filter { | ^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L8: optd-types/src/memo/relation/logical_expression.rs#L8
warning: type `memo::relation::logical_expression::Sort` is more private than the item `memo::relation::logical_expression::LogicalExpression::Sort::0` --> optd-types/src/memo/relation/logical_expression.rs:8:10 | 8 | Sort(Sort), | ^^^^ field `memo::relation::logical_expression::LogicalExpression::Sort::0` is reachable at visibility `pub` | note: but type `memo::relation::logical_expression::Sort` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/logical_expression.rs:26:1 | 26 | struct Sort { | ^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L7: optd-types/src/memo/relation/logical_expression.rs#L7
warning: type `memo::relation::logical_expression::Join` is more private than the item `memo::relation::logical_expression::LogicalExpression::Join::0` --> optd-types/src/memo/relation/logical_expression.rs:7:10 | 7 | Join(Join), | ^^^^ field `memo::relation::logical_expression::LogicalExpression::Join::0` is reachable at visibility `pub` | note: but type `memo::relation::logical_expression::Join` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/logical_expression.rs:20:1 | 20 | struct Join { | ^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L5: optd-types/src/memo/relation/physical_expression.rs#L5
warning: type `memo::relation::physical_expression::TableScan` is more private than the item `memo::relation::physical_expression::PhysicalExpression::TableScan::0` --> optd-types/src/memo/relation/physical_expression.rs:5:15 | 5 | TableScan(TableScan), | ^^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::TableScan::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::TableScan` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:12:1 | 12 | struct TableScan { | ^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L8: optd-types/src/memo/relation/logical_expression.rs#L8
warning: type `memo::relation::logical_expression::Sort` is more private than the item `memo::relation::logical_expression::LogicalExpression::Sort::0` --> optd-types/src/memo/relation/logical_expression.rs:8:10 | 8 | Sort(Sort), | ^^^^ field `memo::relation::logical_expression::LogicalExpression::Sort::0` is reachable at visibility `pub` | note: but type `memo::relation::logical_expression::Sort` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/logical_expression.rs:26:1 | 26 | struct Sort { | ^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L5: optd-types/src/memo/relation/physical_expression.rs#L5
warning: type `memo::relation::physical_expression::TableScan` is more private than the item `memo::relation::physical_expression::PhysicalExpression::TableScan::0` --> optd-types/src/memo/relation/physical_expression.rs:5:15 | 5 | TableScan(TableScan), | ^^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::TableScan::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::TableScan` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:12:1 | 12 | struct TableScan { | ^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L6: optd-types/src/memo/relation/physical_expression.rs#L6
warning: type `memo::relation::physical_expression::PhysicalFilter` is more private than the item `memo::relation::physical_expression::PhysicalExpression::PhysicalFilter::0` --> optd-types/src/memo/relation/physical_expression.rs:6:20 | 6 | PhysicalFilter(PhysicalFilter), | ^^^^^^^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::PhysicalFilter::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::PhysicalFilter` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:16:1 | 16 | struct PhysicalFilter { | ^^^^^^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L6: optd-types/src/memo/relation/physical_expression.rs#L6
warning: type `memo::relation::physical_expression::PhysicalFilter` is more private than the item `memo::relation::physical_expression::PhysicalExpression::PhysicalFilter::0` --> optd-types/src/memo/relation/physical_expression.rs:6:20 | 6 | PhysicalFilter(PhysicalFilter), | ^^^^^^^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::PhysicalFilter::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::PhysicalFilter` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:16:1 | 16 | struct PhysicalFilter { | ^^^^^^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L7: optd-types/src/memo/relation/physical_expression.rs#L7
warning: type `memo::relation::physical_expression::SortMergeJoin` is more private than the item `memo::relation::physical_expression::PhysicalExpression::SortMergeJoin::0` --> optd-types/src/memo/relation/physical_expression.rs:7:19 | 7 | SortMergeJoin(SortMergeJoin), | ^^^^^^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::SortMergeJoin::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::SortMergeJoin` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:22:1 | 22 | struct SortMergeJoin { | ^^^^^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L7: optd-types/src/memo/relation/physical_expression.rs#L7
warning: type `memo::relation::physical_expression::SortMergeJoin` is more private than the item `memo::relation::physical_expression::PhysicalExpression::SortMergeJoin::0` --> optd-types/src/memo/relation/physical_expression.rs:7:19 | 7 | SortMergeJoin(SortMergeJoin), | ^^^^^^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::SortMergeJoin::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::SortMergeJoin` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:22:1 | 22 | struct SortMergeJoin { | ^^^^^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L8: optd-types/src/memo/relation/physical_expression.rs#L8
warning: type `memo::relation::physical_expression::HashJoin` is more private than the item `memo::relation::physical_expression::PhysicalExpression::HashJoin::0` --> optd-types/src/memo/relation/physical_expression.rs:8:14 | 8 | HashJoin(HashJoin), | ^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::HashJoin::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::HashJoin` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:29:1 | 29 | struct HashJoin { | ^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L8: optd-types/src/memo/relation/physical_expression.rs#L8
warning: type `memo::relation::physical_expression::HashJoin` is more private than the item `memo::relation::physical_expression::PhysicalExpression::HashJoin::0` --> optd-types/src/memo/relation/physical_expression.rs:8:14 | 8 | HashJoin(HashJoin), | ^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::HashJoin::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::HashJoin` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:29:1 | 29 | struct HashJoin { | ^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L9: optd-types/src/memo/relation/physical_expression.rs#L9
warning: type `memo::relation::physical_expression::MergeSort` is more private than the item `memo::relation::physical_expression::PhysicalExpression::MergeSort::0` --> optd-types/src/memo/relation/physical_expression.rs:9:15 | 9 | MergeSort(MergeSort), | ^^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::MergeSort::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::MergeSort` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:35:1 | 35 | struct MergeSort { | ^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L9: optd-types/src/memo/relation/physical_expression.rs#L9
warning: type `memo::relation::physical_expression::MergeSort` is more private than the item `memo::relation::physical_expression::PhysicalExpression::MergeSort::0` --> optd-types/src/memo/relation/physical_expression.rs:9:15 | 9 | MergeSort(MergeSort), | ^^^^^^^^^ field `memo::relation::physical_expression::PhysicalExpression::MergeSort::0` is reachable at visibility `pub` | note: but type `memo::relation::physical_expression::MergeSort` is only usable at visibility `pub(self)` --> optd-types/src/memo/relation/physical_expression.rs:35:1 | 35 | struct MergeSort { | ^^^^^^^^^^^^^^^^
[clippy] optd-types/src/lib.rs#L12: optd-types/src/lib.rs#L12
warning: field `0` is never read --> optd-types/src/lib.rs:12:20 | 12 | pub struct GroupId(usize); | ------- ^^^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default
[clippy] optd-types/src/lib.rs#L12: optd-types/src/lib.rs#L12
warning: field `0` is never read --> optd-types/src/lib.rs:12:20 | 12 | pub struct GroupId(usize); | ------- ^^^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default
[clippy] optd-types/src/memo/mod.rs#L15: optd-types/src/memo/mod.rs#L15
warning: struct `LogicalOperator` is never constructed --> optd-types/src/memo/mod.rs:15:12 | 15 | pub struct LogicalOperator; | ^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L17: optd-types/src/memo/mod.rs#L17
warning: struct `PhysicalOperator` is never constructed --> optd-types/src/memo/mod.rs:17:12 | 17 | pub struct PhysicalOperator; | ^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L15: optd-types/src/memo/mod.rs#L15
warning: struct `LogicalOperator` is never constructed --> optd-types/src/memo/mod.rs:15:12 | 15 | pub struct LogicalOperator; | ^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L24: optd-types/src/memo/mod.rs#L24
warning: enum `PartialLogicalExpression` is never used --> optd-types/src/memo/mod.rs:24:10 | 24 | pub enum PartialLogicalExpression { | ^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L36: optd-types/src/memo/mod.rs#L36
warning: enum `PartialPhysicalExpression` is never used --> optd-types/src/memo/mod.rs:36:10 | 36 | pub enum PartialPhysicalExpression { | ^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L17: optd-types/src/memo/mod.rs#L17
warning: struct `PhysicalOperator` is never constructed --> optd-types/src/memo/mod.rs:17:12 | 17 | pub struct PhysicalOperator; | ^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L43: optd-types/src/memo/mod.rs#L43
warning: struct `Memo` is never constructed --> optd-types/src/memo/mod.rs:43:12 | 43 | pub struct Memo; | ^^^^
[clippy] optd-types/src/memo/mod.rs#L24: optd-types/src/memo/mod.rs#L24
warning: enum `PartialLogicalExpression` is never used --> optd-types/src/memo/mod.rs:24:10 | 24 | pub enum PartialLogicalExpression { | ^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L45: optd-types/src/memo/mod.rs#L45
warning: methods `check_transformation`, `check_implementation`, `apply_transformation`, `apply_implementation`, and `add_expressions` are never used --> optd-types/src/memo/mod.rs:57:19 | 45 | impl Memo { | --------- methods in this implementation ... 57 | pub async fn check_transformation( | ^^^^^^^^^^^^^^^^^^^^ ... 65 | pub async fn check_implementation( | ^^^^^^^^^^^^^^^^^^^^ ... 73 | pub fn apply_transformation( | ^^^^^^^^^^^^^^^^^^^^ ... 81 | pub fn apply_implementation( | ^^^^^^^^^^^^^^^^^^^^ ... 89 | pub fn add_expressions(&mut self, new_exprs: Vec<MemoNode>) { | ^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L36: optd-types/src/memo/mod.rs#L36
warning: enum `PartialPhysicalExpression` is never used --> optd-types/src/memo/mod.rs:36:10 | 36 | pub enum PartialPhysicalExpression { | ^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L11: optd-types/src/memo/relation/logical_expression.rs#L11
warning: field `table_name` is never read --> optd-types/src/memo/relation/logical_expression.rs:12:5 | 11 | struct Scan { | ---- field in this struct 12 | table_name: String, | ^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L15: optd-types/src/memo/relation/logical_expression.rs#L15
warning: fields `child` and `predicate` are never read --> optd-types/src/memo/relation/logical_expression.rs:16:5 | 15 | struct Filter { | ------ fields in this struct 16 | child: GroupId, | ^^^^^ 17 | predicate: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/mod.rs#L43: optd-types/src/memo/mod.rs#L43
warning: struct `Memo` is never constructed --> optd-types/src/memo/mod.rs:43:12 | 43 | pub struct Memo; | ^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L20: optd-types/src/memo/relation/logical_expression.rs#L20
warning: fields `left`, `right`, and `condition` are never read --> optd-types/src/memo/relation/logical_expression.rs:21:5 | 20 | struct Join { | ---- fields in this struct 21 | left: GroupId, | ^^^^ 22 | right: GroupId, | ^^^^^ 23 | condition: GroupId, | ^^^^^^^^^
ubuntu / 1.56.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[clippy] optd-types/src/memo/mod.rs#L45: optd-types/src/memo/mod.rs#L45
warning: methods `check_transformation`, `check_implementation`, `apply_transformation`, `apply_implementation`, and `add_expressions` are never used --> optd-types/src/memo/mod.rs:57:19 | 45 | impl Memo { | --------- methods in this implementation ... 57 | pub async fn check_transformation( | ^^^^^^^^^^^^^^^^^^^^ ... 65 | pub async fn check_implementation( | ^^^^^^^^^^^^^^^^^^^^ ... 73 | pub fn apply_transformation( | ^^^^^^^^^^^^^^^^^^^^ ... 81 | pub fn apply_implementation( | ^^^^^^^^^^^^^^^^^^^^ ... 89 | pub fn add_expressions(&mut self, new_exprs: Vec<MemoNode>) { | ^^^^^^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L26: optd-types/src/memo/relation/logical_expression.rs#L26
warning: fields `child` and `sort_expr` are never read --> optd-types/src/memo/relation/logical_expression.rs:27:5 | 26 | struct Sort { | ---- fields in this struct 27 | child: GroupId, | ^^^^^ 28 | sort_expr: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L12: optd-types/src/memo/relation/physical_expression.rs#L12
warning: field `table_name` is never read --> optd-types/src/memo/relation/physical_expression.rs:13:5 | 12 | struct TableScan { | --------- field in this struct 13 | table_name: String, | ^^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L11: optd-types/src/memo/relation/logical_expression.rs#L11
warning: field `table_name` is never read --> optd-types/src/memo/relation/logical_expression.rs:12:5 | 11 | struct Scan { | ---- field in this struct 12 | table_name: String, | ^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L16: optd-types/src/memo/relation/physical_expression.rs#L16
warning: fields `child` and `predicate` are never read --> optd-types/src/memo/relation/physical_expression.rs:17:5 | 16 | struct PhysicalFilter { | -------------- fields in this struct 17 | child: GroupId, | ^^^^^ 18 | predicate: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L15: optd-types/src/memo/relation/logical_expression.rs#L15
warning: fields `child` and `predicate` are never read --> optd-types/src/memo/relation/logical_expression.rs:16:5 | 15 | struct Filter { | ------ fields in this struct 16 | child: GroupId, | ^^^^^ 17 | predicate: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L22: optd-types/src/memo/relation/physical_expression.rs#L22
warning: fields `left`, `right`, `condition`, and `sort_expr` are never read --> optd-types/src/memo/relation/physical_expression.rs:23:5 | 22 | struct SortMergeJoin { | ------------- fields in this struct 23 | left: GroupId, | ^^^^ 24 | right: GroupId, | ^^^^^ 25 | condition: GroupId, | ^^^^^^^^^ 26 | sort_expr: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L29: optd-types/src/memo/relation/physical_expression.rs#L29
warning: fields `left`, `right`, and `condition` are never read --> optd-types/src/memo/relation/physical_expression.rs:30:5 | 29 | struct HashJoin { | -------- fields in this struct 30 | left: GroupId, | ^^^^ 31 | right: GroupId, | ^^^^^ 32 | condition: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L20: optd-types/src/memo/relation/logical_expression.rs#L20
warning: fields `left`, `right`, and `condition` are never read --> optd-types/src/memo/relation/logical_expression.rs:21:5 | 20 | struct Join { | ---- fields in this struct 21 | left: GroupId, | ^^^^ 22 | right: GroupId, | ^^^^^ 23 | condition: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L35: optd-types/src/memo/relation/physical_expression.rs#L35
warning: fields `child` and `sort_expr` are never read --> optd-types/src/memo/relation/physical_expression.rs:36:5 | 35 | struct MergeSort { | --------- fields in this struct 36 | child: GroupId, | ^^^^^ 37 | sort_expr: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/logical_expression.rs#L26: optd-types/src/memo/relation/logical_expression.rs#L26
warning: fields `child` and `sort_expr` are never read --> optd-types/src/memo/relation/logical_expression.rs:27:5 | 26 | struct Sort { | ---- fields in this struct 27 | child: GroupId, | ^^^^^ 28 | sort_expr: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L12: optd-types/src/memo/relation/physical_expression.rs#L12
warning: field `table_name` is never read --> optd-types/src/memo/relation/physical_expression.rs:13:5 | 12 | struct TableScan { | --------- field in this struct 13 | table_name: String, | ^^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L16: optd-types/src/memo/relation/physical_expression.rs#L16
warning: fields `child` and `predicate` are never read --> optd-types/src/memo/relation/physical_expression.rs:17:5 | 16 | struct PhysicalFilter { | -------------- fields in this struct 17 | child: GroupId, | ^^^^^ 18 | predicate: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L22: optd-types/src/memo/relation/physical_expression.rs#L22
warning: fields `left`, `right`, `condition`, and `sort_expr` are never read --> optd-types/src/memo/relation/physical_expression.rs:23:5 | 22 | struct SortMergeJoin { | ------------- fields in this struct 23 | left: GroupId, | ^^^^ 24 | right: GroupId, | ^^^^^ 25 | condition: GroupId, | ^^^^^^^^^ 26 | sort_expr: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L29: optd-types/src/memo/relation/physical_expression.rs#L29
warning: fields `left`, `right`, and `condition` are never read --> optd-types/src/memo/relation/physical_expression.rs:30:5 | 29 | struct HashJoin { | -------- fields in this struct 30 | left: GroupId, | ^^^^ 31 | right: GroupId, | ^^^^^ 32 | condition: GroupId, | ^^^^^^^^^
[clippy] optd-types/src/memo/relation/physical_expression.rs#L35: optd-types/src/memo/relation/physical_expression.rs#L35
warning: fields `child` and `sort_expr` are never read --> optd-types/src/memo/relation/physical_expression.rs:36:5 | 35 | struct MergeSort { | --------- fields in this struct 36 | child: GroupId, | ^^^^^ 37 | sort_expr: GroupId, | ^^^^^^^^^
ubuntu / stable / features
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
stable / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
beta / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
stable / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
nightly / doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636