Skip to content

Make sure no AST types are bare slices #42468

Make sure no AST types are bare slices

Make sure no AST types are bare slices #42468

Triggered via pull request February 3, 2025 11:26
Status Failure
Total duration 3m 58s
Artifacts

cluster_endtoend_21.yml

on: pull_request
Run endtoend tests on Cluster (21)
3m 28s
Run endtoend tests on Cluster (21)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run endtoend tests on Cluster (21): go/vt/sqlparser/ast_copy_on_rewrite.go#L5364
cannot use n.SelectExprs (variable of type *SelectExprs2) as SelectExprs value in argument to c.copyOnRewriteSelectExprs
Run endtoend tests on Cluster (21): go/vt/sqlparser/ast_copy_on_rewrite.go#L5377
cannot use _SelectExprs.(SelectExprs) (comma, ok expression of type SelectExprs) as *SelectExprs2 value in assignment
Run endtoend tests on Cluster (21): go/vt/sqlparser/ast_equals.go#L4209
cannot use a.SelectExprs (variable of type *SelectExprs2) as SelectExprs value in argument to cmp.SelectExprs
Run endtoend tests on Cluster (21): go/vt/sqlparser/ast_equals.go#L4209
cannot use b.SelectExprs (variable of type *SelectExprs2) as SelectExprs value in argument to cmp.SelectExprs
Run endtoend tests on Cluster (21): go/vt/sqlparser/ast_rewrite.go#L8056
cannot use node.SelectExprs (variable of type *SelectExprs2) as SelectExprs value in argument to a.rewriteSelectExprs
Run endtoend tests on Cluster (21): go/vt/sqlparser/ast_rewrite.go#L8057
cannot use newNode.(SelectExprs) (comma, ok expression of type SelectExprs) as *SelectExprs2 value in assignment
Run endtoend tests on Cluster (21): go/vt/sqlparser/ast_visit.go#L3566
cannot use in.SelectExprs (variable of type *SelectExprs2) as SelectExprs value in argument to VisitSelectExprs
Run endtoend tests on Cluster (21): go/vt/sqlparser/parser.go#L147
invalid operation: cannot index stmt.(*Select).SelectExprs (variable of type *SelectExprs2)
Run endtoend tests on Cluster (21)
Process completed with exit code 1.
Run endtoend tests on Cluster (21)
unknown test file type for 'report.xml'
Run endtoend tests on Cluster (21)
The `python-version` input is not set. The version of Python currently in `PATH` will be used.