Skip to content

unknown field Env in struct literal of type wasm.Runner #2726

@GolakiyaVishal

Description

@GolakiyaVishal

Version

1.21.0

What happened?

First time I ran go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest

but download is not completed.

github.com/sqlc-dev/sqlc/internal/cmd
C:\Users........\go\pkg\mod\github.com\sqlc-dev\[email protected]\internal\cmd\generate.go:395:5: unknown field Env in struct literal of type wasm.Runner

Relevant log output

> go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
go: downloading github.com/sqlc-dev/sqlc v1.21.0
go: downloading github.com/cubicdaiya/gonp v1.0.4
go: downloading github.com/google/cel-go v0.18.0
go: downloading github.com/jackc/pgx/v5 v5.4.3
go: downloading github.com/mattn/go-sqlite3 v1.14.17
go: downloading github.com/spf13/cobra v1.7.0
go: downloading google.golang.org/grpc v1.57.0
go: downloading google.golang.org/protobuf v1.31.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5
go: downloading golang.org/x/text v0.12.0
go: downloading github.com/riza-io/grpc-go v0.2.0
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/jackc/pgpassfile v1.0.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a
go: downloading golang.org/x/crypto v0.9.0
go: downloading github.com/stoewer/go-strcase v1.2.0
go: downloading github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5
go: downloading github.com/jinzhu/inflection v1.0.0
go: downloading github.com/pingcap/tidb/parser v0.0.0-20230815160630-b69fa21942d1
go: downloading golang.org/x/net v0.10.0
go: downloading github.com/golang/protobuf v1.5.3
go: downloading golang.org/x/exp v0.0.0-20230724220655-d98519c11495
go: downloading github.com/pingcap/errors v0.11.5-0.20210425183316-da1aaba5fb63
go: downloading github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c
go: downloading github.com/pingcap/log v1.1.0
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
go: downloading go.uber.org/atomic v1.11.0
go: downloading go.uber.org/zap v1.25.0
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1
go: downloading github.com/benbjohnson/clock v1.3.5
go: downloading go.uber.org/multierr v1.11.0
# github.com/sqlc-dev/sqlc/internal/cmd
C:\Users\.....\go\pkg\mod\github.com\sqlc-dev\s[email protected]\internal\cmd\generate.go:395:5: unknown field Env in struct literal of type wasm.Runner

Database schema

No response

SQL queries

No response

Configuration

No response

Playground URL

No response

What operating system are you using?

Windows

What database engines are you using?

PostgreSQL

What type of code are you generating?

Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNew issues that hasn't been reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions