Skip to content

Limited string templates: \(identifier) #10165

Limited string templates: \(identifier)

Limited string templates: \(identifier) #10165

Triggered via pull request September 19, 2024 15:30
Status Failure
Total duration 2m 45s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 5 warnings
Lint: runtime/cmd/compile/main.go#L27
could not import github.com/onflow/cadence/runtime/compiler (-: # github.com/onflow/cadence/runtime/compiler
Lint: runtime/compiler/compiler.go#L37
cannot use &Compiler{} (value of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in variable declaration: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Lint: runtime/compiler/compiler.go#L65
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Lint: runtime/compiler/compiler.go#L121
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Lint: runtime/compiler/compiler.go#L234
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Lint: runtime/compiler/compiler.go#L235
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)) (typecheck)
Lint: runtime/compiler/compiler.go#L37
cannot use &Compiler{} (value of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in variable declaration: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Lint: runtime/compiler/compiler.go#L65
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Lint: runtime/compiler/compiler.go#L121
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Lint: runtime/compiler/compiler.go#L234
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Test: runtime/compiler/compiler.go#L37
cannot use &Compiler{} (value of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in variable declaration: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Test: runtime/compiler/compiler.go#L65
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Test: runtime/compiler/compiler.go#L121
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Test: runtime/compiler/compiler.go#L234
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Test: runtime/compiler/compiler.go#L235
cannot use compiler (variable of type *Compiler) as ast.ExpressionVisitor[ir.Expr] value in argument to ast.AcceptExpression[ir.Expr]: *Compiler does not implement ast.ExpressionVisitor[ir.Expr] (missing method VisitStringTemplateExpression)
Test
Process completed with exit code 2.
Semgrep
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint JSON
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint JSON
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/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/