internal/itoa encoding crypto/internal/subtle crypto/subtle internal/race runtime/internal/sys unicode unicode/utf16 internal/unsafeheader unicode/utf8 internal/goexperiment internal/cpu runtime/internal/atomic math/bits sync/atomic internal/abi container/list vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal runtime/internal/math github.com/pingcap/parser/tidb google.golang.org/protobuf/internal/flags github.com/kyleconroy/sqlc/internal/sql/lang github.com/kyleconroy/sqlc/internal/core google.golang.org/protobuf/internal/set math internal/bytealg runtime internal/reflectlite sync internal/testlog internal/singleflight google.golang.org/protobuf/internal/pragma math/rand runtime/cgo errors sort io internal/oserror path vendor/golang.org/x/net/dns/dnsmessage strconv crypto/elliptic/internal/fiat container/heap syscall hash crypto/internal/randutil text/tabwriter strings bytes crypto/hmac hash/crc32 hash/fnv crypto crypto/rc4 reflect github.com/kyleconroy/sqlc/internal/sql/ast vendor/golang.org/x/crypto/hkdf golang.org/x/text/transform vendor/golang.org/x/text/transform github.com/kyleconroy/sqlc/internal/codegen bufio net/http/internal/ascii regexp/syntax go/build/constraint golang.org/x/text/encoding golang.org/x/text/runes github.com/kyleconroy/sqlc/internal/migrations internal/syscall/execenv internal/syscall/unix time golang.org/x/text/encoding/internal golang.org/x/text/encoding/unicode golang.org/x/text/encoding/korean golang.org/x/text/encoding/charmap golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/japanese golang.org/x/text/encoding/traditionalchinese regexp context io/fs go.uber.org/zap/buffer internal/poll github.com/jinzhu/inflection internal/fmtsort encoding/binary go.uber.org/zap/internal/bufferpool github.com/kyleconroy/sqlc/internal/inflection embed os crypto/sha256 crypto/sha512 crypto/md5 crypto/ed25519/internal/edwards25519/field encoding/base64 crypto/sha1 crypto/cipher vendor/golang.org/x/crypto/poly1305 github.com/pganalyze/pg_query_go/v2/parser crypto/ed25519/internal/edwards25519 encoding/pem crypto/des vendor/golang.org/x/crypto/chacha20 crypto/aes vendor/golang.org/x/crypto/chacha20poly1305 go.uber.org/zap/internal/exit io/ioutil google.golang.org/protobuf/internal/detrand github.com/kyleconroy/sqlc/internal/opts fmt path/filepath net os/exec go/token encoding/hex github.com/kyleconroy/sqlc/internal/metadata github.com/kyleconroy/sqlc/internal/sql/sqlerr github.com/pingcap/parser/format go.uber.org/zap/internal/color flag compress/flate log net/url math/big encoding/json gopkg.in/yaml.v3 vendor/golang.org/x/crypto/curve25519 github.com/kyleconroy/sqlc/internal/sql/catalog vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack github.com/davecgh/go-spew/spew mime vendor/golang.org/x/text/unicode/bidi mime/quotedprintable go/scanner net/http/internal go.uber.org/zap/internal/ztest compress/gzip github.com/pingcap/parser/opcode github.com/kyleconroy/sqlc/internal/engine/postgresql/contrib google.golang.org/protobuf/internal/errors google.golang.org/protobuf/internal/version github.com/kyleconroy/sqlc/internal/debug github.com/antlr/antlr4/runtime/Go/antlr github.com/kyleconroy/sqlc/internal/source github.com/kyleconroy/sqlc/internal/sql/astutils go/ast gopkg.in/natefinch/lumberjack.v2 vendor/golang.org/x/text/secure/bidirule google.golang.org/protobuf/encoding/protowire github.com/kyleconroy/sqlc/internal/sql/sqlpath text/template/parse github.com/kyleconroy/sqlc/internal/multierr runtime/trace encoding/csv go.uber.org/atomic google.golang.org/protobuf/reflect/protoreflect vendor/golang.org/x/net/idna github.com/kyleconroy/sqlc/internal/tracer github.com/pingcap/errors go.uber.org/multierr go/constant crypto/rand encoding/asn1 crypto/elliptic go.uber.org/zap/zapcore crypto/dsa go/internal/typeparams text/template github.com/kyleconroy/sqlc/internal/sql/named go/printer go/parser crypto/ed25519 crypto/rsa github.com/pingcap/parser/mysql google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/descopts vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix github.com/kyleconroy/sqlc/internal/sql/validate google.golang.org/protobuf/proto go/format go/types google.golang.org/protobuf/internal/encoding/defval crypto/ecdsa google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc github.com/kyleconroy/sqlc/internal/engine/sqlite/parser google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 github.com/spf13/pflag vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls github.com/kyleconroy/sqlc/internal/config github.com/spf13/cobra github.com/kyleconroy/sqlc/internal/sql/rewrite google.golang.org/protobuf/internal/filetype net/http/httptrace google.golang.org/protobuf/runtime/protoimpl net/http google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/reflect/protodesc github.com/golang/protobuf/proto # github.com/pganalyze/pg_query_go/v2/parser In file included from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/storage/condition_variable.h:26, from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/nodes/execnodes.h:25, from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/catalog/index.h:18, from pg_query_deparse.c:5: /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/storage/s_lock.h:922:2: error: #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@lists.postgresql.org. 922 | #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@lists.postgresql.org. | ^~~~~ /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/storage/s_lock.h:994:30: error: unknown type name ‘slock_t’ 994 | extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or | ^~~~~~~ /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/storage/s_lock.h:1004:8: error: unknown type name ‘slock_t’ 1004 | extern slock_t dummy_spinlock; | ^~~~~~~ /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/storage/s_lock.h:1009:28: error: unknown type name ‘slock_t’ 1009 | extern int s_lock(volatile slock_t *lock, const char *file, int line, const char *func); | ^~~~~~~ In file included from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/nodes/execnodes.h:25, from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/catalog/index.h:18, from pg_query_deparse.c:5: /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/storage/condition_variable.h:30:9: error: unknown type name ‘slock_t’ 30 | slock_t mutex; /* spinlock protecting the wakeup list */ | ^~~~~~~ In file included from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/utils/sharedtuplestore.h:18, from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/nodes/execnodes.h:29, from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/catalog/index.h:18, from pg_query_deparse.c:5: /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/storage/sharedfileset.h:29:9: error: unknown type name ‘slock_t’ 29 | slock_t mutex; /* mutex protecting the reference count */ | ^~~~~~~ In file included from /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/catalog/index.h:18, from pg_query_deparse.c:5: /build/go/pkg/mod/github.com/pganalyze/pg_query_go/v2@v2.1.0/parser/include/nodes/execnodes.h:1561:9: error: unknown type name ‘slock_t’ 1561 | slock_t mutex; | ^~~~~~~ go.uber.org/zap go.uber.org/zap/zaptest github.com/pingcap/log github.com/pingcap/parser/terror github.com/kyleconroy/sqlc/internal/engine/sqlite github.com/pingcap/parser/auth github.com/pingcap/parser/charset github.com/pingcap/parser/types github.com/pingcap/parser/model github.com/pingcap/parser/ast github.com/pingcap/parser/test_driver github.com/pingcap/parser github.com/kyleconroy/sqlc/internal/engine/dolphin ==> ERROR: A failure occurred in build().  Aborting...