Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/68xk2pp2zw0209prr74by01jmhgphdqp-source source root is source Running phase: patchPhase applying patch /nix/store/kjm51kv490zz30p85whi6qgy25snkpph-support-s3-endpoints.patch patching file internal/codegen/generate.go Hunk #1 succeeded at 63 (offset 1 line). Hunk #2 succeeded at 493 with fuzz 1 (offset 49 lines). patching file internal/codegen/generate_test.go Hunk #1 succeeded at 99 (offset 2 lines). Hunk #2 succeeded at 204 (offset 17 lines). patching file internal/remotestate/backend/s3/backend_test.go patching file internal/remotestate/backend/s3/config.go Hunk #1 succeeded at 18 (offset -1 lines). Hunk #2 succeeded at 69 (offset -1 lines). Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase go generate ./... go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.1 go: downloading github.com/aws/aws-sdk-go-v2 v1.42.1 go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.29 go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.44.1 go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.30 go: downloading charm.land/lipgloss/v2 v2.0.5 go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.2 go: downloading charm.land/bubbletea/v2 v2.0.8 go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.55.1 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1 go: downloading github.com/spf13/afero v1.15.0 go: downloading github.com/posener/complete v1.2.3 go: downloading charm.land/bubbles/v2 v2.1.1 go: downloading github.com/urfave/cli/v2 v2.27.7 go: downloading go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.20.0 go: downloading golang.org/x/text v0.40.0 go: downloading go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.20.0 go: downloading github.com/creack/pty v1.1.24 go: downloading github.com/mattn/go-shellwords v1.0.14 go: downloading github.com/charmbracelet/x/term v0.2.2 go: downloading github.com/hashicorp/go-version v1.9.0 go: downloading golang.org/x/sync v0.22.0 go: downloading go.opentelemetry.io/contrib/bridges/otellogrus v0.19.0 go: downloading github.com/hashicorp/go-getter/v2 v2.2.3 go: downloading github.com/gofrs/flock v0.13.0 go: downloading github.com/puzpuzpuz/xsync/v4 v4.5.0 go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 go: downloading github.com/ProtonMail/go-crypto v1.4.1 go: downloading github.com/gruntwork-io/boilerplate v0.16.0 go: downloading golang.org/x/term v0.45.0 go: downloading github.com/rogpeppe/go-internal v1.15.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.7.0 go: downloading go.opentelemetry.io/otel v1.44.0 go: downloading github.com/hashicorp/hcl/v2 v2.24.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0 go: downloading github.com/sirupsen/logrus v1.9.4 go: downloading github.com/zclconf/go-cty v1.19.0 go: downloading golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90 go: downloading github.com/charlievieth/fastwalk v1.0.14 go: downloading github.com/getsops/sops/v3 v3.12.2 go: downloading github.com/mattn/go-isatty v0.0.22 go: downloading github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.8.1 go: downloading dario.cat/mergo v1.0.2 go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.44.0 go: downloading github.com/gruntwork-io/terragrunt-engine-go v0.1.0 go: downloading github.com/mitchellh/go-wordwrap v1.0.1 go: downloading github.com/invopop/jsonschema v0.14.0 go: downloading charm.land/glamour/v2 v2.0.1 go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.44.0 go: downloading cloud.google.com/go/storage v1.63.0 go: downloading go.opentelemetry.io/otel/trace v1.44.0 go: downloading github.com/charmbracelet/x/ansi v0.11.7 go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.44.0 go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.44.0 go: downloading go.opentelemetry.io/otel/exporters/stdout/stdoutlog v0.20.0 go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c go: downloading go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.44.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.44.0 go: downloading go.opentelemetry.io/otel/log v0.20.0 go: downloading go.opentelemetry.io/otel/metric v1.44.0 go: downloading go.opentelemetry.io/otel/sdk/log v0.20.0 go: downloading go.opentelemetry.io/otel/sdk/metric v1.44.0 go: downloading go.opentelemetry.io/otel/sdk v1.44.0 go: downloading github.com/hashicorp/go-hclog v1.6.3 go: downloading github.com/hashicorp/go-plugin v1.8.0 go: downloading google.golang.org/grpc v1.82.1 go: downloading google.golang.org/protobuf v1.36.11 go: downloading github.com/xeipuuv/gojsonschema v1.2.0 go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 go: downloading golang.org/x/oauth2 v0.36.0 go: downloading google.golang.org/api v0.289.0 go: downloading github.com/hashicorp/terraform v0.15.3 go: downloading github.com/huandu/go-clone v1.7.3 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/gobwas/glob v0.2.3 go: downloading github.com/mattn/go-zglob v0.0.6 go: downloading github.com/hashicorp/go-getter/gcs/v2 v2.2.3 go: downloading github.com/hashicorp/go-getter/s3/v2 v2.2.3 go: downloading github.com/hashicorp/terraform-svchost v0.2.1 go: downloading github.com/hashicorp/go-getter v1.8.6 go: downloading github.com/opencontainers/go-digest v1.0.0 go: downloading github.com/opencontainers/image-spec v1.1.1 go: downloading oras.land/oras-go/v2 v2.6.2 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/aws/aws-sdk-go-v2/service/dynamodb v1.60.1 go: downloading github.com/aws/smithy-go v1.27.4 go: downloading golang.org/x/sys v0.47.0 go: downloading github.com/gitsight/go-vcsurl v1.0.1 go: downloading github.com/hashicorp/go-multierror v1.1.1 go: downloading gopkg.in/ini.v1 v1.67.3 go: downloading github.com/sahilm/fuzzy v0.1.3 go: downloading github.com/atotto/clipboard v0.1.4 go: downloading github.com/mattn/go-runewidth v0.0.24 go: downloading github.com/rivo/uniseg v0.4.7 go: downloading github.com/charmbracelet/colorprofile v0.4.3 go: downloading github.com/charmbracelet/ultraviolet v0.0.0-20260713092251-4bee1914c0cf go: downloading github.com/lucasb-eyer/go-colorful v1.4.0 go: downloading github.com/muesli/cancelreader v0.2.2 go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 go: downloading github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 go: downloading github.com/pb33f/ordered-map/v2 v2.3.1 go: downloading golang.org/x/crypto v0.54.0 go: downloading github.com/fatih/color v1.19.0 go: downloading github.com/clipperhouse/displaywidth v0.11.0 go: downloading github.com/clipperhouse/uax29/v2 v2.7.0 go: downloading golang.org/x/net v0.57.0 go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 go: downloading github.com/golang/protobuf v1.5.4 go: downloading github.com/hashicorp/yamux v0.1.2 go: downloading github.com/oklog/run v1.2.0 go: downloading github.com/hashicorp/hcl v1.0.1-vault-7 go: downloading cloud.google.com/go v0.123.0 go: downloading github.com/labstack/echo/v4 v4.15.4 go: downloading golang.org/x/mod v0.38.0 go: downloading github.com/stretchr/testify v1.11.1 go: downloading go.uber.org/mock v0.6.0 go: downloading github.com/gliderlabs/ssh v0.3.8 go: downloading github.com/testcontainers/testcontainers-go v0.43.0 go: downloading github.com/yuin/goldmark v1.8.4 go: downloading github.com/yuin/goldmark-emoji v1.0.6 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.30 go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.31 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.30 go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.30 go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.4.1 go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.32.1 go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.37.1 go: downloading github.com/aws/aws-sdk-go v1.55.6 go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 go: downloading github.com/hashicorp/go-safetemp v1.0.0 go: downloading github.com/urfave/cli v1.22.17 go: downloading github.com/klauspost/compress v1.18.6 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/ulikunitz/xz v0.5.15 go: downloading github.com/mitchellh/go-testing-interface v1.14.1 go: downloading github.com/bahlo/generic-list-go v0.2.0 go: downloading github.com/buger/jsonparser v1.2.0 go: downloading go.yaml.in/yaml/v4 v4.0.0-rc.4 go: downloading go.yaml.in/yaml/v3 v3.0.4 go: downloading github.com/mattn/go-colorable v0.1.15 go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb go: downloading github.com/charmbracelet/x/termios v0.1.1 go: downloading github.com/charmbracelet/x/windows v0.2.2 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/alecthomas/chroma/v2 v2.27.0 go: downloading github.com/charmbracelet/x/exp/slice v0.0.0-20260713092006-0d683c34c74b go: downloading github.com/microcosm-cc/bluemonday v1.0.27 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.12.7 go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.14 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.23 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.31 go: downloading github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be go: downloading github.com/apparentlymart/go-textseg/v15 v15.0.0 go: downloading github.com/agext/levenshtein v1.2.3 go: downloading github.com/google/go-cmp v0.7.0 go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.30 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 go: downloading cloud.google.com/go/auth v0.20.0 go: downloading cloud.google.com/go/compute/metadata v0.9.0 go: downloading cloud.google.com/go/iam v1.11.0 go: downloading github.com/googleapis/gax-go/v2 v2.23.0 go: downloading github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.57.0 go: downloading go.opentelemetry.io/contrib/detectors/gcp v1.44.0 go: downloading google.golang.org/genproto v0.0.0-20260615183401-62b3387ff324 go: downloading github.com/labstack/gommon v0.5.0 go: downloading github.com/valyala/fasttemplate v1.2.2 go: downloading golang.org/x/time v0.15.0 go: downloading github.com/cloudflare/circl v1.6.3 go: downloading github.com/aws/aws-sdk-go-v2/service/kms v1.51.1 go: downloading github.com/blang/semver v3.5.1+incompatible go: downloading github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.4.0 go: downloading filippo.io/age v1.3.1 go: downloading github.com/getsops/gopgagent v0.0.0-20241224165529-7044f28e491e go: downloading github.com/huaweicloud/huaweicloud-sdk-go-v3 v0.1.195 go: downloading cloud.google.com/go/kms v1.31.0 go: downloading github.com/hashicorp/vault/api v1.23.0 go: downloading github.com/goware/prefixer v0.0.0-20160118172347-395022866408 go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.22.18 go: downloading github.com/golang-jwt/jwt/v5 v5.3.1 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.7 go: downloading github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260630182238-925bb5da69e7 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260706201446-f0a921348800 go: downloading github.com/aymerick/douceur v0.2.0 go: downloading cloud.google.com/go/monitoring v1.29.0 go: downloading github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.57.0 go: downloading github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 go: downloading github.com/valyala/bytebufferpool v1.0.0 go: downloading github.com/lib/pq v1.12.3 go: downloading github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0 go: downloading filippo.io/hpke v0.4.0 go: downloading filippo.io/edwards25519 v1.2.0 go: downloading github.com/moby/moby/api v1.54.2 go: downloading github.com/moby/moby/client v0.4.1 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 go: downloading github.com/containerd/errdefs v1.0.0 go: downloading github.com/containerd/platforms v0.2.1 go: downloading github.com/cpuguy83/dockercfg v0.3.2 go: downloading github.com/moby/go-archive v0.2.0 go: downloading github.com/moby/patternmatcher v0.6.1 go: downloading cloud.google.com/go/longrunning v1.0.0 go: downloading github.com/dlclark/regexp2/v2 v2.5.1 go: downloading github.com/russross/blackfriday/v2 v2.1.0 go: downloading github.com/go-jose/go-jose/v4 v4.1.4 go: downloading github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 go: downloading github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 go: downloading github.com/hashicorp/go-retryablehttp v0.7.8 go: downloading github.com/gorilla/css v1.0.1 go: downloading github.com/go-logr/logr v1.4.3 go: downloading go.opentelemetry.io/proto/otlp v1.10.0 go: downloading github.com/AlecAivazis/survey/v2 v2.3.7 go: downloading github.com/go-ozzo/ozzo-validation v3.6.0+incompatible go: downloading github.com/Masterminds/sprig/v3 v3.3.0 go: downloading github.com/gabriel-vasile/mimetype v1.4.12 go: downloading github.com/google/go-jsonnet v0.21.0 go: downloading github.com/magiconair/properties v1.8.10 go: downloading github.com/shirou/gopsutil/v4 v4.26.5 go: downloading github.com/containerd/log v0.1.0 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading go.opentelemetry.io/auto/sdk v1.2.1 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/cenkalti/backoff/v5 v5.0.3 go: downloading github.com/hashicorp/go-sockaddr v1.0.7 go: downloading github.com/ryanuber/go-glob v1.0.0 go: downloading github.com/hashicorp/aws-sdk-go-base/v2 v2.0.0-beta.72 go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 go: downloading github.com/moby/sys/sequential v0.6.0 go: downloading github.com/moby/sys/user v0.4.0 go: downloading github.com/moby/sys/userns v0.1.0 go: downloading github.com/envoyproxy/go-control-plane/envoy v1.37.0 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/spiffe/go-spiffe/v2 v2.7.0 go: downloading github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 go: downloading github.com/Masterminds/goutils v1.1.1 go: downloading github.com/huandu/xstrings v1.5.0 go: downloading github.com/Masterminds/semver/v3 v3.4.0 go: downloading github.com/mitchellh/copystructure v1.2.0 go: downloading github.com/shopspring/decimal v1.4.0 go: downloading github.com/spf13/cast v1.10.0 go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/moby/term v0.5.2 go: downloading github.com/containerd/errdefs/pkg v0.3.0 go: downloading github.com/distribution/reference v0.6.0 go: downloading github.com/docker/go-connections v0.7.0 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 go: downloading cel.dev/expr v0.25.2 go: downloading github.com/envoyproxy/protoc-gen-validate v1.3.3 go: downloading github.com/tklauser/go-sysconf v0.3.16 go: downloading github.com/mitchellh/reflectwalk v1.0.2 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d go: downloading github.com/zclconf/go-cty-yaml v1.1.0 go: downloading github.com/moby/docker-image-spec v1.3.1 go: downloading github.com/apparentlymart/go-cidr v1.1.0 go: downloading github.com/bmatcuk/doublestar v1.3.4 go: downloading github.com/hashicorp/go-uuid v1.0.3 go: downloading github.com/apparentlymart/go-versions v1.0.3 go: downloading github.com/mitchellh/panicwrap v1.0.0 go: downloading sigs.k8s.io/yaml v1.6.0 go: downloading github.com/felixge/httpsnoop v1.1.0 go: downloading github.com/tklauser/numcpus v0.11.0 go: downloading go.yaml.in/yaml/v2 v2.4.3 go: downloading github.com/jmespath/go-jmespath v0.4.0 go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8 go: downloading github.com/google/s2a-go v0.1.9 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.18 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.69.0 go: downloading go.mongodb.org/mongo-driver v1.17.9 go: downloading github.com/goccy/go-yaml v1.19.2 go: downloading github.com/json-iterator/go v1.1.13-0.20220915233716-71ac16282d12 go: downloading github.com/tjfoc/gmsm v1.4.1 go: downloading github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 2026/08/22 01:11:43 failed to create modcache index dir: mkdir /homeless-shelter: permission denied 2026/08/22 01:11:43 failed to create modcache index dir: mkdir /homeless-shelter: permission denied Building subPackage . # github.com/gruntwork-io/terragrunt/internal/codegen internal/codegen/generate.go:523:28: cannot use err (variable of interface type error) as string value in argument to errors.New internal/codegen/generate.go:549:28: cannot use err (variable of interface type error) as string value in argument to errors.New