diff --git a/.bazelrc b/.bazelrc index ca16579d6fc4..9fcff95a6b0a 100644 --- a/.bazelrc +++ b/.bazelrc @@ -26,16 +26,18 @@ build --flag_alias=cross=//build/toolchains:cross_flag build --flag_alias=dev=//build/toolchains:dev_flag build --flag_alias=force_build_cdeps=//build/toolchains:force_build_cdeps_flag build --flag_alias=heavy=//build/toolchains:heavy_flag +build --flag_alias=lintonbuild=//build/toolchains:nogo_flag +build --flag_alias=nolintonbuild=//build/toolchains:nonogo_explicit_flag build:crdb_test_off --crdb_test_off build:cross --cross build:dev --dev build:force_build_cdeps --force_build_cdeps build:heavy --heavy -build:lintonbuild --run_validations -build:nolintonbuild --norun_validations +build:lintonbuild --lintonbuild +build:nolintonbuild --nolintonbuild # Note: nonogo is classically the name of the nolintonbuild configuration. -build:nonogo --config nolintonbuild +build:nonogo --nolintonbuild build:test --crdb_test # Basic settings. @@ -63,7 +65,7 @@ test:race --heavy # CI uses a custom timeout for enormous targets. test:use_ci_timeouts --test_timeout=60,300,900,900 # CI should always run with `--config=ci`. -build:cibase --config=lintonbuild +build:cibase --lintonbuild # Set `-test.v` in Go tests. # Ref: https://github.com/bazelbuild/rules_go/pull/2456 test:cibase --test_env=GO_TEST_WRAP_TESTV=1 @@ -89,7 +91,7 @@ build:crosslinuxfips '--workspace_status_command=./build/bazelutil/stamp.sh x86_ build:crosslinuxfips --config=crosslinuxfipsbase build:crosslinuxfipsbase --platforms=//build/toolchains:cross_linux build:crosslinuxfipsbase --config=cross -build:crosslinuxfipsbase --@io_bazel_rules_go//go/toolchain:sdk_version=1.23.2fips +build:crosslinuxfipsbase --@io_bazel_rules_go//go/toolchain:sdk_version=1.22.5fips build:crosswindows '--workspace_status_command=./build/bazelutil/stamp.sh x86_64-w64-mingw32' build:crosswindows --config=crosswindowsbase build:crosswindowsbase --platforms=//build/toolchains:cross_windows diff --git a/BUILD.bazel b/BUILD.bazel index 740e5c47396f..77a27fe5ad00 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -152,58 +152,61 @@ nogo( name = "crdb_nogo", config = "//build/bazelutil:nogo_config.json", visibility = ["//visibility:public"], - deps = [ - "@org_golang_x_tools//go/analysis/passes/asmdecl:go_default_library", - "@org_golang_x_tools//go/analysis/passes/assign:go_default_library", - "@org_golang_x_tools//go/analysis/passes/atomic:go_default_library", - "@org_golang_x_tools//go/analysis/passes/atomicalign:go_default_library", - "@org_golang_x_tools//go/analysis/passes/bools:go_default_library", - "@org_golang_x_tools//go/analysis/passes/buildssa:go_default_library", - "@org_golang_x_tools//go/analysis/passes/buildtag:go_default_library", - # TODO(rules_go#2396): pass raw cgo sources to cgocall and re-enable. - # "@org_golang_x_tools//go/analysis/passes/cgocall:go_default_library", - "@org_golang_x_tools//go/analysis/passes/composite:go_default_library", - "@org_golang_x_tools//go/analysis/passes/copylock:go_default_library", - "@org_golang_x_tools//go/analysis/passes/ctrlflow:go_default_library", - "@org_golang_x_tools//go/analysis/passes/deepequalerrors:go_default_library", - "@org_golang_x_tools//go/analysis/passes/errorsas:go_default_library", - "@org_golang_x_tools//go/analysis/passes/findcall:go_default_library", - "@org_golang_x_tools//go/analysis/passes/httpresponse:go_default_library", - "@org_golang_x_tools//go/analysis/passes/ifaceassert:go_default_library", - "@org_golang_x_tools//go/analysis/passes/inspect:go_default_library", - "@org_golang_x_tools//go/analysis/passes/lostcancel:go_default_library", - "@org_golang_x_tools//go/analysis/passes/nilfunc:go_default_library", - "@org_golang_x_tools//go/analysis/passes/nilness:go_default_library", - "@org_golang_x_tools//go/analysis/passes/pkgfact:go_default_library", - "@org_golang_x_tools//go/analysis/passes/printf:go_default_library", - "@org_golang_x_tools//go/analysis/passes/shift:go_default_library", - "@org_golang_x_tools//go/analysis/passes/sortslice:go_default_library", - "@org_golang_x_tools//go/analysis/passes/stdmethods:go_default_library", - "@org_golang_x_tools//go/analysis/passes/stringintconv:go_default_library", - "@org_golang_x_tools//go/analysis/passes/structtag:go_default_library", - "@org_golang_x_tools//go/analysis/passes/testinggoroutine:go_default_library", - "@org_golang_x_tools//go/analysis/passes/tests:go_default_library", - "@org_golang_x_tools//go/analysis/passes/unmarshal:go_default_library", - "@org_golang_x_tools//go/analysis/passes/unreachable:go_default_library", - "@org_golang_x_tools//go/analysis/passes/unsafeptr:go_default_library", - "@org_golang_x_tools//go/analysis/passes/unusedresult:go_default_library", - "//pkg/testutils/lint/passes/deferunlockcheck", - "//pkg/testutils/lint/passes/descriptormarshal", - "//pkg/testutils/lint/passes/errcheck", - "//pkg/testutils/lint/passes/errcmp", - "//pkg/testutils/lint/passes/errwrap", - "//pkg/testutils/lint/passes/fmtsafe", - "//pkg/testutils/lint/passes/grpcclientconnclose", - "//pkg/testutils/lint/passes/grpcstatuswithdetails", - "//pkg/testutils/lint/passes/hash", - "//pkg/testutils/lint/passes/leaktestcall", - "//pkg/testutils/lint/passes/nilness", - "//pkg/testutils/lint/passes/nocopy", - "//pkg/testutils/lint/passes/redactcheck", - "//pkg/testutils/lint/passes/returncheck", - "//pkg/testutils/lint/passes/returnerrcheck", - "//pkg/testutils/lint/passes/shadow", - "//pkg/testutils/lint/passes/timer", - "//pkg/testutils/lint/passes/unconvert", - ] + STATICCHECK_CHECKS, + deps = select({ + "//build/toolchains:nogo": [ + "@org_golang_x_tools//go/analysis/passes/asmdecl:go_default_library", + "@org_golang_x_tools//go/analysis/passes/assign:go_default_library", + "@org_golang_x_tools//go/analysis/passes/atomic:go_default_library", + "@org_golang_x_tools//go/analysis/passes/atomicalign:go_default_library", + "@org_golang_x_tools//go/analysis/passes/bools:go_default_library", + "@org_golang_x_tools//go/analysis/passes/buildssa:go_default_library", + "@org_golang_x_tools//go/analysis/passes/buildtag:go_default_library", + # TODO(rules_go#2396): pass raw cgo sources to cgocall and re-enable. + # "@org_golang_x_tools//go/analysis/passes/cgocall:go_default_library", + "@org_golang_x_tools//go/analysis/passes/composite:go_default_library", + "@org_golang_x_tools//go/analysis/passes/copylock:go_default_library", + "@org_golang_x_tools//go/analysis/passes/ctrlflow:go_default_library", + "@org_golang_x_tools//go/analysis/passes/deepequalerrors:go_default_library", + "@org_golang_x_tools//go/analysis/passes/errorsas:go_default_library", + "@org_golang_x_tools//go/analysis/passes/findcall:go_default_library", + "@org_golang_x_tools//go/analysis/passes/httpresponse:go_default_library", + "@org_golang_x_tools//go/analysis/passes/ifaceassert:go_default_library", + "@org_golang_x_tools//go/analysis/passes/inspect:go_default_library", + "@org_golang_x_tools//go/analysis/passes/lostcancel:go_default_library", + "@org_golang_x_tools//go/analysis/passes/nilfunc:go_default_library", + "@org_golang_x_tools//go/analysis/passes/nilness:go_default_library", + "@org_golang_x_tools//go/analysis/passes/pkgfact:go_default_library", + "@org_golang_x_tools//go/analysis/passes/printf:go_default_library", + "@org_golang_x_tools//go/analysis/passes/shift:go_default_library", + "@org_golang_x_tools//go/analysis/passes/sortslice:go_default_library", + "@org_golang_x_tools//go/analysis/passes/stdmethods:go_default_library", + "@org_golang_x_tools//go/analysis/passes/stringintconv:go_default_library", + "@org_golang_x_tools//go/analysis/passes/structtag:go_default_library", + "@org_golang_x_tools//go/analysis/passes/testinggoroutine:go_default_library", + "@org_golang_x_tools//go/analysis/passes/tests:go_default_library", + "@org_golang_x_tools//go/analysis/passes/unmarshal:go_default_library", + "@org_golang_x_tools//go/analysis/passes/unreachable:go_default_library", + "@org_golang_x_tools//go/analysis/passes/unsafeptr:go_default_library", + "@org_golang_x_tools//go/analysis/passes/unusedresult:go_default_library", + "//pkg/testutils/lint/passes/deferunlockcheck", + "//pkg/testutils/lint/passes/descriptormarshal", + "//pkg/testutils/lint/passes/errcheck", + "//pkg/testutils/lint/passes/errcmp", + "//pkg/testutils/lint/passes/errwrap", + "//pkg/testutils/lint/passes/fmtsafe", + "//pkg/testutils/lint/passes/grpcclientconnclose", + "//pkg/testutils/lint/passes/grpcstatuswithdetails", + "//pkg/testutils/lint/passes/hash", + "//pkg/testutils/lint/passes/leaktestcall", + "//pkg/testutils/lint/passes/nilness", + "//pkg/testutils/lint/passes/nocopy", + "//pkg/testutils/lint/passes/redactcheck", + "//pkg/testutils/lint/passes/returncheck", + "//pkg/testutils/lint/passes/returnerrcheck", + "//pkg/testutils/lint/passes/shadow", + "//pkg/testutils/lint/passes/timer", + "//pkg/testutils/lint/passes/unconvert", + ] + STATICCHECK_CHECKS, + "//conditions:default": [], + }), ) diff --git a/DEPS.bzl b/DEPS.bzl index c7f2f4aed8b9..e692a6c94431 100644 --- a/DEPS.bzl +++ b/DEPS.bzl @@ -33,10 +33,10 @@ def go_deps(): patches = [ "@com_github_cockroachdb_cockroach//build/patches:co_honnef_go_tools.patch", ], - sha256 = "d728ff392fc5b6f676a30c36e9d0a5b85f6f2e06b4ebbb121c27d965cbdffa11", - strip_prefix = "honnef.co/go/tools@v0.5.1", + sha256 = "3f7c266a830f3a0727ac0b85cd7cd74a765c05d337d73af20906219f1a4ec4c3", + strip_prefix = "honnef.co/go/tools@v0.4.5", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/honnef.co/go/tools/co_honnef_go_tools-v0.5.1.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/honnef.co/go/tools/co_honnef_go_tools-v0.4.5.zip", ], ) go_repository( @@ -53,10 +53,10 @@ def go_deps(): name = "com_github_99designs_keyring", build_file_proto_mode = "disable_global", importpath = "github.com/99designs/keyring", - sha256 = "7204ea1194e7835a02d9f8f3cf1ba30dce143dd9a3353ead71a46ffcd418d7be", - strip_prefix = "github.com/99designs/keyring@v1.2.2", + sha256 = "bbcbf31d7ccc1fb3b2b8dd4295add4cbe116ee89bb08a5a204202fae72a333b8", + strip_prefix = "github.com/99designs/keyring@v1.2.1", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/99designs/keyring/com_github_99designs_keyring-v1.2.2.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/99designs/keyring/com_github_99designs_keyring-v1.2.1.zip", ], ) go_repository( @@ -139,34 +139,14 @@ def go_deps(): "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajg/form/com_github_ajg_form-v1.5.1.zip", ], ) - go_repository( - name = "com_github_ajstarks_deck", - build_file_proto_mode = "disable_global", - importpath = "github.com/ajstarks/deck", - sha256 = "68bad2e38bf5b01e6bbd7b9bbdba35da94dac72bc4ba41f8ea5fe92aa836a3c3", - strip_prefix = "github.com/ajstarks/deck@v0.0.0-20200831202436-30c9fc6549a9", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajstarks/deck/com_github_ajstarks_deck-v0.0.0-20200831202436-30c9fc6549a9.zip", - ], - ) - go_repository( - name = "com_github_ajstarks_deck_generate", - build_file_proto_mode = "disable_global", - importpath = "github.com/ajstarks/deck/generate", - sha256 = "dce1cbc4cb42ac26512dd0bccf997baeea99fb4595cd419a28e8566d2d7c7ba8", - strip_prefix = "github.com/ajstarks/deck/generate@v0.0.0-20210309230005-c3f852c02e19", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajstarks/deck/generate/com_github_ajstarks_deck_generate-v0.0.0-20210309230005-c3f852c02e19.zip", - ], - ) go_repository( name = "com_github_ajstarks_svgo", build_file_proto_mode = "disable_global", importpath = "github.com/ajstarks/svgo", - sha256 = "e25b5dbb6cc86d2a0b5db08aad757c534681c2cecb30d84746e09c661cbd7c6f", - strip_prefix = "github.com/ajstarks/svgo@v0.0.0-20211024235047-1546f124cd8b", + sha256 = "d58dcf4f11896cb22cec4db53ca17df342c6da4cc3a084c270f2da9e1eb351a7", + strip_prefix = "github.com/ajstarks/svgo@v0.0.0-20210923152817-c3b6e2f0c527", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajstarks/svgo/com_github_ajstarks_svgo-v0.0.0-20211024235047-1546f124cd8b.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajstarks/svgo/com_github_ajstarks_svgo-v0.0.0-20210923152817-c3b6e2f0c527.zip", ], ) go_repository( @@ -339,16 +319,6 @@ def go_deps(): "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/apache/arrow/go/v11/com_github_apache_arrow_go_v11-v11.0.0.zip", ], ) - go_repository( - name = "com_github_apache_arrow_go_v12", - build_file_proto_mode = "disable_global", - importpath = "github.com/apache/arrow/go/v12", - sha256 = "5eb05ed9c2c5e164503b00912b7b2456400578de29e7e8a8956a41acd861ab5b", - strip_prefix = "github.com/apache/arrow/go/v12@v12.0.1", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/apache/arrow/go/v12/com_github_apache_arrow_go_v12-v12.0.1.zip", - ], - ) go_repository( name = "com_github_apache_pulsar_client_go", build_file_proto_mode = "disable_global", @@ -841,10 +811,10 @@ def go_deps(): name = "com_github_azure_azure_sdk_for_go_sdk_azcore", build_file_proto_mode = "disable_global", importpath = "github.com/Azure/azure-sdk-for-go/sdk/azcore", - sha256 = "42e10b1530d4f4d5864421ee44faabc84885a3957ce969ee33db96fb5229f284", - strip_prefix = "github.com/Azure/azure-sdk-for-go/sdk/azcore@v1.4.0", + sha256 = "cf80995c85451a7990c4d68dfbfd7de89536d319df9502ba9dfd38eb84501810", + strip_prefix = "github.com/Azure/azure-sdk-for-go/sdk/azcore@v1.3.0", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/azcore/com_github_azure_azure_sdk_for_go_sdk_azcore-v1.4.0.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/azcore/com_github_azure_azure_sdk_for_go_sdk_azcore-v1.3.0.zip", ], ) go_repository( @@ -861,10 +831,10 @@ def go_deps(): name = "com_github_azure_azure_sdk_for_go_sdk_internal", build_file_proto_mode = "disable_global", importpath = "github.com/Azure/azure-sdk-for-go/sdk/internal", - sha256 = "88dc36a09083cfdf3db0dbc47e12a867b30c57f099f05381c35b4703dcac7810", - strip_prefix = "github.com/Azure/azure-sdk-for-go/sdk/internal@v1.1.2", + sha256 = "10f2a543b9e000a988722c8210d30d377c2306b042e5de1bfea4b3ec730d0319", + strip_prefix = "github.com/Azure/azure-sdk-for-go/sdk/internal@v1.1.1", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/internal/com_github_azure_azure_sdk_for_go_sdk_internal-v1.1.2.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/internal/com_github_azure_azure_sdk_for_go_sdk_internal-v1.1.1.zip", ], ) go_repository( @@ -931,10 +901,10 @@ def go_deps(): name = "com_github_azure_azure_sdk_for_go_sdk_storage_azblob", build_file_proto_mode = "disable_global", importpath = "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob", - sha256 = "9bb69aea32f1d59711701f9562d66432c9c0374205e5009d1d1a62f03fb4fdad", - strip_prefix = "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob@v1.0.0", + sha256 = "c2539d189b22bdb6eb67c4682ded4e070d6cf0f52c8bd6899f7eb1408045783f", + strip_prefix = "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob@v0.6.1", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/com_github_azure_azure_sdk_for_go_sdk_storage_azblob-v1.0.0.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/com_github_azure_azure_sdk_for_go_sdk_storage_azblob-v0.6.1.zip", ], ) go_repository( @@ -1405,10 +1375,10 @@ def go_deps(): name = "com_github_burntsushi_toml", build_file_proto_mode = "disable_global", importpath = "github.com/BurntSushi/toml", - sha256 = "f15f0ca7a3c5a4275d3d560236f178e9d735a084534bf3b685ec5f676806230a", - strip_prefix = "github.com/BurntSushi/toml@v1.4.1-0.20240526193622-a339e1f7089c", + sha256 = "6fb658e8262179ffd34d57eaef6b076b25c77e8b2129659b66697cded29a7121", + strip_prefix = "github.com/BurntSushi/toml@v1.2.1", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/BurntSushi/toml/com_github_burntsushi_toml-v1.4.1-0.20240526193622-a339e1f7089c.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/BurntSushi/toml/com_github_burntsushi_toml-v1.2.1.zip", ], ) go_repository( @@ -2758,10 +2728,10 @@ def go_deps(): name = "com_github_dustin_go_humanize", build_file_proto_mode = "disable_global", importpath = "github.com/dustin/go-humanize", - sha256 = "319404ea84c8a4e2d3d83f30988b006e7dd04976de3e1a1a90484ad94679fa46", - strip_prefix = "github.com/dustin/go-humanize@v1.0.1", + sha256 = "e01916e082a6646ea12d7800d77af43045c27284ff2a0a77e3484509989cc107", + strip_prefix = "github.com/dustin/go-humanize@v1.0.0", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/dustin/go-humanize/com_github_dustin_go_humanize-v1.0.1.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/dustin/go-humanize/com_github_dustin_go_humanize-v1.0.0.zip", ], ) go_repository( @@ -3019,10 +2989,10 @@ def go_deps(): name = "com_github_form3tech_oss_jwt_go", build_file_proto_mode = "disable_global", importpath = "github.com/form3tech-oss/jwt-go", - sha256 = "30cf0ef9aa63aea696e40df8912d41fbce69dd02986a5b99af7c5b75f277690c", - strip_prefix = "github.com/form3tech-oss/jwt-go@v3.2.5+incompatible", + sha256 = "6780fef32d854a318af431efd0c680a1cb4ddc50d36d6b4c239baf381004efae", + strip_prefix = "github.com/form3tech-oss/jwt-go@v3.2.3+incompatible", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/form3tech-oss/jwt-go/com_github_form3tech_oss_jwt_go-v3.2.5+incompatible.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/form3tech-oss/jwt-go/com_github_form3tech_oss_jwt_go-v3.2.3+incompatible.zip", ], ) go_repository( @@ -3095,16 +3065,6 @@ def go_deps(): "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/fullsailor/pkcs7/com_github_fullsailor_pkcs7-v0.0.0-20190404230743-d7302db945fa.zip", ], ) - go_repository( - name = "com_github_gabriel_vasile_mimetype", - build_file_proto_mode = "disable_global", - importpath = "github.com/gabriel-vasile/mimetype", - sha256 = "959e9da19ac23353e711c80f768cb3344ba0fb2d2fefeb4b21f4165811327327", - strip_prefix = "github.com/gabriel-vasile/mimetype@v1.4.2", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/gabriel-vasile/mimetype/com_github_gabriel_vasile_mimetype-v1.4.2.zip", - ], - ) go_repository( name = "com_github_garyburd_redigo", build_file_proto_mode = "disable_global", @@ -3549,10 +3509,10 @@ def go_deps(): name = "com_github_go_pdf_fpdf", build_file_proto_mode = "disable_global", importpath = "github.com/go-pdf/fpdf", - sha256 = "03a6909fc346ac972b008b77585ac3954d76b416c33b4b64dc22c5f35f0e1edb", - strip_prefix = "github.com/go-pdf/fpdf@v0.6.0", + sha256 = "9ab17b11279de24333e3f39475478bd5c7f3294b0b512b79c34fb8c77ce7f613", + strip_prefix = "github.com/go-pdf/fpdf@v0.5.0", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-pdf/fpdf/com_github_go_pdf_fpdf-v0.6.0.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-pdf/fpdf/com_github_go_pdf_fpdf-v0.5.0.zip", ], ) go_repository( @@ -3963,6 +3923,10 @@ def go_deps(): name = "com_github_golang_protobuf", build_file_proto_mode = "disable_global", importpath = "github.com/golang/protobuf", + patch_args = ["-p1"], + patches = [ + "@com_github_cockroachdb_cockroach//build/patches:com_github_golang_protobuf.patch", + ], sha256 = "93bda6e88d4a0a493a98b481de67a10000a755d15f16a800b49a6b96d1bd6f81", strip_prefix = "github.com/golang/protobuf@v1.5.3", urls = [ @@ -4073,10 +4037,10 @@ def go_deps(): name = "com_github_google_flatbuffers", build_file_proto_mode = "disable_global", importpath = "github.com/google/flatbuffers", - sha256 = "2b66a7cfcf2feb5ead4a9399782e4665a02475b66077ab50d299bbd6eafbf526", - strip_prefix = "github.com/google/flatbuffers@v23.1.21+incompatible", + sha256 = "0c0a4aab1c6029141d655bc7fdc07e22dd06f3f64ebbf7a2250b870ef7aac7ee", + strip_prefix = "github.com/google/flatbuffers@v2.0.8+incompatible", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/google/flatbuffers/com_github_google_flatbuffers-v23.1.21+incompatible.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/google/flatbuffers/com_github_google_flatbuffers-v2.0.8+incompatible.zip", ], ) go_repository( @@ -5652,10 +5616,10 @@ def go_deps(): patches = [ "@com_github_cockroachdb_cockroach//build/patches:com_github_kisielk_errcheck.patch", ], - sha256 = "4087fa0fa06f3e91e4d49f23ce5d602c63779906da0c7303c1e37ff51c718968", - strip_prefix = "github.com/kisielk/errcheck@v1.7.1-0.20240702033320-b832de3f3c5a", + sha256 = "f394d1df1f2332387ce142d98734c5c44fb94e9a8a2af2a9b75aa4ec4a64b963", + strip_prefix = "github.com/kisielk/errcheck@v1.7.0", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/kisielk/errcheck/com_github_kisielk_errcheck-v1.7.1-0.20240702033320-b832de3f3c5a.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/kisielk/errcheck/com_github_kisielk_errcheck-v1.7.0.zip", ], ) go_repository( @@ -5702,10 +5666,10 @@ def go_deps(): name = "com_github_klauspost_cpuid_v2", build_file_proto_mode = "disable_global", importpath = "github.com/klauspost/cpuid/v2", - sha256 = "f68ff82caa807940fee615b4898d428365761eeb36861959ca8b91a034bd0e7e", - strip_prefix = "github.com/klauspost/cpuid/v2@v2.2.3", + sha256 = "52c716413296dce2b1698c6cdbc4c53927ce4aee2a60980daf9672e6b6a3b4cb", + strip_prefix = "github.com/klauspost/cpuid/v2@v2.0.9", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/cpuid/v2/com_github_klauspost_cpuid_v2-v2.2.3.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/cpuid/v2/com_github_klauspost_cpuid_v2-v2.0.9.zip", ], ) go_repository( @@ -6312,10 +6276,10 @@ def go_deps(): name = "com_github_mattn_go_sqlite3", build_file_proto_mode = "disable_global", importpath = "github.com/mattn/go-sqlite3", - sha256 = "0114d2df439ddeb03eef49a4bf2cc8fb69665c0d76494463cafa7d189a16e0f9", - strip_prefix = "github.com/mattn/go-sqlite3@v1.14.15", + sha256 = "e948fca1fe3a3e614017dff9a30478d16b320babe834e326349cdd3d6750a3d9", + strip_prefix = "github.com/mattn/go-sqlite3@v1.14.5", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-sqlite3/com_github_mattn_go_sqlite3-v1.14.15.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-sqlite3/com_github_mattn_go_sqlite3-v1.14.5.zip", ], ) go_repository( @@ -7462,10 +7426,10 @@ def go_deps(): name = "com_github_petermattis_goid", build_file_proto_mode = "disable_global", importpath = "github.com/petermattis/goid", - sha256 = "3f47ab8e5713c36ec5b4295956a5ef012a192bc19198ae1b6591408c061e97ab", - strip_prefix = "github.com/petermattis/goid@v0.0.0-20240813172612-4fcff4a6cae7", + sha256 = "9f536c5d39d6a3c851670ec585e1c876fe31f3402556d215ebbaffcecbacb30a", + strip_prefix = "github.com/petermattis/goid@v0.0.0-20211229010228-4d14c490ee36", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/petermattis/goid/com_github_petermattis_goid-v0.0.0-20240813172612-4fcff4a6cae7.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/petermattis/goid/com_github_petermattis_goid-v0.0.0-20211229010228-4d14c490ee36.zip", ], ) go_repository( @@ -7562,10 +7526,10 @@ def go_deps(): name = "com_github_pkg_browser", build_file_proto_mode = "disable_global", importpath = "github.com/pkg/browser", - sha256 = "415b8b7d7e47074cf3f6c2269d8712efa8a8433cba7bfce7eed22ca7f0b447a4", - strip_prefix = "github.com/pkg/browser@v0.0.0-20210911075715-681adbf594b8", + sha256 = "84db38d8db553ccc34c75f867396126eac07774b979c470f97a20854d3a3af6d", + strip_prefix = "github.com/pkg/browser@v0.0.0-20210115035449-ce105d075bb4", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pkg/browser/com_github_pkg_browser-v0.0.0-20210911075715-681adbf594b8.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pkg/browser/com_github_pkg_browser-v0.0.0-20210115035449-ce105d075bb4.zip", ], ) go_repository( @@ -7839,10 +7803,10 @@ def go_deps(): name = "com_github_remyoudompheng_bigfft", build_file_proto_mode = "disable_global", importpath = "github.com/remyoudompheng/bigfft", - sha256 = "9be16c32c384d55d0f7bd7b03f1ff1e9a4e4b91b000f0aa87a567a01b9b82398", - strip_prefix = "github.com/remyoudompheng/bigfft@v0.0.0-20230129092748-24d4a6f8daec", + sha256 = "60c422375fac36ea169eb6065af6c1b4895d8608bbd3fda9cddf98dee02e5d6a", + strip_prefix = "github.com/remyoudompheng/bigfft@v0.0.0-20200410134404-eec4a21b6bb0", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/remyoudompheng/bigfft/com_github_remyoudompheng_bigfft-v0.0.0-20230129092748-24d4a6f8daec.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/remyoudompheng/bigfft/com_github_remyoudompheng_bigfft-v0.0.0-20200410134404-eec4a21b6bb0.zip", ], ) go_repository( @@ -8299,10 +8263,10 @@ def go_deps(): name = "com_github_snowflakedb_gosnowflake", build_file_proto_mode = "disable_global", importpath = "github.com/snowflakedb/gosnowflake", - sha256 = "4e6da06c9cbe5188ce9749d5d79b36a54d007a3eb3cdf6031b2f0dc5f9f880df", - strip_prefix = "github.com/cockroachdb/gosnowflake@v1.6.25", + sha256 = "a39ab3850d25f162e2ed4bf920c0fba1559e1c5ec41e1ca35f44600a2e9a971d", + strip_prefix = "github.com/snowflakedb/gosnowflake@v1.3.4", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/gosnowflake/com_github_cockroachdb_gosnowflake-v1.6.25.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/snowflakedb/gosnowflake/com_github_snowflakedb_gosnowflake-v1.3.4.zip", ], ) go_repository( @@ -10565,16 +10529,6 @@ def go_deps(): "https://storage.googleapis.com/cockroach-godeps/gomod/sourcegraph.com/sourcegraph/appdash/com_sourcegraph_sourcegraph_appdash-v0.0.0-20190731080439-ebfcffb1b5c0.zip", ], ) - go_repository( - name = "ht_sr_git_~sbinet_gg", - build_file_proto_mode = "disable_global", - importpath = "git.sr.ht/~sbinet/gg", - sha256 = "435103529c4f24aecf7e4550bc816db2482dda4ee0123d337daba99971a8c498", - strip_prefix = "git.sr.ht/~sbinet/gg@v0.3.1", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/git.sr.ht/~sbinet/gg/ht_sr_git_~sbinet_gg-v0.3.1.zip", - ], - ) go_repository( name = "in_gopkg_airbrake_gobrake_v2", build_file_proto_mode = "disable_global", @@ -11482,30 +11436,30 @@ def go_deps(): name = "org_golang_x_exp", build_file_proto_mode = "disable_global", importpath = "golang.org/x/exp", - sha256 = "3e3717f5151e8c2ebf267b4d53698b97847c0de144683c51b74ab7edf5039fa8", - strip_prefix = "golang.org/x/exp@v0.0.0-20231110203233-9a3e6036ecaa", + sha256 = "af32025a065aa599a3e5b01048602a53e2b6e3938b12d33fa2a5f057be9759fa", + strip_prefix = "golang.org/x/exp@v0.0.0-20230626212559-97b1e661b5df", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/exp/org_golang_x_exp-v0.0.0-20231110203233-9a3e6036ecaa.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/exp/org_golang_x_exp-v0.0.0-20230626212559-97b1e661b5df.zip", ], ) go_repository( name = "org_golang_x_exp_typeparams", build_file_proto_mode = "disable_global", importpath = "golang.org/x/exp/typeparams", - sha256 = "22c0e082f62b39c8ddaec18a9f2888158199e597adc8780e918e8976cd9fbbb0", - strip_prefix = "golang.org/x/exp/typeparams@v0.0.0-20231108232855-2478ac86f678", + sha256 = "9bd73f186851c6229484f486981f608d16e2b86acbbef6f4f7cc0480a508a4a4", + strip_prefix = "golang.org/x/exp/typeparams@v0.0.0-20221208152030-732eee02a75a", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/exp/typeparams/org_golang_x_exp_typeparams-v0.0.0-20231108232855-2478ac86f678.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/exp/typeparams/org_golang_x_exp_typeparams-v0.0.0-20221208152030-732eee02a75a.zip", ], ) go_repository( name = "org_golang_x_image", build_file_proto_mode = "disable_global", importpath = "golang.org/x/image", - sha256 = "56176a4d4d47910d61df9a77aa66a8469ae79fa18b7f5821c43bef1ef212116d", - strip_prefix = "golang.org/x/image@v0.0.0-20220302094943-723b81ca9867", + sha256 = "70cf423fad9be160a88fbf01bc1897efd888f915a6d7ba0dd41ca7085f75e06e", + strip_prefix = "golang.org/x/image@v0.0.0-20210628002857-a66eb6448b8d", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/image/org_golang_x_image-v0.0.0-20220302094943-723b81ca9867.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/image/org_golang_x_image-v0.0.0-20210628002857-a66eb6448b8d.zip", ], ) go_repository( @@ -11638,16 +11592,6 @@ def go_deps(): "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/tools/org_golang_x_tools-v0.24.0.zip", ], ) - go_repository( - name = "org_golang_x_tools_go_vcs", - build_file_proto_mode = "disable_global", - importpath = "golang.org/x/tools/go/vcs", - sha256 = "ab155d94f90a98a5112967b89bfcd26b5825c1cd6875a5246c7905a568387260", - strip_prefix = "golang.org/x/tools/go/vcs@v0.1.0-deprecated", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/tools/go/vcs/org_golang_x_tools_go_vcs-v0.1.0-deprecated.zip", - ], - ) go_repository( name = "org_golang_x_xerrors", build_file_proto_mode = "disable_global", @@ -11682,10 +11626,10 @@ def go_deps(): name = "org_gonum_v1_plot", build_file_proto_mode = "disable_global", importpath = "gonum.org/v1/plot", - sha256 = "eaa47ad966b3b67325c1f3ae704d566332c573b7cca79016cb4ffe82155aab39", - strip_prefix = "gonum.org/v1/plot@v0.10.1", + sha256 = "5bf2f98775d5eceafba12cf1196b97e92e93f6f824599f02c0ba4bfe15bae1b2", + strip_prefix = "gonum.org/v1/plot@v0.10.0", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/gonum.org/v1/plot/org_gonum_v1_plot-v0.10.1.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/gonum.org/v1/plot/org_gonum_v1_plot-v0.10.0.zip", ], ) go_repository( @@ -11702,30 +11646,20 @@ def go_deps(): name = "org_modernc_cc_v3", build_file_proto_mode = "disable_global", importpath = "modernc.org/cc/v3", - sha256 = "fe3aeb761e55ce77a95b297321a122b4273aeffe1c08f48fc99310e065211f74", - strip_prefix = "modernc.org/cc/v3@v3.40.0", + sha256 = "1fd51331be5f9b845282642e78f0bff09fbf551583c4555012520eed3215b2e0", + strip_prefix = "modernc.org/cc/v3@v3.36.3", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/cc/v3/org_modernc_cc_v3-v3.40.0.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/cc/v3/org_modernc_cc_v3-v3.36.3.zip", ], ) go_repository( name = "org_modernc_ccgo_v3", build_file_proto_mode = "disable_global", importpath = "modernc.org/ccgo/v3", - sha256 = "bfc293300cd1ce656ba0ce0cee1f508afec2518bc4214a6b10ccfad6e8e6046e", - strip_prefix = "modernc.org/ccgo/v3@v3.16.13", + sha256 = "5e19b5f5dd197c25d38d7ea9521465ff579294990bd969b2158eafeb7334a6e9", + strip_prefix = "modernc.org/ccgo/v3@v3.16.9", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/ccgo/v3/org_modernc_ccgo_v3-v3.16.13.zip", - ], - ) - go_repository( - name = "org_modernc_ccorpus", - build_file_proto_mode = "disable_global", - importpath = "modernc.org/ccorpus", - sha256 = "3831b62a73a379b81ac927e17e3e9ffe2d44ad07c934505e1ae24eea8a26a6d3", - strip_prefix = "modernc.org/ccorpus@v1.11.6", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/ccorpus/org_modernc_ccorpus-v1.11.6.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/ccgo/v3/org_modernc_ccgo_v3-v3.16.9.zip", ], ) go_repository( @@ -11738,24 +11672,14 @@ def go_deps(): "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/golex/org_modernc_golex-v1.0.0.zip", ], ) - go_repository( - name = "org_modernc_httpfs", - build_file_proto_mode = "disable_global", - importpath = "modernc.org/httpfs", - sha256 = "0b5314649c1327a199397eb6fd52b3ce41c9d3bc6dd2a4dea565b5fb87c13f41", - strip_prefix = "modernc.org/httpfs@v1.0.6", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/httpfs/org_modernc_httpfs-v1.0.6.zip", - ], - ) go_repository( name = "org_modernc_libc", build_file_proto_mode = "disable_global", importpath = "modernc.org/libc", - sha256 = "5f98bedf9f0663b3b87555904ee41b82fe9d8e9ac5c47c9fac9a42a7fe232313", - strip_prefix = "modernc.org/libc@v1.22.2", + sha256 = "82b6d3a79ffe291d8f6ecbcaf6aba579ff37d1bea9049e600d85a388a4c15948", + strip_prefix = "modernc.org/libc@v1.17.1", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/libc/org_modernc_libc-v1.22.2.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/libc/org_modernc_libc-v1.17.1.zip", ], ) go_repository( @@ -11772,10 +11696,10 @@ def go_deps(): name = "org_modernc_memory", build_file_proto_mode = "disable_global", importpath = "modernc.org/memory", - sha256 = "f79e8ada14c36d08817ee2bf6b2103f65c1a61a91b042b59016465869624043c", - strip_prefix = "modernc.org/memory@v1.5.0", + sha256 = "2eb0b17569e7f822cbd0176213e1dbc04e4c692bccdd59cda50cc157644547ee", + strip_prefix = "modernc.org/memory@v1.2.1", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/memory/org_modernc_memory-v1.5.0.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/memory/org_modernc_memory-v1.2.1.zip", ], ) go_repository( @@ -11792,10 +11716,10 @@ def go_deps(): name = "org_modernc_sqlite", build_file_proto_mode = "disable_global", importpath = "modernc.org/sqlite", - sha256 = "be0501f87458962a00c8fb07d1f131af010a534cd6ffb654c570be35b9b608d5", - strip_prefix = "modernc.org/sqlite@v1.18.2", + sha256 = "5c484a0d7aeab465beff2460b0b5e63284155dad8b8fef52b9b30827bc77263c", + strip_prefix = "modernc.org/sqlite@v1.18.1", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/sqlite/org_modernc_sqlite-v1.18.2.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/sqlite/org_modernc_sqlite-v1.18.1.zip", ], ) go_repository( @@ -11808,24 +11732,14 @@ def go_deps(): "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/strutil/org_modernc_strutil-v1.1.3.zip", ], ) - go_repository( - name = "org_modernc_tcl", - build_file_proto_mode = "disable_global", - importpath = "modernc.org/tcl", - sha256 = "f966db0dd1ccbc7f8d5ac2e752b64c3be343aa3f92215ed98b6f2a51b7abbb64", - strip_prefix = "modernc.org/tcl@v1.13.2", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/tcl/org_modernc_tcl-v1.13.2.zip", - ], - ) go_repository( name = "org_modernc_token", build_file_proto_mode = "disable_global", importpath = "modernc.org/token", - sha256 = "3efaa49e9fb10569da9e09e785fa230cd5c0f50fcf605f3b5439dfcd61577c58", - strip_prefix = "modernc.org/token@v1.1.0", + sha256 = "081d969b97ccec2892c6dc9dd50b001a54ac0c6615534e9623be99b5b2d1fc34", + strip_prefix = "modernc.org/token@v1.0.0", urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/token/org_modernc_token-v1.1.0.zip", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/token/org_modernc_token-v1.0.0.zip", ], ) go_repository( @@ -11838,16 +11752,6 @@ def go_deps(): "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/xc/org_modernc_xc-v1.0.0.zip", ], ) - go_repository( - name = "org_modernc_z", - build_file_proto_mode = "disable_global", - importpath = "modernc.org/z", - sha256 = "5be23ef96669963e52d25b787d71028fff4fe1c468dec20aac59c9512caa2eb7", - strip_prefix = "modernc.org/z@v1.5.1", - urls = [ - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/z/org_modernc_z-v1.5.1.zip", - ], - ) go_repository( name = "org_mongodb_go_mongo_driver", build_file_proto_mode = "disable_global", diff --git a/WORKSPACE b/WORKSPACE index 480258d32c2d..474eec5eb9cf 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -8,12 +8,12 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Load go bazel tools. This gives us access to the go bazel SDK/toolchains. http_archive( name = "io_bazel_rules_go", - sha256 = "2443be6856928dab6f92f5e8581bb410159b4ea20033c4fb3432ee282b26efb4", - strip_prefix = "cockroachdb-rules_go-7c2d69e", + sha256 = "ada68324bc20ffd1b557bab4cf8dba9b742570a46a505b0bc99c1fde5132cce5", + strip_prefix = "cockroachdb-rules_go-734c37d", urls = [ - # cockroachdb/rules_go as of 7c2d69efcb8b6fd548629dfa31463989e58fff2a - # (upstream release-0.50 plus a few patches). - "https://storage.googleapis.com/public-bazel-artifacts/bazel/cockroachdb-rules_go-v0.27.0-530-g7c2d69e.tar.gz", + # cockroachdb/rules_go as of 734c37d6e2e6570f420d27fd97424b2fe2b402af + # (upstream release-0.46 plus a few patches). + "https://storage.googleapis.com/public-bazel-artifacts/bazel/cockroachdb-rules_go-v0.27.0-459-g734c37d.tar.gz", ], ) @@ -44,9 +44,10 @@ http_archive( # repo. http_archive( name = "bazel_gazelle", - sha256 = "b760f7fe75173886007f7c2e616a21241208f3d90e8657dc65d36a771e916b6a", + sha256 = "22140e6a7a28df5ec7477f12b286f24dedf8dbef0a12ffbbac10ae80441aa093", + strip_prefix = "bazelbuild-bazel-gazelle-061cc37", urls = [ - "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazel-gazelle-v0.39.1.tar.gz", + "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazelbuild-bazel-gazelle-v0.33.0-0-g061cc37.zip", ], ) @@ -90,9 +91,9 @@ go_deps() http_archive( name = "platforms", - sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee", + sha256 = "079945598e4b6cc075846f7fd6a9d0857c33a7afc0de868c2ccb96405225135d", urls = [ - "https://storage.googleapis.com/public-bazel-artifacts/bazel/platforms-0.0.10.tar.gz", + "https://storage.googleapis.com/public-bazel-artifacts/bazel/platforms-0.0.4.tar.gz", ], ) @@ -107,7 +108,6 @@ http_archive( # org_golang_x_sys handled in DEPS.bzl. # org_golang_x_tools handled in DEPS.bzl. -# org_golang_x_tools_go_vcs handled in DEPS.bzl. # org_golang_x_xerrors handled in DEPS.bzl. http_archive( @@ -119,12 +119,11 @@ http_archive( ], ) +# org_golang_google_protobuf handled in DEPS.bzl. # com_github_golang_protobuf handled in DEPS.bzl. # com_github_mwitkow_go_proto_validators handled in DEPS.bzl. # com_github_gogo_protobuf handled in DEPS.bzl. # org_golang_google_genproto handled in DEPS.bzl. -# org_golang_google_grpc_cmd_protoc_gen_go_grpc handled in DEPS.bzl. -# org_golang_google_protobuf handled in DEPS.bzl. http_archive( name = "go_googleapis", @@ -157,7 +156,6 @@ load( "go_download_sdk", "go_host_sdk", "go_local_sdk", - "go_register_nogo", "go_register_toolchains", "go_rules_dependencies", ) @@ -167,14 +165,14 @@ load( go_download_sdk( name = "go_sdk", sdks = { - "darwin_amd64": ("go1.23.2.darwin-amd64.tar.gz", "51e8aaf8055cef63982dc02fa153544e4238f57d12ac0592f8270136b1838522"), - "darwin_arm64": ("go1.23.2.darwin-arm64.tar.gz", "c58858973397585303b24830247257116cd7087a4dcf223f389e6294f36cf6bd"), - "linux_amd64": ("go1.23.2.linux-amd64.tar.gz", "5a80932e83b683188495096be732260bbbf5a9b41ac7410d8d330783a19d084d"), - "linux_arm64": ("go1.23.2.linux-arm64.tar.gz", "b222875b75adb05f04dca09d3ff5f92919bd17c3b52c4124988fc6a769592922"), - "windows_amd64": ("go1.23.2.windows-amd64.tar.gz", "55cc36160f61a9662f95752fae9d80c9a3bd013861fad46f1fa0c8f0d3598c5a"), + "darwin_amd64": ("go1.22.5.darwin-amd64.tar.gz", "0eca73b33e9fc3b8eae28c4873b979f5ebd4b7dc8771b9b13ba2d70517309a4d"), + "darwin_arm64": ("go1.22.5.darwin-arm64.tar.gz", "2d72a9301bf73f5429cbc40ba08b6602b1af91a5d5eed302fef2b92ae53b0b56"), + "linux_amd64": ("go1.22.5.linux-amd64.tar.gz", "477ec7b6f76e6c38d83fbd808af0729299b40a8e99796ac3b2fec50d62e20938"), + "linux_arm64": ("go1.22.5.linux-arm64.tar.gz", "fbaf48b411d434aad694fddc8a036ce7374f2d8459518a25fec4f58f3bca0c20"), + "windows_amd64": ("go1.22.5.windows-amd64.tar.gz", "8fc3ccf439e93521faa0411702ef4e598c80ded514bada5fedc11846c284d3d2"), }, - urls = ["https://storage.googleapis.com/public-bazel-artifacts/go/20241014-231526/{}"], - version = "1.23.2", + urls = ["https://storage.googleapis.com/public-bazel-artifacts/go/20240708-162411/{}"], + version = "1.22.5", ) # To point to a local SDK path, use the following instead. We'll call the @@ -194,8 +192,7 @@ go_download_sdk( go_rules_dependencies() -go_register_toolchains() -go_register_nogo(nogo = "@com_github_cockroachdb_cockroach//:crdb_nogo") +go_register_toolchains(nogo = "@com_github_cockroachdb_cockroach//:crdb_nogo") ############################### # end rules_go dependencies # @@ -325,14 +322,7 @@ load( # Ref: https://github.com/bazelbuild/bazel-gazelle/blob/master/deps.bzl # bazel_skylib handled above. - -http_archive( - name = "rules_license", - urls = [ - "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_license-1.0.0.tar.gz", - ], - sha256 = "26d4021f6898e23b82ef953078389dd49ac2b5618ac564ade4ef87cced147b38", -) +# co_honnef_go_tools handled in DEPS.bzl. # keep go_repository( @@ -358,13 +348,27 @@ go_repository( ], ) +# com_github_burntsushi_toml handled in DEPS.bzl. +# com_github_census_instrumentation_opencensus_proto handled in DEPS.bzl. +# com_github_chzyer_logex handled in DEPS.bzl. +# com_github_chzyer_readline handled in DEPS.bzl. +# com_github_chzyer_test handled in DEPS.bzl. +# com_github_client9_misspell handled in DEPS.bzl. +# com_github_davecgh_go_spew handled in DEPS.bzl. +# com_github_envoyproxy_go_control_plane handled in DEPS.bzl. +# com_github_envoyproxy_protoc_gen_validate handled in DEPS.bzl. # com_github_fsnotify_fsnotify handled in DEPS.bzl. -# com_github_gogo_protobuf handled in DEPS.bzl. +# com_github_golang_glog handled in DEPS.bzl. # com_github_golang_mock handled in DEPS.bzl. # com_github_golang_protobuf handled in DEPS.bzl. # com_github_google_go_cmp handled in DEPS.bzl. # com_github_pelletier_go_toml handled in DEPS.bzl. # com_github_pmezard_go_difflib handled in DEPS.bzl. +# com_github_prometheus_client_model handled in DEPS.bzl. +# com_github_yuin_goldmark handled in DEPS.bzl. +# com_google_cloud_go handled in DEPS.bzl. +# in_gopkg_check_v1 handled in DEPS.bzl. +# in_gopkg_yaml_v2 handled in DEPS.bzl. # keep go_repository( @@ -379,15 +383,18 @@ go_repository( # org_golang_google_genproto handled in DEPS.bzl. # org_golang_google_grpc handled in DEPS.bzl. -# org_golang_google_grpc_cmd_protoc_gen_go_grpc handled in DEPS.bzl. # org_golang_google_protobuf handled in DEPS.bzl. +# org_golang_x_crypto handled in DEPS.bzl. +# org_golang_x_exp handled in DEPS.bzl. +# org_golang_x_lint handled in DEPS.bzl. # org_golang_x_mod handled in DEPS.bzl. # org_golang_x_net handled in DEPS.bzl. +# org_golang_x_oauth2 handled in DEPS.bzl. # org_golang_x_sync handled in DEPS.bzl. # org_golang_x_sys handled in DEPS.bzl. # org_golang_x_text handled in DEPS.bzl. # org_golang_x_tools handled in DEPS.bzl. -# org_golang_x_tools_go_vcs handled in DEPS.bzl. +# org_golang_x_xerrors handled in DEPS.bzl. gazelle_dependencies() @@ -450,9 +457,11 @@ http_archive( http_archive( name = "rules_proto", - sha256 = "6fb6767d1bef535310547e03247f7518b03487740c11b6c6adb7952033fe1295", - strip_prefix = "rules_proto-6.0.2", - url = "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_proto-6.0.2.tar.gz", + sha256 = "88b0a90433866b44bb4450d4c30bc5738b8c4f9c9ba14e9661deb123f56a833d", + strip_prefix = "rules_proto-b0cc14be5da05168b01db282fe93bdf17aa2b9f4", + urls = [ + "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_proto-b0cc14be5da05168b01db282fe93bdf17aa2b9f4.tar.gz", + ], ) load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") @@ -525,7 +534,13 @@ http_archive( urls = ["https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_python-0.1.0.tar.gz"], ) -# rules_license handled above. +http_archive( + name = "rules_license", + sha256 = "4865059254da674e3d18ab242e21c17f7e3e8c6b1f1421fffa4c5070f82e98b5", + urls = [ + "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_license-0.0.1.tar.gz", + ], +) load("@rules_pkg//pkg:deps.bzl", "rules_pkg_dependencies") @@ -654,8 +669,8 @@ go_download_sdk( # able to provide additional diagnostic information such as the expected version of OpenSSL. experiments = ["boringcrypto"], sdks = { - "linux_amd64": ("go1.23.2fips.linux-amd64.tar.gz", "523271b256d5ae315600653968b83af1f4a321f3cf54995b115232d4f1911750"), + "linux_amd64": ("go1.22.5fips.linux-amd64.tar.gz", "d2a40c2e78e2cf1560cafa304593e194e094c3e4dbd404666dda9cf5cc12b7f1"), }, - urls = ["https://storage.googleapis.com/public-bazel-artifacts/go/20241014-231526/{}"], - version = "1.23.2fips", + urls = ["https://storage.googleapis.com/public-bazel-artifacts/go/20240708-162411/{}"], + version = "1.22.5fips", ) diff --git a/build/bazelutil/BUILD.bazel b/build/bazelutil/BUILD.bazel index 49798091826a..a04b0dafee40 100644 --- a/build/bazelutil/BUILD.bazel +++ b/build/bazelutil/BUILD.bazel @@ -3,6 +3,17 @@ exports_files(["nogo_config.json"]) load("@bazel_skylib//rules:analysis_test.bzl", "analysis_test") load("@io_bazel_rules_go//go:def.bzl", "go_library") +analysis_test( + name = "test_nogo_configured", + targets = select( + { + "//build/toolchains:nogo": [], + "//build/toolchains:nonogo_explicit": [], + }, + no_match_error = "must use exactly one of `--config lintonbuild` or `--config nolintonbuild` explicitly", + ), +) + # The output file will be empty unless we're using the force_build_cdeps config. genrule( name = "test_force_build_cdeps", diff --git a/build/bazelutil/distdir_files.bzl b/build/bazelutil/distdir_files.bzl index d4282c5f2699..5f776238170a 100644 --- a/build/bazelutil/distdir_files.bzl +++ b/build/bazelutil/distdir_files.bzl @@ -130,24 +130,23 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/contrib.go.opencensus.io/exporter/prometheus/io_opencensus_go_contrib_exporter_prometheus-v0.4.0.zip": "e5dc381a98aad09e887f5232b00147308ff806e9189fbf901736ccded75a3357", "https://storage.googleapis.com/cockroach-godeps/gomod/dmitri.shuralyov.com/gpu/mtl/com_shuralyov_dmitri_gpu_mtl-v0.0.0-20190408044501-666a987793e9.zip": "ca5330901fcda83d09553ac362576d196c531157bc9c502e76b237cca262b400", "https://storage.googleapis.com/cockroach-godeps/gomod/gioui.org/org_gioui-v0.0.0-20210308172011-57750fc8a0a6.zip": "fcbab2a0ea09ff775c1ff4fa99299d95b94aad496b1ac329e3c7389119168fc0", - "https://storage.googleapis.com/cockroach-godeps/gomod/git.sr.ht/~sbinet/gg/ht_sr_git_~sbinet_gg-v0.3.1.zip": "435103529c4f24aecf7e4550bc816db2482dda4ee0123d337daba99971a8c498", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/99designs/go-keychain/com_github_99designs_go_keychain-v0.0.0-20191008050251-8e49817e8af4.zip": "ddff1e1a0e673de7d7f40be100b3a4e9b059e290500f17120969f26822a62c64", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/99designs/keyring/com_github_99designs_keyring-v1.2.2.zip": "7204ea1194e7835a02d9f8f3cf1ba30dce143dd9a3353ead71a46ffcd418d7be", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/99designs/keyring/com_github_99designs_keyring-v1.2.1.zip": "bbcbf31d7ccc1fb3b2b8dd4295add4cbe116ee89bb08a5a204202fae72a333b8", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/AdaLogics/go-fuzz-headers/com_github_adalogics_go_fuzz_headers-v0.0.0-20210715213245-6c3934b029d8.zip": "b969c84628be06be91fe874426fd3bbcb8635f93714ee3bae788bdc57e78b992", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/AndreasBriese/bbloom/com_github_andreasbriese_bbloom-v0.0.0-20190825152654-46b345b51c96.zip": "8b8c016e041592d4ca8cbd2a8c68e0dd0ba1b7a8f96fab7422c8e373b1835a2d", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/AthenZ/athenz/com_github_athenz_athenz-v1.10.39.zip": "790df98e01ad2c83e33f9760e478432a4d379e7de2b79158742a8fcfd9610dcf", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-pipeline-go/com_github_azure_azure_pipeline_go-v0.2.1.zip": "83822bc4aca977af31cdb1c46012e64c819d2b9ed53885dd0f8dca5566993a5f", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/com_github_azure_azure_sdk_for_go-v68.0.0+incompatible.zip": "c40d67ce49f8e2bbf4ca4091cbfc05bd3d50117f21d789e32cfa19bdb11ec50c", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/azcore/com_github_azure_azure_sdk_for_go_sdk_azcore-v1.4.0.zip": "42e10b1530d4f4d5864421ee44faabc84885a3957ce969ee33db96fb5229f284", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/azcore/com_github_azure_azure_sdk_for_go_sdk_azcore-v1.3.0.zip": "cf80995c85451a7990c4d68dfbfd7de89536d319df9502ba9dfd38eb84501810", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/azidentity/com_github_azure_azure_sdk_for_go_sdk_azidentity-v1.1.0.zip": "27947f13cb64475fd59e5d9f8b9c042b3d1e8603f49c54fc42820001c33d5f78", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/internal/com_github_azure_azure_sdk_for_go_sdk_internal-v1.1.2.zip": "88dc36a09083cfdf3db0dbc47e12a867b30c57f099f05381c35b4703dcac7810", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/internal/com_github_azure_azure_sdk_for_go_sdk_internal-v1.1.1.zip": "10f2a543b9e000a988722c8210d30d377c2306b042e5de1bfea4b3ec730d0319", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys/com_github_azure_azure_sdk_for_go_sdk_keyvault_azkeys-v0.9.0.zip": "8f29c576ee07c3b8f7ca821927ceec97573479c882285ca71c2a13d92d4b9927", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/com_github_azure_azure_sdk_for_go_sdk_keyvault_internal-v0.7.0.zip": "a3a79250f250d01abd0b402649ce9baf7eeebbbad186dc602eb011692fdbec24", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/com_github_azure_azure_sdk_for_go_sdk_resourcemanager_compute_armcompute-v1.0.0.zip": "7f0b10080e81a23d259a4449509485c58d862c4ff4757f7c2a234bbf6e9ac6c4", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/com_github_azure_azure_sdk_for_go_sdk_resourcemanager_internal-v1.0.0.zip": "e5a50bbc42b4be222b7bafd509316a14388ccc190947545df1abfbdd3727e54c", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/com_github_azure_azure_sdk_for_go_sdk_resourcemanager_network_armnetwork-v1.0.0.zip": "e09bacbe7fe4532f9887151a51e092ac89a143034da0fb1729126422f9e1212b", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources/com_github_azure_azure_sdk_for_go_sdk_resourcemanager_resources_armresources-v1.0.0.zip": "09d235afd45048829677351d042fba2c57754df4ae4dde8b25168e39e903db07", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/com_github_azure_azure_sdk_for_go_sdk_storage_azblob-v1.0.0.zip": "9bb69aea32f1d59711701f9562d66432c9c0374205e5009d1d1a62f03fb4fdad", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/com_github_azure_azure_sdk_for_go_sdk_storage_azblob-v0.6.1.zip": "c2539d189b22bdb6eb67c4682ded4e070d6cf0f52c8bd6899f7eb1408045783f", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/azure-storage-blob-go/com_github_azure_azure_storage_blob_go-v0.8.0.zip": "3b02b720c25bbb6cdaf77f45a29a21e374e087081dedfeac2700aed6147b4b35", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/go-ansiterm/com_github_azure_go_ansiterm-v0.0.0-20210617225240-d185dfc1b5a1.zip": "631ff4b167a4360e10911e475933ecb3bd327c58974c17877d0d4cf6fbef6c96", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/go-autorest/autorest/adal/com_github_azure_go_autorest_autorest_adal-v0.9.15.zip": "791f1d559e2c4d99f4d29465fd71f5589e368e2087701b78970ad8dcc7be6299", @@ -163,7 +162,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/go-autorest/tracing/com_github_azure_go_autorest_tracing-v0.6.0.zip": "b7296ba64ecae67c83ae1c89da47c6f65c2ff0807027e301daccab32673914b3", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/Azure/go-ntlmssp/com_github_azure_go_ntlmssp-v0.0.0-20221128193559-754e69321358.zip": "cc6d4e9caf938a71c9217f3aa8bdbb1c072faff3444bb680a2759c947da2085c", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/AzureAD/microsoft-authentication-library-for-go/com_github_azuread_microsoft_authentication_library_for_go-v0.5.1.zip": "303670915e2c0de9e6ed4658360ce5ae07320714c9a8228f0f2d69a12b8ddf5d", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/BurntSushi/toml/com_github_burntsushi_toml-v1.4.1-0.20240526193622-a339e1f7089c.zip": "f15f0ca7a3c5a4275d3d560236f178e9d735a084534bf3b685ec5f676806230a", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/BurntSushi/toml/com_github_burntsushi_toml-v1.2.1.zip": "6fb658e8262179ffd34d57eaef6b076b25c77e8b2129659b66697cded29a7121", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/BurntSushi/xgb/com_github_burntsushi_xgb-v0.0.0-20160522181843-27f122750802.zip": "f52962c7fbeca81ea8a777d1f8b1f1d25803dc437fbb490f253344232884328e", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/BurntSushi/xgbutil/com_github_burntsushi_xgbutil-v0.0.0-20160919175755-f7c97cef3b4e.zip": "680bb03650f0f43760cab53ec7b3b159ea489f04f379bbba25b5a8d77a2de2e0", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/CloudyKit/fastprinter/com_github_cloudykit_fastprinter-v0.0.0-20200109182630-33d98a066a53.zip": "7e6015de3e986e5de8bf7310887bb0d8c1c33d66c5aacbd706aeec524dfda765", @@ -216,9 +215,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/afex/hystrix-go/com_github_afex_hystrix_go-v0.0.0-20180502004556-fa1af6a1f4f5.zip": "c0e0ea63b57e95784eeeb18ab8988ac2c3d3a17dc729d557c963f391f372301c", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/agnivade/levenshtein/com_github_agnivade_levenshtein-v1.0.1.zip": "cb0e7f070ba2b6a10e1c600d71f06508404801ff45046853001b83be6ebedac3", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajg/form/com_github_ajg_form-v1.5.1.zip": "b063b07639670ce9b6a0065b4dc35ef9e4cebc0c601be27f5494a3e6a87eb78b", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajstarks/deck/com_github_ajstarks_deck-v0.0.0-20200831202436-30c9fc6549a9.zip": "68bad2e38bf5b01e6bbd7b9bbdba35da94dac72bc4ba41f8ea5fe92aa836a3c3", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajstarks/deck/generate/com_github_ajstarks_deck_generate-v0.0.0-20210309230005-c3f852c02e19.zip": "dce1cbc4cb42ac26512dd0bccf997baeea99fb4595cd419a28e8566d2d7c7ba8", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajstarks/svgo/com_github_ajstarks_svgo-v0.0.0-20211024235047-1546f124cd8b.zip": "e25b5dbb6cc86d2a0b5db08aad757c534681c2cecb30d84746e09c661cbd7c6f", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ajstarks/svgo/com_github_ajstarks_svgo-v0.0.0-20210923152817-c3b6e2f0c527.zip": "d58dcf4f11896cb22cec4db53ca17df342c6da4cc3a084c270f2da9e1eb351a7", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/akavel/rsrc/com_github_akavel_rsrc-v0.8.0.zip": "13954a09edc3a680d633c5ea7b4be902df3a70ca1720b349faadca44dc0c7ecc", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/alecthomas/kingpin/v2/com_github_alecthomas_kingpin_v2-v2.3.1.zip": "2a322681d79461dd793c1e8a98adf062f6ef554abcd3ab06981eef94d79c136b", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/alecthomas/template/com_github_alecthomas_template-v0.0.0-20190718012654-fb15b899a751.zip": "25e3be7192932d130d0af31ce5bcddae887647ba4afcfb32009c3b9b79dbbdb3", @@ -235,7 +232,6 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/aokoli/goutils/com_github_aokoli_goutils-v1.0.1.zip": "96ee68caaf3f4e673e27c97659b4ea10a4fd81dbf24fabd2dc01e187a772355c", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/apache/arrow/go/arrow/com_github_apache_arrow_go_arrow-v0.0.0-20200923215132-ac86123a3f01.zip": "5018a8784061fd3a5e52069fb321ebe2d96181d4a6f2d594cb60ff3787998580", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/apache/arrow/go/v11/com_github_apache_arrow_go_v11-v11.0.0.zip": "d5275ec213d31234d54ca13fff78d07ba1837d78664c13b76363d2f75718ae4f", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/apache/arrow/go/v12/com_github_apache_arrow_go_v12-v12.0.1.zip": "5eb05ed9c2c5e164503b00912b7b2456400578de29e7e8a8956a41acd861ab5b", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/apache/pulsar-client-go/com_github_apache_pulsar_client_go-v0.12.0.zip": "ed1ce957cfa2e98950a8c2ae319a4b6d17bafc2e18d06d65bb68901dd627502b", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/apache/thrift/com_github_apache_thrift-v0.16.0.zip": "50d5c610df30fa2a6039394d5142382b7d9938870dfb12ef46bddfa3da250893", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/ardielle/ardielle-go/com_github_ardielle_ardielle_go-v1.5.2.zip": "08d285f8f99362c2fef82849912244a23a667d78cd97c1f3196371ae74b8f229", @@ -346,7 +342,6 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/errors/com_github_cockroachdb_errors-v1.11.3.zip": "d11ed59d96afef2d1f0ce56892839c62ff5c0cbca8dff0aaefeaef7eb190e73c", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/fifo/com_github_cockroachdb_fifo-v0.0.0-20240606204812-0bbfbd93a7ce.zip": "41e682b393cc82891ab5fcefbd28cc6173f16887702ab8760bcbc66d122e5900", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/go-test-teamcity/com_github_cockroachdb_go_test_teamcity-v0.0.0-20191211140407-cff980ad0a55.zip": "bac30148e525b79d004da84d16453ddd2d5cd20528e9187f1d7dac708335674b", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/gosnowflake/com_github_cockroachdb_gosnowflake-v1.6.25.zip": "4e6da06c9cbe5188ce9749d5d79b36a54d007a3eb3cdf6031b2f0dc5f9f880df", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/gostdlib/com_github_cockroachdb_gostdlib-v1.19.0.zip": "c4d516bcfe8c07b6fc09b8a9a07a95065b36c2855627cb3514e40c98f872b69e", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/logtags/com_github_cockroachdb_logtags-v0.0.0-20230118201751-21c54148d20b.zip": "ca7776f47e5fecb4c495490a679036bfc29d95bd7625290cfdb9abb0baf97476", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/metamorphic/com_github_cockroachdb_metamorphic-v0.0.0-20231108215700-4ba948b56895.zip": "28c8cf42192951b69378cf537be5a9a43f2aeb35542908cc4fe5f689505853ea", @@ -438,7 +433,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/docker/libtrust/com_github_docker_libtrust-v0.0.0-20150114040149-fa567046d9b1.zip": "7f7a72aae4276536e665d8dfdab7219231fbb402dec16ba79ccdb633a4692482", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/docker/spdystream/com_github_docker_spdystream-v0.0.0-20160310174837-449fdfce4d96.zip": "70964f9eef29843634539b8d6e09c8b51ed6aa96b5deda28b7a44613327a22f2", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/docopt/docopt-go/com_github_docopt_docopt_go-v0.0.0-20180111231733-ee0de3bc6815.zip": "00aad861d150c62598ca4fb01cfbe15c2eefb5186df7e5d4a59286dcf09556c8", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/dustin/go-humanize/com_github_dustin_go_humanize-v1.0.1.zip": "319404ea84c8a4e2d3d83f30988b006e7dd04976de3e1a1a90484ad94679fa46", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/dustin/go-humanize/com_github_dustin_go_humanize-v1.0.0.zip": "e01916e082a6646ea12d7800d77af43045c27284ff2a0a77e3484509989cc107", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/dvsekhvalnov/jose2go/com_github_dvsekhvalnov_jose2go-v1.6.0.zip": "f4827d6c8116cc0d32e822acb4f33283db8013b850e1009c47bb70361e90e312", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/dvyukov/go-fuzz/com_github_dvyukov_go_fuzz-v0.0.0-20210103155950-6a8e9d1f2415.zip": "0a4c4bc0a550c729115d74f6a636e5802894b33bc50aa8af99c4a70196d5990b", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/eapache/go-resiliency/com_github_eapache_go_resiliency-v1.4.0.zip": "d9bf171efc34a8906488dde76b1f80e8c9ff6eb8ab5f7d7ebc56812882b2b77e", @@ -464,7 +459,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/fatih/structs/com_github_fatih_structs-v1.1.0.zip": "a361ecc95ad12000c66ee143d26b2aa0a4e5de3b045fd5d18a52564622a59148", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/flosch/pongo2/v4/com_github_flosch_pongo2_v4-v4.0.2.zip": "88e92416c43e05ab51f36bef211fcd03bb25428e2d2bebeed8a1877b8ad43281", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/fogleman/gg/com_github_fogleman_gg-v1.3.0.zip": "792f7a3ea9eea31b7947dabaf9d5a307389245069078e4bf435d76cb0505439c", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/form3tech-oss/jwt-go/com_github_form3tech_oss_jwt_go-v3.2.5+incompatible.zip": "30cf0ef9aa63aea696e40df8912d41fbce69dd02986a5b99af7c5b75f277690c", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/form3tech-oss/jwt-go/com_github_form3tech_oss_jwt_go-v3.2.3+incompatible.zip": "6780fef32d854a318af431efd0c680a1cb4ddc50d36d6b4c239baf381004efae", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/fortytw2/leaktest/com_github_fortytw2_leaktest-v1.3.0.zip": "867e6d131510751ba6055c51e7746b0056a6b3dcb1a1b2dfdc694251cd7eb8b3", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/foxcpp/go-mockdns/com_github_foxcpp_go_mockdns-v0.0.0-20201212160233-ede2f9158d15.zip": "981c5e71776a97a6de21552728fd2ff04ab9f2057836f133a33cc06c13cbb724", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/franela/goblin/com_github_franela_goblin-v0.0.0-20200105215937-c9ffbefa60db.zip": "e4ef81939ecb582e5716af6ae8b20ecf899f1351b7c53cb6799edf2a29a43714", @@ -472,7 +467,6 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/frankban/quicktest/com_github_frankban_quicktest-v1.11.3.zip": "28d4b3dc3a66f7c838f7667370df1cd88cc330eac227c55c3c2cd2ecd666c4c5", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/fsnotify/fsnotify/com_github_fsnotify_fsnotify-v1.5.1.zip": "f38d7e395bc45f08a34e9591c9c4900031f81c1ddc7d761a785cbbb9aaee0db0", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/fullsailor/pkcs7/com_github_fullsailor_pkcs7-v0.0.0-20190404230743-d7302db945fa.zip": "ba36a8fc855d6eecef329d26f8e82132e38d45d06f79f88d3b0bde6d718c8fb2", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/gabriel-vasile/mimetype/com_github_gabriel_vasile_mimetype-v1.4.2.zip": "959e9da19ac23353e711c80f768cb3344ba0fb2d2fefeb4b21f4165811327327", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/garyburd/redigo/com_github_garyburd_redigo-v0.0.0-20150301180006-535138d7bcd7.zip": "7ed5f8194388955d2f086c170960cb096ee28d421b32bd12328d5f2a2b0ad488", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/gavv/httpexpect/com_github_gavv_httpexpect-v2.0.0+incompatible.zip": "3db05c59a5c70d11b9452727c529be6934ddf8b42f4bfdc3138441055f1529b1", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/getkin/kin-openapi/com_github_getkin_kin_openapi-v0.53.0.zip": "e3a00cb5828f8922087a0a74aad06c6177fa2eab44763a19aeec38f7fab7834b", @@ -515,7 +509,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-openapi/strfmt/com_github_go_openapi_strfmt-v0.22.0.zip": "37f512d6ac447bc026276a87eeb89d3c0ec243740c69e79743f8d9761d29aafe", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-openapi/swag/com_github_go_openapi_swag-v0.22.9.zip": "6c4f1b2d69670d4cc560783f66d7faf3baaac7ad6fa258331e207a855d24693e", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-openapi/validate/com_github_go_openapi_validate-v0.23.0.zip": "1bb740012b9b47084438b67c0688235ba7e5227d915d29eedc273dd6a3aadf1a", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-pdf/fpdf/com_github_go_pdf_fpdf-v0.6.0.zip": "03a6909fc346ac972b008b77585ac3954d76b416c33b4b64dc22c5f35f0e1edb", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-pdf/fpdf/com_github_go_pdf_fpdf-v0.5.0.zip": "9ab17b11279de24333e3f39475478bd5c7f3294b0b512b79c34fb8c77ce7f613", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-playground/assert/v2/com_github_go_playground_assert_v2-v2.0.1.zip": "46db6b505ff9818c50f924c6aec007dbbc4d86267fdf2d470ef4be12a40fd4cb", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-playground/locales/com_github_go_playground_locales-v0.14.0.zip": "e103ae2c635cde62d2b75ff021be20443ab8d227aebfed5f043846575ea1fa43", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/go-playground/universal-translator/com_github_go_playground_universal_translator-v0.18.0.zip": "15f3241347dfcfe7d668595727629bcf54ff028ebc4b7c955b9c2bdeb253a110", @@ -567,7 +561,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/gonum/lapack/com_github_gonum_lapack-v0.0.0-20181123203213-e4cdc5a0bff9.zip": "f38b72e072728121b9acf5ae26d947aacc0024dddc09d19e382bacd8669f5997", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/gonum/matrix/com_github_gonum_matrix-v0.0.0-20181209220409-c518dec07be9.zip": "9cea355e35e3f5718b2c69f65712b2c08a1bec13b3cfadf168d98b41b043dd63", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/google/btree/com_github_google_btree-v1.0.1.zip": "9b9f66ca4eb36bb1867b5ff9134fb2eb9fe9717d44e28836f2e977f9c03b4128", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/google/flatbuffers/com_github_google_flatbuffers-v23.1.21+incompatible.zip": "2b66a7cfcf2feb5ead4a9399782e4665a02475b66077ab50d299bbd6eafbf526", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/google/flatbuffers/com_github_google_flatbuffers-v2.0.8+incompatible.zip": "0c0a4aab1c6029141d655bc7fdc07e22dd06f3f64ebbf7a2250b870ef7aac7ee", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/google/go-cmp/com_github_google_go_cmp-v0.6.0.zip": "4b4e9bf6c48211080651b491dfb48d68b736c66a305bcf94605606e1ba2eaa4a", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/google/go-github/com_github_google_go_github-v17.0.0+incompatible.zip": "9831222a466bec73a21627e0c3525da9cadd969468e31d10ecae8580b0568d0e", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/google/go-github/v27/com_github_google_go_github_v27-v27.0.4.zip": "c0bb2e2b9d8b610fd1d4b9fa8a3636a5337f19aecec33e76aecbf32ae4e192bb", @@ -717,12 +711,12 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/kataras/tunnel/com_github_kataras_tunnel-v0.0.4.zip": "1ae8dcc9a6ca3f47c5f8b57767a08b0acd916eceef49c48aa9859547316db8e2", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/kballard/go-shellquote/com_github_kballard_go_shellquote-v0.0.0-20180428030007-95032a82bc51.zip": "ae4cb7b097dc4eb0c248dff00ed3bbf0f36984c4162ad1d615266084e58bd6cc", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/kevinburke/go-bindata/com_github_kevinburke_go_bindata-v3.13.0+incompatible.zip": "f087b3a77624a113883bac519ebd1a4de07b70ab2ebe73e61e52325ac30777e0", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/kisielk/errcheck/com_github_kisielk_errcheck-v1.7.1-0.20240702033320-b832de3f3c5a.zip": "4087fa0fa06f3e91e4d49f23ce5d602c63779906da0c7303c1e37ff51c718968", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/kisielk/errcheck/com_github_kisielk_errcheck-v1.7.0.zip": "f394d1df1f2332387ce142d98734c5c44fb94e9a8a2af2a9b75aa4ec4a64b963", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/kisielk/gotool/com_github_kisielk_gotool-v1.0.0.zip": "089dbba6e3aa09944fdb40d72acc86694e8bdde01cfc0f40fe0248309eb80a3f", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/asmfmt/com_github_klauspost_asmfmt-v1.3.2.zip": "fa6a350a8677a77e0dbf3664c6baf23aab5c0b60a64b8f3c00299da5d279021f", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/compress/com_github_klauspost_compress-v1.17.8.zip": "648bbc7813dec448eec1a5a467750696bc7e41e1ac0a00b76a967c589826afb6", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/cpuid/com_github_klauspost_cpuid-v1.3.1.zip": "f61266e43d5c247fdb55d843e2d93974717c1052cba9f331b181f60c4cf687d9", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/cpuid/v2/com_github_klauspost_cpuid_v2-v2.2.3.zip": "f68ff82caa807940fee615b4898d428365761eeb36861959ca8b91a034bd0e7e", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/cpuid/v2/com_github_klauspost_cpuid_v2-v2.0.9.zip": "52c716413296dce2b1698c6cdbc4c53927ce4aee2a60980daf9672e6b6a3b4cb", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/crc32/com_github_klauspost_crc32-v0.0.0-20161016154125-cb6bfca970f6.zip": "6b632853a19f039138f251f94dbbdfdb72809adc3a02da08e4301d3d48275b06", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/klauspost/pgzip/com_github_klauspost_pgzip-v1.2.5.zip": "1143b6417d4bb46d26dc8e6223407b84b6cd5f32e5d705cd4a9fb142220ce4ba", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/knz/bubbline/com_github_knz_bubbline-v0.0.0-20230422210153-e176cdfe1c43.zip": "b9699be473d5dc3c1254f0e9a26f77a06cc0455135b72c2b82d85146bcfe5863", @@ -776,7 +770,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-localereader/com_github_mattn_go_localereader-v0.0.1.zip": "aa67306797b071ce93188fe2834f63ffd7963faf623d49229d891ef52e595b35", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-runewidth/com_github_mattn_go_runewidth-v0.0.14.zip": "364ef5ed31f6571dad56730305b5c2288a53da06d9832680ade5e21d97a748e7", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-shellwords/com_github_mattn_go_shellwords-v1.0.3.zip": "d9b59db554053d4a244f9ca5c233773f7cf512778d95919c78dc47234eacceee", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-sqlite3/com_github_mattn_go_sqlite3-v1.14.15.zip": "0114d2df439ddeb03eef49a4bf2cc8fb69665c0d76494463cafa7d189a16e0f9", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-sqlite3/com_github_mattn_go_sqlite3-v1.14.5.zip": "e948fca1fe3a3e614017dff9a30478d16b320babe834e326349cdd3d6750a3d9", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-tty/com_github_mattn_go_tty-v0.0.0-20180907095812-13ff1204f104.zip": "e7384ae06bb54cc8f615d86e6397b11849be12c270d66460856f3fc6ad72aacb", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/go-zglob/com_github_mattn_go_zglob-v0.0.3.zip": "8ef2dfc44aa352edd72e50287b7ac836c4c48fa439ca2648d8c1a4067f49e504", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/mattn/goveralls/com_github_mattn_goveralls-v0.0.2.zip": "3df5b7ebfb61edd9a098895aae7009a927a2fe91f73f38f48467a7b9e6c006f7", @@ -884,7 +878,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/performancecopilot/speed/com_github_performancecopilot_speed-v3.0.0+incompatible.zip": "44150a760ccfe232d3ce6bf40e537342d01f78ddac18b795f623d004257c00b0", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/peterbourgon/diskv/com_github_peterbourgon_diskv-v2.0.1+incompatible.zip": "1eeff260bd1ad71cd1611078995db99e1c7eba28628e7d6f24c79039536ea1cb", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/peterh/liner/com_github_peterh_liner-v1.0.1-0.20180619022028-8c1271fcf47f.zip": "0d96c450f9c55a8102f4ae7fd8a583ebfaeba23e3939d6b6284306a82a21430f", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/petermattis/goid/com_github_petermattis_goid-v0.0.0-20240813172612-4fcff4a6cae7.zip": "3f47ab8e5713c36ec5b4295956a5ef012a192bc19198ae1b6591408c061e97ab", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/petermattis/goid/com_github_petermattis_goid-v0.0.0-20211229010228-4d14c490ee36.zip": "9f536c5d39d6a3c851670ec585e1c876fe31f3402556d215ebbaffcecbacb30a", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/philhofer/fwd/com_github_philhofer_fwd-v1.0.0.zip": "b4e79b1f5fdfe8c44bf6dae3dd593c62862930114411a30968f304084de1d0b3", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/phpdave11/gofpdf/com_github_phpdave11_gofpdf-v1.4.2.zip": "4db05258f281b40d8a17392fd71648779ea758a9aa506a8d1346ded737ede43f", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/phpdave11/gofpdi/com_github_phpdave11_gofpdi-v1.0.13.zip": "09b728136cf290f4ee87aa47b60f2f9df2b3f4f64119ff10f12319bc3438b58d", @@ -894,7 +888,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pierrre/geohash/com_github_pierrre_geohash-v1.0.0.zip": "8c94a7e1f93170b53cf6e9d615967c24ff5342d5182d510f4829b3f39e249b4d", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pingcap/errors/com_github_pingcap_errors-v0.11.4.zip": "df62e548162429501a88d936a3e8330f2379ddfcd4d23c22b78bc1b157e05b97", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pires/go-proxyproto/com_github_pires_go_proxyproto-v0.7.0.zip": "5ba5921ebf2f5d1186268740ebf6e594e4512fcbb503f2974b1038781a5920f8", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pkg/browser/com_github_pkg_browser-v0.0.0-20210911075715-681adbf594b8.zip": "415b8b7d7e47074cf3f6c2269d8712efa8a8433cba7bfce7eed22ca7f0b447a4", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pkg/browser/com_github_pkg_browser-v0.0.0-20210115035449-ce105d075bb4.zip": "84db38d8db553ccc34c75f867396126eac07774b979c470f97a20854d3a3af6d", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pkg/diff/com_github_pkg_diff-v0.0.0-20210226163009-20ebb0f2a09e.zip": "f35b23fdd2b9522ddd46cc5c0161b4f0765c514475d5d4ca2a86aca31388c8bd", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pkg/errors/com_github_pkg_errors-v0.9.1.zip": "d4c36b8bcd0616290a3913215e0f53b931bd6e00670596f2960df1b44af2bd07", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pkg/profile/com_github_pkg_profile-v1.6.0.zip": "a31530cc1be940d949f8c3ae285cf877858c9e71b0a4da457787a4fee80711b9", @@ -918,7 +912,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pseudomuto/protoc-gen-doc/com_github_pseudomuto_protoc_gen_doc-v1.3.2.zip": "ecf627d6f5b4e55d4844dda45612cbd152f0bc4dbe2ba182c7bc3ad1dc63ce5f", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/pseudomuto/protokit/com_github_pseudomuto_protokit-v0.2.0.zip": "16d5fe0f6ac5bebbf9f2f05fde72f28bbf05bb18baef045b9ae79c2585f4e127", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/rcrowley/go-metrics/com_github_rcrowley_go_metrics-v0.0.0-20201227073835-cf1acfcdf475.zip": "e4dbd20c185cb05019fd7d4a361266bd5d182938f49fd9577df4d12c16dc81c3", - "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/remyoudompheng/bigfft/com_github_remyoudompheng_bigfft-v0.0.0-20230129092748-24d4a6f8daec.zip": "9be16c32c384d55d0f7bd7b03f1ff1e9a4e4b91b000f0aa87a567a01b9b82398", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/remyoudompheng/bigfft/com_github_remyoudompheng_bigfft-v0.0.0-20200410134404-eec4a21b6bb0.zip": "60c422375fac36ea169eb6065af6c1b4895d8608bbd3fda9cddf98dee02e5d6a", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/retailnext/hllpp/com_github_retailnext_hllpp-v1.0.1-0.20180308014038-101a6d2f8b52.zip": "7863938cb01dfe9d4495df3c6608bedceec2d1195da05612f3c1b0e27d37729d", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/rivo/uniseg/com_github_rivo_uniseg-v0.2.0.zip": "3199d94be50284142220662ca3b00e19ddd1debe4e80ddc745ff4203ecb601c0", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/robertkrimen/godocdown/com_github_robertkrimen_godocdown-v0.0.0-20130622164427-0bfa04905481.zip": "789ed4a63a797e0dbac7c358eafa8fec4c9885f67ee61da941af4bad2d8c3b55", @@ -959,6 +953,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/slok/go-http-metrics/com_github_slok_go_http_metrics-v0.10.0.zip": "bf2e2b626e4fbd9735165494c574f2474f400786d8bd96b6b4648eba352c817b", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/smartystreets/assertions/com_github_smartystreets_assertions-v0.0.0-20190116191733-b6c0e53d7304.zip": "bf12bc33290d3e1e6f4cfe89aad0ad40c0acbfb378ce11e8157569aaf1526c04", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/smartystreets/goconvey/com_github_smartystreets_goconvey-v1.6.4.zip": "a931413713a303a958a9c3ac31305498905fb91465e725552472462130396dda", + "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/snowflakedb/gosnowflake/com_github_snowflakedb_gosnowflake-v1.3.4.zip": "a39ab3850d25f162e2ed4bf920c0fba1559e1c5ec41e1ca35f44600a2e9a971d", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/soheilhy/cmux/com_github_soheilhy_cmux-v0.1.4.zip": "6d6cadade0e186f84b5f8e7ddf8f4256601b21e49b0ca49fd003a7e570ae1885", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/sony/gobreaker/com_github_sony_gobreaker-v0.4.1.zip": "eab9bf8f98b16b051d7d13c4f5c70d6d1039347e380e0a12cb9ff6e33200d784", "https://storage.googleapis.com/cockroach-godeps/gomod/github.com/spaolacci/murmur3/com_github_spaolacci_murmur3-v1.1.0.zip": "60bd43ada88cc70823b31fd678a8b906d48631b47145300544d45219ee6a17bc", @@ -1083,9 +1078,9 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/goji.io/io_goji-v2.0.2+incompatible.zip": "1ea69b28e356cb91381ce2339004fcf144ad1b268c9e3497c9ef304751ae0bb3", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/arch/org_golang_x_arch-v0.0.0-20180920145803-b19384d3c130.zip": "9f67b677a3fefc503111d9aa7df8bacd2677411b0fcb982eb1654aa6d14cc3f8", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/crypto/org_golang_x_crypto-v0.26.0.zip": "ec96acfe28be3ff2fb14201c5f51132f0e24c7d0d6f3201a8aa69c84f989d014", - "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/exp/org_golang_x_exp-v0.0.0-20231110203233-9a3e6036ecaa.zip": "3e3717f5151e8c2ebf267b4d53698b97847c0de144683c51b74ab7edf5039fa8", - "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/exp/typeparams/org_golang_x_exp_typeparams-v0.0.0-20231108232855-2478ac86f678.zip": "22c0e082f62b39c8ddaec18a9f2888158199e597adc8780e918e8976cd9fbbb0", - "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/image/org_golang_x_image-v0.0.0-20220302094943-723b81ca9867.zip": "56176a4d4d47910d61df9a77aa66a8469ae79fa18b7f5821c43bef1ef212116d", + "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/exp/org_golang_x_exp-v0.0.0-20230626212559-97b1e661b5df.zip": "af32025a065aa599a3e5b01048602a53e2b6e3938b12d33fa2a5f057be9759fa", + "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/exp/typeparams/org_golang_x_exp_typeparams-v0.0.0-20221208152030-732eee02a75a.zip": "9bd73f186851c6229484f486981f608d16e2b86acbbef6f4f7cc0480a508a4a4", + "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/image/org_golang_x_image-v0.0.0-20210628002857-a66eb6448b8d.zip": "70cf423fad9be160a88fbf01bc1897efd888f915a6d7ba0dd41ca7085f75e06e", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/lint/org_golang_x_lint-v0.0.0-20210508222113-6edffad5e616.zip": "0a4a5ebd2b1d79e7f480cbf5a54b45a257ae1ec9d11f01688efc5c35268d4603", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/mobile/org_golang_x_mobile-v0.0.0-20190719004257-d2bd2a29d028.zip": "6b946c7da47acf3b6195336fd071bfc73d543cefab73f2d27528c5dc1dc829ec", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/mod/org_golang_x_mod-v0.20.0.zip": "3c3528c39639b7cd699c121c100ddb71ab49f94bff257a4a3935e3ae9e8571fc", @@ -1097,12 +1092,11 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/telemetry/org_golang_x_telemetry-v0.0.0-20240521205824-bda55230c457.zip": "8e8649337973d064cc44fa858787db7d0eb90f0806807349766d180ed6889f5c", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/term/org_golang_x_term-v0.23.0.zip": "2597a62b487b952c11c89b2001551af1fe1d29c484388ec1c3f5e3be7ff58ba5", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/text/org_golang_x_text-v0.17.0.zip": "48464f2ab2f988ca8b7b0a9d098e3664224c3b128629b5a9cc08025ee4a7e4ec", - "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/tools/go/vcs/org_golang_x_tools_go_vcs-v0.1.0-deprecated.zip": "ab155d94f90a98a5112967b89bfcd26b5825c1cd6875a5246c7905a568387260", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/tools/org_golang_x_tools-v0.24.0.zip": "92607be1cacf4647fd31b19ee64b1a7c198178f1005c75371e38e7b08fb138e7", "https://storage.googleapis.com/cockroach-godeps/gomod/golang.org/x/xerrors/org_golang_x_xerrors-v0.0.0-20220907171357-04be3eba64a2.zip": "b9c481db33c4b682ba8ba348018ddbd2155bd227cc38ff9f6b4cb2b74bbc3c14", "https://storage.googleapis.com/cockroach-godeps/gomod/gonum.org/v1/gonum/org_gonum_v1_gonum-v0.11.0.zip": "abdfee15ce7c9d2cd96b66468d3ae28d6054add4efbfc1b15fadfe3613f3d362", "https://storage.googleapis.com/cockroach-godeps/gomod/gonum.org/v1/netlib/org_gonum_v1_netlib-v0.0.0-20190331212654-76723241ea4e.zip": "ed4dca5026c9ab5410d23bbe21c089433ca58a19bd2902311c6a91791142a687", - "https://storage.googleapis.com/cockroach-godeps/gomod/gonum.org/v1/plot/org_gonum_v1_plot-v0.10.1.zip": "eaa47ad966b3b67325c1f3ae704d566332c573b7cca79016cb4ffe82155aab39", + "https://storage.googleapis.com/cockroach-godeps/gomod/gonum.org/v1/plot/org_gonum_v1_plot-v0.10.0.zip": "5bf2f98775d5eceafba12cf1196b97e92e93f6f824599f02c0ba4bfe15bae1b2", "https://storage.googleapis.com/cockroach-godeps/gomod/google.golang.org/api/org_golang_google_api-v0.114.0.zip": "42c62aaba1d76efede08c70d8aef7889c5c8ee9c9c4f1e7c455b07838cabb785", "https://storage.googleapis.com/cockroach-godeps/gomod/google.golang.org/appengine/org_golang_google_appengine-v1.6.7.zip": "79f80dfac18681788f1414e21a4a7734eff4cdf992070be9163103eb8d9f92cd", "https://storage.googleapis.com/cockroach-godeps/gomod/google.golang.org/cloud/org_golang_google_cloud-v0.0.0-20151119220103-975617b05ea8.zip": "b1d5595a11b88273665d35d4316edbd4545731c979d046c82844fafef2039c2a", @@ -1146,7 +1140,7 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/gorm.io/gorm/io_gorm_gorm-v1.23.5.zip": "34219a6d2ac9b9c340f811e5863a98b150db6d1fd5b8f02777299863c1628e0f", "https://storage.googleapis.com/cockroach-godeps/gomod/gotest.tools/tools_gotest-v2.2.0+incompatible.zip": "55fab831b2660201183b54d742602563d4e17e7125ee75788a309a4f6cb7285e", "https://storage.googleapis.com/cockroach-godeps/gomod/gotest.tools/v3/tools_gotest_v3-v3.2.0.zip": "fe238394013ebf35c313b7de60c5df5b6271f7c5f982eb8eecefe324531a0f5f", - "https://storage.googleapis.com/cockroach-godeps/gomod/honnef.co/go/tools/co_honnef_go_tools-v0.5.1.zip": "d728ff392fc5b6f676a30c36e9d0a5b85f6f2e06b4ebbb121c27d965cbdffa11", + "https://storage.googleapis.com/cockroach-godeps/gomod/honnef.co/go/tools/co_honnef_go_tools-v0.4.5.zip": "3f7c266a830f3a0727ac0b85cd7cd74a765c05d337d73af20906219f1a4ec4c3", "https://storage.googleapis.com/cockroach-godeps/gomod/k8s.io/api/io_k8s_api-v0.22.5.zip": "18d095a1d1344a7ed43ccae0c5b77d2586e134ea9489b1821402d72f980f3564", "https://storage.googleapis.com/cockroach-godeps/gomod/k8s.io/apiextensions-apiserver/io_k8s_apiextensions_apiserver-v0.17.3.zip": "f3be44b21eaea21dbc2655f207f838a94e4ed63b24e5ce4f1d688c329b53c9ff", "https://storage.googleapis.com/cockroach-godeps/gomod/k8s.io/apimachinery/io_k8s_apimachinery-v0.22.5.zip": "1d624555825fb81d8bdae0c92a0aad07b3edea62dceedd49bc93a2024ed46467", @@ -1163,21 +1157,17 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/k8s.io/utils/io_k8s_utils-v0.0.0-20210930125809-cb0fa318a74b.zip": "36d8bf6bcf31ef7d701db07d0f78642015b811146da81f09e5f182247196c857", "https://storage.googleapis.com/cockroach-godeps/gomod/lukechampine.com/uint128/com_lukechampine_uint128-v1.2.0.zip": "9ff6e9ad553a69fdb961ab2d92f92cda183ef616a6709c15972c2d4bedf33de5", "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/cc/org_modernc_cc-v1.0.0.zip": "24711e9b28b0d79dd32438eeb7debd86b850350f5f7749b7af640422ecf6b93b", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/cc/v3/org_modernc_cc_v3-v3.40.0.zip": "fe3aeb761e55ce77a95b297321a122b4273aeffe1c08f48fc99310e065211f74", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/ccgo/v3/org_modernc_ccgo_v3-v3.16.13.zip": "bfc293300cd1ce656ba0ce0cee1f508afec2518bc4214a6b10ccfad6e8e6046e", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/ccorpus/org_modernc_ccorpus-v1.11.6.zip": "3831b62a73a379b81ac927e17e3e9ffe2d44ad07c934505e1ae24eea8a26a6d3", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/cc/v3/org_modernc_cc_v3-v3.36.3.zip": "1fd51331be5f9b845282642e78f0bff09fbf551583c4555012520eed3215b2e0", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/ccgo/v3/org_modernc_ccgo_v3-v3.16.9.zip": "5e19b5f5dd197c25d38d7ea9521465ff579294990bd969b2158eafeb7334a6e9", "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/golex/org_modernc_golex-v1.0.0.zip": "335133038991d7feaba5349ac2385db7b49601bba0904abf680803ee2d3c99df", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/httpfs/org_modernc_httpfs-v1.0.6.zip": "0b5314649c1327a199397eb6fd52b3ce41c9d3bc6dd2a4dea565b5fb87c13f41", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/libc/org_modernc_libc-v1.22.2.zip": "5f98bedf9f0663b3b87555904ee41b82fe9d8e9ac5c47c9fac9a42a7fe232313", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/libc/org_modernc_libc-v1.17.1.zip": "82b6d3a79ffe291d8f6ecbcaf6aba579ff37d1bea9049e600d85a388a4c15948", "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/mathutil/org_modernc_mathutil-v1.5.0.zip": "c17a767eaa5eb62d9bb105b8ece7f249186dd52b9b533301bec140b3d5fd260f", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/memory/org_modernc_memory-v1.5.0.zip": "f79e8ada14c36d08817ee2bf6b2103f65c1a61a91b042b59016465869624043c", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/memory/org_modernc_memory-v1.2.1.zip": "2eb0b17569e7f822cbd0176213e1dbc04e4c692bccdd59cda50cc157644547ee", "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/opt/org_modernc_opt-v0.1.3.zip": "294b1b80137cb86292c8893481d545eee90b17b84b6ad1dcb2e6c9bb523a2d9e", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/sqlite/org_modernc_sqlite-v1.18.2.zip": "be0501f87458962a00c8fb07d1f131af010a534cd6ffb654c570be35b9b608d5", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/sqlite/org_modernc_sqlite-v1.18.1.zip": "5c484a0d7aeab465beff2460b0b5e63284155dad8b8fef52b9b30827bc77263c", "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/strutil/org_modernc_strutil-v1.1.3.zip": "2e59915393fa6a75021a97a41c60fac71c662bb9d1dc2d06e2c4ed77ea5da8cc", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/tcl/org_modernc_tcl-v1.13.2.zip": "f966db0dd1ccbc7f8d5ac2e752b64c3be343aa3f92215ed98b6f2a51b7abbb64", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/token/org_modernc_token-v1.1.0.zip": "3efaa49e9fb10569da9e09e785fa230cd5c0f50fcf605f3b5439dfcd61577c58", + "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/token/org_modernc_token-v1.0.0.zip": "081d969b97ccec2892c6dc9dd50b001a54ac0c6615534e9623be99b5b2d1fc34", "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/xc/org_modernc_xc-v1.0.0.zip": "ef80e60acacc023cd294eef2555bd348f74c1bcd22c8cfbbd2472cb91e35900d", - "https://storage.googleapis.com/cockroach-godeps/gomod/modernc.org/z/org_modernc_z-v1.5.1.zip": "5be23ef96669963e52d25b787d71028fff4fe1c468dec20aac59c9512caa2eb7", "https://storage.googleapis.com/cockroach-godeps/gomod/rsc.io/binaryregexp/io_rsc_binaryregexp-v0.2.0.zip": "b3e706aa278fa7f880d32fa1cc40ef8282d1fc7d6e00356579ed0db88f3b0047", "https://storage.googleapis.com/cockroach-godeps/gomod/rsc.io/pdf/io_rsc_pdf-v0.1.1.zip": "79bf310e399cf0e2d8aa61536750d2a6999c5ca884e7a27faf88d3701cd5ba8f", "https://storage.googleapis.com/cockroach-godeps/gomod/rsc.io/quote/v3/io_rsc_quote_v3-v3.1.0.zip": "b434cbbfc32c17b5228d0b0eddeaea89bef4ec9bd90b5c8fc55b64f8ce13eeb9", @@ -1189,24 +1179,24 @@ DISTDIR_FILES = { "https://storage.googleapis.com/cockroach-godeps/gomod/sigs.k8s.io/yaml/io_k8s_sigs_yaml-v1.2.0.zip": "55ed08c5df448a033bf7e2c2912d4daa85b856a05c854b0c87ccc85c7f3fbfc7", "https://storage.googleapis.com/cockroach-godeps/gomod/sourcegraph.com/sourcegraph/appdash/com_sourcegraph_sourcegraph_appdash-v0.0.0-20190731080439-ebfcffb1b5c0.zip": "bd2492d9db05362c2fecd0b3d0f6002c89a6d90d678fb93b4158298ab883736f", "https://storage.googleapis.com/public-bazel-artifacts/bazel/88ef31b429631b787ceb5e4556d773b20ad797c8.zip": "92a89a2bbe6c6db2a8b87da4ce723aff6253656e8417f37e50d362817c39b98b", - "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazel-gazelle-v0.39.1.tar.gz": "b760f7fe75173886007f7c2e616a21241208f3d90e8657dc65d36a771e916b6a", "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazel-lib-v1.42.3.tar.gz": "d0529773764ac61184eb3ad3c687fb835df5bee01afedf07f0cf1a45515c96bc", "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazel_features-v0.2.0.tar.gz": "1aabce613b3ed83847b47efa69eb5dc9aa3ae02539309792a60e705ca4ab92a5", "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazel_gomock-fde78c91cf1783cc1e33ba278922ba67a6ee2a84.tar.gz": "692421b0c5e04ae4bc0bfff42fb1ce8671fe68daee2b8d8ea94657bb1fcddc0a", + "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazelbuild-bazel-gazelle-v0.33.0-0-g061cc37.zip": "22140e6a7a28df5ec7477f12b286f24dedf8dbef0a12ffbbac10ae80441aa093", "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazelbuild-bazel-skylib-1.3.0-0-g6a17363.tar.gz": "4ede85dfaa97c5662c3fb2042a7ac322d5f029fdc7a6b9daa9423b746e8e8fc0", "https://storage.googleapis.com/public-bazel-artifacts/bazel/bazelbuild-buildtools-v6.3.3-0-gb163fcf.tar.gz": "7929c8fc174f8ab03361796f1417eb0eb5ae4b2a12707238694bec2954145ce4", "https://storage.googleapis.com/public-bazel-artifacts/bazel/bmatcuk-doublestar-v4.0.1-0-gf7a8118.tar.gz": "d11c3b3a45574f89d6a6b2f50e53feea50df60407b35f36193bf5815d32c79d1", "https://storage.googleapis.com/public-bazel-artifacts/bazel/cockroachdb-protobuf-3f5d91f.tar.gz": "6d4e7fe1cbd958dee69ce9becbf8892d567f082b6782d3973a118d0aa00807a8", "https://storage.googleapis.com/public-bazel-artifacts/bazel/cockroachdb-rules_foreign_cc-8d34d77.tar.gz": "03afebfc3f173666a3820a29512265c710c3a08d0082ba77469779d3e3af5a11", - "https://storage.googleapis.com/public-bazel-artifacts/bazel/cockroachdb-rules_go-v0.27.0-530-g7c2d69e.tar.gz": "2443be6856928dab6f92f5e8581bb410159b4ea20033c4fb3432ee282b26efb4", + "https://storage.googleapis.com/public-bazel-artifacts/bazel/cockroachdb-rules_go-v0.27.0-459-g734c37d.tar.gz": "ada68324bc20ffd1b557bab4cf8dba9b742570a46a505b0bc99c1fde5132cce5", "https://storage.googleapis.com/public-bazel-artifacts/bazel/google-starlark-go-e043a3d.tar.gz": "a35c6468e0e0921833a63290161ff903295eaaf5915200bbce272cbc8dfd1c1c", "https://storage.googleapis.com/public-bazel-artifacts/bazel/googleapis-83c3605afb5a39952bf0a0809875d41cf2a558ca.zip": "ba694861340e792fd31cb77274eacaf6e4ca8bda97707898f41d8bebfd8a4984", - "https://storage.googleapis.com/public-bazel-artifacts/bazel/platforms-0.0.10.tar.gz": "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee", + "https://storage.googleapis.com/public-bazel-artifacts/bazel/platforms-0.0.4.tar.gz": "079945598e4b6cc075846f7fd6a9d0857c33a7afc0de868c2ccb96405225135d", "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_java-981f06c3d2bd10225e85209904090eb7b5fb26bd.tar.gz": "f5a3e477e579231fca27bf202bb0e8fbe4fc6339d63b38ccb87c2760b533d1c3", - "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_license-1.0.0.tar.gz": "26d4021f6898e23b82ef953078389dd49ac2b5618ac564ade4ef87cced147b38", + "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_license-0.0.1.tar.gz": "4865059254da674e3d18ab242e21c17f7e3e8c6b1f1421fffa4c5070f82e98b5", "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_oci-v1.4.0.tar.gz": "21a7d14f6ddfcb8ca7c5fc9ffa667c937ce4622c7d2b3e17aea1ffbc90c96bed", "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_pkg-0.7.0.tar.gz": "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2", - "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_proto-6.0.2.tar.gz": "6fb6767d1bef535310547e03247f7518b03487740c11b6c6adb7952033fe1295", + "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_proto-b0cc14be5da05168b01db282fe93bdf17aa2b9f4.tar.gz": "88b0a90433866b44bb4450d4c30bc5738b8c4f9c9ba14e9661deb123f56a833d", "https://storage.googleapis.com/public-bazel-artifacts/bazel/rules_python-0.1.0.tar.gz": "b6d46438523a3ec0f3cead544190ee13223a52f6a6765a29eae7b7cc24cc83a0", "https://storage.googleapis.com/public-bazel-artifacts/bazel/sqllogictest-96138842571462ed9a697bff590828d8f6356a2f.tar.gz": "f7e0d659fbefb65f32d4c5d146cba4c73c43e0e96f9b217a756c82be17451f97", "https://storage.googleapis.com/public-bazel-artifacts/c-deps/20240419-195217/libgeos_foreign.linux.20240419-195217.tar.gz": "3c5ffe12ea3e1b92f80f98e509c206b66a780b175c9aba2b085f1c39377c982f", @@ -1225,12 +1215,12 @@ DISTDIR_FILES = { "https://storage.googleapis.com/public-bazel-artifacts/c-deps/20240419-195217/libproj_foreign.macos.20240419-195217.tar.gz": "4b4dadf30e225693723612ede7fc5138eb1ad1b863db744c52099535dbdc3c00", "https://storage.googleapis.com/public-bazel-artifacts/c-deps/20240419-195217/libproj_foreign.macosarm.20240419-195217.tar.gz": "3e3220bd83009de29185772be26022ae219cb006eae1d8dba87292206ce9f4ea", "https://storage.googleapis.com/public-bazel-artifacts/c-deps/20240419-195217/libproj_foreign.windows.20240419-195217.tar.gz": "8284b57f832ab3c5353860ad715e8844c93bf6822b01cb5108b5b494ea90a2dc", - "https://storage.googleapis.com/public-bazel-artifacts/go/20241014-231526/go1.23.2.darwin-amd64.tar.gz": "51e8aaf8055cef63982dc02fa153544e4238f57d12ac0592f8270136b1838522", - "https://storage.googleapis.com/public-bazel-artifacts/go/20241014-231526/go1.23.2.darwin-arm64.tar.gz": "c58858973397585303b24830247257116cd7087a4dcf223f389e6294f36cf6bd", - "https://storage.googleapis.com/public-bazel-artifacts/go/20241014-231526/go1.23.2.linux-amd64.tar.gz": "5a80932e83b683188495096be732260bbbf5a9b41ac7410d8d330783a19d084d", - "https://storage.googleapis.com/public-bazel-artifacts/go/20241014-231526/go1.23.2.linux-arm64.tar.gz": "b222875b75adb05f04dca09d3ff5f92919bd17c3b52c4124988fc6a769592922", - "https://storage.googleapis.com/public-bazel-artifacts/go/20241014-231526/go1.23.2.windows-amd64.tar.gz": "55cc36160f61a9662f95752fae9d80c9a3bd013861fad46f1fa0c8f0d3598c5a", - "https://storage.googleapis.com/public-bazel-artifacts/go/20241014-231526/go1.23.2fips.linux-amd64.tar.gz": "523271b256d5ae315600653968b83af1f4a321f3cf54995b115232d4f1911750", + "https://storage.googleapis.com/public-bazel-artifacts/go/20240708-162411/go1.22.5.darwin-amd64.tar.gz": "0eca73b33e9fc3b8eae28c4873b979f5ebd4b7dc8771b9b13ba2d70517309a4d", + "https://storage.googleapis.com/public-bazel-artifacts/go/20240708-162411/go1.22.5.darwin-arm64.tar.gz": "2d72a9301bf73f5429cbc40ba08b6602b1af91a5d5eed302fef2b92ae53b0b56", + "https://storage.googleapis.com/public-bazel-artifacts/go/20240708-162411/go1.22.5.linux-amd64.tar.gz": "477ec7b6f76e6c38d83fbd808af0729299b40a8e99796ac3b2fec50d62e20938", + "https://storage.googleapis.com/public-bazel-artifacts/go/20240708-162411/go1.22.5.linux-arm64.tar.gz": "fbaf48b411d434aad694fddc8a036ce7374f2d8459518a25fec4f58f3bca0c20", + "https://storage.googleapis.com/public-bazel-artifacts/go/20240708-162411/go1.22.5.windows-amd64.tar.gz": "8fc3ccf439e93521faa0411702ef4e598c80ded514bada5fedc11846c284d3d2", + "https://storage.googleapis.com/public-bazel-artifacts/go/20240708-162411/go1.22.5fips.linux-amd64.tar.gz": "d2a40c2e78e2cf1560cafa304593e194e094c3e4dbd404666dda9cf5cc12b7f1", "https://storage.googleapis.com/public-bazel-artifacts/java/railroad/rr-1.63-java8.zip": "d2791cd7a44ea5be862f33f5a9b3d40aaad9858455828ebade7007ad7113fb41", "https://storage.googleapis.com/public-bazel-artifacts/js/rules_jest-v0.18.4.tar.gz": "d3bb833f74b8ad054e6bff5e41606ff10a62880cc99e4d480f4bdfa70add1ba7", "https://storage.googleapis.com/public-bazel-artifacts/js/rules_js-v1.42.3.tar.gz": "2cfb3875e1231cefd3fada6774f2c0c5a99db0070e0e48ea398acbff7c6c765b", diff --git a/build/bazelutil/staticcheckanalyzers/def.bzl b/build/bazelutil/staticcheckanalyzers/def.bzl index 764c1c37c208..3efba703dbe7 100644 --- a/build/bazelutil/staticcheckanalyzers/def.bzl +++ b/build/bazelutil/staticcheckanalyzers/def.bzl @@ -65,8 +65,6 @@ STATICCHECK_CHECKS = [ "//build/bazelutil/staticcheckanalyzers/sa1028", "//build/bazelutil/staticcheckanalyzers/sa1029", "//build/bazelutil/staticcheckanalyzers/sa1030", - "//build/bazelutil/staticcheckanalyzers/sa1031", - "//build/bazelutil/staticcheckanalyzers/sa1032", "//build/bazelutil/staticcheckanalyzers/sa2000", "//build/bazelutil/staticcheckanalyzers/sa2001", "//build/bazelutil/staticcheckanalyzers/sa2002", @@ -103,7 +101,6 @@ STATICCHECK_CHECKS = [ "//build/bazelutil/staticcheckanalyzers/sa4029", "//build/bazelutil/staticcheckanalyzers/sa4030", "//build/bazelutil/staticcheckanalyzers/sa4031", - "//build/bazelutil/staticcheckanalyzers/sa4032", "//build/bazelutil/staticcheckanalyzers/sa5000", "//build/bazelutil/staticcheckanalyzers/sa5001", "//build/bazelutil/staticcheckanalyzers/sa5002", @@ -121,7 +118,6 @@ STATICCHECK_CHECKS = [ "//build/bazelutil/staticcheckanalyzers/sa6002", "//build/bazelutil/staticcheckanalyzers/sa6003", "//build/bazelutil/staticcheckanalyzers/sa6005", - "//build/bazelutil/staticcheckanalyzers/sa6006", "//build/bazelutil/staticcheckanalyzers/sa9001", "//build/bazelutil/staticcheckanalyzers/sa9002", "//build/bazelutil/staticcheckanalyzers/sa9003", @@ -130,7 +126,6 @@ STATICCHECK_CHECKS = [ "//build/bazelutil/staticcheckanalyzers/sa9006", "//build/bazelutil/staticcheckanalyzers/sa9007", "//build/bazelutil/staticcheckanalyzers/sa9008", - "//build/bazelutil/staticcheckanalyzers/sa9009", "//build/bazelutil/staticcheckanalyzers/st1000", "//build/bazelutil/staticcheckanalyzers/st1001", "//build/bazelutil/staticcheckanalyzers/st1003", diff --git a/build/bazelutil/staticcheckanalyzers/sa1031/BUILD.bazel b/build/bazelutil/staticcheckanalyzers/sa1031/BUILD.bazel deleted file mode 100644 index 3ae753fa84e3..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa1031/BUILD.bazel +++ /dev/null @@ -1,15 +0,0 @@ -# Code generated by generate-staticcheck; DO NOT EDIT. - -load("@io_bazel_rules_go//go:def.bzl", "go_library") - -go_library( - name = "sa1031", - srcs = ["analyzer.go"], - importpath = "github.com/cockroachdb/cockroach/build/bazelutil/staticcheckanalyzers/sa1031", - visibility = ["//visibility:public"], - deps = [ - "//pkg/testutils/lint/passes/staticcheck", - "@co_honnef_go_tools//staticcheck", - "@org_golang_x_tools//go/analysis", - ], -) diff --git a/build/bazelutil/staticcheckanalyzers/sa1031/analyzer.go b/build/bazelutil/staticcheckanalyzers/sa1031/analyzer.go deleted file mode 100644 index 3b96aeb49fbf..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa1031/analyzer.go +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2021 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -// Code generated by generate-staticcheck; DO NOT EDIT. -// -//go:build bazel -// +build bazel - -package sa1031 - -import ( - util "github.com/cockroachdb/cockroach/pkg/testutils/lint/passes/staticcheck" - "golang.org/x/tools/go/analysis" - "honnef.co/go/tools/staticcheck" -) - -var Analyzer *analysis.Analyzer - -func init() { - for _, analyzer := range staticcheck.Analyzers { - if analyzer.Analyzer.Name == "SA1031" { - Analyzer = analyzer.Analyzer - break - } - } - util.MungeAnalyzer(Analyzer) -} diff --git a/build/bazelutil/staticcheckanalyzers/sa1032/BUILD.bazel b/build/bazelutil/staticcheckanalyzers/sa1032/BUILD.bazel deleted file mode 100644 index bd80c7245478..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa1032/BUILD.bazel +++ /dev/null @@ -1,15 +0,0 @@ -# Code generated by generate-staticcheck; DO NOT EDIT. - -load("@io_bazel_rules_go//go:def.bzl", "go_library") - -go_library( - name = "sa1032", - srcs = ["analyzer.go"], - importpath = "github.com/cockroachdb/cockroach/build/bazelutil/staticcheckanalyzers/sa1032", - visibility = ["//visibility:public"], - deps = [ - "//pkg/testutils/lint/passes/staticcheck", - "@co_honnef_go_tools//staticcheck", - "@org_golang_x_tools//go/analysis", - ], -) diff --git a/build/bazelutil/staticcheckanalyzers/sa1032/analyzer.go b/build/bazelutil/staticcheckanalyzers/sa1032/analyzer.go deleted file mode 100644 index be073267a451..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa1032/analyzer.go +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2021 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -// Code generated by generate-staticcheck; DO NOT EDIT. -// -//go:build bazel -// +build bazel - -package sa1032 - -import ( - util "github.com/cockroachdb/cockroach/pkg/testutils/lint/passes/staticcheck" - "golang.org/x/tools/go/analysis" - "honnef.co/go/tools/staticcheck" -) - -var Analyzer *analysis.Analyzer - -func init() { - for _, analyzer := range staticcheck.Analyzers { - if analyzer.Analyzer.Name == "SA1032" { - Analyzer = analyzer.Analyzer - break - } - } - util.MungeAnalyzer(Analyzer) -} diff --git a/build/bazelutil/staticcheckanalyzers/sa4032/BUILD.bazel b/build/bazelutil/staticcheckanalyzers/sa4032/BUILD.bazel deleted file mode 100644 index 0c670c4a4731..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa4032/BUILD.bazel +++ /dev/null @@ -1,15 +0,0 @@ -# Code generated by generate-staticcheck; DO NOT EDIT. - -load("@io_bazel_rules_go//go:def.bzl", "go_library") - -go_library( - name = "sa4032", - srcs = ["analyzer.go"], - importpath = "github.com/cockroachdb/cockroach/build/bazelutil/staticcheckanalyzers/sa4032", - visibility = ["//visibility:public"], - deps = [ - "//pkg/testutils/lint/passes/staticcheck", - "@co_honnef_go_tools//staticcheck", - "@org_golang_x_tools//go/analysis", - ], -) diff --git a/build/bazelutil/staticcheckanalyzers/sa4032/analyzer.go b/build/bazelutil/staticcheckanalyzers/sa4032/analyzer.go deleted file mode 100644 index 76db076a0893..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa4032/analyzer.go +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2021 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -// Code generated by generate-staticcheck; DO NOT EDIT. -// -//go:build bazel -// +build bazel - -package sa4032 - -import ( - util "github.com/cockroachdb/cockroach/pkg/testutils/lint/passes/staticcheck" - "golang.org/x/tools/go/analysis" - "honnef.co/go/tools/staticcheck" -) - -var Analyzer *analysis.Analyzer - -func init() { - for _, analyzer := range staticcheck.Analyzers { - if analyzer.Analyzer.Name == "SA4032" { - Analyzer = analyzer.Analyzer - break - } - } - util.MungeAnalyzer(Analyzer) -} diff --git a/build/bazelutil/staticcheckanalyzers/sa6006/BUILD.bazel b/build/bazelutil/staticcheckanalyzers/sa6006/BUILD.bazel deleted file mode 100644 index 80dc14f5607e..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa6006/BUILD.bazel +++ /dev/null @@ -1,15 +0,0 @@ -# Code generated by generate-staticcheck; DO NOT EDIT. - -load("@io_bazel_rules_go//go:def.bzl", "go_library") - -go_library( - name = "sa6006", - srcs = ["analyzer.go"], - importpath = "github.com/cockroachdb/cockroach/build/bazelutil/staticcheckanalyzers/sa6006", - visibility = ["//visibility:public"], - deps = [ - "//pkg/testutils/lint/passes/staticcheck", - "@co_honnef_go_tools//staticcheck", - "@org_golang_x_tools//go/analysis", - ], -) diff --git a/build/bazelutil/staticcheckanalyzers/sa6006/analyzer.go b/build/bazelutil/staticcheckanalyzers/sa6006/analyzer.go deleted file mode 100644 index e21e79ff8c48..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa6006/analyzer.go +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2021 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -// Code generated by generate-staticcheck; DO NOT EDIT. -// -//go:build bazel -// +build bazel - -package sa6006 - -import ( - util "github.com/cockroachdb/cockroach/pkg/testutils/lint/passes/staticcheck" - "golang.org/x/tools/go/analysis" - "honnef.co/go/tools/staticcheck" -) - -var Analyzer *analysis.Analyzer - -func init() { - for _, analyzer := range staticcheck.Analyzers { - if analyzer.Analyzer.Name == "SA6006" { - Analyzer = analyzer.Analyzer - break - } - } - util.MungeAnalyzer(Analyzer) -} diff --git a/build/bazelutil/staticcheckanalyzers/sa9009/BUILD.bazel b/build/bazelutil/staticcheckanalyzers/sa9009/BUILD.bazel deleted file mode 100644 index 8e8457842a17..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa9009/BUILD.bazel +++ /dev/null @@ -1,15 +0,0 @@ -# Code generated by generate-staticcheck; DO NOT EDIT. - -load("@io_bazel_rules_go//go:def.bzl", "go_library") - -go_library( - name = "sa9009", - srcs = ["analyzer.go"], - importpath = "github.com/cockroachdb/cockroach/build/bazelutil/staticcheckanalyzers/sa9009", - visibility = ["//visibility:public"], - deps = [ - "//pkg/testutils/lint/passes/staticcheck", - "@co_honnef_go_tools//staticcheck", - "@org_golang_x_tools//go/analysis", - ], -) diff --git a/build/bazelutil/staticcheckanalyzers/sa9009/analyzer.go b/build/bazelutil/staticcheckanalyzers/sa9009/analyzer.go deleted file mode 100644 index 211af2f1fe47..000000000000 --- a/build/bazelutil/staticcheckanalyzers/sa9009/analyzer.go +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2021 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -// Code generated by generate-staticcheck; DO NOT EDIT. -// -//go:build bazel -// +build bazel - -package sa9009 - -import ( - util "github.com/cockroachdb/cockroach/pkg/testutils/lint/passes/staticcheck" - "golang.org/x/tools/go/analysis" - "honnef.co/go/tools/staticcheck" -) - -var Analyzer *analysis.Analyzer - -func init() { - for _, analyzer := range staticcheck.Analyzers { - if analyzer.Analyzer.Name == "SA9009" { - Analyzer = analyzer.Analyzer - break - } - } - util.MungeAnalyzer(Analyzer) -} diff --git a/build/bootstrap/bootstrap-debian.sh b/build/bootstrap/bootstrap-debian.sh index 4bc13fb9cf7d..15a12d2d9b4f 100755 --- a/build/bootstrap/bootstrap-debian.sh +++ b/build/bootstrap/bootstrap-debian.sh @@ -49,9 +49,9 @@ sudo tar -C /usr --strip-components=1 -zxf /tmp/cmake.tgz && rm /tmp/cmake.tgz # Install Go. trap 'rm -f /tmp/go.tgz' EXIT -curl -fsSL https://dl.google.com/go/go1.23.2.linux-amd64.tar.gz >/tmp/go.tgz +curl -fsSL https://dl.google.com/go/go1.22.5.linux-amd64.tar.gz >/tmp/go.tgz sha256sum -c - <= chunk { n := len(p) &^ (chunk - 1) @@ -200,15 +183,13 @@ index 68244fd63b..a2f669fa9c 100644 p = p[n:] } diff --git a/src/crypto/sha256/sha256_test.go b/src/crypto/sha256/sha256_test.go -index d91f01e9ba..f5dd4025d2 100644 +index 7304678..4d5e8bc 100644 --- a/src/crypto/sha256/sha256_test.go +++ b/src/crypto/sha256/sha256_test.go -@@ -184,6 +184,58 @@ func TestGoldenMarshal(t *testing.T) { +@@ -183,6 +183,56 @@ func TestGoldenMarshal(t *testing.T) { } } -+ -+ +func TestLarge(t *testing.T) { + const N = 10000 + const offsets = 4 @@ -263,10 +244,10 @@ index d91f01e9ba..f5dd4025d2 100644 h1 := New() h2 := New224() diff --git a/src/runtime/extern.go b/src/runtime/extern.go -index 2019be4dde..fce67adb7d 100644 +index e42122f..cb019fd 100644 --- a/src/runtime/extern.go +++ b/src/runtime/extern.go -@@ -89,6 +89,10 @@ It is a comma-separated list of name=val pairs setting these named variables: +@@ -92,6 +92,10 @@ It is a comma-separated list of name=val pairs setting these named variables: making every garbage collection a stop-the-world event. Setting gcstoptheworld=2 also disables concurrent sweeping after the garbage collection finishes. @@ -277,91 +258,11 @@ index 2019be4dde..fce67adb7d 100644 gctrace: setting gctrace=1 causes the garbage collector to emit a single line to standard error at each collection, summarizing the amount of memory collected and the length of the pause. The format of this line is subject to change. Included in -diff --git a/src/runtime/lock_futex.go b/src/runtime/lock_futex.go -index 58690e45e4..4aafc3e44d 100644 ---- a/src/runtime/lock_futex.go -+++ b/src/runtime/lock_futex.go -@@ -48,6 +48,7 @@ func mutexContended(l *mutex) bool { - return atomic.Load(key32(&l.key)) > mutex_locked - } - -+//go:linkname lock - func lock(l *mutex) { - lockWithRank(l, getLockRank(l)) - } -@@ -117,6 +118,7 @@ func lock2(l *mutex) { - } - } - -+//go:linkname unlock - func unlock(l *mutex) { - unlockWithRank(l) - } -diff --git a/src/runtime/lock_js.go b/src/runtime/lock_js.go -index b6ee5ec7af..5ca1e3d561 100644 ---- a/src/runtime/lock_js.go -+++ b/src/runtime/lock_js.go -@@ -27,6 +27,7 @@ func mutexContended(l *mutex) bool { - return false - } - -+//go:linkname lock - func lock(l *mutex) { - lockWithRank(l, getLockRank(l)) - } -@@ -45,6 +46,7 @@ func lock2(l *mutex) { - l.key = mutex_locked - } - -+//go:linkname unlock - func unlock(l *mutex) { - unlockWithRank(l) - } -diff --git a/src/runtime/lock_sema.go b/src/runtime/lock_sema.go -index 32d2235ad3..20a0243655 100644 ---- a/src/runtime/lock_sema.go -+++ b/src/runtime/lock_sema.go -@@ -35,6 +35,7 @@ func mutexContended(l *mutex) bool { - return atomic.Loaduintptr(&l.key) > locked - } - -+//go:linkname lock - func lock(l *mutex) { - lockWithRank(l, getLockRank(l)) - } -@@ -99,6 +100,7 @@ Loop: - } - } - -+//go:linkname unlock - func unlock(l *mutex) { - unlockWithRank(l) - } -diff --git a/src/runtime/lock_wasip1.go b/src/runtime/lock_wasip1.go -index acfc62acb4..2c5bd3c590 100644 ---- a/src/runtime/lock_wasip1.go -+++ b/src/runtime/lock_wasip1.go -@@ -23,6 +23,7 @@ func mutexContended(l *mutex) bool { - return false - } - -+//go:linkname lock - func lock(l *mutex) { - lockWithRank(l, getLockRank(l)) - } -@@ -41,6 +42,7 @@ func lock2(l *mutex) { - l.key = mutex_locked - } - -+//go:linkname unlock - func unlock(l *mutex) { - unlockWithRank(l) - } diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go -index b92a213245..112fd876d0 100644 +index e2cb2e4..75bb0b1 100644 --- a/src/runtime/malloc.go +++ b/src/runtime/malloc.go -@@ -1332,7 +1332,7 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer { +@@ -1336,7 +1336,7 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer { // Returns the G for which the assist credit was accounted. func deductAssistCredit(size uintptr) *g { var assistG *g @@ -371,10 +272,10 @@ index b92a213245..112fd876d0 100644 assistG = getg() if assistG.m.curg != nil { diff --git a/src/runtime/proc.go b/src/runtime/proc.go -index 76c8b71ab9..a96d5a6abc 100644 +index 0616731..88950ff 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go -@@ -1137,6 +1137,11 @@ func casfrom_Gscanstatus(gp *g, oldval, newval uint32) { +@@ -1067,6 +1067,11 @@ func casfrom_Gscanstatus(gp *g, oldval, newval uint32) { dumpgstatus(gp) throw("casfrom_Gscanstatus: gp->status is not in scan state") } @@ -383,13 +284,13 @@ index 76c8b71ab9..a96d5a6abc 100644 + if newval == _Grunning { + gp.lastsched = nanotime() + } - releaseLockRankAndM(lockRankGscan) + releaseLockRank(lockRankGscan) } -@@ -1152,6 +1157,11 @@ func castogscanstatus(gp *g, oldval, newval uint32) bool { +@@ -1082,6 +1087,11 @@ func castogscanstatus(gp *g, oldval, newval uint32) bool { r := gp.atomicstatus.CompareAndSwap(oldval, newval) if r { - acquireLockRankAndM(lockRankGscan) + acquireLockRank(lockRankGscan) + // We're transitioning out of running, record how long we were in the + // state. + if oldval == _Grunning { @@ -398,7 +299,7 @@ index 76c8b71ab9..a96d5a6abc 100644 } return r -@@ -1211,7 +1221,18 @@ func casgstatus(gp *g, oldval, newval uint32) { +@@ -1136,7 +1146,18 @@ func casgstatus(gp *g, oldval, newval uint32) { } } @@ -417,7 +318,7 @@ index 76c8b71ab9..a96d5a6abc 100644 // Track every gTrackingPeriod time a goroutine transitions out of running. if casgstatusAlwaysTrack || gp.trackingSeq%gTrackingPeriod == 0 { gp.tracking = true -@@ -1232,7 +1253,6 @@ func casgstatus(gp *g, oldval, newval uint32) { +@@ -1157,7 +1178,6 @@ func casgstatus(gp *g, oldval, newval uint32) { // We transitioned out of runnable, so measure how much // time we spent in this state and add it to // runnableTime. @@ -425,7 +326,7 @@ index 76c8b71ab9..a96d5a6abc 100644 gp.runnableTime += now - gp.trackingStamp gp.trackingStamp = 0 case _Gwaiting: -@@ -1245,7 +1265,6 @@ func casgstatus(gp *g, oldval, newval uint32) { +@@ -1170,7 +1190,6 @@ func casgstatus(gp *g, oldval, newval uint32) { // a more representative estimate of the absolute value. // gTrackingPeriod also represents an accurate sampling period // because we can only enter this state from _Grunning. @@ -433,7 +334,7 @@ index 76c8b71ab9..a96d5a6abc 100644 sched.totalMutexWaitTime.Add((now - gp.trackingStamp) * gTrackingPeriod) gp.trackingStamp = 0 } -@@ -1256,12 +1275,10 @@ func casgstatus(gp *g, oldval, newval uint32) { +@@ -1181,12 +1200,10 @@ func casgstatus(gp *g, oldval, newval uint32) { break } // Blocking on a lock. Write down the timestamp. @@ -446,8 +347,8 @@ index 76c8b71ab9..a96d5a6abc 100644 gp.trackingStamp = now case _Grunning: // We're transitioning into running, so turn off -@@ -1323,6 +1340,9 @@ func casGToPreemptScan(gp *g, old, new uint32) { - acquireLockRankAndM(lockRankGscan) +@@ -1237,6 +1254,9 @@ func casGToPreemptScan(gp *g, old, new uint32) { + acquireLockRank(lockRankGscan) for !gp.atomicstatus.CompareAndSwap(_Grunning, _Gscan|_Gpreempted) { } + // We're transitioning out of running, record how long we were in the @@ -456,22 +357,22 @@ index 76c8b71ab9..a96d5a6abc 100644 } // casGFromPreempted attempts to transition gp from _Gpreempted to -@@ -4059,6 +4079,14 @@ func dropg() { +@@ -3932,6 +3952,14 @@ func dropg() { setGNoWB(&gp.m.curg, nil) } -+// Grunningnanos returns the wall time spent by current g in the running state. ++// grunningnanos returns the wall time spent by current g in the running state. +// A goroutine may be running on an OS thread that's descheduled by the OS +// scheduler, this time still counts towards the metric. -+func Grunningnanos() int64 { ++func grunningnanos() int64 { + gp := getg() + return gp.runningnanos + nanotime() - gp.lastsched +} + - func parkunlock_c(gp *g, lock unsafe.Pointer) bool { - unlock((*mutex)(lock)) - return true -@@ -4290,6 +4318,8 @@ func gdestroy(gp *g) { + // checkTimers runs any timers for the P that are ready. + // If now is not 0 it is the current time. + // It returns the passed time or the current time if now was passed as 0. +@@ -4203,6 +4231,8 @@ func gdestroy(gp *g) { gp.param = nil gp.labels = nil gp.timer = nil @@ -481,30 +382,30 @@ index 76c8b71ab9..a96d5a6abc 100644 if gcBlackenEnabled != 0 && gp.gcAssistBytes > 0 { // Flush assist credit to the global pool. This gives diff --git a/src/runtime/runtime1.go b/src/runtime/runtime1.go -index 03ef74b8dc..cb45504fbf 100644 +index afe1bdd..1070b6b 100644 --- a/src/runtime/runtime1.go +++ b/src/runtime/runtime1.go @@ -316,6 +316,7 @@ var debug struct { - gcpacertrace int32 - gcshrinkstackoff int32 - gcstoptheworld int32 -+ gcnoassist int32 - gctrace int32 - invalidptr int32 - madvdontneed int32 // for Linux; issue 28466 -@@ -374,6 +375,7 @@ var dbgvars = []*dbgVar{ + gcpacertrace int32 + gcshrinkstackoff int32 + gcstoptheworld int32 ++ gcnoassist int32 + gctrace int32 + invalidptr int32 + madvdontneed int32 // for Linux; issue 28466 +@@ -352,6 +353,7 @@ var dbgvars = []*dbgVar{ {name: "gcpacertrace", value: &debug.gcpacertrace}, {name: "gcshrinkstackoff", value: &debug.gcshrinkstackoff}, {name: "gcstoptheworld", value: &debug.gcstoptheworld}, + {name: "gcnoassist", value: &debug.gcnoassist}, {name: "gctrace", value: &debug.gctrace}, - {name: "harddecommit", value: &debug.harddecommit}, - {name: "inittrace", value: &debug.inittrace}, + {name: "invalidptr", value: &debug.invalidptr}, + {name: "madvdontneed", value: &debug.madvdontneed}, diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go -index 4a78963961..da1db551d5 100644 +index 63320d4..6569dc3 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go -@@ -493,7 +493,6 @@ type g struct { +@@ -492,7 +492,6 @@ type g struct { trackingStamp int64 // timestamp of when the G last started being tracked runnableTime int64 // the amount of time spent runnable, cleared when running, only used when tracking lockedm muintptr @@ -512,160 +413,26 @@ index 4a78963961..da1db551d5 100644 writebuf []byte sigcode0 uintptr sigcode1 uintptr -@@ -509,6 +508,10 @@ type g struct { +@@ -507,6 +506,9 @@ type g struct { + labels unsafe.Pointer // profiler labels timer *timer // cached timer for time.Sleep - sleepWhen int64 // when to sleep until selectDone atomic.Uint32 // are we participating in a select and did someone win the race? + sig uint32 + lastsched int64 // timestamp when the G last started running + runningnanos int64 // wall time spent in the running state -+ - // goroutineProfiled indicates the status of this goroutine's stack for the - // current in-progress goroutine profile -@@ -1189,6 +1192,7 @@ var ( + coroarg *coro // argument during coroutine transfers - // len(allp) == gomaxprocs; may change at safe points, otherwise - // immutable. -+ //go:linkname allp - allp []*p - - // Bitmask of Ps in _Pidle list, one bit per P. Reads and writes must diff --git a/src/runtime/sizeof_test.go b/src/runtime/sizeof_test.go -index 43aba98dce..a076c93b8e 100644 +index aa8caaa..7916bde 100644 --- a/src/runtime/sizeof_test.go +++ b/src/runtime/sizeof_test.go -@@ -20,7 +20,7 @@ func TestSizeof(t *testing.T) { +@@ -27,7 +27,7 @@ func TestSizeof(t *testing.T) { _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{ -- {runtime.G{}, 272, 432}, // g, but exported for testing -+ {runtime.G{}, 272, 448}, // g, but exported for testing - {runtime.Sudog{}, 56, 88}, // sudog, but exported for testing +- {runtime.G{}, g32bit, 424}, // g, but exported for testing ++ {runtime.G{}, g32bit, 432}, // g, but exported for testing + {runtime.Sudog{}, 56, 88}, // sudog, but exported for testing } -diff --git a/src/runtime/time.go b/src/runtime/time.go -index 6d47eba..3353502 100644 ---- a/src/runtime/time.go -+++ b/src/runtime/time.go -@@ -1114,6 +1114,11 @@ - // started to send the value. That lets them correctly return - // true meaning that no value was sent. - lock(&t.sendLock) -+ -+ // We are committed to possibly sending a value based on seq, -+ // so no need to keep telling stop/modify that we are sending. -+ t.isSending.And(^isSendingClear) -+ - if t.seq != seq { - f = func(any, uintptr, int64) {} - } -@@ -1122,9 +1127,6 @@ - f(arg, seq, delay) - - if !async && t.isChan { -- // We are no longer sending a value. -- t.isSending.And(^isSendingClear) -- - unlock(&t.sendLock) - } - -diff --git a/src/runtime/time.go b/src/runtime/time.go -index 7abd15e..19b4ac9 100644 ---- a/src/runtime/time.go -+++ b/src/runtime/time.go -@@ -33,6 +33,7 @@ - // isSending is used to handle races between running a - // channel timer and stopping or resetting the timer. - // It is used only for channel timers (t.isChan == true). -+ // It is not used for tickers. - // The lowest zero bit is set when about to send a value on the channel, - // and cleared after sending the value. - // The stop/reset code uses this to detect whether it -@@ -467,7 +468,7 @@ - // send from actually happening. That means - // that we should return true: the timer was - // stopped, even though t.when may be zero. -- if t.isSending.Load() > 0 { -+ if t.period == 0 && t.isSending.Load() > 0 { - pending = true - } - } -@@ -529,6 +530,7 @@ - t.maybeRunAsync() - } - t.trace("modify") -+ oldPeriod := t.period - t.period = period - if f != nil { - t.f = f -@@ -570,7 +572,7 @@ - // send from actually happening. That means - // that we should return true: the timer was - // stopped, even though t.when may be zero. -- if t.isSending.Load() > 0 { -+ if oldPeriod == 0 && t.isSending.Load() > 0 { - pending = true - } - } -@@ -1064,7 +1066,7 @@ - - async := debug.asynctimerchan.Load() != 0 - var isSendingClear uint8 -- if !async && t.isChan { -+ if !async && t.isChan && t.period == 0 { - // Tell Stop/Reset that we are sending a value. - // Set the lowest zero bit. - // We do this awkward step because atomic.Uint8 -@@ -1115,9 +1117,12 @@ - // true meaning that no value was sent. - lock(&t.sendLock) - -- // We are committed to possibly sending a value based on seq, -- // so no need to keep telling stop/modify that we are sending. -- t.isSending.And(^isSendingClear) -+ if t.period == 0 { -+ // We are committed to possibly sending a value -+ // based on seq, so no need to keep telling -+ // stop/modify that we are sending. -+ t.isSending.And(^isSendingClear) -+ } - - if t.seq != seq { - f = func(any, uintptr, int64) {} -diff --git a/src/time/sleep_test.go b/src/time/sleep_test.go -index 5357ed2..520ff95 100644 ---- a/src/time/sleep_test.go -+++ b/src/time/sleep_test.go -@@ -847,6 +847,31 @@ - wg.Wait() - } - -+// Test having a large number of goroutines wake up a timer simultaneously. -+// This used to trigger a crash when run under x/tools/cmd/stress. -+func TestMultiWakeup(t *testing.T) { -+ if testing.Short() { -+ t.Skip("-short") -+ } -+ -+ goroutines := runtime.GOMAXPROCS(0) -+ timer := NewTicker(Microsecond) -+ var wg sync.WaitGroup -+ wg.Add(goroutines) -+ for range goroutines { -+ go func() { -+ defer wg.Done() -+ for range 100000 { -+ select { -+ case <-timer.C: -+ case <-After(Millisecond): -+ } -+ } -+ }() -+ } -+ wg.Wait() -+} -+ - // Benchmark timer latency when the thread that creates the timer is busy with - // other work and the timers must be serviced by other threads. - // https://golang.org/issue/38860 diff --git a/build/teamcity/internal/release/build-and-publish-patched-go/impl-fips.sh b/build/teamcity/internal/release/build-and-publish-patched-go/impl-fips.sh index 42c8999843c1..122536a4be2f 100755 --- a/build/teamcity/internal/release/build-and-publish-patched-go/impl-fips.sh +++ b/build/teamcity/internal/release/build-and-publish-patched-go/impl-fips.sh @@ -9,8 +9,8 @@ set -xeuo pipefail GO_FIPS_REPO=https://github.com/golang-fips/go -GO_FIPS_COMMIT=e982fa08164dabdefde5fd38b35ee3122ee0bb20 -GO_VERSION=1.23.2 +GO_FIPS_COMMIT=8092b8157908b59e5930a1247b6f41842a25f89e +GO_VERSION=1.22.5 # Install build dependencies yum install git golang golang-bin openssl openssl-devel -y @@ -25,11 +25,6 @@ cd /workspace git clone $GO_FIPS_REPO go cd go git checkout $GO_FIPS_COMMIT -# Delete a patch that we don't want. This shouldn't be necessary when we upgrade -# to Ubuntu 24.04. Without this removal, attempting to run the binary on our -# current build infrastructure results in the following error: -# version `GLIBC_2.32' not found (required by external/go_sdk_fips/bin/go) -rm ./patches/017-fix-linkage.patch # Lower the requirements in case we need to bootstrap with an older Go version sed -i "s/go mod tidy/go mod tidy -go=1.16/g" scripts/create-secondary-patch.sh ./scripts/full-initialize-repo.sh "go$GO_VERSION" diff --git a/build/teamcity/internal/release/build-and-publish-patched-go/impl.sh b/build/teamcity/internal/release/build-and-publish-patched-go/impl.sh index ea486b3dca62..6baff311e1ef 100755 --- a/build/teamcity/internal/release/build-and-publish-patched-go/impl.sh +++ b/build/teamcity/internal/release/build-and-publish-patched-go/impl.sh @@ -9,13 +9,13 @@ set -xeuo pipefail # When updating to a new Go version, update all of these variables. -GOVERS=1.23.2 +GOVERS=1.22.5 GOLINK=https://go.dev/dl/go$GOVERS.src.tar.gz -SRCSHASUM=36930162a93df417d90bd22c6e14daff4705baac2b02418edda671cdfa9cd07f +SRCSHASUM=ac9c723f224969aee624bc34fd34c9e13f2a212d75c71c807de644bb46e112f6 # We use this for bootstrapping (this is NOT re-published). Note the version # matches the version we're publishing, although it doesn't technically have to. GOLINUXLINK=https://go.dev/dl/go$GOVERS.linux-amd64.tar.gz -LINUXSHASUM=542d3c1705f1c6a1c5a80d5dc62e2e45171af291e755d591c5e6531ef63b454e +LINUXSHASUM=904b924d435eaea086515bc63235b192ea441bd8c9b198c507e85009e6e4c7f0 apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ diff --git a/build/toolchains/BUILD.bazel b/build/toolchains/BUILD.bazel index 96f808d061af..43befebfceee 100644 --- a/build/toolchains/BUILD.bazel +++ b/build/toolchains/BUILD.bazel @@ -413,6 +413,46 @@ config_setting( }, ) +bool_flag( + name = "nogo_flag", + build_setting_default = False, + visibility = ["//visibility:public"], +) + +config_setting( + name = "nogo", + flag_values = { + ":nogo_flag": "true", + ":nogo_disable_flag": "false", + }, +) + +# Note: the flag nonogo_flag and config_setting nonogo_explicit aren't meant +# to be directly used in select()'s. Not using nogo is the default behavior. +# The flag and config_setting are here solely so that they can be used by `dev` +# to check whether an option is configured. +bool_flag( + name = "nonogo_explicit_flag", + build_setting_default = False, + visibility = ["//visibility:public"], +) + +config_setting( + name = "nonogo_explicit", + flag_values = { + ":nonogo_explicit_flag": "true", + }, + visibility = ["//build/bazelutil:__pkg__"], +) + +# Note: nogo_disable can be set to force nogo checks off even if +# `build --config lintonbuild` is set in .bazelrc. +bool_flag( + name = "nogo_disable_flag", + build_setting_default = False, + visibility = ["//visibility:public"], +) + bool_flag( name = "force_build_cdeps_flag", build_setting_default = False, diff --git a/dev b/dev index 044ebfcfd8ea..6ce500f01e3e 100755 --- a/dev +++ b/dev @@ -8,7 +8,7 @@ fi set -euo pipefail # Bump this counter to force rebuilding `dev` on all machines. -DEV_VERSION=101 +DEV_VERSION=102 THIS_DIR=$(cd "$(dirname "$0")" && pwd) BINARY_DIR=$THIS_DIR/bin/dev-versions @@ -21,8 +21,8 @@ fi if [[ ! -f "$BINARY_PATH" ]]; then echo "$BINARY_PATH not found, building..." mkdir -p $BINARY_DIR - bazel build //pkg/cmd/dev --norun_validations --remote_cache= - cp $(bazel info bazel-bin --norun_validations)/pkg/cmd/dev/dev_/dev $BINARY_PATH + bazel build //pkg/cmd/dev --//build/toolchains:nogo_disable_flag --remote_cache= + cp $(bazel info bazel-bin --//build/toolchains:nogo_disable_flag)/pkg/cmd/dev/dev_/dev $BINARY_PATH # The Bazel-built binary won't have write permissions. chmod a+w $BINARY_PATH fi diff --git a/go.mod b/go.mod index df35da8c1d65..40730679a798 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cockroachdb/cockroach -go 1.23.2 +go 1.22.5 // golang.org/x/* packages are maintained and curated by the go project, just // without the backwards compatibility promises the standard library, and thus @@ -11,8 +11,8 @@ go 1.23.2 // for behavior changes, just like we would after a go upgrade. require ( golang.org/x/crypto v0.26.0 - golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa - golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678 // indirect + golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df + golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a // indirect golang.org/x/mod v0.20.0 // indirect golang.org/x/net v0.28.0 golang.org/x/oauth2 v0.7.0 @@ -87,13 +87,13 @@ require ( ) require ( - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0 + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.3.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.9.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute v1.0.0 - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1 github.com/Azure/go-autorest/autorest/adal v0.9.15 - github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c + github.com/BurntSushi/toml v1.2.1 github.com/DATA-DOG/go-sqlmock v1.5.0 github.com/DataDog/datadog-api-client-go/v2 v2.15.0 github.com/DataExMachina-dev/side-eye-go v0.0.0-20240528211710-5eb9c7a69e1d @@ -149,7 +149,7 @@ require ( github.com/docker/distribution v2.7.1+incompatible github.com/docker/docker v24.0.6+incompatible github.com/docker/go-connections v0.4.0 - github.com/dustin/go-humanize v1.0.1 + github.com/dustin/go-humanize v1.0.0 github.com/edsrzf/mmap-go v1.0.0 github.com/elastic/gosigar v0.14.3 github.com/emicklei/dot v0.15.0 @@ -161,7 +161,7 @@ require ( github.com/go-openapi/strfmt v0.22.0 github.com/go-sql-driver/mysql v1.6.0 github.com/gogo/status v1.1.0 - github.com/google/flatbuffers v23.1.21+incompatible + github.com/google/flatbuffers v2.0.8+incompatible github.com/google/go-cmp v0.6.0 github.com/google/go-github v17.0.0+incompatible github.com/google/go-github/v42 v42.0.0 @@ -181,7 +181,7 @@ require ( github.com/jordan-wright/email v4.0.1-0.20210109023952-943e75fe5223+incompatible github.com/jordanlewis/gcassert v0.0.0-20240401195008-3141cbd028c0 github.com/kevinburke/go-bindata v3.13.0+incompatible - github.com/kisielk/errcheck v1.7.1-0.20240702033320-b832de3f3c5a + github.com/kisielk/errcheck v1.7.0 github.com/kisielk/gotool v1.0.0 github.com/klauspost/compress v1.17.8 github.com/klauspost/pgzip v1.2.5 @@ -209,11 +209,11 @@ require ( github.com/olekukonko/tablewriter v0.0.5-0.20200416053754-163badb3bac6 github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 github.com/otan/gopgkrb5 v1.0.3 - github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 + github.com/petermattis/goid v0.0.0-20211229010228-4d14c490ee36 github.com/pierrec/lz4/v4 v4.1.21 github.com/pierrre/geohash v1.0.0 github.com/pires/go-proxyproto v0.7.0 - github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 + github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 github.com/pkg/errors v0.9.1 github.com/pmezard/go-difflib v1.0.0 github.com/prometheus/client_golang v1.16.0 @@ -227,7 +227,7 @@ require ( github.com/sasha-s/go-deadlock v0.3.1 github.com/shirou/gopsutil/v3 v3.21.12 github.com/slack-go/slack v0.9.5 - github.com/snowflakedb/gosnowflake v1.6.25 + github.com/snowflakedb/gosnowflake v1.3.4 github.com/spf13/afero v1.9.2 github.com/spf13/cobra v1.6.1 github.com/spf13/pflag v1.0.5 @@ -249,10 +249,9 @@ require ( go.opentelemetry.io/proto/otlp v0.11.0 golang.org/x/perf v0.0.0-20230113213139-801c7ef9e5c5 golang.org/x/term v0.23.0 - golang.org/x/tools/go/vcs v0.1.0-deprecated gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.1 - honnef.co/go/tools v0.5.1 + honnef.co/go/tools v0.4.5 vitess.io/vitess v0.0.0-00010101000000-000000000000 ) @@ -262,11 +261,10 @@ require ( cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v0.13.0 // indirect cloud.google.com/go/longrunning v0.4.1 // indirect - git.sr.ht/~sbinet/gg v0.3.1 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect - github.com/99designs/keyring v1.2.2 // indirect + github.com/99designs/keyring v1.2.1 // indirect github.com/AthenZ/athenz v1.10.39 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.0 // indirect github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect @@ -284,10 +282,9 @@ require ( github.com/Microsoft/go-winio v0.5.2 // indirect github.com/abbot/go-http-auth v0.4.1-0.20181019201920-860ed7f246ff // indirect github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794 // indirect - github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b // indirect + github.com/ajstarks/svgo v0.0.0-20210923152817-c3b6e2f0c527 // indirect github.com/alexbrainman/sspi v0.0.0-20210105120005-909beea2cc74 // indirect github.com/andybalholm/brotli v1.0.5 // indirect - github.com/apache/arrow/go/v12 v12.0.1 // indirect github.com/apache/thrift v0.16.0 // indirect github.com/ardielle/ardielle-go v1.5.2 // indirect github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect @@ -311,6 +308,7 @@ require ( github.com/danieljoos/wincred v1.1.2 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect github.com/deepmap/oapi-codegen v1.6.0 // indirect + github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/atime v1.1.0 // indirect github.com/dnaeon/go-vcr v1.2.0 // indirect @@ -320,8 +318,7 @@ require ( github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect github.com/eapache/queue v1.1.0 // indirect github.com/fatih/structs v1.1.0 // indirect - github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect - github.com/gabriel-vasile/mimetype v1.4.2 // indirect + github.com/fogleman/gg v1.3.0 // indirect github.com/ghodss/yaml v1.0.0 // indirect github.com/go-asn1-ber/asn1-ber v1.5.5 // indirect github.com/go-fonts/liberation v0.2.0 // indirect @@ -340,7 +337,7 @@ require ( github.com/go-openapi/spec v0.20.14 // indirect github.com/go-openapi/swag v0.22.9 // indirect github.com/go-openapi/validate v0.23.0 // indirect - github.com/go-pdf/fpdf v0.6.0 // indirect + github.com/go-pdf/fpdf v0.5.0 // indirect github.com/goccy/go-json v0.10.3 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gofrs/flock v0.8.1 // indirect @@ -374,7 +371,7 @@ require ( github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/klauspost/asmfmt v1.3.2 // indirect - github.com/klauspost/cpuid/v2 v2.2.3 // indirect + github.com/klauspost/cpuid/v2 v2.0.9 // indirect github.com/lestrrat-go/blackmagic v1.0.2 // indirect github.com/lestrrat-go/httpcc v1.0.1 // indirect github.com/lestrrat-go/httprc v1.0.6 // indirect @@ -442,9 +439,9 @@ require ( go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.7.0 // indirect go.uber.org/zap v1.19.0 // indirect - golang.org/x/image v0.0.0-20220302094943-723b81ca9867 // indirect + golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - gonum.org/v1/plot v0.10.1 // indirect + gonum.org/v1/plot v0.10.0 // indirect google.golang.org/appengine v1.6.7 // indirect gopkg.in/square/go-jose.v2 v2.5.1 // indirect ) @@ -485,6 +482,3 @@ replace github.com/docker/docker => github.com/moby/moby v24.0.6+incompatible replace golang.org/x/time => github.com/cockroachdb/x-time v0.3.1-0.20230525123634-71747adb5d5c replace google.golang.org/protobuf => google.golang.org/protobuf v1.29.1 - -// Can be removed when we upgrade past v1.7.1. (see https://github.com/snowflakedb/gosnowflake/issues/970) -replace github.com/snowflakedb/gosnowflake => github.com/cockroachdb/gosnowflake v1.6.25 diff --git a/go.sum b/go.sum index daad1cdc8019..9d6731c4ac16 100644 --- a/go.sum +++ b/go.sum @@ -72,12 +72,10 @@ collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE= contrib.go.opencensus.io/exporter/prometheus v0.1.0/go.mod h1:cGFniUXGZlKRjzOyuZJ6mgB+PgBcCIa79kEKR8YCW+A= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= -git.sr.ht/~sbinet/gg v0.3.1 h1:LNhjNn8DerC8f9DHLz6lS0YYul/b602DUxDgGkd/Aik= -git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4= -github.com/99designs/keyring v1.2.2 h1:pZd3neh/EmUzWONb35LxQfvuY7kiSXAq3HQd97+XBn0= -github.com/99designs/keyring v1.2.2/go.mod h1:wes/FrByc8j7lFOAGLGSNEg8f/PaI3cgTBqhFkHUrPk= +github.com/99designs/keyring v1.2.1 h1:tYLp1ULvO7i3fI5vE21ReQuj99QFSs7lGm0xWyJo87o= +github.com/99designs/keyring v1.2.1/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA= github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= github.com/AthenZ/athenz v1.10.39 h1:mtwHTF/v62ewY2Z5KWhuZgVXftBej1/Tn80zx4DcawY= @@ -88,16 +86,12 @@ github.com/Azure/azure-sdk-for-go v41.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9mo github.com/Azure/azure-sdk-for-go v57.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v68.0.0+incompatible h1:fcYLmCpyNYRnvJbPerq7U0hS+6+I79yEDJBqVNcqUzU= github.com/Azure/azure-sdk-for-go v68.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.3.0 h1:VuHAcMq8pU1IWNT/m5yRaGqbK0BiQKHT8X4DTp9CHdI= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.3.0/go.mod h1:tZoQYdDZNOiIjdSn0dVWVfl0NEPGOJqVLzSrcFk4Is0= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0 h1:rTnT/Jrcm+figWlYz4Ixzt0SJVR2cMC8lvZcimipiEY= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0/go.mod h1:ON4tFdPTwRcgWEaVDrN3584Ef+b7GgSJaXxe5fW9t4M= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 h1:QkAcEIAKbNL4KoFr4SathZPhDhF4mVwpBMFlYjyAqy8= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0/go.mod h1:bhXu1AjYL+wutSL/kpSq6s7733q2Rb0yuot9Zgfqa/0= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.1 h1:Oj853U9kG+RLTCQXpjvOnrv0WaZHxgmZz1TlLywgOPY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.1/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2 h1:+5VZ72z0Qan5Bog5C+ZkgSqUbeVUd9wgtHOrIKuc5b8= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.9.0 h1:TOFrNxfjslms5nLLIMjW7N0+zSALX4KiGsptmpb16AA= github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.9.0/go.mod h1:EAyXOW1F6BTJPiK2pDvmnvxOHPxoTYWoqBeIlql+QhI= github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.0 h1:Lg6BW0VPmCwcMlvOviL3ruHFO+H9tZNqscK0AeuFjGM= @@ -110,8 +104,8 @@ github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork v1.0.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork v1.0.0/go.mod h1:243D9iHbcQXoFUtgHJwL7gl2zx1aDuDMjvBZVGr2uW0= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0 h1:ECsQtyERDVz3NP3kvDOTLvbQhqWp/x9EsGKtb4ogUr8= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0/go.mod h1:s1tW/At+xHqjNFvWU4G0c0Qv33KOhvbGNj0RCTQDV8s= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 h1:u/LLAOFgsMv7HmNL4Qufg58y+qElGOt5qv0z1mURkRY= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0/go.mod h1:2e8rMJtl2+2j+HXbTBwnyGpm5Nou7KhvSfxOq8JpTag= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1 h1:YvQv9Mz6T8oR5ypQOL6erY0Z5t71ak1uHV4QFokCOZk= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1/go.mod h1:c6WvOhtmjNUWbLfOG1qxM/q0SPvQNSVJvolm+C52dIU= github.com/Azure/azure-storage-blob-go v0.8.0/go.mod h1:lPI3aLPpuLTeUwh1sViKXFxwl2B6teiRqI0deQUvsw0= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= @@ -175,8 +169,8 @@ github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358/go.mod h1:chxPXzS github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 h1:BWe8a+f/t+7KY7zH2mqygeUD0t8hNFXe08p1Pb3/jKE= github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c h1:pxW6RcqyfI9/kWtOwnv/G+AzdKuy2ZrqINhenH4HyNs= -github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= +github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= +github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/BurntSushi/xgbutil v0.0.0-20160919175755-f7c97cef3b4e/go.mod h1:uw9h2sd4WWHOPdJ13MQpwK5qYWKYDumDqxWWIknEQ+k= github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= @@ -277,12 +271,9 @@ github.com/aclements/go-perfevent v0.0.0-20240301234650-f7843625020f/go.mod h1:t github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= -github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= -github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= +github.com/ajstarks/svgo v0.0.0-20210923152817-c3b6e2f0c527 h1:NImof/JkF93OVWZY+PINgl6fPtQyF6f+hNUtZ0QZA1c= github.com/ajstarks/svgo v0.0.0-20210923152817-c3b6e2f0c527/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b h1:slYM766cy2nI3BwyRiyQj/Ud48djTMtMebDqepE95rw= -github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b/go.mod h1:1KcenG0jGWcpt8ov532z81sp/kMMUG485J2InIOyADM= github.com/akavel/rsrc v0.8.0/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= @@ -300,7 +291,6 @@ github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:C github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/andy-kimball/arenaskl v0.0.0-20200617143215-f701008588b9 h1:vCvyXiLsgAs7qgclk56iBTJQ+gdfiVuzfe5T6sVBL+w= github.com/andy-kimball/arenaskl v0.0.0-20200617143215-f701008588b9/go.mod h1:V2fyPx0Gm2VBNpGPq4z0bjNRaBPR+kC3aSqIuiWCdg4= -github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs= github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= @@ -316,8 +306,6 @@ github.com/apache/arrow/go/arrow v0.0.0-20200923215132-ac86123a3f01 h1:FSqtT0UCk github.com/apache/arrow/go/arrow v0.0.0-20200923215132-ac86123a3f01/go.mod h1:QNYViu/X0HXDHw7m3KXzWSVXIbfUvJqBFe6Gj8/pYA0= github.com/apache/arrow/go/v11 v11.0.0 h1:hqauxvFQxww+0mEU/2XHG6LT7eZternCZq+A5Yly2uM= github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= -github.com/apache/arrow/go/v12 v12.0.1 h1:JsR2+hzYYjgSUkBSaahpqCetqZMr76djX80fF/DiJbg= -github.com/apache/arrow/go/v12 v12.0.1/go.mod h1:weuTY7JvTG/HDPtMQxEUp7pU73vkLWMLpY67QwZ/WWw= github.com/apache/pulsar-client-go v0.12.0 h1:rrMlwpr6IgLRPXLRRh2vSlcw5tGV2PUSjZwmqgh2B2I= github.com/apache/pulsar-client-go v0.12.0/go.mod h1:dkutuH4oS2pXiGm+Ti7fQZ4MRjrMPZ8IJeEGAWMeckk= github.com/apache/thrift v0.0.0-20151001171628-53dd39833a08/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= @@ -362,36 +350,26 @@ github.com/aws/aws-sdk-go v1.40.37 h1:I+Q6cLctkFyMMrKukcDnj+i2kjrQ37LGiOM6xmsxC4 github.com/aws/aws-sdk-go v1.40.37/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.16.2/go.mod h1:ytwTPBG6fXTZLxxeeCCWj2/EMYp/xDUgX+OET6TLNNU= -github.com/aws/aws-sdk-go-v2 v1.17.7/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= github.com/aws/aws-sdk-go-v2 v1.31.0 h1:3V05LbxTSItI5kUqNwhJrrrY1BAXxXt0sN0l72QmG5U= github.com/aws/aws-sdk-go-v2 v1.31.0/go.mod h1:ztolYtaEUtdpf9Wftr31CJfLVjOnD/CVRkKOOYgF8hA= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10/go.mod h1:VeTZetY5KRJLuD/7fkQXMU6Mw7H5m/KP2J5Iy9osMno= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.4 h1:70PVAiL15/aBMh5LThwgXdSQorVr91L127ttckI9QQU= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.4/go.mod h1:/MQxMqci8tlqDH+pjmoLu1i0tbWCUP1hhyMRuFxpQCw= -github.com/aws/aws-sdk-go-v2/config v1.18.19/go.mod h1:XvTmGMY8d52ougvakOv1RpiTLPz9dlG/OQHsKU/cMmY= github.com/aws/aws-sdk-go-v2/config v1.27.31 h1:kxBoRsjhT3pq0cKthgj6RU6bXTm/2SgdoUMyrVw0rAI= github.com/aws/aws-sdk-go-v2/config v1.27.31/go.mod h1:z04nZdSWFPaDwK3DdJOG2r+scLQzMYuJeW0CujEm9FM= -github.com/aws/aws-sdk-go-v2/credentials v1.13.18/go.mod h1:vnwlwjIe+3XJPBYKu1et30ZPABG3VaXJYr8ryohpIyM= github.com/aws/aws-sdk-go-v2/credentials v1.17.30 h1:aau/oYFtibVovr2rDt8FHlU17BTicFEMAi29V1U+L5Q= github.com/aws/aws-sdk-go-v2/credentials v1.17.30/go.mod h1:BPJ/yXV92ZVq6G8uYvbU0gSl8q94UB63nMT5ctNO38g= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.1/go.mod h1:lfUx8puBRdM5lVVMQlwt2v+ofiG/X6Ms+dy0UkG/kXw= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.12 h1:yjwoSyDZF8Jth+mUk5lSPJCkMC0lMy6FaCD51jm6ayE= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.12/go.mod h1:fuR57fAgMk7ot3WcNQfb6rSEn+SUffl7ri+aa8uKysI= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.59/go.mod h1:1M4PLSBUVfBI0aP+C9XI7SM6kZPCGYyI6izWz0TGprE= github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.16 h1:1FWqcOnvnO0lRsv0kLACwwQquoZIoS5tD0MtfoNdnkk= github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.16/go.mod h1:+E8OuB446P/5Swajo40TqenLMzm6aYDEEz6FZDn/u1E= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.9/go.mod h1:AnVH5pvai0pAF4lXRq0bmhbes1u9R8wTE+g+183bZNM= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31/go.mod h1:QT0BqUvX1Bh2ABdTGnjqEjvjzrCfIniM9Sc8zn9Yndo= github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 h1:kYQ3H1u0ANr9KEKlGs/jTLrBFPo8P8NaH/w7A01NeeM= github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18/go.mod h1:r506HmK5JDUh9+Mw4CfGJGSSoqIiLCndAuqXuhbv67Y= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.3/go.mod h1:ssOhaLpRlh88H3UmEcsBoVKq309quMvm3Ds8e9d4eJM= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25/go.mod h1:zBHOPwhBc3FlQjQJE/D3IfPWiWaQmT06Vq9aNukDo0k= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 h1:Z7IdFUONvTcvS7YuhtVxN99v2cCoHRXOS4mTr0B/pUc= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18/go.mod h1:DkKMmksZVVyat+Y+r1dEOgJEfUeA7UngIHWeKsi0yNc= -github.com/aws/aws-sdk-go-v2/internal/ini v1.3.32/go.mod h1:XGhIBZDEgfqmFIugclZ6FU7v75nHhBDtzuB4xB/tEi4= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 h1:VaRN3TlFdd6KxX1x3ILT5ynH6HvKgqdiXoTxAF4HQcQ= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1/go.mod h1:FbtygfRFze9usAadmnGJNc8KsP346kEe+y2/oyhGAGc= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.23/go.mod h1:uIiFgURZbACBEQJfqTZPb/jxO7R+9LeoHUFudtIdeQI= github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.16 h1:mimdLQkIX1zr8GIPY1ZtALdBQGxcASiBd2MOp8m/dMc= github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.16/go.mod h1:YHk6owoSwrIsok+cAH9PENCOGoH5PU2EllX4vLtSrsY= github.com/aws/aws-sdk-go-v2/service/databasemigrationservice v1.41.0 h1:+ghQ6Xxpak71do0LvJzNT7MW4XnrqZpsH0j3N3QS4MQ= @@ -400,17 +378,13 @@ github.com/aws/aws-sdk-go-v2/service/ec2 v1.34.0 h1:dfWleW7/a3+TR6qJynYZsaovCESt github.com/aws/aws-sdk-go-v2/service/ec2 v1.34.0/go.mod h1:37MWOQMGyj8lcranOwo716OHvJgeFJUOaWu6vk1pWNE= github.com/aws/aws-sdk-go-v2/service/iam v1.18.3 h1:wllKL2fLtvfaNAVbXKMRmM/mD1oDNw0hXmDn8mE/6Us= github.com/aws/aws-sdk-go-v2/service/iam v1.18.3/go.mod h1:51xGfEjd1HXnTzw2mAp++qkRo+NyGYblZkuGTsb49yw= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11/go.mod h1:iV4q2hsqtNECrfmlXyord9u4zyuFEJX9eLgLpSPzWA8= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 h1:QFASJGfT8wMXtuP3D5CRmMjARHv9ZmzFUMJznHDOY3w= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5/go.mod h1:QdZ3OmoIjSX+8D1OPAzPxDfjXASbBMDsz9qvtyIhtik= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.26/go.mod h1:2UqAAwMUXKeRkAHIlDJqvMVgOWkUi/AUXPk/YIe+Dg4= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.18 h1:GckUnpm4EJOAio1c8o25a+b3lVfwVzC9gnSBqiiNmZM= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.18/go.mod h1:Br6+bxfG33Dk3ynmkhsW2Z/t9D4+lRqdLDNCKi85w0U= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.3/go.mod h1:wlY6SVjuwvh3TVRpTqdy4I1JpBFLX4UGeKZdWntaocw= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25/go.mod h1:/95IA+0lMnzW6XzqYJRpjjsAbKEORVeO0anQqjd2CNU= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 h1:Xbwbmk44URTiHNx6PNo0ujDE6ERlsCKJD3u1zfnzAPg= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20/go.mod h1:oAfOFzUB14ltPZj1rWwRc3d/6OgD76R8KlvU3EqM9Fg= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.0/go.mod h1:bh2E0CXKZsQN+faiKVqC40vfNMAWheoULBCnEgO9K+8= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.16 h1:jg16PhLPUiHIj8zYIW6bqzeQSuHVEiWnGA0Brz5Xv2I= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.16/go.mod h1:Uyk1zE1VVdsHSU7096h/rwnXDzOzYQVl+FNPhPw7ShY= github.com/aws/aws-sdk-go-v2/service/kafka v1.37.1 h1:ilFPZJMg+zoMEtETfcB2clSMfzDHYt1wGOp9y/KVToc= @@ -419,22 +393,17 @@ github.com/aws/aws-sdk-go-v2/service/kms v1.35.5 h1:XUomV7SiclZl1QuXORdGcfFqHxEH github.com/aws/aws-sdk-go-v2/service/kms v1.35.5/go.mod h1:A5CS0VRmxxj2YKYLCY08l/Zzbd01m6JZn0WzxgT1OCA= github.com/aws/aws-sdk-go-v2/service/rds v1.84.0 h1:y7CROMOdAjkkijg+ClGBa2KnhL7oeOP0mmBFJMSCWPc= github.com/aws/aws-sdk-go-v2/service/rds v1.84.0/go.mod h1:lhiPj6RvoJHWG2STp+k5az55YqGgFLBzkKYdYHgUh9g= -github.com/aws/aws-sdk-go-v2/service/s3 v1.31.0/go.mod h1:ncltU6n4Nof5uJttDtcNQ537uNuwYqsZZQcpkd2/GUQ= github.com/aws/aws-sdk-go-v2/service/s3 v1.61.0 h1:Wb544Wh+xfSXqJ/j3R4aX9wrKUoZsJNmilBYZb3mKQ4= github.com/aws/aws-sdk-go-v2/service/s3 v1.61.0/go.mod h1:BSPI0EfnYUuNHPS0uqIo5VrRwzie+Fp+YhQOUs16sKI= github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.33.0 h1:r+37fBAonXAmRx2MX0naWDKZpAaP2AOQ22cf9Cg71GA= github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.33.0/go.mod h1:WyLS5qwXHtjKAONYZq/4ewdd+hcVsa3LBu77Ow5uj3k= -github.com/aws/aws-sdk-go-v2/service/sso v1.12.6/go.mod h1:Y1VOmit/Fn6Tz1uFAeCO6Q7M2fmfXSCLeL5INVYsLuY= github.com/aws/aws-sdk-go-v2/service/sso v1.22.5 h1:zCsFCKvbj25i7p1u94imVoO447I/sFv8qq+lGJhRN0c= github.com/aws/aws-sdk-go-v2/service/sso v1.22.5/go.mod h1:ZeDX1SnKsVlejeuz41GiajjZpRSWR7/42q/EyA/QEiM= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.6/go.mod h1:Lh/bc9XUf8CfOY6Jp5aIkQtN+j1mc+nExc+KXj9jx2s= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.5 h1:SKvPgvdvmiTWoi0GAJ7AsJfOz3ngVkD/ERbs5pUnHNI= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.5/go.mod h1:20sz31hv/WsPa3HhU3hfrIet2kxM4Pe0r20eBZ20Tac= -github.com/aws/aws-sdk-go-v2/service/sts v1.18.7/go.mod h1:JuTnSoeePXmMVe9G8NcjjwgOKEfZ4cOjMuT2IBT/2eI= github.com/aws/aws-sdk-go-v2/service/sts v1.30.5 h1:OMsEmCyz2i89XwRwPouAJvhj81wINh+4UK+k/0Yo/q8= github.com/aws/aws-sdk-go-v2/service/sts v1.30.5/go.mod h1:vmSqFK+BVIwVpDAGZB3CoCXHzurt4qBE8lf+I/kRTh0= github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= -github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/aws/smithy-go v1.21.0 h1:H7L8dtDRk0P1Qm6y0ji7MCYMQObJ5R9CRpyPhRUkLYA= github.com/aws/smithy-go v1.21.0/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= github.com/axiomhq/hyperloglog v0.0.0-20181223111420-4b99d0c2c99e h1:190ugM9MsyFauTkR/UqcHG/mn5nmFe6SvHJqEHIrtrA= @@ -534,7 +503,6 @@ github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XP github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= @@ -561,8 +529,6 @@ github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce h1:giXvy4KSc/6g/e github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce/go.mod h1:9/y3cnZ5GKakj/H4y9r9GTjCvAFta7KLgSHPJJYc52M= github.com/cockroachdb/go-test-teamcity v0.0.0-20191211140407-cff980ad0a55 h1:YqzBA7tf8Gv8Oz0BbBsPenqkyjiohS7EUIwi7p1QJCU= github.com/cockroachdb/go-test-teamcity v0.0.0-20191211140407-cff980ad0a55/go.mod h1:QqVqNIiRhLqJXif5C9wbM4JydBhrAF2WDMxkv5xkyxQ= -github.com/cockroachdb/gosnowflake v1.6.25 h1:hIBSZTKgXseLbibyoPi5pgDRC/7MhMla2Pk/MUFx96U= -github.com/cockroachdb/gosnowflake v1.6.25/go.mod h1:KfO4F7bk+aXPUIvBqYxvPhxLlu2/w4TtSC8Rw/yr5Mg= github.com/cockroachdb/gostdlib v1.19.0 h1:cSISxkVnTlWhTkyple/T6NXzOi5659FkhxvUgZv+Eb0= github.com/cockroachdb/gostdlib v1.19.0/go.mod h1:+dqqpARXbE/gRDEhCak6dm0l14AaTymPZUKMfURjBtY= github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= @@ -750,6 +716,7 @@ github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8l github.com/dgraph-io/badger v1.5.3/go.mod h1:VZxzAIRPHRVNRKRo6AXrX9BJegn6il06VMTZVJYCIjQ= github.com/dgraph-io/badger v1.6.0/go.mod h1:zwt7syl517jmP8s94KqSxTlM6IMsdhYy6psNgSztDR4= github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1/go.mod h1:+hnT3ywWDTAFrW5aE+u2Sa/wT555ZqwoCS+pk3p6ry4= github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ= @@ -770,7 +737,6 @@ github.com/djherbis/atime v1.0.0/go.mod h1:5W+KBIuTwVGcqjIfaTwt+KSYX1o6uep8dteve github.com/djherbis/atime v1.1.0 h1:rgwVbP/5by8BvvjBNrbh64Qz33idKT3pSnMSJsxhi0g= github.com/djherbis/atime v1.1.0/go.mod h1:28OF6Y8s3NQWwacXc5eZTsEsiMzp7LF8MbXE+XJPdBE= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= -github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/cli v20.10.14+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= @@ -793,10 +759,8 @@ github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNE github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= github.com/dvsekhvalnov/jose2go v1.6.0 h1:Y9gnSnP4qEI0+/uQkHvFXeD2PLPJeXEL+ySMEA2EjTY= github.com/dvsekhvalnov/jose2go v1.6.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= github.com/dvyukov/go-fuzz v0.0.0-20210103155950-6a8e9d1f2415/go.mod h1:11Gm+ccJnvAhCNLlf5+cS9KjtbaD5I5zaZpFMsTHWTw= @@ -833,7 +797,6 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.m github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= github.com/envoyproxy/go-control-plane v0.9.9/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= -github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.0.14/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.6.1/go.mod h1:txg5va2Qkip90uYoSKH+nkAAmXrb2j3iq4FLwdrCbXQ= @@ -853,11 +816,10 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= +github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8= github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/form3tech-oss/jwt-go v3.2.5+incompatible h1:/l4kBbb4/vGSsdtB5nUe8L7B9mImVMaBPw9L/0TBHU8= -github.com/form3tech-oss/jwt-go v3.2.5+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/foxcpp/go-mockdns v0.0.0-20201212160233-ede2f9158d15/go.mod h1:tPg4cp4nseejPd+UKxtCVQ2hUxNTZ7qQZJa7CLriIeo= @@ -872,8 +834,6 @@ github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4 github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= -github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= -github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= github.com/gavv/httpexpect v2.0.0+incompatible/go.mod h1:x+9tiU1YnrOvnB725RkpoLv1M62hOWzwo5OXotisrKc= github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= @@ -1060,9 +1020,8 @@ github.com/go-openapi/validate v0.20.1/go.mod h1:b60iJT+xNNLfaQJUqLI7946tYiFEOuE github.com/go-openapi/validate v0.20.2/go.mod h1:e7OJoKNgd0twXZwIn0A43tHbvIcr/rZIVCbJBpTUoY0= github.com/go-openapi/validate v0.23.0 h1:2l7PJLzCis4YUGEoW6eoQw3WhyM65WSIcjX6SQnlfDw= github.com/go-openapi/validate v0.23.0/go.mod h1:EeiAZ5bmpSIOJV1WLfyYF9qp/B1ZgSaEpHTJHtN5cbE= +github.com/go-pdf/fpdf v0.5.0 h1:GHpcYsiDV2hdo77VTOuTF9k1sN8F8IY7NjnCo9x+NPY= github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= -github.com/go-pdf/fpdf v0.6.0 h1:MlgtGIfsdMEEQJr2le6b/HNr1ZlQwxyWr77r2aj2U/8= -github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.12.1/go.mod h1:IUMDtCfWo/w/mtMfIE/IG2K+Ey3ygWanZIBtBW0W2TM= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= @@ -1106,8 +1065,6 @@ github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY9 github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= -github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= -github.com/goccy/go-json v0.10.0/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA= github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/gocql/gocql v0.0.0-20200228163523-cd4b606dd2fb/go.mod h1:DL0ekTmBSTdlNF25Orwt/JMzqIq3EJ4MVa/J/uK64OY= @@ -1211,9 +1168,8 @@ github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/flatbuffers v1.11.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/flatbuffers v2.0.0+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/flatbuffers v2.0.8+incompatible h1:ivUb1cGomAB101ZM1T0nOiWz9pSrTMoa9+EiY7igmkM= github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= -github.com/google/flatbuffers v23.1.21+incompatible h1:bUqzx/MXCDxuS0hRJL2EfjyZL3uQrPbMocUa8zGqsTA= -github.com/google/flatbuffers v23.1.21+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -1227,8 +1183,6 @@ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY= @@ -1282,7 +1236,6 @@ github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.5.0 h1:1p67kYwdtXjb0gL0BPiP1Av9wiZPo5A8z2cWkTZ+eyU= github.com/google/uuid v1.5.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -1587,14 +1540,13 @@ github.com/kataras/iris/v12 v12.1.8/go.mod h1:LMYy4VlP67TQ3Zgriz8RE2h2kMZV2SgMYb github.com/kataras/neffos v0.0.14/go.mod h1:8lqADm8PnbeFfL7CLXh1WHw53dG27MC3pgi2R1rmoTE= github.com/kataras/pio v0.0.2/go.mod h1:hAoW0t9UmXi4R5Oyq5Z4irTbaTsOemSrDGUtaTl7Dro= github.com/kataras/sitemap v0.0.5/go.mod h1:KY2eugMKiPwsJgx7+U103YZehfvNGOXURubcGyk0Bz8= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/go-bindata v3.13.0+incompatible h1:hThDhUBH4KjTyhfXfOgacEPfFBNjltnzl/xzfLfrPoQ= github.com/kevinburke/go-bindata v3.13.0+incompatible/go.mod h1:/pEEZ72flUW2p0yi30bslSp9YqD9pysLxunQDdb2CPM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/errcheck v1.7.1-0.20240702033320-b832de3f3c5a h1:cCXlZJ+36Cs8X74e/iNNSDmoGWBm4sMYzsjjMjcAhOE= -github.com/kisielk/errcheck v1.7.1-0.20240702033320-b832de3f3c5a/go.mod h1:1kLL+jV4e+CFfueBmI1dSK2ADDyQnlrnrY/FqKluHJQ= +github.com/kisielk/errcheck v1.7.0 h1:+SbscKmWJ5mOK/bO1zS60F5I9WwZDWOfRsC4RwfwRV0= +github.com/kisielk/errcheck v1.7.0/go.mod h1:1kLL+jV4e+CFfueBmI1dSK2ADDyQnlrnrY/FqKluHJQ= github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4= @@ -1609,8 +1561,6 @@ github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdY github.com/klauspost/compress v1.13.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= -github.com/klauspost/compress v1.15.15/go.mod h1:ZcK2JAFqKOpnBlxcLsJzYfrS9X1akm9fHZNnD9+Vo/4= github.com/klauspost/compress v1.17.8 h1:YcnTYrq7MikUT7k0Yb5eceMmALQPYBW/Xltxn0NAMnU= github.com/klauspost/compress v1.17.8/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= @@ -1620,9 +1570,8 @@ github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgo github.com/klauspost/cpuid v1.3.1/go.mod h1:bYW4mA6ZgKPob1/Dlai2LviZJO7KGI3uoWLd42rAQw4= github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.2.3 h1:sxCkb+qR91z4vsqw4vGGZlDgPz3G7gjaLyK3V8y70BU= -github.com/klauspost/cpuid/v2 v2.2.3/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/klauspost/pgzip v1.2.4/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= @@ -1761,7 +1710,6 @@ github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vq github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71ShQilpsus= github.com/mattn/go-sqlite3 v1.14.5/go.mod h1:WVKg1VTActs4Qso6iwGbiFih2UIHo0ENGwNd0Lj+XmI= -github.com/mattn/go-sqlite3 v1.14.15/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= github.com/mattn/go-zglob v0.0.2-0.20191112051448-a8912a37f9e7/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo= github.com/mattn/go-zglob v0.0.3 h1:6Ry4EYsScDyt5di4OI6xw1bYhOqfE5S33Z1OPy+d+To= @@ -2005,8 +1953,8 @@ github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9 github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 h1:Dx7Ovyv/SFnMFw3fD4oEoeorXc6saIiQ23LrGLth0Gw= -github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20211229010228-4d14c490ee36 h1:64bxqeTEN0/xoEqhKGowgihNuzISS9rEG6YUMU4bzJo= +github.com/petermattis/goid v0.0.0-20211229010228-4d14c490ee36/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= @@ -2017,8 +1965,6 @@ github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi github.com/pierrec/lz4 v2.4.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.5.2+incompatible h1:WCjObylUIOlKy/+7Abdn34TLIkXiA4UWUMhxq9m9ZXI= github.com/pierrec/lz4 v2.5.2+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= -github.com/pierrec/lz4/v4 v4.1.17/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pierrec/lz4/v4 v4.1.21 h1:yOVMLb6qSIDP67pl/5F7RepeKYu/VmTyEXvuMI5d9mQ= github.com/pierrec/lz4/v4 v4.1.21/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pierrre/compare v1.0.2 h1:k4IUsHgh+dbcAOIWCfxVa/7G6STjADH2qmhomv+1quc= @@ -2031,9 +1977,8 @@ github.com/pires/go-proxyproto v0.0.0-20191211124218-517ecdf5bb2b/go.mod h1:Odh9 github.com/pires/go-proxyproto v0.7.0 h1:IukmRewDQFWC7kfnb66CSomk2q/seBuilHBYFwyq0Hs= github.com/pires/go-proxyproto v0.7.0/go.mod h1:Vz/1JPY/OACxWGQNIRY2BeyDmpoaWmEP40O9LbuiFR4= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -2134,8 +2079,6 @@ github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqn github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= -github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= -github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= @@ -2226,6 +2169,8 @@ github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304/go.mod h1 github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/snowflakedb/gosnowflake v1.3.4 h1:Gyoi6g4lMHsilEwW9+KV+bgYkJTgf5pVfvL7Utus920= +github.com/snowflakedb/gosnowflake v1.3.4/go.mod h1:NsRq2QeiMUuoNUJhp5Q6xGC4uBrsS9g6LwZVEkTWgsE= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= @@ -2270,7 +2215,6 @@ github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/objx v0.3.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= @@ -2403,7 +2347,6 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/yusufpapurcu/wmi v1.2.2 h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg= github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= @@ -2568,11 +2511,8 @@ golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= -golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= @@ -2592,12 +2532,10 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= -golang.org/x/exp v0.0.0-20230206171751-46f607a40771/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= -golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678 h1:1P7xPZEwZMoBoz0Yze5Nx2/4pxj6nw9ZqHWXqP0iRgQ= -golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= +golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df h1:UA2aFVmmsIlefxMk29Dp2juaUSth8Pyn3Tq5Y5mJGME= +golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= +golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a h1:Jw5wfR+h9mnIYH+OtGT2im5wV1YGGDora5vTv/aa5bE= +golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= @@ -2608,10 +2546,8 @@ golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+o golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d h1:RNPAfi2nHY7C2srAV8A49jpsYr0ADedCk1wq6fTMTvs= golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20220302094943-723b81ca9867 h1:TcHcE0vrmgzNH1v3ppjcMGbhG5+9fMuvOmUYwNEF4q4= -golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -2635,9 +2571,7 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= @@ -2695,7 +2629,6 @@ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81R golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= @@ -2714,14 +2647,10 @@ golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20210903162142-ad29c8ab022f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210907225631-ff17edfbf26d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211008194852-3b03d305991f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= @@ -2882,7 +2811,6 @@ golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2894,24 +2822,18 @@ golang.org/x/sys v0.0.0-20210908143011-c212e7322662/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211013075003-97ac67df715c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220405210540-1e041c57c461/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220408201424-a24fb2fb8a0f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= @@ -2922,10 +2844,7 @@ golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9sn golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= @@ -2942,9 +2861,7 @@ golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= @@ -3035,7 +2952,6 @@ golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -3047,23 +2963,18 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= -golang.org/x/tools/go/vcs v0.1.0-deprecated h1:cOIJqWBl99H1dH5LWizPa+0ImeeJq3t3cJjaeOWUAL4= -golang.org/x/tools/go/vcs v0.1.0-deprecated/go.mod h1:zUrvATBAvEI9535oC0yWYsLsHIV4Z7g63sNPVMtuBy8= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= @@ -3079,9 +2990,8 @@ gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6d gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY= +gonum.org/v1/plot v0.10.0 h1:ymLukg4XJlQnYUJCp+coQq5M7BsUJFk6XQE4HPflwdw= gonum.org/v1/plot v0.10.0/go.mod h1:JWIHJ7U20drSQb/aDpTetJzfC1KlAPldJLpkSy88dvQ= -gonum.org/v1/plot v0.10.1 h1:dnifSs43YJuNMDzB7v8wV64O4ABBHReuAVAoBxqBqS4= -gonum.org/v1/plot v0.10.1/go.mod h1:VZW5OlhkL1mysU9vaqNHnsy86inf6Ot+jB3r+BczCEo= google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20170206182103-3d017632ea10/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= @@ -3238,7 +3148,6 @@ google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnD google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.41.0-dev.0.20210907181116-2f3355d2244e/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.56.3 h1:8I4C0Yq1EjstUzUJzpcRVbuYA2mODtEmpWiQoN/b2nc= google.golang.org/grpc v1.56.3/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= @@ -3318,9 +3227,8 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= -honnef.co/go/tools v0.5.1 h1:4bH5o3b5ZULQ4UrBmP+63W9r7qIkqJClEA9ko5YKx+I= -honnef.co/go/tools v0.5.1/go.mod h1:e9irvo83WDG9/irijV44wr3tbhcFeRnfpVlRqVwpzMs= +honnef.co/go/tools v0.4.5 h1:YGD4H+SuIOOqsyoLOpZDWcieM28W47/zRO7f+9V3nvo= +honnef.co/go/tools v0.4.5/go.mod h1:GUV+uIBCLpdf0/v6UhHHG/yzI/z6qPskBeQCjcNB96k= k8s.io/api v0.17.3/go.mod h1:YZ0OTkuw7ipbe305fMpIdf3GLXZKRigjtZaV5gzC2J0= k8s.io/api v0.17.5/go.mod h1:0zV5/ungglgy2Rlm3QK8fbxkXVs+BSJWpJP/+8gUVLY= k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= @@ -3372,57 +3280,11 @@ k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl k8s.io/utils v0.0.0-20200414100711-2df71ebbae66/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= -modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.37.0/go.mod h1:vtL+3mdHx/wcj3iEGz84rQa8vEqR6XM84v5Lcvfph20= -modernc.org/cc/v3 v3.40.0/go.mod h1:/bTg4dnWkSXowUO6ssQKnOV0yMVxDYNIsIrzqTFDGH0= -modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= -modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= -modernc.org/ccgo/v3 v3.0.0-20220904174949-82d86e1b6d56/go.mod h1:YSXjPL62P2AMSxBphRHPn7IkzhVHqkvOnRKAKh+W6ZI= -modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= -modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= -modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= -modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= -modernc.org/ccgo/v3 v3.16.13-0.20221017192402-261537637ce8/go.mod h1:fUB3Vn0nVPReA+7IG7yZDfjv1TMWjhQP8gCxrFAtL5g= -modernc.org/ccgo/v3 v3.16.13/go.mod h1:2Quk+5YgpImhPjv2Qsob1DnZ/4som1lJTodubIcoUkY= -modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= -modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= -modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= -modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A= -modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU= -modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= -modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= -modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= -modernc.org/libc v1.17.4/go.mod h1:WNg2ZH56rDEwdropAJeZPQkXmDwh+JCA1s/htl6r2fA= -modernc.org/libc v1.18.0/go.mod h1:vj6zehR5bfc98ipowQOM2nIDUZnVew/wNC/2tOGS+q0= -modernc.org/libc v1.20.3/go.mod h1:ZRfIaEkgrYgZDl6pa4W39HgN5G/yDW+NRmNKZBDFrk0= -modernc.org/libc v1.21.4/go.mod h1:przBsL5RDOZajTVslkugzLBj1evTue36jEomFQOoYuI= -modernc.org/libc v1.22.2/go.mod h1:uvQavJ1pZ0hIoC/jfqNoMLURIMhKzINIWypNM17puug= modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= -modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= -modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= -modernc.org/memory v1.3.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/memory v1.4.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/memory v1.5.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/sqlite v1.18.2/go.mod h1:kvrTLEWgxUcHa2GfHBQtanR1H9ht3hTJNtKpzH9k1u0= modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= -modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= -modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= -modernc.org/tcl v1.13.2/go.mod h1:7CLiGIPo1M8Rv1Mitpv5akc2+8fxUd2y2UzC/MfMzy0= -modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= -modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1 h1:k1MczvYDUvJBe93bYd7wrZLLUEcLZAuF824/I4e5Xr4= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/pkg/acceptance/compose/gss/psql/Dockerfile b/pkg/acceptance/compose/gss/psql/Dockerfile index b4d1728a2cac..e44e298460dd 100644 --- a/pkg/acceptance/compose/gss/psql/Dockerfile +++ b/pkg/acceptance/compose/gss/psql/Dockerfile @@ -1,5 +1,5 @@ # Build the test binary in a multistage build. -FROM golang:1.23 AS builder +FROM golang:1.22 AS builder WORKDIR /workspace COPY . . RUN go test -v -c -tags gss_compose -o gss.test diff --git a/pkg/build/engflow/BUILD.bazel b/pkg/build/engflow/BUILD.bazel index e800bb021259..df4d5a509283 100644 --- a/pkg/build/engflow/BUILD.bazel +++ b/pkg/build/engflow/BUILD.bazel @@ -11,7 +11,7 @@ go_library( "//pkg/build/util", "//pkg/cmd/bazci/githubpost", "//pkg/cmd/bazci/githubpost/issues", - "@com_github_golang_protobuf//proto", + "@com_github_golang_protobuf//proto:go_default_library", "@org_golang_x_net//http2", ], ) diff --git a/pkg/ccl/changefeedccl/BUILD.bazel b/pkg/ccl/changefeedccl/BUILD.bazel index 98367b131975..25daac9561b6 100644 --- a/pkg/ccl/changefeedccl/BUILD.bazel +++ b/pkg/ccl/changefeedccl/BUILD.bazel @@ -193,7 +193,7 @@ go_library( "@com_google_cloud_go_pubsub//apiv1/pubsubpb", "@org_golang_google_api//impersonate", "@org_golang_google_api//option", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//credentials/insecure", "@org_golang_google_grpc//status", @@ -375,7 +375,7 @@ go_test( "@com_google_cloud_go_pubsub//apiv1/pubsubpb", "@com_google_cloud_go_pubsub//pstest", "@org_golang_google_api//option", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//credentials/insecure", "@org_golang_x_text//collate", ], diff --git a/pkg/ccl/multiregionccl/BUILD.bazel b/pkg/ccl/multiregionccl/BUILD.bazel index 6d387ee2290f..d50d8fc4e5bd 100644 --- a/pkg/ccl/multiregionccl/BUILD.bazel +++ b/pkg/ccl/multiregionccl/BUILD.bazel @@ -117,6 +117,6 @@ go_test( "@com_github_jackc_pgx_v4//:pgx", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/ccl/sqlproxyccl/BUILD.bazel b/pkg/ccl/sqlproxyccl/BUILD.bazel index d6b7c8819a71..884ab5a6a99f 100644 --- a/pkg/ccl/sqlproxyccl/BUILD.bazel +++ b/pkg/ccl/sqlproxyccl/BUILD.bazel @@ -51,7 +51,7 @@ go_library( "@com_github_jackc_pgproto3_v2//:pgproto3", "@com_github_pires_go_proxyproto//:go-proxyproto", "@com_github_prometheus_common//expfmt", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//credentials/insecure", "@org_golang_google_grpc//status", diff --git a/pkg/ccl/sqlproxyccl/tenant/BUILD.bazel b/pkg/ccl/sqlproxyccl/tenant/BUILD.bazel index 3a5bf1d5be30..420b7b5abe3b 100644 --- a/pkg/ccl/sqlproxyccl/tenant/BUILD.bazel +++ b/pkg/ccl/sqlproxyccl/tenant/BUILD.bazel @@ -73,7 +73,7 @@ go_test( "//pkg/util/timeutil", "@com_github_cockroachdb_errors//:errors", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//status", ], diff --git a/pkg/ccl/sqlproxyccl/tenantdirsvr/BUILD.bazel b/pkg/ccl/sqlproxyccl/tenantdirsvr/BUILD.bazel index 264369fb0547..9b2d991a4891 100644 --- a/pkg/ccl/sqlproxyccl/tenantdirsvr/BUILD.bazel +++ b/pkg/ccl/sqlproxyccl/tenantdirsvr/BUILD.bazel @@ -24,7 +24,7 @@ go_library( "@com_github_cockroachdb_logtags//:logtags", "@com_github_gogo_status//:status", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//credentials/insecure", "@org_golang_google_grpc//status", diff --git a/pkg/cli/BUILD.bazel b/pkg/cli/BUILD.bazel index aacd740013b6..45d44298c1dc 100644 --- a/pkg/cli/BUILD.bazel +++ b/pkg/cli/BUILD.bazel @@ -266,7 +266,7 @@ go_library( "@com_google_cloud_go_storage//:storage", "@in_gopkg_yaml_v2//:yaml_v2", "@org_golang_google_api//option", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//status", "@org_golang_x_oauth2//google", @@ -305,15 +305,9 @@ go_library( "@io_bazel_rules_go//go/platform:openbsd": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@org_golang_x_sys//unix", ], diff --git a/pkg/cmd/bazci/BUILD.bazel b/pkg/cmd/bazci/BUILD.bazel index e7f9fd4bb9de..d8dcc425f578 100644 --- a/pkg/cmd/bazci/BUILD.bazel +++ b/pkg/cmd/bazci/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "@com_github_gogo_protobuf//types", "@com_github_spf13_cobra//:cobra", "@org_golang_google_genproto//googleapis/devtools/build/v1:build", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_protobuf//types/known/emptypb", ], ) diff --git a/pkg/cmd/dev/build.go b/pkg/cmd/dev/build.go index ced2cd8eb281..429ec7fb98e9 100644 --- a/pkg/cmd/dev/build.go +++ b/pkg/cmd/dev/build.go @@ -27,7 +27,7 @@ const ( crossFlag = "cross" cockroachTargetOss = "//pkg/cmd/cockroach-oss:cockroach-oss" cockroachTarget = "//pkg/cmd/cockroach:cockroach" - nogoDisableFlag = "--norun_validations" + nogoDisableFlag = "--//build/toolchains:nogo_disable_flag" geosTarget = "//c-deps:libgeos" devTarget = "//pkg/cmd/dev:dev" ) diff --git a/pkg/cmd/dev/doctor.go b/pkg/cmd/dev/doctor.go index f2f8756f45f0..a7f022cdae0b 100644 --- a/pkg/cmd/dev/doctor.go +++ b/pkg/cmd/dev/doctor.go @@ -291,15 +291,14 @@ Make sure one of the following lines is in the file %s/.bazelrc.user: { name: "nogo_configured", check: func(d *dev, ctx context.Context, cfg doctorConfig) string { - configured := d.checkUsingConfig(cfg.workspace, "lintonbuild") || - d.checkUsingConfig(cfg.workspace, "nolintonbuild") - if !configured { + err := d.exec.CommandContextInheritingStdStreams(ctx, "bazel", "build", "//build/bazelutil:test_nogo_configured") + if err != nil { return "Failed to run `bazel build //build/bazelutil:test_nogo_configured. " + ` This may be because you haven't configured whether to run lints during builds. Put EXACTLY ONE of the following lines in your .bazelrc.user: - build --config=lintonbuild + build --config lintonbuild OR - build --config=nolintonbuild + build --config nolintonbuild The former will run lint checks while you build. This will make incremental builds slightly slower and introduce a noticeable delay in first-time build setup.` } diff --git a/pkg/cmd/dev/lint.go b/pkg/cmd/dev/lint.go index 5f54d44bd5ab..b493c8cc4def 100644 --- a/pkg/cmd/dev/lint.go +++ b/pkg/cmd/dev/lint.go @@ -119,7 +119,7 @@ func (d *dev) lint(cmd *cobra.Command, commandLine []string) error { } if pkg != "" && filter == "" { toLint := strings.TrimPrefix(pkg, "./") - args := []string{"build", toLint, "--run_validations"} + args := []string{"build", toLint, "--//build/toolchains:nogo_flag"} if numCPUs != 0 { args = append(args, fmt.Sprintf("--local_cpu_resources=%d", numCPUs)) } @@ -132,7 +132,7 @@ func (d *dev) lint(cmd *cobra.Command, commandLine []string) error { "//pkg/cmd/dev", "//pkg/cmd/roachprod", "//pkg/cmd/roachtest", - "--run_validations", + "--//build/toolchains:nogo_flag", } if numCPUs != 0 { args = append(args, fmt.Sprintf("--local_cpu_resources=%d", numCPUs)) diff --git a/pkg/cmd/dev/testdata/recorderdriven/lint b/pkg/cmd/dev/testdata/recorderdriven/lint index dc43180b30b7..f8cda1754059 100644 --- a/pkg/cmd/dev/testdata/recorderdriven/lint +++ b/pkg/cmd/dev/testdata/recorderdriven/lint @@ -8,4 +8,4 @@ bazel info workspace --color=no bazel run //pkg/cmd/generate-cgo:generate-cgo '--run_under=cd crdb-checkout && ' which cc bazel test //pkg/testutils/lint:lint_test --nocache_test_results --test_arg -test.v --test_env=COCKROACH_WORKSPACE=crdb-checkout --test_env=HOME=/home/user --sandbox_writable_path=/home/user --test_output streamed --test_env=GO_SDK=/path/to/go/sdk --test_env=CC=/usr/bin/cc --test_env=CXX=/usr/bin/cc -bazel build //pkg/cmd/cockroach-short //pkg/cmd/dev //pkg/cmd/roachprod //pkg/cmd/roachtest --run_validations +bazel build //pkg/cmd/cockroach-short //pkg/cmd/dev //pkg/cmd/roachprod //pkg/cmd/roachtest --//build/toolchains:nogo_flag diff --git a/pkg/cmd/dev/testdata/recorderdriven/lint.rec b/pkg/cmd/dev/testdata/recorderdriven/lint.rec index 96641f0258c2..65aa7f05c362 100644 --- a/pkg/cmd/dev/testdata/recorderdriven/lint.rec +++ b/pkg/cmd/dev/testdata/recorderdriven/lint.rec @@ -19,5 +19,5 @@ which cc bazel test //pkg/testutils/lint:lint_test --nocache_test_results --test_arg -test.v --test_env=COCKROACH_WORKSPACE=crdb-checkout --test_env=HOME=/home/user --sandbox_writable_path=/home/user --test_output streamed --test_env=GO_SDK=/path/to/go/sdk --test_env=CC=/usr/bin/cc --test_env=CXX=/usr/bin/cc ---- -bazel build //pkg/cmd/cockroach-short //pkg/cmd/dev //pkg/cmd/roachprod //pkg/cmd/roachtest --run_validations +bazel build //pkg/cmd/cockroach-short //pkg/cmd/dev //pkg/cmd/roachprod //pkg/cmd/roachtest --//build/toolchains:nogo_flag ---- diff --git a/pkg/cmd/import-tools/main.go b/pkg/cmd/import-tools/main.go index 30c16812b936..9911e69156d6 100644 --- a/pkg/cmd/import-tools/main.go +++ b/pkg/cmd/import-tools/main.go @@ -37,7 +37,6 @@ import ( _ "golang.org/x/perf/cmd/benchstat" _ "golang.org/x/tools/cmd/goyacc" _ "golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow" - _ "golang.org/x/tools/go/vcs" _ "honnef.co/go/tools/cmd/staticcheck" ) diff --git a/pkg/cmd/roachprod/docker/Dockerfile b/pkg/cmd/roachprod/docker/Dockerfile index 286a30e4aefe..a7e63a59d45d 100644 --- a/pkg/cmd/roachprod/docker/Dockerfile +++ b/pkg/cmd/roachprod/docker/Dockerfile @@ -12,7 +12,7 @@ RUN bazel build --config=crosslinux //pkg/cmd/roachprod:roachprod # Copy the roachprod binary to a stable location RUN cp $(bazel info bazel-bin --config=crosslinux)/pkg/cmd/roachprod/roachprod_/roachprod ./ -FROM golang:1.23 +FROM golang:1.22 COPY entrypoint.sh build.sh /build/ RUN ["/build/build.sh"] COPY --from=builder /build/roachprod /usr/local/bin/roachprod diff --git a/pkg/cmd/roachtest/tests/cdc.go b/pkg/cmd/roachtest/tests/cdc.go index c703c8d17445..d1e61346a550 100644 --- a/pkg/cmd/roachtest/tests/cdc.go +++ b/pkg/cmd/roachtest/tests/cdc.go @@ -3766,7 +3766,7 @@ const createMSKTopicBinPath = "/tmp/create-msk-topic" var setupMskTopicScript = fmt.Sprintf(` #!/bin/bash set -e -o pipefail -wget https://go.dev/dl/go1.23.2.linux-amd64.tar.gz -O /tmp/go.tar.gz +wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz -O /tmp/go.tar.gz sudo rm -rf /usr/local/go sudo tar -C /usr/local -xzf /tmp/go.tar.gz echo export PATH=$PATH:/usr/local/go/bin >> ~/.profile diff --git a/pkg/geo/geos/BUILD.bazel b/pkg/geo/geos/BUILD.bazel index cea737e1e7c6..dc7b13351fff 100644 --- a/pkg/geo/geos/BUILD.bazel +++ b/pkg/geo/geos/BUILD.bazel @@ -42,15 +42,9 @@ go_library( "@io_bazel_rules_go//go/platform:openbsd": [ "-ldl -lm", ], - "@io_bazel_rules_go//go/platform:osx": [ - "-ldl -lm", - ], "@io_bazel_rules_go//go/platform:plan9": [ "-ldl -lm", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "-ldl -lm", - ], "@io_bazel_rules_go//go/platform:solaris": [ "-ldl -lm", ], diff --git a/pkg/gossip/BUILD.bazel b/pkg/gossip/BUILD.bazel index 608dd414443c..572048dd8805 100644 --- a/pkg/gossip/BUILD.bazel +++ b/pkg/gossip/BUILD.bazel @@ -86,7 +86,7 @@ go_test( "//pkg/util/uuid", "@com_github_cockroachdb_errors//:errors", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/gossip/simulation/BUILD.bazel b/pkg/gossip/simulation/BUILD.bazel index 9a84c2ce9214..76c75e8adf3e 100644 --- a/pkg/gossip/simulation/BUILD.bazel +++ b/pkg/gossip/simulation/BUILD.bazel @@ -17,6 +17,6 @@ go_library( "//pkg/util/netutil", "//pkg/util/stop", "//pkg/util/uuid", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/kv/kvclient/kvcoord/BUILD.bazel b/pkg/kv/kvclient/kvcoord/BUILD.bazel index 5cb3ba3d42a5..54ec02522033 100644 --- a/pkg/kv/kvclient/kvcoord/BUILD.bazel +++ b/pkg/kv/kvclient/kvcoord/BUILD.bazel @@ -239,7 +239,7 @@ go_test( "@com_github_sasha_s_go_deadlock//:go-deadlock", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//status", "@org_golang_x_sync//errgroup", diff --git a/pkg/kv/kvclient/kvtenant/BUILD.bazel b/pkg/kv/kvclient/kvtenant/BUILD.bazel index 61e106e08204..96bed8c6b5fc 100644 --- a/pkg/kv/kvclient/kvtenant/BUILD.bazel +++ b/pkg/kv/kvclient/kvtenant/BUILD.bazel @@ -46,7 +46,7 @@ go_library( "//pkg/util/uuid", "@com_github_cockroachdb_errors//:errors", "@com_github_cockroachdb_errors//errorspb", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//status", ], diff --git a/pkg/kv/kvpb/BUILD.bazel b/pkg/kv/kvpb/BUILD.bazel index 6be0090e411f..07c52028fc66 100644 --- a/pkg/kv/kvpb/BUILD.bazel +++ b/pkg/kv/kvpb/BUILD.bazel @@ -81,7 +81,7 @@ go_test( "@com_github_cockroachdb_errors//:errors", "@com_github_cockroachdb_redact//:redact", "@com_github_gogo_protobuf//proto", - "@com_github_golang_protobuf//proto", + "@com_github_golang_protobuf//proto:go_default_library", "@com_github_kr_pretty//:pretty", "@com_github_stretchr_testify//require", "@org_golang_google_grpc//codes", diff --git a/pkg/kv/kvserver/BUILD.bazel b/pkg/kv/kvserver/BUILD.bazel index 61f2bda93ca7..7b0aefce0c94 100644 --- a/pkg/kv/kvserver/BUILD.bazel +++ b/pkg/kv/kvserver/BUILD.bazel @@ -249,7 +249,7 @@ go_library( "@com_github_prometheus_client_golang//prometheus", "@com_github_prometheus_client_model//go", "@io_opentelemetry_go_otel//attribute", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_x_time//rate", ], ) @@ -550,7 +550,7 @@ go_test( "@com_github_prometheus_common//expfmt", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//metadata", "@org_golang_x_sync//errgroup", "@org_golang_x_sync//syncmap", diff --git a/pkg/kv/kvserver/closedts/sidetransport/BUILD.bazel b/pkg/kv/kvserver/closedts/sidetransport/BUILD.bazel index 7e891ce47049..e94e7fcfe24f 100644 --- a/pkg/kv/kvserver/closedts/sidetransport/BUILD.bazel +++ b/pkg/kv/kvserver/closedts/sidetransport/BUILD.bazel @@ -28,7 +28,7 @@ go_library( "//pkg/util/syncutil", "//pkg/util/timeutil", "@com_github_cockroachdb_errors//:errors", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) @@ -55,7 +55,7 @@ go_test( "//pkg/util/syncutil", "@com_github_cockroachdb_errors//:errors", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/kv/kvserver/loqrecovery/BUILD.bazel b/pkg/kv/kvserver/loqrecovery/BUILD.bazel index b381ad7875c4..83e91343a339 100644 --- a/pkg/kv/kvserver/loqrecovery/BUILD.bazel +++ b/pkg/kv/kvserver/loqrecovery/BUILD.bazel @@ -51,7 +51,7 @@ go_library( "@com_github_cockroachdb_errors//:errors", "@com_github_cockroachdb_pebble//vfs", "@com_github_cockroachdb_redact//:redact", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_x_sync//errgroup", ], ) diff --git a/pkg/kv/kvserver/replica_application_result_test.go b/pkg/kv/kvserver/replica_application_result_test.go index dbc8cb530684..c5f2dfc996b4 100644 --- a/pkg/kv/kvserver/replica_application_result_test.go +++ b/pkg/kv/kvserver/replica_application_result_test.go @@ -38,7 +38,7 @@ func makeProposalData() *ProposalData { } return &ProposalData{ - ctx: context.WithValue(context.Background(), &contextKeyPtr, "nonempty-ctx"), + ctx: context.WithValue(context.Background(), struct{}{}, "nonempty-ctx"), sp: &tracing.Span{}, idKey: "deadbeef", proposedAtTicks: 1, @@ -119,7 +119,3 @@ func TestReplicaMakeReproposalChaininig(t *testing.T) { _, _ = reproposal, onSuccess // No onSuccess call, assume the proposal failed. verify() } - -type contextKey struct{} - -var contextKeyPtr contextKey diff --git a/pkg/kv/kvserver/storeliveness/BUILD.bazel b/pkg/kv/kvserver/storeliveness/BUILD.bazel index 1f1d044157d1..85569d64e197 100644 --- a/pkg/kv/kvserver/storeliveness/BUILD.bazel +++ b/pkg/kv/kvserver/storeliveness/BUILD.bazel @@ -32,7 +32,7 @@ go_library( "//pkg/util/syncutil", "//pkg/util/timeutil", "@com_github_cockroachdb_errors//:errors", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_x_exp//maps", ], ) diff --git a/pkg/rpc/BUILD.bazel b/pkg/rpc/BUILD.bazel index 9e4fc352c5a0..720d91a88167 100644 --- a/pkg/rpc/BUILD.bazel +++ b/pkg/rpc/BUILD.bazel @@ -67,12 +67,12 @@ go_library( "@com_github_cockroachdb_logtags//:logtags", "@com_github_cockroachdb_redact//:redact", "@com_github_gogo_protobuf//proto", - "@com_github_golang_protobuf//proto", + "@com_github_golang_protobuf//proto:go_default_library", "@com_github_golang_snappy//:snappy", "@com_github_montanaflynn_stats//:stats", "@com_github_vividcortex_ewma//:ewma", "@io_opentelemetry_go_otel//attribute", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//backoff", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//connectivity", @@ -166,7 +166,7 @@ go_test( "@com_github_prometheus_client_model//go", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//credentials", "@org_golang_google_grpc//health/grpc_health_v1", diff --git a/pkg/rpc/auth_test.go b/pkg/rpc/auth_test.go index bebbbf720e65..7352b2f3d495 100644 --- a/pkg/rpc/auth_test.go +++ b/pkg/rpc/auth_test.go @@ -60,7 +60,7 @@ func (s *mockServerStream) RecvMsg(m interface{}) error { func TestWrappedServerStream(t *testing.T) { defer leaktest.AfterTest(t)() ss := mockServerStream{1, 2, 3} - ctx := context.WithValue(context.Background(), &contextKeyPtr, "v") + ctx := context.WithValue(context.Background(), struct{}{}, "v") var recv int wrappedI := rpc.TestingNewWrappedServerStream(ctx, &ss, func(m interface{}) error { @@ -1162,7 +1162,3 @@ func (m mockAuthorizer) HasNodelocalStorageCapability( func (m mockAuthorizer) IsExemptFromRateLimiting(context.Context, roachpb.TenantID) bool { return m.hasExemptFromRateLimiterCapability } - -type contextKey struct{} - -var contextKeyPtr contextKey diff --git a/pkg/rpc/nodedialer/BUILD.bazel b/pkg/rpc/nodedialer/BUILD.bazel index 192eb71c9512..06920cf87620 100644 --- a/pkg/rpc/nodedialer/BUILD.bazel +++ b/pkg/rpc/nodedialer/BUILD.bazel @@ -16,7 +16,7 @@ go_library( "//pkg/util/stop", "//pkg/util/tracing", "@com_github_cockroachdb_errors//:errors", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) @@ -43,7 +43,7 @@ go_test( "@com_github_cockroachdb_errors//:errors", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", ], ) diff --git a/pkg/security/BUILD.bazel b/pkg/security/BUILD.bazel index c539cdde3c52..63180074edaa 100644 --- a/pkg/security/BUILD.bazel +++ b/pkg/security/BUILD.bazel @@ -165,21 +165,11 @@ go_test( "@com_github_prometheus_client_model//go", "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:osx": [ - "//pkg/util/log/eventpb", - "@com_github_prometheus_client_model//go", - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:plan9": [ "//pkg/util/log/eventpb", "@com_github_prometheus_client_model//go", "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "//pkg/util/log/eventpb", - "@com_github_prometheus_client_model//go", - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:solaris": [ "//pkg/util/log/eventpb", "@com_github_prometheus_client_model//go", diff --git a/pkg/server/BUILD.bazel b/pkg/server/BUILD.bazel index d56edb16b426..d98c78705fb7 100644 --- a/pkg/server/BUILD.bazel +++ b/pkg/server/BUILD.bazel @@ -364,7 +364,7 @@ go_library( "@com_github_pires_go_proxyproto//:go-proxyproto", "@com_github_prometheus_common//expfmt", "@in_gopkg_yaml_v2//:yaml_v2", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//metadata", "@org_golang_google_grpc//status", @@ -402,15 +402,9 @@ go_library( "@io_bazel_rules_go//go/platform:openbsd": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@org_golang_x_sys//unix", ], @@ -594,7 +588,7 @@ go_test( "@com_github_stretchr_testify//require", "@in_gopkg_yaml_v2//:yaml_v2", "@io_opentelemetry_go_otel//attribute", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//metadata", "@org_golang_google_grpc//status", diff --git a/pkg/server/authserver/BUILD.bazel b/pkg/server/authserver/BUILD.bazel index 9819cec8133e..4ea101ccffa8 100644 --- a/pkg/server/authserver/BUILD.bazel +++ b/pkg/server/authserver/BUILD.bazel @@ -43,7 +43,7 @@ go_library( "@com_github_cockroachdb_errors//:errors", "@com_github_cockroachdb_logtags//:logtags", "@com_github_grpc_ecosystem_grpc_gateway//runtime:go_default_library", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//metadata", "@org_golang_google_grpc//status", @@ -93,7 +93,7 @@ go_test( "@com_github_gogo_protobuf//jsonpb", "@com_github_lib_pq//:pq", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//credentials", "@org_golang_x_crypto//bcrypt", ], diff --git a/pkg/server/server.go b/pkg/server/server.go index 9e12620b7ab4..15680cc6a608 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -589,11 +589,9 @@ func NewServer(cfg Config, stopper *stop.Stopper) (serverctl.ServerStartupInterf db.SQLKVResponseAdmissionQ = gcoords.Regular.GetWorkQueue(admission.SQLKVResponseWork) db.AdmissionPacerFactory = gcoords.Elastic cbID := goschedstats.RegisterRunnableCountCallback(gcoords.Regular.CPULoad) - if cbID >= 0 { - stopper.AddCloser(stop.CloserFn(func() { - goschedstats.UnregisterRunnableCountCallback(cbID) - })) - } + stopper.AddCloser(stop.CloserFn(func() { + goschedstats.UnregisterRunnableCountCallback(cbID) + })) stopper.AddCloser(gcoords) var admissionControl struct { diff --git a/pkg/server/serverpb/BUILD.bazel b/pkg/server/serverpb/BUILD.bazel index dec568961239..31386ec18d2e 100644 --- a/pkg/server/serverpb/BUILD.bazel +++ b/pkg/server/serverpb/BUILD.bazel @@ -112,7 +112,7 @@ go_library( "//pkg/util/errorutil", "//pkg/util/metric", "@com_github_prometheus_client_model//go", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/server/status/BUILD.bazel b/pkg/server/status/BUILD.bazel index 0adb5c00f88e..a09827dcb031 100644 --- a/pkg/server/status/BUILD.bazel +++ b/pkg/server/status/BUILD.bazel @@ -112,15 +112,9 @@ go_library( "@io_bazel_rules_go//go/platform:openbsd": [ "@com_github_shirou_gopsutil_v3//disk", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@com_github_shirou_gopsutil_v3//disk", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@com_github_shirou_gopsutil_v3//disk", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@com_github_shirou_gopsutil_v3//disk", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@com_github_shirou_gopsutil_v3//disk", ], diff --git a/pkg/server/tcp_keepalive_manager.go b/pkg/server/tcp_keepalive_manager.go index b318e0d552d8..a77e5869b5b7 100644 --- a/pkg/server/tcp_keepalive_manager.go +++ b/pkg/server/tcp_keepalive_manager.go @@ -15,6 +15,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/settings" "github.com/cockroachdb/cockroach/pkg/settings/cluster" "github.com/cockroachdb/cockroach/pkg/util/log" + "github.com/cockroachdb/cockroach/pkg/util/sysutil" ) var KeepAliveProbeCount = settings.RegisterIntSetting( @@ -61,21 +62,27 @@ func (k *tcpKeepAliveManager) configure(ctx context.Context, conn net.Conn) { // Only log success/failure once. doLog := atomic.CompareAndSwapInt32(&k.loggedKeepAliveStatus, 0, 1) + if err := tcpConn.SetKeepAlive(true); err != nil { + if doLog { + log.Ops.Warningf(ctx, "failed to enable TCP keep-alive for pgwire: %v", err) + } + return + + } // Based on the maximum connection life span and probe interval, pick a maximum // probe count. probeCount := KeepAliveProbeCount.Get(&k.settings.SV) probeFrequency := KeepAliveProbeFrequency.Get(&k.settings.SV) - err := tcpConn.SetKeepAliveConfig(net.KeepAliveConfig{ - Enable: true, - Idle: probeFrequency, - Interval: probeFrequency, - Count: int(probeCount), - }) + if err := sysutil.SetKeepAliveCount(tcpConn, int(probeCount)); err != nil { + if doLog { + log.Ops.Warningf(ctx, "failed to set TCP keep-alive probe count for pgwire: %v", err) + } + } - if err != nil { + if err := tcpConn.SetKeepAlivePeriod(probeFrequency); err != nil { if doLog { - log.Ops.Warningf(ctx, "failed to configure TCP keep-alive for pgwire: %v", err) + log.Ops.Warningf(ctx, "failed to set TCP keep-alive duration for pgwire: %v", err) } return } diff --git a/pkg/sql/colflow/colrpc/BUILD.bazel b/pkg/sql/colflow/colrpc/BUILD.bazel index 5675052a381f..0df705aac5a6 100644 --- a/pkg/sql/colflow/colrpc/BUILD.bazel +++ b/pkg/sql/colflow/colrpc/BUILD.bazel @@ -75,6 +75,6 @@ go_test( "@com_github_cockroachdb_errors//:errors", "@com_github_cockroachdb_logtags//:logtags", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/sql/descriptor_mutation_test.go b/pkg/sql/descriptor_mutation_test.go index 4d49c31e2146..bb226e67d164 100644 --- a/pkg/sql/descriptor_mutation_test.go +++ b/pkg/sql/descriptor_mutation_test.go @@ -65,7 +65,7 @@ func (mt mutationTest) checkTableSize(e int) { // and write the updated table descriptor to the DB. func (mt mutationTest) makeMutationsActive(ctx context.Context) { // Remove mutation to check real values in DB using SQL - if len(mt.tableDesc.Mutations) == 0 { + if mt.tableDesc.Mutations == nil || len(mt.tableDesc.Mutations) == 0 { mt.Fatal("No mutations to make active") } for _, m := range mt.tableDesc.Mutations { diff --git a/pkg/sql/drop_sequence.go b/pkg/sql/drop_sequence.go index b87f6268b60f..9ed8f391dbb3 100644 --- a/pkg/sql/drop_sequence.go +++ b/pkg/sql/drop_sequence.go @@ -260,7 +260,7 @@ func dropDependentOnSequence(ctx context.Context, p *planner, seqDesc *tabledesc continue } - if len(dependent.ColumnIDs) > 0 { + if dependent.ColumnIDs != nil && len(dependent.ColumnIDs) > 0 { // If we reach here, it means this sequence is depended on by a column in `t` // in its default expression. Remove that column's default expression. err = dropDefaultExprInDepColsOnSeq(ctx, p, t, seqDesc.Name, dependent.ColumnIDs) diff --git a/pkg/sql/execinfra/BUILD.bazel b/pkg/sql/execinfra/BUILD.bazel index 91e40c9c244b..9dade23dac90 100644 --- a/pkg/sql/execinfra/BUILD.bazel +++ b/pkg/sql/execinfra/BUILD.bazel @@ -79,7 +79,7 @@ go_library( "@com_github_cockroachdb_redact//:redact", "@com_github_marusama_semaphore//:semaphore", "@io_opentelemetry_go_otel//attribute", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/sql/flowinfra/BUILD.bazel b/pkg/sql/flowinfra/BUILD.bazel index 7238e5471e43..4b35f4e6dfd7 100644 --- a/pkg/sql/flowinfra/BUILD.bazel +++ b/pkg/sql/flowinfra/BUILD.bazel @@ -57,7 +57,7 @@ go_library( "@com_github_cockroachdb_redact//:redact", "@com_github_gogo_protobuf//proto", "@io_opentelemetry_go_otel//attribute", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/sql/pgwire/identmap/ident_map.go b/pkg/sql/pgwire/identmap/ident_map.go index 0be06a558165..f3f298c70ee3 100644 --- a/pkg/sql/pgwire/identmap/ident_map.go +++ b/pkg/sql/pgwire/identmap/ident_map.go @@ -120,7 +120,7 @@ func From(r io.Reader) (*Conf, error) { // Empty returns true if no mappings have been defined. func (c *Conf) Empty() bool { - return len(c.data) == 0 + return c.data == nil || len(c.data) == 0 } // Map returns the database usernames that a system identity maps to diff --git a/pkg/sql/rowexec/processors_test.go b/pkg/sql/rowexec/processors_test.go index 2cad0f11b64a..a0d27345cc2e 100644 --- a/pkg/sql/rowexec/processors_test.go +++ b/pkg/sql/rowexec/processors_test.go @@ -317,7 +317,7 @@ func TestProcessorBaseContext(t *testing.T) { defer log.Scope(t).Close(t) // Use a custom context to distinguish it from the background one. - ctx := context.WithValue(context.Background(), &contextKeyPtr, struct{}{}) + ctx := context.WithValue(context.Background(), struct{}{}, struct{}{}) st := cluster.MakeTestingClusterSettings() runTest := func(t *testing.T, f func(noop *noopProcessor)) { @@ -933,7 +933,3 @@ func testReaderProcessorDrain( } }) } - -type contextKey struct{} - -var contextKeyPtr contextKey diff --git a/pkg/sql/schemachanger/rel/query_data.go b/pkg/sql/schemachanger/rel/query_data.go index 42ff9f4dccb3..f652f8ef8d9f 100644 --- a/pkg/sql/schemachanger/rel/query_data.go +++ b/pkg/sql/schemachanger/rel/query_data.go @@ -63,7 +63,7 @@ func (tv typedValue) toValue() reflect.Value { } return reflect.ValueOf(tv.value).Convert(tv.typ) } - return reflect.ValueOf(tv.value).Convert(reflect.PointerTo(tv.typ)).Elem() + return reflect.ValueOf(tv.value).Convert(reflect.PtrTo(tv.typ)).Elem() } func (tv typedValue) toInterface() interface{} { diff --git a/pkg/sql/schemachanger/rel/schema.go b/pkg/sql/schemachanger/rel/schema.go index 198df15e91d7..bd51a7e6e15f 100644 --- a/pkg/sql/schemachanger/rel/schema.go +++ b/pkg/sql/schemachanger/rel/schema.go @@ -426,7 +426,7 @@ func (sb *schemaBuilder) addTypeAttrMapping( } else if !f.isSlice() { compType := getComparableType(typ) if f.isPtr() && f.isScalar() { - compType = reflect.PointerTo(compType) + compType = reflect.PtrTo(compType) } vg := makeValueGetter(compType, offset) if f.isPtr() && f.isScalar() { @@ -521,5 +521,5 @@ func makeSliceMemberType(srcType, sliceType reflect.Type, valueFieldName string) Name: valueFieldName, Type: sliceType.Elem(), }, } - return reflect.PointerTo(reflect.StructOf(fields[:])) + return reflect.PtrTo(reflect.StructOf(fields[:])) } diff --git a/pkg/sql/schemachanger/rel/schema_value.go b/pkg/sql/schemachanger/rel/schema_value.go index a9dfce9bfe22..346a54660924 100644 --- a/pkg/sql/schemachanger/rel/schema_value.go +++ b/pkg/sql/schemachanger/rel/schema_value.go @@ -36,7 +36,7 @@ func makeComparableValue(val interface{}) (typedValue, error) { vvNew.Elem().Set(vv) return typedValue{ typ: vv.Type(), - value: vvNew.Convert(reflect.PointerTo(compType)).Interface(), + value: vvNew.Convert(reflect.PtrTo(compType)).Interface(), }, nil case typ.Kind() == reflect.Ptr: switch { @@ -44,7 +44,7 @@ func makeComparableValue(val interface{}) (typedValue, error) { compType := getComparableType(typ.Elem()) return typedValue{ typ: vv.Type().Elem(), - value: vv.Convert(reflect.PointerTo(compType)).Interface(), + value: vv.Convert(reflect.PtrTo(compType)).Interface(), }, nil case typ.Elem().Kind() == reflect.Struct: return typedValue{ diff --git a/pkg/testutils/lint/passes/errcmp/errcmp.go b/pkg/testutils/lint/passes/errcmp/errcmp.go index e548287294dc..2855dc1fcbfd 100644 --- a/pkg/testutils/lint/passes/errcmp/errcmp.go +++ b/pkg/testutils/lint/passes/errcmp/errcmp.go @@ -102,7 +102,6 @@ Alternatives: func isEOFError(e ast.Expr) bool { if s, ok := e.(*ast.SelectorExpr); ok { - //lint:ignore SA1019 Need to replace use of ast.Object (#132181) if io, ok := s.X.(*ast.Ident); ok && io.Name == "io" && io.Obj == (*ast.Object)(nil) { if s.Sel.Name == "EOF" || s.Sel.Name == "ErrUnexpectedEOF" { return true diff --git a/pkg/testutils/serverutils/BUILD.bazel b/pkg/testutils/serverutils/BUILD.bazel index 1358e0f66545..ef96f0939e41 100644 --- a/pkg/testutils/serverutils/BUILD.bazel +++ b/pkg/testutils/serverutils/BUILD.bazel @@ -50,7 +50,7 @@ go_library( "//pkg/util/tracing", "//pkg/util/uuid", "@com_github_cockroachdb_errors//:errors", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/ts/BUILD.bazel b/pkg/ts/BUILD.bazel index 90782afeb68e..323c2f43948f 100644 --- a/pkg/ts/BUILD.bazel +++ b/pkg/ts/BUILD.bazel @@ -42,7 +42,7 @@ go_library( "@com_github_cockroachdb_errors//:errors", "@com_github_cockroachdb_redact//:redact", "@com_github_grpc_ecosystem_grpc_gateway//runtime:go_default_library", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes", "@org_golang_google_grpc//status", ], diff --git a/pkg/upgrade/upgradecluster/BUILD.bazel b/pkg/upgrade/upgradecluster/BUILD.bazel index ad8fb9e5f149..677b86158d08 100644 --- a/pkg/upgrade/upgradecluster/BUILD.bazel +++ b/pkg/upgrade/upgradecluster/BUILD.bazel @@ -26,7 +26,7 @@ go_library( "//pkg/util/retry", "@com_github_cockroachdb_errors//:errors", "@com_github_cockroachdb_redact//:redact", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) @@ -53,6 +53,6 @@ go_test( "//pkg/util/leaktest", "//pkg/util/retry", "//pkg/util/syncutil", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/util/ctxutil/BUILD.bazel b/pkg/util/ctxutil/BUILD.bazel index 07cb0158bd08..339a42d3079a 100644 --- a/pkg/util/ctxutil/BUILD.bazel +++ b/pkg/util/ctxutil/BUILD.bazel @@ -6,7 +6,6 @@ go_library( "canceler_1_20.go", "canceler_1_21_bazel.go", "context.go", - "context_linkname.go", "doc.go", ], importpath = "github.com/cockroachdb/cockroach/pkg/util/ctxutil", @@ -20,10 +19,7 @@ go_library( go_test( name = "ctxutil_test", - srcs = [ - "context_linkname_test.go", - "context_test.go", - ], + srcs = ["context_test.go"], embed = [":ctxutil"], deps = [ "//pkg/util/leaktest", diff --git a/pkg/util/ctxutil/context.go b/pkg/util/ctxutil/context.go index 3461c957b038..63eaf3a2daf7 100644 --- a/pkg/util/ctxutil/context.go +++ b/pkg/util/ctxutil/context.go @@ -5,5 +5,75 @@ package ctxutil +import ( + "context" + _ "unsafe" // Must import unsafe to enable linkname. + + "github.com/cockroachdb/cockroach/pkg/util/buildutil" + "github.com/cockroachdb/cockroach/pkg/util/log" +) + // WhenDoneFunc is the callback invoked by context when it becomes done. type WhenDoneFunc func() + +// WhenDone arranges for the specified function to be invoked when +// parent context becomes done and returns true. +// If the context is non-cancellable (i.e. `Done() == nil`), returns false and +// never calls the function. +// If the parent context is derived from context.WithCancel or +// context.WithTimeout/Deadline, then no additional goroutines are created. +// Otherwise, a goroutine is spun up by context.Context to detect +// parent cancellation. +// +// Please be careful when using this function on the parent context +// that may already be done. In particular, be mindful of the dangers of +// the done function acquiring locks: +// +// func bad(ctx context.Context) { +// var l syncutil.Mutex +// l.Lock() +// defer l.Unlock() +// ctxutil.WhenDone(ctx, func() { +// l.Lock() // <-- Deadlock if ctx is already done. +// }) +// return +// } +func WhenDone(parent context.Context, done WhenDoneFunc) bool { + if parent.Done() == nil { + return false + } + + // All contexts that complete (ctx.Done() != nil) used in cockroach should + // support direct cancellation detection, since they should be derived from + // one of the standard context.Context. + // But, be safe and loudly fail tests in case somebody introduces strange + // context implementation. + if buildutil.CrdbTestBuild && !CanDirectlyDetectCancellation(parent) { + log.Fatalf(parent, "expected context that supports direct cancellation detection, found %T", parent) + } + + propagateCancel(parent, done) + return true +} + +// CanDirectlyDetectCancellation checks to make sure that the parent +// context can be used to detect parent cancellation without the need +// to spin up goroutine. +// That would mean that the parent context is derived from +// context.WithCancel or context.WithTimeout/Deadline. +// Even if parent is not derived from one of the above contexts (i.e. it +// is a custom implementation), WhenDone function can still be used; it just +// means that there will be an additional goroutine spun up. As such, +// this function is meant to be used in test environment only. +func CanDirectlyDetectCancellation(parent context.Context) bool { + // context.parentCancelCtx would have been preferred mechanism to check + // if the cancellation can be propagated; alas, this function returns + // an unexported *cancelCtx, which we do not have access to. + // So, instead try to do what that method essentially does by + // getting access to internal cancelCtxKey. + cancellable, ok := parent.Value(&context_cancelCtxKey).(context.Context) + return ok && cancellable.Done() == parent.Done() +} + +//go:linkname context_cancelCtxKey context.cancelCtxKey +var context_cancelCtxKey int diff --git a/pkg/util/ctxutil/context_linkname.go b/pkg/util/ctxutil/context_linkname.go deleted file mode 100644 index c17fbff1d5dc..000000000000 --- a/pkg/util/ctxutil/context_linkname.go +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2023 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -// This file includes an implementation of WhenDone for builds using our Go -// fork, or versions of Go prior to 1.23. These Go versions will permit the use -// of go:linkname on the object context.cancelCtxKey. -// -//go:build bazel || (gc && !go1.23) - -package ctxutil - -import ( - "context" - _ "unsafe" // Must import unsafe to enable linkname. - - "github.com/cockroachdb/cockroach/pkg/util/buildutil" - "github.com/cockroachdb/cockroach/pkg/util/log" -) - -// WhenDone arranges for the specified function to be invoked when -// parent context becomes done and returns true. -// If the context is non-cancellable (i.e. `Done() == nil`), returns false and -// never calls the function. -// If the parent context is derived from context.WithCancel or -// context.WithTimeout/Deadline, then no additional goroutines are created. -// Otherwise, a goroutine is spun up by context.Context to detect -// parent cancellation. -// -// Please be careful when using this function on the parent context -// that may already be done. In particular, be mindful of the dangers of -// the done function acquiring locks: -// -// func bad(ctx context.Context) { -// var l syncutil.Mutex -// l.Lock() -// defer l.Unlock() -// ctxutil.WhenDone(ctx, func() { -// l.Lock() // <-- Deadlock if ctx is already done. -// }) -// return -// } -func WhenDone(parent context.Context, done WhenDoneFunc) bool { - if parent.Done() == nil { - return false - } - - // All contexts that complete (ctx.Done() != nil) used in cockroach should - // support direct cancellation detection, since they should be derived from - // one of the standard context.Context. - // But, be safe and loudly fail tests in case somebody introduces strange - // context implementation. - if buildutil.CrdbTestBuild && !canDirectlyDetectCancellation(parent) { - log.Fatalf(parent, "expected context that supports direct cancellation detection, found %T", parent) - } - - propagateCancel(parent, done) - return true -} - -// canDirectlyDetectCancellation checks to make sure that the parent -// context can be used to detect parent cancellation without the need -// to spin up goroutine. -// That would mean that the parent context is derived from -// context.WithCancel or context.WithTimeout/Deadline. -// Even if parent is not derived from one of the above contexts (i.e. it -// is a custom implementation), WhenDone function can still be used; it just -// means that there will be an additional goroutine spun up. As such, -// this function is meant to be used in test environment only. -func canDirectlyDetectCancellation(parent context.Context) bool { - // context.parentCancelCtx would have been preferred mechanism to check - // if the cancellation can be propagated; alas, this function returns - // an unexported *cancelCtx, which we do not have access to. - // So, instead try to do what that method essentially does by - // getting access to internal cancelCtxKey. - cancellable, ok := parent.Value(&context_cancelCtxKey).(context.Context) - return ok && cancellable.Done() == parent.Done() -} - -//go:linkname context_cancelCtxKey context.cancelCtxKey -var context_cancelCtxKey int diff --git a/pkg/util/ctxutil/context_linkname_test.go b/pkg/util/ctxutil/context_linkname_test.go deleted file mode 100644 index ff16aef391ee..000000000000 --- a/pkg/util/ctxutil/context_linkname_test.go +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2023 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -//go:build bazel || (gc && !go1.23) - -package ctxutil - -import ( - "context" - "testing" - "time" - - "github.com/cockroachdb/cockroach/pkg/util/leaktest" - "github.com/stretchr/testify/require" -) - -func TestCanPropagateCancellation(t *testing.T) { - defer leaktest.AfterTest(t)() - - t.Run("withCancel", func(t *testing.T) { - parent, cancelParent := context.WithCancel(context.Background()) - defer cancelParent() - require.True(t, canDirectlyDetectCancellation(parent)) - }) - - t.Run("withCancelEmbed", func(t *testing.T) { - parent, cancelParent := context.WithCancel(context.Background()) - defer cancelParent() - ctx := &myCtx{parent} - require.True(t, canDirectlyDetectCancellation(ctx)) - }) - - t.Run("nested", func(t *testing.T) { - parent, cancelParent := context.WithCancel(context.Background()) - defer cancelParent() - timeoutCtx, cancelTimeout := context.WithTimeout(parent, time.Hour) - defer cancelTimeout() - ctx := &myCtx{timeoutCtx} - require.True(t, canDirectlyDetectCancellation(ctx)) - }) - - t.Run("nonCancellable", func(t *testing.T) { - require.False(t, canDirectlyDetectCancellation(context.Background())) - }) - - t.Run("nonCancellableCustom", func(t *testing.T) { - require.False(t, canDirectlyDetectCancellation(&noOpCtx{})) - }) - - t.Run("nonCancellableCustomEmbed", func(t *testing.T) { - require.False(t, canDirectlyDetectCancellation(&myCtx{&noOpCtx{}})) - }) -} - -type myCtx struct { - context.Context -} - -type noOpCtx struct{} - -var _ context.Context = (*noOpCtx)(nil) - -func (n *noOpCtx) Deadline() (deadline time.Time, ok bool) { - return time.Time{}, false -} - -func (n *noOpCtx) Done() <-chan struct{} { - return nil -} - -func (n *noOpCtx) Err() error { - return nil -} - -func (n *noOpCtx) Value(key any) any { - return nil -} diff --git a/pkg/util/ctxutil/context_no_linkname.go b/pkg/util/ctxutil/context_no_linkname.go deleted file mode 100644 index 90721904fa54..000000000000 --- a/pkg/util/ctxutil/context_no_linkname.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2024 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -// This file includes an implementation of WhenDone for builds after Go 1.23 -// that do not use our Go fork. -// -//go:build !bazel && gc && go1.23 - -package ctxutil - -import "context" - -// WhenDone arranges for the specified function to be invoked when -// parent context becomes done and returns true. -// See context_bazel.go for the full documentation on this function. -// This version does the same but is missing an assertion that requires the -// patched Go runtime to work properly. -func WhenDone(parent context.Context, done WhenDoneFunc) bool { - if parent.Done() == nil { - return false - } - - propagateCancel(parent, done) - return true -} diff --git a/pkg/util/ctxutil/context_test.go b/pkg/util/ctxutil/context_test.go index f34a07be0f32..c842cbb3a764 100644 --- a/pkg/util/ctxutil/context_test.go +++ b/pkg/util/ctxutil/context_test.go @@ -44,3 +44,65 @@ func TestWhenDone(t *testing.T) { waitDone() }) } + +func TestCanPropagateCancellation(t *testing.T) { + defer leaktest.AfterTest(t)() + + t.Run("withCancel", func(t *testing.T) { + parent, cancelParent := context.WithCancel(context.Background()) + defer cancelParent() + require.True(t, CanDirectlyDetectCancellation(parent)) + }) + + t.Run("withCancelEmbed", func(t *testing.T) { + parent, cancelParent := context.WithCancel(context.Background()) + defer cancelParent() + ctx := &myCtx{parent} + require.True(t, CanDirectlyDetectCancellation(ctx)) + }) + + t.Run("nested", func(t *testing.T) { + parent, cancelParent := context.WithCancel(context.Background()) + defer cancelParent() + timeoutCtx, cancelTimeout := context.WithTimeout(parent, time.Hour) + defer cancelTimeout() + ctx := &myCtx{timeoutCtx} + require.True(t, CanDirectlyDetectCancellation(ctx)) + }) + + t.Run("nonCancellable", func(t *testing.T) { + require.False(t, CanDirectlyDetectCancellation(context.Background())) + }) + + t.Run("nonCancellableCustom", func(t *testing.T) { + require.False(t, CanDirectlyDetectCancellation(&noOpCtx{})) + }) + + t.Run("nonCancellableCustomEmbed", func(t *testing.T) { + require.False(t, CanDirectlyDetectCancellation(&myCtx{&noOpCtx{}})) + }) +} + +type myCtx struct { + context.Context +} + +type noOpCtx struct{} + +var _ context.Context = (*noOpCtx)(nil) + +func (n *noOpCtx) Deadline() (deadline time.Time, ok bool) { + return time.Time{}, false +} + +func (n *noOpCtx) Done() <-chan struct{} { + return nil +} + +func (n *noOpCtx) Err() error { + return nil +} + +func (n *noOpCtx) Value(key any) any { + return nil +} diff --git a/pkg/util/goschedstats/BUILD.bazel b/pkg/util/goschedstats/BUILD.bazel index 8228dceddabc..b31ce88bef1f 100644 --- a/pkg/util/goschedstats/BUILD.bazel +++ b/pkg/util/goschedstats/BUILD.bazel @@ -4,7 +4,6 @@ go_library( name = "goschedstats", srcs = [ "runnable.go", - "runnable_common.go", "runtime_go1.19.go", "runtime_go1.20_21_22.go", "runtime_go1.23.go", diff --git a/pkg/util/goschedstats/runnable.go b/pkg/util/goschedstats/runnable.go index ec464ee7ed89..9d9395c25496 100644 --- a/pkg/util/goschedstats/runnable.go +++ b/pkg/util/goschedstats/runnable.go @@ -2,13 +2,6 @@ // // Use of this software is governed by the CockroachDB Software License // included in the /LICENSE file. -// -// This file contains the proper logic of the public functions in the -// goschedstats package. We only have access to the internal logic if we are -// using a version of Go prior to 1.23, or are using our fork that has more -// permissive logic for go:linkname. -// -//go:build bazel || (gc && !go1.23) package goschedstats @@ -35,6 +28,20 @@ func CumulativeNormalizedRunnableGoroutines() float64 { return float64(atomic.LoadUint64(&total)) * fromFixedPoint } +// RecentNormalizedRunnableGoroutines returns a recent average of the number of +// runnable goroutines per GOMAXPROC. +// +// Runnable goroutines are goroutines which are ready to run but are waiting for +// an available process. Sustained high numbers of waiting goroutines are a +// potential indicator of high CPU saturation (overload). +// +// The number of runnable goroutines is sampled frequently, and an average is +// calculated once per second. This function returns an exponentially weighted +// moving average of these values. +func RecentNormalizedRunnableGoroutines() float64 { + return float64(atomic.LoadUint64(&ewma)) * fromFixedPoint +} + // If you get a compilation error here, the Go version you are using is not // supported by this package. Cross-check the structures in runtime_go1.18.go // against those in the new Go's runtime, and if they are still accurate adjust @@ -86,6 +93,10 @@ var total uint64 // The EWMA coefficient is 0.5. var ewma uint64 +// RunnableCountCallback is provided the current value of runnable goroutines, +// GOMAXPROCS, and the current sampling period. +type RunnableCountCallback func(numRunnable int, numProcs int, samplePeriod time.Duration) + type callbackWithID struct { RunnableCountCallback id int64 @@ -111,12 +122,6 @@ var callbackInfo struct { // quickly to large drops in runnable due to blocking on IO, so that we don't // waste cpu -- a workload that fluctuates rapidly between being IO bound and // cpu bound could stress the usage of a smoothed signal). -// -// This function returns a unique ID for this callback which can be un-registered -// by passing the ID to UnregisterRunnableCountCallback. Notably, this function -// may return a negative number if we have no access to the internal Goroutine -// machinery (i.e. if we running a recent upstream version of Go; *not* our -// internal fork). In this case, the callback has not been registered. func RegisterRunnableCountCallback(cb RunnableCountCallback) (id int64) { callbackInfo.mu.Lock() defer callbackInfo.mu.Unlock() @@ -237,3 +242,5 @@ func (s *schedStatsTicker) getStatsOnTick( s.sum += uint64(runnable) * toFixedPoint / uint64(numProcs) s.numSamples++ } + +var _ = RecentNormalizedRunnableGoroutines diff --git a/pkg/util/goschedstats/runnable_common.go b/pkg/util/goschedstats/runnable_common.go deleted file mode 100644 index 76a44e2ef668..000000000000 --- a/pkg/util/goschedstats/runnable_common.go +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2024 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. - -package goschedstats - -import "time" - -// RunnableCountCallback is provided the current value of runnable goroutines, -// GOMAXPROCS, and the current sampling period. -type RunnableCountCallback func(numRunnable int, numProcs int, samplePeriod time.Duration) diff --git a/pkg/util/goschedstats/runnable_disabled.go b/pkg/util/goschedstats/runnable_disabled.go deleted file mode 100644 index 114508d49735..000000000000 --- a/pkg/util/goschedstats/runnable_disabled.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2024 The Cockroach Authors. -// -// Use of this software is governed by the CockroachDB Software License -// included in the /LICENSE file. -// -// This file contains stub definitions in the event that we do not have access -// to the internal goroutine machinery. This would be because we are using an -// upstream Go (not our fork) and are running a version after 1.23. -// -//go:build !bazel && gc && go1.23 - -package goschedstats - -// CumulativeNormalizedRunnableGoroutines returns 0.0. -func CumulativeNormalizedRunnableGoroutines() float64 { - return 0.0 -} - -// RegisterRunnableCountCallback does nothing and returns -1. -func RegisterRunnableCountCallback(cb RunnableCountCallback) (id int64) { - return -1 -} - -// UnregisterRunnableCountCallback is a no-op. -func UnregisterRunnableCountCallback(id int64) {} diff --git a/pkg/util/goschedstats/runnable_test.go b/pkg/util/goschedstats/runnable_test.go index ed6172edf950..07e28e2dd57f 100644 --- a/pkg/util/goschedstats/runnable_test.go +++ b/pkg/util/goschedstats/runnable_test.go @@ -3,8 +3,6 @@ // Use of this software is governed by the CockroachDB Software License // included in the /LICENSE file. -//go:build bazel || untested_go_version || (gc && go1.19 && !go1.23) - package goschedstats import ( diff --git a/pkg/util/goschedstats/runtime_go1.23.go b/pkg/util/goschedstats/runtime_go1.23.go index 61151852adbb..848496eec18a 100644 --- a/pkg/util/goschedstats/runtime_go1.23.go +++ b/pkg/util/goschedstats/runtime_go1.23.go @@ -15,14 +15,7 @@ // // The untested_go_version flag enables building on any go version, intended to // ease testing against Go at tip. -// -// This code will not build with the upstream Go version as we need to use `go:linkname` -// on internal runtime symbols, which as of Go 1.23 is forbidden [2]. -// We use build tags to only use this logic if we are using our forked Go runtime. -// -// [2] https://tip.golang.org/doc/go1.23#linker -// -//go:build (bazel && gc && go1.23 && !go1.24) || untested_go_version +//go:build (gc && go1.23 && !go1.24) || untested_go_version package goschedstats diff --git a/pkg/util/grunning/enabled.go b/pkg/util/grunning/enabled.go index 73be5cfbda88..f0c1eca75508 100644 --- a/pkg/util/grunning/enabled.go +++ b/pkg/util/grunning/enabled.go @@ -10,11 +10,12 @@ package grunning -import "runtime" +import _ "unsafe" // for go:linkname -// grunningnanos returns the running time observed by the current goroutine. -func grunningnanos() int64 { - return runtime.Grunningnanos() -} +// grunningnanos returns the running time observed by the current goroutine by +// linking to a private symbol in the (patched) runtime package. +// +//go:linkname grunningnanos runtime.grunningnanos +func grunningnanos() int64 func supported() bool { return true } diff --git a/pkg/util/log/BUILD.bazel b/pkg/util/log/BUILD.bazel index 9441abc33058..32291c81a367 100644 --- a/pkg/util/log/BUILD.bazel +++ b/pkg/util/log/BUILD.bazel @@ -118,15 +118,9 @@ go_library( "@io_bazel_rules_go//go/platform:openbsd": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@org_golang_x_sys//unix", ], diff --git a/pkg/util/log/logcrash/BUILD.bazel b/pkg/util/log/logcrash/BUILD.bazel index f6c8c1b69441..b8b5ec29e571 100644 --- a/pkg/util/log/logcrash/BUILD.bazel +++ b/pkg/util/log/logcrash/BUILD.bazel @@ -85,15 +85,9 @@ go_test( "@io_bazel_rules_go//go/platform:openbsd": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@org_golang_x_sys//unix", ], diff --git a/pkg/util/netutil/BUILD.bazel b/pkg/util/netutil/BUILD.bazel index ff7285431107..77c2c80afafd 100644 --- a/pkg/util/netutil/BUILD.bazel +++ b/pkg/util/netutil/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "//pkg/util/syncutil", "@com_github_cockroachdb_cmux//:cmux", "@com_github_cockroachdb_errors//:errors", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_x_net//http2", ], ) @@ -36,6 +36,6 @@ go_test( "@com_github_cockroachdb_errors//:errors", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/util/sdnotify/BUILD.bazel b/pkg/util/sdnotify/BUILD.bazel index 71daca8b2b3b..8b3e70b27be8 100644 --- a/pkg/util/sdnotify/BUILD.bazel +++ b/pkg/util/sdnotify/BUILD.bazel @@ -67,18 +67,10 @@ go_test( "//pkg/util/log", "@com_github_stretchr_testify//require", ], - "@io_bazel_rules_go//go/platform:osx": [ - "//pkg/util/log", - "@com_github_stretchr_testify//require", - ], "@io_bazel_rules_go//go/platform:plan9": [ "//pkg/util/log", "@com_github_stretchr_testify//require", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "//pkg/util/log", - "@com_github_stretchr_testify//require", - ], "@io_bazel_rules_go//go/platform:solaris": [ "//pkg/util/log", "@com_github_stretchr_testify//require", diff --git a/pkg/util/sysutil/BUILD.bazel b/pkg/util/sysutil/BUILD.bazel index 8de705d9941c..7bc0bf8a2bbc 100644 --- a/pkg/util/sysutil/BUILD.bazel +++ b/pkg/util/sysutil/BUILD.bazel @@ -55,15 +55,9 @@ go_library( "@io_bazel_rules_go//go/platform:openbsd": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@org_golang_x_sys//unix", ], @@ -129,17 +123,9 @@ go_test( "@com_github_stretchr_testify//assert", "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@com_github_stretchr_testify//assert", - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@com_github_stretchr_testify//assert", - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@com_github_stretchr_testify//assert", "@org_golang_x_sys//unix", diff --git a/pkg/util/sysutil/socket.go b/pkg/util/sysutil/socket.go index ff4274b8671c..b4b024b1eb8e 100644 --- a/pkg/util/sysutil/socket.go +++ b/pkg/util/sysutil/socket.go @@ -14,6 +14,22 @@ import ( "github.com/cockroachdb/errors" ) +// SetKeepAliveCount sets the keep alive probe count on a TCP +// connection. +func SetKeepAliveCount(conn *net.TCPConn, probeCount int) (err error) { + syscallConn, err := conn.SyscallConn() + if err != nil { + return err + } + outerErr := syscallConn.Control(func(fd uintptr) { + err = syscall.SetsockoptInt(SocketFd(fd), syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, probeCount) + }) + if err != nil || outerErr != nil { + return errors.WithSecondaryError(err, outerErr) + } + return nil +} + // GetKeepAliveSettings gets the keep alive socket connections // set on a TCP connection. func GetKeepAliveSettings( diff --git a/pkg/util/sysutil/socket_stub.go b/pkg/util/sysutil/socket_stub.go index fd436ed07eb1..a13ececa569d 100644 --- a/pkg/util/sysutil/socket_stub.go +++ b/pkg/util/sysutil/socket_stub.go @@ -11,6 +11,12 @@ import ( "time" ) +// SetKeepAliveCount sets the keep alive probe count on a TCP +// connection. +func SetKeepAliveCount(conn *net.TCPConn, probeCount int) error { + return nil +} + // GetKeepAliveSettings gets the keep alive socket connections // set on a TCP connection. func GetKeepAliveSettings( diff --git a/pkg/util/timeutil/ptp/BUILD.bazel b/pkg/util/timeutil/ptp/BUILD.bazel index 5e98d806796d..7ac21b2d3ffd 100644 --- a/pkg/util/timeutil/ptp/BUILD.bazel +++ b/pkg/util/timeutil/ptp/BUILD.bazel @@ -47,15 +47,9 @@ go_library( "@io_bazel_rules_go//go/platform:openbsd": [ "@com_github_cockroachdb_errors//:errors", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@com_github_cockroachdb_errors//:errors", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@com_github_cockroachdb_errors//:errors", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@com_github_cockroachdb_errors//:errors", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@com_github_cockroachdb_errors//:errors", ], diff --git a/pkg/util/tracing/grpcinterceptor/BUILD.bazel b/pkg/util/tracing/grpcinterceptor/BUILD.bazel index f7dbdcad4767..100e72ec5cc1 100644 --- a/pkg/util/tracing/grpcinterceptor/BUILD.bazel +++ b/pkg/util/tracing/grpcinterceptor/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "@com_github_cockroachdb_errors//:errors", "@io_opentelemetry_go_otel//attribute", "@io_opentelemetry_go_otel//codes", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//metadata", "@org_golang_google_grpc//status", ], @@ -33,6 +33,6 @@ go_test( "@com_github_cockroachdb_errors//:errors", "@com_github_gogo_protobuf//types", "@com_github_stretchr_testify//require", - "@org_golang_google_grpc//:grpc", + "@org_golang_google_grpc//:go_default_library", ], ) diff --git a/pkg/workload/cli/BUILD.bazel b/pkg/workload/cli/BUILD.bazel index d820a43e570d..5395d12b817c 100644 --- a/pkg/workload/cli/BUILD.bazel +++ b/pkg/workload/cli/BUILD.bazel @@ -67,15 +67,9 @@ go_library( "@io_bazel_rules_go//go/platform:openbsd": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:osx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:plan9": [ "@org_golang_x_sys//unix", ], - "@io_bazel_rules_go//go/platform:qnx": [ - "@org_golang_x_sys//unix", - ], "@io_bazel_rules_go//go/platform:solaris": [ "@org_golang_x_sys//unix", ],