Skip to content

Implement tern template support #5750

Implement tern template support

Implement tern template support #5750

Triggered via pull request October 16, 2025 15:07
@No3371No3371
synchronize #4141
No3371:main
Status Failure
Total duration 36s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

85 errors and 8 warnings
build linux/arm64: internal/plugin/codegen_grpc.pb.go#L11
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/arm64: internal/codegen/golang/opts/go_type.go#L10
missing go.sum entry for module providing package github.com/fatih/structtag (imported by github.com/sqlc-dev/sqlc/internal/codegen/golang/opts); to add:
build linux/arm64: internal/cmd/cmd.go#L17
missing go.sum entry for module providing package github.com/spf13/pflag (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/arm64: internal/cmd/cmd.go#L16
missing go.sum entry for module providing package github.com/spf13/cobra (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/arm64: internal/cmd/verify.go#L11
missing go.sum entry for module providing package github.com/jackc/pgx/v5/stdlib (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/arm64: internal/cmd/vet.go#L22
missing go.sum entry for module providing package github.com/jackc/pgx/v5 (imported by github.com/sqlc-dev/sqlc/examples/authors/postgresql); to add:
build linux/arm64: internal/cmd/vet.go#L21
missing go.sum entry for module providing package github.com/google/cel-go/ext (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/arm64: internal/cmd/vet.go#L20
missing go.sum entry for module providing package github.com/google/cel-go/cel (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/arm64: internal/cmd/vet.go#L19
missing go.sum entry for module providing package github.com/go-sql-driver/mysql (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/arm64: internal/cmd/cmd.go#L15
missing go.sum entry for module providing package github.com/cubicdaiya/gonp (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/amd64
The strategy configuration was canceled because "build.linux_arm64" failed
build darwin/amd64: internal/plugin/codegen_grpc.pb.go#L11
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/amd64: internal/codegen/golang/opts/go_type.go#L10
missing go.sum entry for module providing package github.com/fatih/structtag (imported by github.com/sqlc-dev/sqlc/internal/codegen/golang/opts); to add:
build darwin/amd64: internal/cmd/cmd.go#L17
missing go.sum entry for module providing package github.com/spf13/pflag (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/amd64: internal/cmd/cmd.go#L16
missing go.sum entry for module providing package github.com/spf13/cobra (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/amd64: internal/cmd/verify.go#L11
missing go.sum entry for module providing package github.com/jackc/pgx/v5/stdlib (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/amd64: internal/cmd/vet.go#L22
missing go.sum entry for module providing package github.com/jackc/pgx/v5 (imported by github.com/sqlc-dev/sqlc/examples/authors/postgresql); to add:
build darwin/amd64: internal/cmd/vet.go#L21
missing go.sum entry for module providing package github.com/google/cel-go/ext (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/amd64: internal/cmd/vet.go#L20
missing go.sum entry for module providing package github.com/google/cel-go/cel (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/amd64: internal/cmd/vet.go#L19
missing go.sum entry for module providing package github.com/go-sql-driver/mysql (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/amd64: internal/cmd/cmd.go#L15
missing go.sum entry for module providing package github.com/cubicdaiya/gonp (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/arm64
The strategy configuration was canceled because "build.linux_arm64" failed
build darwin/arm64: internal/plugin/codegen_grpc.pb.go#L11
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/arm64: internal/codegen/golang/opts/go_type.go#L10
missing go.sum entry for module providing package github.com/fatih/structtag (imported by github.com/sqlc-dev/sqlc/internal/codegen/golang/opts); to add:
build darwin/arm64: internal/cmd/cmd.go#L17
missing go.sum entry for module providing package github.com/spf13/pflag (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/arm64: internal/cmd/cmd.go#L16
missing go.sum entry for module providing package github.com/spf13/cobra (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/arm64: internal/cmd/verify.go#L11
missing go.sum entry for module providing package github.com/jackc/pgx/v5/stdlib (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/arm64: internal/cmd/vet.go#L22
missing go.sum entry for module providing package github.com/jackc/pgx/v5 (imported by github.com/sqlc-dev/sqlc/examples/authors/postgresql); to add:
build darwin/arm64: internal/cmd/vet.go#L21
missing go.sum entry for module providing package github.com/google/cel-go/ext (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/arm64: internal/cmd/vet.go#L20
missing go.sum entry for module providing package github.com/google/cel-go/cel (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/arm64: internal/cmd/vet.go#L19
missing go.sum entry for module providing package github.com/go-sql-driver/mysql (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build darwin/arm64: internal/cmd/cmd.go#L15
missing go.sum entry for module providing package github.com/cubicdaiya/gonp (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/arm64
The strategy configuration was canceled because "build.linux_arm64" failed
build windows/arm64: internal/plugin/codegen_grpc.pb.go#L11
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/arm64: internal/codegen/golang/opts/go_type.go#L10
missing go.sum entry for module providing package github.com/fatih/structtag (imported by github.com/sqlc-dev/sqlc/internal/codegen/golang/opts); to add:
build windows/arm64: internal/cmd/cmd.go#L17
missing go.sum entry for module providing package github.com/spf13/pflag (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/arm64: internal/cmd/cmd.go#L16
missing go.sum entry for module providing package github.com/spf13/cobra (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/arm64: internal/cmd/verify.go#L11
missing go.sum entry for module providing package github.com/jackc/pgx/v5/stdlib (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/arm64: internal/cmd/vet.go#L22
missing go.sum entry for module providing package github.com/jackc/pgx/v5 (imported by github.com/sqlc-dev/sqlc/examples/authors/postgresql); to add:
build windows/arm64: internal/cmd/vet.go#L21
missing go.sum entry for module providing package github.com/google/cel-go/ext (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/arm64: internal/cmd/vet.go#L20
missing go.sum entry for module providing package github.com/google/cel-go/cel (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/arm64: internal/cmd/vet.go#L19
missing go.sum entry for module providing package github.com/go-sql-driver/mysql (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/arm64: internal/cmd/cmd.go#L15
missing go.sum entry for module providing package github.com/cubicdaiya/gonp (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/amd64
The strategy configuration was canceled because "build.linux_arm64" failed
build windows/amd64: internal/plugin/codegen_grpc.pb.go#L11
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/amd64: internal/codegen/golang/opts/go_type.go#L10
missing go.sum entry for module providing package github.com/fatih/structtag (imported by github.com/sqlc-dev/sqlc/internal/codegen/golang/opts); to add:
build windows/amd64: internal/cmd/cmd.go#L17
missing go.sum entry for module providing package github.com/spf13/pflag (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/amd64: internal/cmd/cmd.go#L16
missing go.sum entry for module providing package github.com/spf13/cobra (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/amd64: internal/cmd/verify.go#L11
missing go.sum entry for module providing package github.com/jackc/pgx/v5/stdlib (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/amd64: internal/cmd/vet.go#L22
missing go.sum entry for module providing package github.com/jackc/pgx/v5 (imported by github.com/sqlc-dev/sqlc/examples/authors/postgresql); to add:
build windows/amd64: internal/cmd/vet.go#L21
missing go.sum entry for module providing package github.com/google/cel-go/ext (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/amd64: internal/cmd/vet.go#L20
missing go.sum entry for module providing package github.com/google/cel-go/cel (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/amd64: internal/cmd/vet.go#L19
missing go.sum entry for module providing package github.com/go-sql-driver/mysql (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build windows/amd64: internal/cmd/cmd.go#L15
missing go.sum entry for module providing package github.com/cubicdaiya/gonp (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/amd64
The strategy configuration was canceled because "build.linux_arm64" failed
build linux/amd64: internal/plugin/codegen_grpc.pb.go#L11
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/amd64: internal/codegen/golang/opts/go_type.go#L10
missing go.sum entry for module providing package github.com/fatih/structtag (imported by github.com/sqlc-dev/sqlc/internal/codegen/golang/opts); to add:
build linux/amd64: internal/cmd/cmd.go#L17
missing go.sum entry for module providing package github.com/spf13/pflag (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/amd64: internal/cmd/cmd.go#L16
missing go.sum entry for module providing package github.com/spf13/cobra (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/amd64: internal/cmd/verify.go#L11
missing go.sum entry for module providing package github.com/jackc/pgx/v5/stdlib (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/amd64: internal/cmd/vet.go#L22
missing go.sum entry for module providing package github.com/jackc/pgx/v5 (imported by github.com/sqlc-dev/sqlc/examples/authors/postgresql); to add:
build linux/amd64: internal/cmd/vet.go#L21
missing go.sum entry for module providing package github.com/google/cel-go/ext (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/amd64: internal/cmd/vet.go#L20
missing go.sum entry for module providing package github.com/google/cel-go/cel (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/amd64: internal/cmd/vet.go#L19
missing go.sum entry for module providing package github.com/go-sql-driver/mysql (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/amd64: internal/cmd/cmd.go#L15
missing go.sum entry for module providing package github.com/cubicdaiya/gonp (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
test: internal/plugin/codegen_grpc.pb.go#L11
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
test: internal/codegen/golang/opts/go_type.go#L10
missing go.sum entry for module providing package github.com/fatih/structtag (imported by github.com/sqlc-dev/sqlc/internal/codegen/golang/opts); to add:
test: internal/cmd/cmd.go#L17
missing go.sum entry for module providing package github.com/spf13/pflag (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
test: internal/cmd/cmd.go#L16
missing go.sum entry for module providing package github.com/spf13/cobra (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
test: internal/cmd/verify.go#L11
missing go.sum entry for module providing package github.com/jackc/pgx/v5/stdlib (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
test: internal/cmd/vet.go#L22
missing go.sum entry for module providing package github.com/jackc/pgx/v5 (imported by github.com/sqlc-dev/sqlc/examples/authors/postgresql); to add:
test: internal/cmd/vet.go#L21
missing go.sum entry for module providing package github.com/google/cel-go/ext (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
test: internal/cmd/vet.go#L20
missing go.sum entry for module providing package github.com/google/cel-go/cel (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
test: internal/cmd/vet.go#L19
missing go.sum entry for module providing package github.com/go-sql-driver/mysql (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
test: internal/cmd/cmd.go#L15
missing go.sum entry for module providing package github.com/cubicdaiya/gonp (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
vuln_check: internal/plugin/codegen_grpc.pb.go#L40
undefined: GenerateRequest
vuln_check: internal/plugin/codegen_grpc.pb.go#L53
undefined: GenerateResponse
vuln_check: internal/plugin/codegen_grpc.pb.go#L53
undefined: GenerateRequest
vuln_check: internal/plugin/codegen_grpc.pb.go#L29
undefined: GenerateResponse
vuln_check: internal/plugin/codegen_grpc.pb.go#L29
undefined: GenerateRequest
vuln_check: internal/plugin/codegen_grpc.pb.go#L13
could not import google.golang.org/grpc/status (no metadata for google.golang.org/grpc/status)
vuln_check: internal/plugin/codegen_grpc.pb.go#L12
could not import google.golang.org/grpc/codes (no metadata for google.golang.org/grpc/codes)
vuln_check: internal/plugin/codegen_grpc.pb.go#L11
could not import google.golang.org/grpc (no metadata for google.golang.org/grpc)
vuln_check: internal/plugin/codegen_grpc.pb.go#L10
could not import context (no metadata for context)
vuln_check: internal/plugin/codegen_grpc.pb.go#L11
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/sqlc-dev/sqlc/internal/cmd); to add:
build linux/arm64
Restore cache failed: Dependencies file is not found in /home/runner/work/sqlc/sqlc. Supported file pattern: go.sum
build darwin/amd64
Restore cache failed: Dependencies file is not found in /home/runner/work/sqlc/sqlc. Supported file pattern: go.sum
build darwin/arm64
Restore cache failed: Dependencies file is not found in /home/runner/work/sqlc/sqlc. Supported file pattern: go.sum
build windows/arm64
Restore cache failed: Dependencies file is not found in /home/runner/work/sqlc/sqlc. Supported file pattern: go.sum
build windows/amd64
Restore cache failed: Dependencies file is not found in /home/runner/work/sqlc/sqlc. Supported file pattern: go.sum
build linux/amd64
Restore cache failed: Dependencies file is not found in /home/runner/work/sqlc/sqlc. Supported file pattern: go.sum
test
Restore cache failed: Dependencies file is not found in /home/runner/work/sqlc/sqlc. Supported file pattern: go.sum
vuln_check
Restore cache failed: Dependencies file is not found in /home/runner/work/sqlc/sqlc. Supported file pattern: go.sum