Package: src:golang-github-caarlos0-env Version: 11.3.1-1 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --builddirectory=debian/build --buildsystem=golang dh_auto_clean -O--builddirectory=debian/build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=debian/build -O--buildsystem=golang dh_clean -O--builddirectory=debian/build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=debian/build --buildsystem=golang dh_update_autotools_config -O--builddirectory=debian/build -O--buildsystem=golang dh_autoreconf -O--builddirectory=debian/build -O--buildsystem=golang dh_auto_configure -O--builddirectory=debian/build -O--buildsystem=golang dh_auto_build -O--builddirectory=debian/build -O--buildsystem=golang cd debian/build && go install -trimpath -v -p 2 github.com/caarlos0/env encoding internal/goarch internal/unsafeheader internal/abi internal/cpu internal/bytealg internal/byteorder internal/chacha8rand internal/coverage/rtcov internal/godebugs internal/goos internal/goexperiment internal/profilerecord internal/runtime/atomic internal/runtime/syscall internal/runtime/exithook internal/stringslite runtime/internal/math runtime/internal/sys cmp internal/itoa internal/race runtime math/bits math unicode/utf8 sync/atomic unicode internal/asan internal/msan internal/reflectlite iter sync slices internal/bisect errors strconv io internal/oserror path reflect internal/godebug syscall time io/fs internal/fmtsort internal/filepathlite internal/syscall/unix internal/syscall/execenv internal/testlog internal/poll strings os fmt net/url github.com/caarlos0/env dh_auto_test -O--builddirectory=debian/build -O--buildsystem=golang cd debian/build && go test -vet=off -v -p 2 github.com/caarlos0/env === RUN TestIssue245 --- PASS: TestIssue245 (0.00s) === RUN TestParsesEnv env_test.go:265: unexpected error: unknown time zone Europe/Berlin --- FAIL: TestParsesEnv (0.00s) === RUN TestParsesEnv_Map --- PASS: TestParsesEnv_Map (0.00s) === RUN TestParsesEnvInvalidMap --- PASS: TestParsesEnvInvalidMap (0.00s) === RUN TestParseCustomMapType --- PASS: TestParseCustomMapType (0.00s) === RUN TestParseMapCustomKeyType --- PASS: TestParseMapCustomKeyType (0.00s) === RUN TestParseMapCustomKeyNoParser --- PASS: TestParseMapCustomKeyNoParser (0.00s) === RUN TestParseMapCustomValueNoParser --- PASS: TestParseMapCustomValueNoParser (0.00s) === RUN TestParseMapCustomKeyTypeError --- PASS: TestParseMapCustomKeyTypeError (0.00s) === RUN TestParseMapCustomValueTypeError --- PASS: TestParseMapCustomValueTypeError (0.00s) === RUN TestSetenvAndTagOptsChain --- PASS: TestSetenvAndTagOptsChain (0.00s) === RUN TestJSONTag --- PASS: TestJSONTag (0.00s) === RUN TestParsesEnvInner --- PASS: TestParsesEnvInner (0.00s) === RUN TestParsesEnvInner_WhenInnerStructPointerIsNil --- PASS: TestParsesEnvInner_WhenInnerStructPointerIsNil (0.00s) === RUN TestParsesEnvInnerFails --- PASS: TestParsesEnvInnerFails (0.00s) === RUN TestParsesEnvInnerFailsMultipleErrors --- PASS: TestParsesEnvInnerFailsMultipleErrors (0.00s) === RUN TestParsesEnvInnerNil --- PASS: TestParsesEnvInnerNil (0.00s) === RUN TestParsesEnvInnerInvalid --- PASS: TestParsesEnvInnerInvalid (0.00s) === RUN TestParsesEnvNested --- PASS: TestParsesEnvNested (0.00s) === RUN TestEmptyVars --- PASS: TestEmptyVars (0.00s) === RUN TestPassAnInvalidPtr --- PASS: TestPassAnInvalidPtr (0.00s) === RUN TestPassReference --- PASS: TestPassReference (0.00s) === RUN TestInvalidBool --- PASS: TestInvalidBool (0.00s) === RUN TestInvalidInt --- PASS: TestInvalidInt (0.00s) === RUN TestInvalidUint --- PASS: TestInvalidUint (0.00s) === RUN TestInvalidFloat32 --- PASS: TestInvalidFloat32 (0.00s) === RUN TestInvalidFloat64 --- PASS: TestInvalidFloat64 (0.00s) === RUN TestInvalidUint64 --- PASS: TestInvalidUint64 (0.00s) === RUN TestInvalidInt64 --- PASS: TestInvalidInt64 (0.00s) === RUN TestInvalidInt64Slice --- PASS: TestInvalidInt64Slice (0.00s) === RUN TestInvalidUInt64Slice --- PASS: TestInvalidUInt64Slice (0.00s) === RUN TestInvalidFloat32Slice --- PASS: TestInvalidFloat32Slice (0.00s) === RUN TestInvalidFloat64Slice --- PASS: TestInvalidFloat64Slice (0.00s) === RUN TestInvalidBoolsSlice --- PASS: TestInvalidBoolsSlice (0.00s) === RUN TestInvalidDuration --- PASS: TestInvalidDuration (0.00s) === RUN TestInvalidDurations --- PASS: TestInvalidDurations (0.00s) === RUN TestInvalidLocation --- PASS: TestInvalidLocation (0.00s) === RUN TestInvalidLocations --- PASS: TestInvalidLocations (0.00s) === RUN TestParseStructWithoutEnvTag --- PASS: TestParseStructWithoutEnvTag (0.00s) === RUN TestParseStructWithInvalidFieldKind --- PASS: TestParseStructWithInvalidFieldKind (0.00s) === RUN TestUnsupportedSliceType --- PASS: TestUnsupportedSliceType (0.00s) === RUN TestBadSeparator --- PASS: TestBadSeparator (0.00s) === RUN TestNoErrorRequiredSet --- PASS: TestNoErrorRequiredSet (0.00s) === RUN TestHook --- PASS: TestHook (0.00s) === RUN TestErrorRequiredWithDefault --- PASS: TestErrorRequiredWithDefault (0.00s) === RUN TestErrorRequiredNotSet --- PASS: TestErrorRequiredNotSet (0.00s) === RUN TestNoErrorNotEmptySet --- PASS: TestNoErrorNotEmptySet (0.00s) === RUN TestNoErrorRequiredAndNotEmptySet --- PASS: TestNoErrorRequiredAndNotEmptySet (0.00s) === RUN TestErrorNotEmptySet --- PASS: TestErrorNotEmptySet (0.00s) === RUN TestErrorRequiredAndNotEmptySet --- PASS: TestErrorRequiredAndNotEmptySet (0.00s) === RUN TestErrorRequiredNotSetWithDefault --- PASS: TestErrorRequiredNotSetWithDefault (0.00s) === RUN TestParseExpandOption --- PASS: TestParseExpandOption (0.00s) === RUN TestParseExpandWithDefaultOption --- PASS: TestParseExpandWithDefaultOption (0.00s) === RUN TestParseUnsetRequireOptions --- PASS: TestParseUnsetRequireOptions (0.00s) === RUN TestCustomParser === RUN TestCustomParser/0 === RUN TestCustomParser/1 === RUN TestCustomParser/2 === RUN TestCustomParser/3 === RUN TestCustomParser/4 === RUN TestCustomParser/5 === RUN TestCustomParser/6 === RUN TestCustomParser/7 === RUN TestCustomParser/8 === RUN TestCustomParser/9 --- PASS: TestCustomParser (0.00s) --- PASS: TestCustomParser/0 (0.00s) --- PASS: TestCustomParser/1 (0.00s) --- PASS: TestCustomParser/2 (0.00s) --- PASS: TestCustomParser/3 (0.00s) --- PASS: TestCustomParser/4 (0.00s) --- PASS: TestCustomParser/5 (0.00s) --- PASS: TestCustomParser/6 (0.00s) --- PASS: TestCustomParser/7 (0.00s) --- PASS: TestCustomParser/8 (0.00s) --- PASS: TestCustomParser/9 (0.00s) === RUN TestIssue226 --- PASS: TestIssue226 (0.00s) === RUN TestParseWithOptionsNoPtr --- PASS: TestParseWithOptionsNoPtr (0.00s) === RUN TestParseWithOptionsInvalidType --- PASS: TestParseWithOptionsInvalidType (0.00s) === RUN TestCustomParserError === RUN TestCustomParserError/single === RUN TestCustomParserError/slice --- PASS: TestCustomParserError (0.00s) --- PASS: TestCustomParserError/single (0.00s) --- PASS: TestCustomParserError/slice (0.00s) === RUN TestCustomParserBasicType --- PASS: TestCustomParserBasicType (0.00s) === RUN TestCustomParserUint64Alias --- PASS: TestCustomParserUint64Alias (0.00s) === RUN TestTypeCustomParserBasicInvalid --- PASS: TestTypeCustomParserBasicInvalid (0.00s) === RUN TestCustomParserNotCalledForNonAlias --- PASS: TestCustomParserNotCalledForNonAlias (0.00s) === RUN TestCustomParserBasicUnsupported --- PASS: TestCustomParserBasicUnsupported (0.00s) === RUN TestUnsupportedStructType --- PASS: TestUnsupportedStructType (0.00s) === RUN TestEmptyOption --- PASS: TestEmptyOption (0.00s) === RUN TestErrorOptionNotRecognized --- PASS: TestErrorOptionNotRecognized (0.00s) === RUN TestTextUnmarshalerError --- PASS: TestTextUnmarshalerError (0.00s) === RUN TestTextUnmarshalersError --- PASS: TestTextUnmarshalersError (0.00s) === RUN TestParseURL --- PASS: TestParseURL (0.00s) === RUN TestParseInvalidURL --- PASS: TestParseInvalidURL (0.00s) === RUN TestIgnoresUnexported --- PASS: TestIgnoresUnexported (0.00s) === RUN TestPrecedenceUnmarshalText --- PASS: TestPrecedenceUnmarshalText (0.00s) === RUN TestFile --- PASS: TestFile (0.00s) === RUN TestFileNoParam --- PASS: TestFileNoParam (0.00s) === RUN TestFileNoParamRequired --- PASS: TestFileNoParamRequired (0.00s) === RUN TestFileBadFile --- PASS: TestFileBadFile (0.00s) === RUN TestFileWithDefault --- PASS: TestFileWithDefault (0.00s) === RUN TestCustomSliceType --- PASS: TestCustomSliceType (0.00s) === RUN TestCustomTimeParser --- PASS: TestCustomTimeParser (0.00s) === RUN TestRequiredIfNoDefOption === RUN TestRequiredIfNoDefOption/missing === RUN TestRequiredIfNoDefOption/all_set --- PASS: TestRequiredIfNoDefOption (0.00s) --- PASS: TestRequiredIfNoDefOption/missing (0.00s) --- PASS: TestRequiredIfNoDefOption/all_set (0.00s) === RUN TestRequiredIfNoDefNested === RUN TestRequiredIfNoDefNested/missing === RUN TestRequiredIfNoDefNested/all_set --- PASS: TestRequiredIfNoDefNested (0.00s) --- PASS: TestRequiredIfNoDefNested/missing (0.00s) --- PASS: TestRequiredIfNoDefNested/all_set (0.00s) === RUN TestPrefix --- PASS: TestPrefix (0.00s) === RUN TestPrefixPointers --- PASS: TestPrefixPointers (0.00s) === RUN TestNestedPrefixPointer --- PASS: TestNestedPrefixPointer (0.00s) === RUN TestComplePrefix --- PASS: TestComplePrefix (0.00s) === RUN TestNoEnvKey --- PASS: TestNoEnvKey (0.00s) === RUN TestToEnv === RUN TestToEnv/Foo____Bar === RUN TestToEnv/fooBar === RUN TestToEnv/Foo_Bar === RUN TestToEnv/HTTPPort === RUN TestToEnv/SSHPort === RUN TestToEnv/_SSH___Port_ === RUN TestToEnv/_PortHTTP === RUN TestToEnv/Foo === RUN TestToEnv/FooBar === RUN TestToEnv/FOOBar === RUN TestToEnv/Foo__Bar --- PASS: TestToEnv (0.00s) --- PASS: TestToEnv/Foo____Bar (0.00s) --- PASS: TestToEnv/fooBar (0.00s) --- PASS: TestToEnv/Foo_Bar (0.00s) --- PASS: TestToEnv/HTTPPort (0.00s) --- PASS: TestToEnv/SSHPort (0.00s) --- PASS: TestToEnv/_SSH___Port_ (0.00s) --- PASS: TestToEnv/_PortHTTP (0.00s) --- PASS: TestToEnv/Foo (0.00s) --- PASS: TestToEnv/FooBar (0.00s) --- PASS: TestToEnv/FOOBar (0.00s) --- PASS: TestToEnv/Foo__Bar (0.00s) === RUN TestErrorIs === RUN TestErrorIs/is === RUN TestErrorIs/is_not --- PASS: TestErrorIs (0.00s) --- PASS: TestErrorIs/is (0.00s) --- PASS: TestErrorIs/is_not (0.00s) === RUN TestGetFieldParams --- PASS: TestGetFieldParams (0.00s) === RUN TestGetFieldParamsWithPrefix --- PASS: TestGetFieldParamsWithPrefix (0.00s) === RUN TestGetFieldParamsError --- PASS: TestGetFieldParamsError (0.00s) === RUN TestParseAs --- PASS: TestParseAs (0.00s) === RUN TestParseAsWithOptions --- PASS: TestParseAsWithOptions (0.00s) === RUN TestMust === RUN TestMust/error === RUN TestMust/success --- PASS: TestMust (0.00s) --- PASS: TestMust/error (0.00s) --- PASS: TestMust/success (0.00s) === RUN TestParseWithOptionsOverride --- PASS: TestParseWithOptionsOverride (0.00s) === RUN TestBase64Password --- PASS: TestBase64Password (0.00s) === RUN TestIssue304 --- PASS: TestIssue304 (0.00s) === RUN TestIssue234 --- PASS: TestIssue234 (0.00s) === RUN TestIssue308 --- PASS: TestIssue308 (0.00s) === RUN TestIssue317 === RUN TestIssue317/unset === RUN TestIssue317/empty === RUN TestIssue317/set --- PASS: TestIssue317 (0.00s) --- PASS: TestIssue317/unset (0.00s) --- PASS: TestIssue317/empty (0.00s) --- PASS: TestIssue317/set (0.00s) === RUN TestIssue310 --- PASS: TestIssue310 (0.00s) === RUN TestMultipleTagOptions === RUN TestMultipleTagOptions/unset === RUN TestMultipleTagOptions/empty === RUN TestMultipleTagOptions/set --- PASS: TestMultipleTagOptions (0.00s) --- PASS: TestMultipleTagOptions/unset (0.00s) --- PASS: TestMultipleTagOptions/empty (0.00s) --- PASS: TestMultipleTagOptions/set (0.00s) === RUN TestIssue298 --- PASS: TestIssue298 (0.00s) === RUN TestIssue298ErrorNestedFieldRequiredNotSet --- PASS: TestIssue298ErrorNestedFieldRequiredNotSet (0.00s) === RUN TestIssue320 --- PASS: TestIssue320 (0.00s) === RUN TestParseWithOptionsRenamedDefault --- PASS: TestParseWithOptionsRenamedDefault (0.00s) === RUN TestParseWithOptionsRenamedPrefix --- PASS: TestParseWithOptionsRenamedPrefix (0.00s) === RUN TestFieldIgnored --- PASS: TestFieldIgnored (0.00s) === RUN TestNoEnvKeyIgnored --- PASS: TestNoEnvKeyIgnored (0.00s) === RUN TestIssue339 === RUN TestIssue339/Should_parse_with_bool_ptr_set_and_env_undefined === RUN TestIssue339/Should_parse_with_bool_ptr_set_and_env_defined === RUN TestIssue339/Should_parse_with_string_ptr_set_and_env_undefined === RUN TestIssue339/Should_parse_with_string_ptr_set_and_env_defined --- PASS: TestIssue339 (0.00s) --- PASS: TestIssue339/Should_parse_with_bool_ptr_set_and_env_undefined (0.00s) --- PASS: TestIssue339/Should_parse_with_bool_ptr_set_and_env_defined (0.00s) --- PASS: TestIssue339/Should_parse_with_string_ptr_set_and_env_undefined (0.00s) --- PASS: TestIssue339/Should_parse_with_string_ptr_set_and_env_defined (0.00s) === RUN TestIssue350 --- PASS: TestIssue350 (0.00s) === RUN TestEnvBleed === RUN TestEnvBleed/Default_env_with_value === RUN TestEnvBleed/Empty_env_without_value === RUN TestEnvBleed/Custom_env_with_overwritten_value === RUN TestEnvBleed/Custom_env_without_value --- PASS: TestEnvBleed (0.00s) --- PASS: TestEnvBleed/Default_env_with_value (0.00s) --- PASS: TestEnvBleed/Empty_env_without_value (0.00s) --- PASS: TestEnvBleed/Custom_env_with_overwritten_value (0.00s) --- PASS: TestEnvBleed/Custom_env_without_value (0.00s) === RUN TestUnix --- PASS: TestUnix (0.00s) === RUN Example --- PASS: Example (0.00s) === RUN ExampleParse --- PASS: ExampleParse (0.00s) === RUN ExampleParseAs --- PASS: ExampleParseAs (0.00s) === RUN ExampleParse_required --- PASS: ExampleParse_required (0.00s) === RUN ExampleParse_notEmpty --- PASS: ExampleParse_notEmpty (0.00s) === RUN ExampleParse_unset --- PASS: ExampleParse_unset (0.00s) === RUN ExampleParse_separator --- PASS: ExampleParse_separator (0.00s) === RUN ExampleParse_expand --- PASS: ExampleParse_expand (0.00s) === RUN ExampleParse_init --- PASS: ExampleParse_init (0.00s) === RUN ExampleParse_setDefaults --- PASS: ExampleParse_setDefaults (0.00s) === RUN ExampleParseWithOptions_onSet --- PASS: ExampleParseWithOptions_onSet (0.00s) === RUN ExampleParse_customTimeFormat --- PASS: ExampleParse_customTimeFormat (0.00s) === RUN ExampleParseWithOptions_customTypes --- PASS: ExampleParseWithOptions_customTypes (0.00s) === RUN ExampleParseWithOptions_allFieldsRequired --- PASS: ExampleParseWithOptions_allFieldsRequired (0.00s) === RUN ExampleParseWithOptions_setEnv --- PASS: ExampleParseWithOptions_setEnv (0.00s) === RUN ExampleParse_complexSlices --- PASS: ExampleParse_complexSlices (0.00s) === RUN ExampleParse_prefix --- PASS: ExampleParse_prefix (0.00s) === RUN ExampleParseWithOptions_prefix --- PASS: ExampleParseWithOptions_prefix (0.00s) === RUN ExampleParseWithOptions_tagName --- PASS: ExampleParseWithOptions_tagName (0.00s) === RUN ExampleParseWithOptions_useFieldName --- PASS: ExampleParseWithOptions_useFieldName (0.00s) === RUN ExampleParse_fromFile --- PASS: ExampleParse_fromFile (0.00s) === RUN ExampleParse_errorHandling --- PASS: ExampleParse_errorHandling (0.00s) FAIL FAIL github.com/caarlos0/env 0.010s FAIL dh_auto_test: error: cd debian/build && go test -vet=off -v -p 2 github.com/caarlos0/env returned exit code 1 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202412/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.