Your message dated Mon, 3 Mar 2025 19:49:35 +0100
with message-id <z8x5vwixaxmkh...@thunder.hadrons.org>
and subject line Re: Bug#1082974: golang-golang-x-tools: FTBFS: diagnostic 
"types.Alias requires go1.22 or later (module is go1.21)" does not match 
pattern `types.Alias requires go1.22 or later (file is go1.16)`
has caused the Debian Bug report #1082974,
regarding golang-golang-x-tools: FTBFS: diagnostic "types.Alias requires go1.22 
or later (module is go1.21)" does not match pattern `types.Alias requires 
go1.22 or later (file is go1.16)`
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1082974: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082974
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:golang-golang-x-tools
Version: 1:0.23.0+ds-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Copy golang.org/x/telemetry for opt-in transparent telemetry;
# see https://go.dev/issue/58894
mkdir -p _build
cp -av debian/go/src _build/
'debian/go/src' -> '_build/src'
'debian/go/src/golang.org' -> '_build/src/golang.org'
'debian/go/src/golang.org/x' -> '_build/src/golang.org/x'
'debian/go/src/golang.org/x/telemetry' -> '_build/src/golang.org/x/telemetry'

[... snipped ...]

    inline.go:1437: keeping param "y": argument is not duplicable
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1588: falcon env: type string۰1 string
    inline.go:1607: falcon env: var y untyped string
    inline.go:1959: binding decl: var (
                y string = "."
                x string
        )
    inline.go:933: strategy: reduce stmt-context call to { return exprs }
    inline.go:954: callee body is not valid as statement
=== RUN   
TestNamedResultVars/Stmt-context_call_to_{return_binary}_that_mentions_named_result.
    callee.go:100: analyzeCallee func p.f() (x int) @ callee.go:2:1
    callee.go:476: effects list = []
    falcon.go:180: falcon: emit type int۰0 int // "int"
    falcon.go:201: falcon: emit constraint x + x
    inline.go:91: inline f() @ caller.go:2:13
    inline.go:466: multiple-assignment vars: map[]
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1959: binding decl: var x int
    inline.go:933: strategy: reduce stmt-context call to { return exprs }
    inline.go:954: callee body is not valid as statement
=== RUN   
TestNamedResultVars/Tail_call_to_{return_expr}_that_mentions_named_result.
    callee.go:100: analyzeCallee func p.f() (x int) @ callee.go:2:1
    callee.go:476: effects list = []
    falcon.go:180: falcon: emit type int۰0 int // "int"
    inline.go:91: inline f() @ caller.go:2:24
    inline.go:466: multiple-assignment vars: map[]
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1959: binding decl: var x int
    inline.go:1187: strategy: literalization
=== RUN   
TestNamedResultVars/Tail_call_to_{return}_that_implicitly_reads_named_result.
    callee.go:100: analyzeCallee func p.f() (x int) @ callee.go:2:1
    callee.go:476: effects list = []
    falcon.go:180: falcon: emit type int۰0 int // "int"
    inline.go:91: inline f() @ caller.go:2:24
    inline.go:466: multiple-assignment vars: map[]
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1949: binding decl not needed: all parameters substituted
    inline.go:1187: strategy: literalization
=== RUN   
TestNamedResultVars/Spread-context_call_to_{return_expr}_that_mentions_named_result.
    callee.go:100: analyzeCallee func p.f() (x int, y int) @ callee.go:2:1
    callee.go:476: effects list = []
    falcon.go:180: falcon: emit type int۰0 int // "int"
    inline.go:91: inline f() @ caller.go:2:24
    inline.go:466: multiple-assignment vars: map[]
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1959: binding decl: var x, y int
    inline.go:1187: strategy: literalization
=== RUN   
TestNamedResultVars/Shadowing_in_binding_decl_for_named_results_=>_literalization.
    callee.go:100: analyzeCallee func p.f(y string) (x int) @ callee.go:2:1
    callee.go:476: effects list = [0]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    falcon.go:180: falcon: emit type string۰1 string // "string"
    falcon.go:201: falcon: emit constraint x + x
    falcon.go:201: falcon: emit constraint y + y
    falcon.go:201: falcon: emit constraint x + x + len(y+y)
    inline.go:91: inline f(".") @ caller.go:2:13
    inline.go:466: multiple-assignment vars: map[]
    inline.go:790: arg #0: "." pure=true effects=false duplicable=false 
free=map[] type=untyped string
    inline.go:1437: keeping param "y": argument is not duplicable
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1588: falcon env: type string۰1 string
    inline.go:1607: falcon env: var y untyped string
    inline.go:1879: binding decl would shadow free name "y"
    inline.go:1187: strategy: literalization
--- PASS: TestNamedResultVars (0.00s)
    --- PASS: 
TestNamedResultVars/Stmt-context_call_to_{return_g()}_that_mentions_named_result.
 (0.00s)
    --- PASS: TestNamedResultVars/Ditto,_with_binding_decl_again. (0.00s)
    --- PASS: 
TestNamedResultVars/Ditto,_with_binding_decl_(due_to_repeated_y_refs). (0.00s)
    --- PASS: 
TestNamedResultVars/Stmt-context_call_to_{return_binary}_that_mentions_named_result.
 (0.00s)
    --- PASS: 
TestNamedResultVars/Tail_call_to_{return_expr}_that_mentions_named_result. 
(0.00s)
    --- PASS: 
TestNamedResultVars/Tail_call_to_{return}_that_implicitly_reads_named_result. 
(0.00s)
    --- PASS: 
TestNamedResultVars/Spread-context_call_to_{return_expr}_that_mentions_named_result.
 (0.00s)
    --- PASS: 
TestNamedResultVars/Shadowing_in_binding_decl_for_named_results_=>_literalization.
 (0.00s)
=== RUN   TestSubstitutionPreservesParameterType
=== RUN   
TestSubstitutionPreservesParameterType/Substitution_preserves_argument_type_(#63193).
    callee.go:100: analyzeCallee func p.f(x int16) @ callee.go:2:1
    callee.go:476: effects list = [0]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    falcon.go:180: falcon: emit type int16۰1 int16 // "int16"
    inline.go:91: inline f(1) @ caller.go:2:13
    inline.go:466: multiple-assignment vars: map[]
    inline.go:790: arg #0: 1 pure=true effects=false duplicable=true free=map[] 
type=untyped int
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1588: falcon env: type int16۰1 int16
    inline.go:1603: falcon env: const x int16۰1 = 1
    inline.go:1524: param "x": adding explicit untyped int -> int16 conversion 
around argument
    inline.go:1533: replacing parameter "x" by argument "int16(1)"
    inline.go:678: - replace id "x" @ #23 to "int16(1)"
    inline.go:1949: binding decl not needed: all parameters substituted
    inline.go:1142: strategy: reduce stmt-context call to { stmts }
=== RUN   
TestSubstitutionPreservesParameterType/Same,_with_non-constant_(unnamed_to_named_struct)_conversion.
    callee.go:100: analyzeCallee func p.f(x p.T) @ callee.go:2:1
    callee.go:476: effects list = [0]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    inline.go:91: inline f(struct{}{}) @ caller.go:2:13
    inline.go:466: multiple-assignment vars: map[]
    inline.go:790: arg #0: struct{}{} pure=true effects=false duplicable=true 
free=map[] type=struct{}
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1607: falcon env: var x struct{}
    inline.go:1524: param "x": adding explicit struct{} -> p.T conversion 
around argument
    inline.go:1533: replacing parameter "x" by argument "T(struct{}{})"
    inline.go:678: - replace id "x" @ #19 to "T(struct{}{})"
    inline.go:1949: binding decl not needed: all parameters substituted
    inline.go:1142: strategy: reduce stmt-context call to { stmts }
=== RUN   
TestSubstitutionPreservesParameterType/Same,_with_non-constant_(chan_to_<-chan)_conversion.
    callee.go:100: analyzeCallee func p.f(x <-chan int) @ callee.go:2:1
    callee.go:476: effects list = [0]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    inline.go:91: inline f(ch) @ caller.go:2:13
    inline.go:466: multiple-assignment vars: map[]
    inline.go:790: arg #0: ch pure=false effects=false duplicable=true 
free=map[ch:true] type=chan int
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1607: falcon env: var x chan int
    inline.go:1524: param "x": adding explicit chan int -> <-chan int 
conversion around argument
    inline.go:1533: replacing parameter "x" by argument "T(ch)"
    inline.go:678: - replace id "x" @ #19 to "T(ch)"
    inline.go:1949: binding decl not needed: all parameters substituted
    inline.go:1142: strategy: reduce stmt-context call to { stmts }
=== RUN   
TestSubstitutionPreservesParameterType/Same,_with_untyped_nil_to_typed_nil_conversion.
    callee.go:100: analyzeCallee func p.f(x *int) @ callee.go:2:1
    callee.go:476: effects list = [0]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    inline.go:91: inline f(nil) @ caller.go:2:13
    inline.go:466: multiple-assignment vars: map[]
    inline.go:790: arg #0: nil pure=true effects=false duplicable=true 
free=map[nil:true] type=untyped nil
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1607: falcon env: var x untyped nil
    inline.go:1524: param "x": adding explicit untyped nil -> *int conversion 
around argument
    inline.go:1533: replacing parameter "x" by argument "(*int)(nil)"
    inline.go:678: - replace id "x" @ #22 to "(*int)(nil)"
    inline.go:1949: binding decl not needed: all parameters substituted
    inline.go:1142: strategy: reduce stmt-context call to { stmts }
=== RUN   
TestSubstitutionPreservesParameterType/Conversion_of_untyped_int_to_named_type_is_made_explicit.
    callee.go:100: analyzeCallee func (p.T).f() @ callee.go:2:13
    callee.go:476: effects list = [0 -2]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    falcon.go:180: falcon: emit type int۰1 int // "p.T"
    inline.go:91: inline T.f(1) @ caller.go:2:15
    inline.go:466: multiple-assignment vars: map[]
    inline.go:790: arg #0: 1 pure=true effects=false duplicable=true free=map[] 
type=untyped int
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1588: falcon env: type int۰1 int
    inline.go:1603: falcon env: const x int۰1 = 1
    inline.go:1524: param "x": adding explicit untyped int -> p.T conversion 
around argument
    inline.go:1533: replacing parameter "x" by argument "T(1)"
    inline.go:678: - replace id "x" @ #17 to "T(1)"
    inline.go:1949: binding decl not needed: all parameters substituted
    inline.go:1142: strategy: reduce stmt-context call to { stmts }
=== RUN   
TestSubstitutionPreservesParameterType/Check_for_shadowing_error_on_type_used_in_the_conversion.
    callee.go:100: analyzeCallee func p.f(x p.T) @ callee.go:2:1
    callee.go:476: effects list = [0]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    falcon.go:180: falcon: emit type int16۰1 int16 // "p.T"
    inline.go:91: inline f(1) @ caller.go:2:26
    inline.go:466: multiple-assignment vars: map[]
--- PASS: TestSubstitutionPreservesParameterType (0.00s)
    --- PASS: 
TestSubstitutionPreservesParameterType/Substitution_preserves_argument_type_(#63193).
 (0.00s)
    --- PASS: 
TestSubstitutionPreservesParameterType/Same,_with_non-constant_(unnamed_to_named_struct)_conversion.
 (0.00s)
    --- PASS: 
TestSubstitutionPreservesParameterType/Same,_with_non-constant_(chan_to_<-chan)_conversion.
 (0.00s)
    --- PASS: 
TestSubstitutionPreservesParameterType/Same,_with_untyped_nil_to_typed_nil_conversion.
 (0.00s)
    --- PASS: 
TestSubstitutionPreservesParameterType/Conversion_of_untyped_int_to_named_type_is_made_explicit.
 (0.00s)
    --- PASS: 
TestSubstitutionPreservesParameterType/Check_for_shadowing_error_on_type_used_in_the_conversion.
 (0.00s)
=== RUN   TestRedundantConversions
=== RUN   
TestRedundantConversions/Type_conversion_must_be_added_if_the_constant_is_untyped.
    callee.go:100: analyzeCallee func p.f(i int32) @ callee.go:2:1
    callee.go:476: effects list = [0 -2]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    falcon.go:180: falcon: emit type int32۰1 int32 // "int32"
    inline.go:91: inline f(1) @ caller.go:2:13
    inline.go:466: multiple-assignment vars: map[]
    inline.go:790: arg #0: 1 pure=true effects=false duplicable=true free=map[] 
type=untyped int
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1588: falcon env: type int32۰1 int32
    inline.go:1603: falcon env: const i int32۰1 = 1
    inline.go:1524: param "i": adding explicit untyped int -> int32 conversion 
around argument
    inline.go:1533: replacing parameter "i" by argument "int32(1)"
    inline.go:678: - replace id "i" @ #24 to "int32(1)"
    inline.go:1949: binding decl not needed: all parameters substituted
    inline.go:1142: strategy: reduce stmt-context call to { stmts }
=== RUN   
TestRedundantConversions/Type_conversion_must_not_be_added_if_the_constant_is_typed.
    callee.go:100: analyzeCallee func p.f(i int32) @ callee.go:2:1
    callee.go:476: effects list = [0 -2]
    falcon.go:180: falcon: emit type int۰0 int // "int"
    falcon.go:180: falcon: emit type int32۰1 int32 // "int32"
    inline.go:91: inline f(int32(1)) @ caller.go:2:13
    inline.go:466: multiple-assignment vars: map[]
    inline.go:790: arg #0: int32(1) pure=true effects=false duplicable=true 
free=map[int32:true] type=int32
    inline.go:1588: falcon env: type int۰0 int
    inline.go:1588: falcon env: type int32۰1 int32
    inline.go:1603: falcon env: const i int32۰1 = 1
    inline.go:1533: replacing parameter "i" by argument "int32(1)"
    inline.go:678: - replace id "i" @ #24 to "int32(1)"
    inline.go:1949: binding decl not needed: all parameters substituted
    inline.go:1142: strategy: reduce stmt-context call to { stmts }
--- PASS: TestRedundantConversions (0.00s)
    --- PASS: 
TestRedundantConversions/Type_conversion_must_be_added_if_the_constant_is_untyped.
 (0.00s)
    --- PASS: 
TestRedundantConversions/Type_conversion_must_not_be_added_if_the_constant_is_typed.
 (0.00s)
PASS
ok      golang.org/x/tools/internal/refactor/inline     0.739s
=== RUN   TestAnalyzer
--- PASS: TestAnalyzer (0.09s)
PASS
ok      golang.org/x/tools/internal/refactor/inline/analyzer    0.093s
?       golang.org/x/tools/internal/stack/stacktest     [no test files]
?       golang.org/x/tools/internal/stdlib      [no test files]
?       golang.org/x/tools/internal/testenv     [no test files]
?       golang.org/x/tools/internal/tool        [no test files]
?       golang.org/x/tools/internal/typeparams/genericfeatures  [no test files]
?       golang.org/x/tools/internal/xcontext    [no test files]
?       golang.org/x/tools/playground   [no test files]
=== RUN   TestFileInfo
=== RUN   TestFileInfo/symlink
=== RUN   TestFileInfo/hardlink
--- PASS: TestFileInfo (2.00s)
    --- PASS: TestFileInfo/symlink (0.00s)
    --- PASS: TestFileInfo/hardlink (0.00s)
PASS
ok      golang.org/x/tools/internal/robustio    2.002s
=== RUN   TestProcess
=== RUN   TestProcess/empty
=== RUN   TestProcess/no_frame
=== RUN   TestProcess/one_frame
=== RUN   TestProcess/one_call
=== RUN   TestProcess/two_call
=== RUN   TestProcess/merge_call
=== RUN   TestProcess/alternating_call
=== RUN   TestProcess/sort_calls
=== RUN   TestProcess/real_single
--- PASS: TestProcess (0.00s)
    --- PASS: TestProcess/empty (0.00s)
    --- PASS: TestProcess/no_frame (0.00s)
    --- PASS: TestProcess/one_frame (0.00s)
    --- PASS: TestProcess/one_call (0.00s)
    --- PASS: TestProcess/two_call (0.00s)
    --- PASS: TestProcess/merge_call (0.00s)
    --- PASS: TestProcess/alternating_call (0.00s)
    --- PASS: TestProcess/sort_calls (0.00s)
    --- PASS: TestProcess/real_single (0.00s)
PASS
ok      golang.org/x/tools/internal/stack       0.001s
=== RUN   TestTestDir
    analysistest.go:550: /tmp/TestTestDir2974071677/001/pre.go:3:1: diagnostic 
"pre.go@go1.21" does not match pattern `pre.go@go1.20`
    analysistest.go:614: /tmp/TestTestDir2974071677/001/pre.go:3: no diagnostic 
was reported matching `pre.go@go1.20`
--- FAIL: TestTestDir (0.09s)
=== RUN   TestCopyTestFilesErrors
--- PASS: TestCopyTestFilesErrors (0.00s)
FAIL
FAIL    golang.org/x/tools/internal/testfiles   0.092s
=== RUN   TestAddExistingFiles
--- PASS: TestAddExistingFiles (0.00s)
PASS
ok      golang.org/x/tools/internal/tokeninternal       0.001s
=== RUN   TestFree
--- PASS: TestFree (0.00s)
=== RUN   TestGetIndexExprData
--- PASS: TestGetIndexExprData (0.00s)
=== RUN   TestFuncOriginRecursive
--- PASS: TestFuncOriginRecursive (0.00s)
=== RUN   TestFuncOriginUses
--- PASS: TestFuncOriginUses (0.00s)
=== RUN   TestFuncOrigin60628
--- PASS: TestFuncOrigin60628 (0.00s)
=== RUN   TestGenericAssignableTo
--- PASS: TestGenericAssignableTo (0.00s)
=== RUN   TestCoreType
--- PASS: TestCoreType (0.00s)
=== RUN   TestStructuralTerms
=== RUN   TestStructuralTerms/emptyinterface0
=== RUN   TestStructuralTerms/emptyinterface1
=== RUN   TestStructuralTerms/singleton
=== RUN   TestStructuralTerms/under
=== RUN   TestStructuralTerms/superset
    normalize_test.go:66: types.Config.Check: p.go:1:46: overlapping terms int 
and ~int
=== RUN   TestStructuralTerms/overlap
=== RUN   TestStructuralTerms/emptyintersection
=== RUN   TestStructuralTerms/embedded0
=== RUN   TestStructuralTerms/embedded1
=== RUN   TestStructuralTerms/embedded2
=== RUN   TestStructuralTerms/named
    normalize_test.go:66: types.Config.Check: p.go:1:56: overlapping terms int 
and ~int
=== RUN   TestStructuralTerms/example
--- PASS: TestStructuralTerms (0.00s)
    --- PASS: TestStructuralTerms/emptyinterface0 (0.00s)
    --- PASS: TestStructuralTerms/emptyinterface1 (0.00s)
    --- PASS: TestStructuralTerms/singleton (0.00s)
    --- PASS: TestStructuralTerms/under (0.00s)
    --- PASS: TestStructuralTerms/superset (0.00s)
    --- PASS: TestStructuralTerms/overlap (0.00s)
    --- PASS: TestStructuralTerms/emptyintersection (0.00s)
    --- PASS: TestStructuralTerms/embedded0 (0.00s)
    --- PASS: TestStructuralTerms/embedded1 (0.00s)
    --- PASS: TestStructuralTerms/embedded2 (0.00s)
    --- PASS: TestStructuralTerms/named (0.00s)
    --- PASS: TestStructuralTerms/example (0.00s)
PASS
ok      golang.org/x/tools/internal/typeparams  0.003s
=== RUN   TestErrorCodes
    errorcode_test.go:22: unskip this test to verify the correctness of 
errorcode.go for the current Go version
--- SKIP: TestErrorCodes (0.00s)
PASS
ok      golang.org/x/tools/internal/typesinternal       0.001s
=== RUN   Test
=== RUN   Test/types.Config{GoVersion:""}
    types_test.go:60: FileVersions(gobuild.go)="go1.23". expected ""
=== RUN   Test/types.Config{GoVersion:"go1.22"}
--- FAIL: Test (0.00s)
    --- FAIL: Test/types.Config{GoVersion:""} (0.00s)
    --- PASS: Test/types.Config{GoVersion:"go1.22"} (0.00s)
=== RUN   TestIsValid
--- PASS: TestIsValid (0.00s)
=== RUN   TestVersionComparisons
--- PASS: TestVersionComparisons (0.00s)
=== RUN   TestLang
--- PASS: TestLang (0.00s)
=== RUN   TestKnown
--- PASS: TestKnown (0.00s)
=== RUN   TestAtLeast
--- PASS: TestAtLeast (0.00s)
=== RUN   TestBefore
--- PASS: TestBefore (0.00s)
=== RUN   TestFileVersions122
--- PASS: TestFileVersions122 (0.00s)
=== RUN   TestFileVersions121
    versions_test.go:235: running Go version "go1.23.1" is version 1.23, newer 
than maximum 1.21
--- SKIP: TestFileVersions121 (0.00s)
FAIL
FAIL    golang.org/x/tools/internal/versions    0.002s
=== RUN   TestBuffer
--- PASS: TestBuffer (0.00s)
=== RUN   TestLimiter
--- PASS: TestLimiter (0.00s)
PASS
ok      golang.org/x/tools/playground/socket    0.002s
=== RUN   TestParseCode
--- PASS: TestParseCode (0.00s)
=== RUN   TestInlineParsing
--- PASS: TestInlineParsing (0.00s)
=== RUN   TestTestdata
=== RUN   TestTestdata/basic.p
=== RUN   TestTestdata/code.p
=== RUN   TestTestdata/list.p
=== RUN   TestTestdata/media.p
=== RUN   TestTestdata/pre.p
=== RUN   TestTestdata/basic.md
=== RUN   TestTestdata/code.md
=== RUN   TestTestdata/list.md
=== RUN   TestTestdata/media.md
=== RUN   TestTestdata/pre.md
--- PASS: TestTestdata (0.00s)
    --- PASS: TestTestdata/basic.p (0.00s)
    --- PASS: TestTestdata/code.p (0.00s)
    --- PASS: TestTestdata/list.p (0.00s)
    --- PASS: TestTestdata/media.p (0.00s)
    --- PASS: TestTestdata/pre.p (0.00s)
    --- PASS: TestTestdata/basic.md (0.00s)
    --- PASS: TestTestdata/code.md (0.00s)
    --- PASS: TestTestdata/list.md (0.00s)
    --- PASS: TestTestdata/media.md (0.00s)
    --- PASS: TestTestdata/pre.md (0.00s)
=== RUN   TestSplit
--- PASS: TestSplit (0.00s)
=== RUN   TestFont
--- PASS: TestFont (0.00s)
=== RUN   TestStyle
--- PASS: TestStyle (0.00s)
=== RUN   ExampleStyle
--- PASS: ExampleStyle (0.00s)
PASS
ok      golang.org/x/tools/present      0.004s
=== RUN   Test
--- PASS: Test (1.28s)
PASS
ok      golang.org/x/tools/refactor/eg  1.289s
=== RUN   TestBuild
    graph_test.go:68: GOPACKAGESDRIVER=off
    graph_test.go:68: GOPATH=/tmp/TestBuild949974352/importgraph
    graph_test.go:107: forward["golang.org/x/tools/refactor/importgraph"]
    graph_test.go:114:  crypto/hmac
    graph_test.go:114:  fmt
    graph_test.go:114:  go/build
    graph_test.go:114:  golang.org/x/tools/go/buildutil
    graph_test.go:114:  golang.org/x/tools/go/packages/packagestest
    graph_test.go:114:  golang.org/x/tools/refactor/importgraph
    graph_test.go:114:  os
    graph_test.go:114:  sort
    graph_test.go:114:  strings
    graph_test.go:114:  sync
    graph_test.go:114:  testing
    graph_test.go:107: reverse["golang.org/x/tools/refactor/importgraph"]
    graph_test.go:114:  golang.org/x/tools/refactor/importgraph
--- PASS: TestBuild (0.90s)
PASS
ok      golang.org/x/tools/refactor/importgraph 0.917s
=== RUN   TestErrors
While scanning Go workspace:
Package "foo": /go/src/foo/0.go:1:1: expected 'package', found 'EOF'.
/go/src/foo/0.go:1:1: expected 'package', found 'EOF'
--- PASS: TestErrors (0.00s)
=== RUN   TestMoves
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
--- PASS: TestMoves (0.00s)
=== RUN   TestConflicts
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 3 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
--- PASS: TestConflicts (0.01s)
=== RUN   TestInvalidIdentifiers
--- PASS: TestInvalidIdentifiers (0.00s)
=== RUN   TestRewrites
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 2 files in 2 packages.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 4 occurrences in 1 file in 1 package.
Renamed 4 occurrences in 1 file in 1 package.
Renamed 4 occurrences in 1 file in 1 package.
    rename_test.go:1328: test requires aliases
    rename_test.go:1328: test requires aliases
Renamed 3 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 3 occurrences in 2 files in 2 packages.
Renamed 3 occurrences in 2 files in 2 packages.
Renamed 3 occurrences in 2 files in 2 packages.
Renamed 5 occurrences in 1 file in 1 package.
Renamed 5 occurrences in 1 file in 1 package.
Renamed 3 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
/go/src/main/0.go:4:6: declared and not used: unused
Renamed 2 occurrences in 1 file in 1 package.
--- PASS: TestRewrites (0.01s)
=== RUN   TestDiff
--- PASS: TestDiff (0.12s)
PASS
ok      golang.org/x/tools/refactor/rename      0.141s
=== RUN   TestGenericCoreOperations
--- PASS: TestGenericCoreOperations (0.00s)
PASS
ok      golang.org/x/tools/refactor/satisfy     0.005s
=== RUN   TestParse
=== RUN   TestParse/basic
--- PASS: TestParse (0.00s)
    --- PASS: TestParse/basic (0.00s)
=== RUN   TestFormat
=== RUN   TestFormat/basic
--- PASS: TestFormat (0.00s)
    --- PASS: TestFormat/basic (0.00s)
PASS
ok      golang.org/x/tools/txtar        0.001s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 -short -timeout=30m 
golang.org/x/tools/benchmark/parse golang.org/x/tools/blog golang.org/x/tools/blog/atom 
golang.org/x/tools/cmd/auth/authtest golang.org/x/tools/cmd/auth/cookieauth 
golang.org/x/tools/cmd/auth/gitauth golang.org/x/tools/cmd/auth/netrcauth 
golang.org/x/tools/cmd/benchcmp golang.org/x/tools/cmd/bisect 
golang.org/x/tools/cmd/bundle golang.org/x/tools/cmd/callgraph 
golang.org/x/tools/cmd/compilebench golang.org/x/tools/cmd/deadcode 
golang.org/x/tools/cmd/digraph golang.org/x/tools/cmd/eg 
golang.org/x/tools/cmd/file2fuzz golang.org/x/tools/cmd/fiximports 
golang.org/x/tools/cmd/go-contrib-init golang.org/x/tools/cmd/godex 
golang.org/x/tools/cmd/godoc golang.org/x/tools/cmd/goimports 
golang.org/x/tools/cmd/gomvpkg golang.org/x/tools/cmd/gonew 
golang.org/x/tools/cmd/gorename golang.org/x/tools/cmd/gotype 
golang.org/x/tools/cmd/goyacc golang.org/x/tools/cmd/html2article 
golang.org/x/tools/cmd/present golang.org/x/tools/cmd/present2md 
golang.org/x/tools/cmd/splitdwarf golang.org/x/tools/cmd/splitdwarf/internal/macho 
golang.org/x/tools/cmd/ssadump golang.org/x/tools/cmd/stress 
golang.org/x/tools/cmd/stringer golang.org/x/tools/cmd/toolstash 
golang.org/x/tools/container/intsets golang.org/x/tools/cover 
golang.org/x/tools/go/analysis golang.org/x/tools/go/analysis/analysistest 
golang.org/x/tools/go/analysis/internal/analysisflags 
golang.org/x/tools/go/analysis/internal/checker 
golang.org/x/tools/go/analysis/internal/versiontest 
golang.org/x/tools/go/analysis/multichecker 
golang.org/x/tools/go/analysis/passes/appends 
golang.org/x/tools/go/analysis/passes/asmdecl 
golang.org/x/tools/go/analysis/passes/assign 
golang.org/x/tools/go/analysis/passes/atomic 
golang.org/x/tools/go/analysis/passes/atomicalign 
golang.org/x/tools/go/analysis/passes/bools 
golang.org/x/tools/go/analysis/passes/buildssa 
golang.org/x/tools/go/analysis/passes/buildtag 
golang.org/x/tools/go/analysis/passes/cgocall 
golang.org/x/tools/go/analysis/passes/composite 
golang.org/x/tools/go/analysis/passes/copylock 
golang.org/x/tools/go/analysis/passes/ctrlflow 
golang.org/x/tools/go/analysis/passes/deepequalerrors 
golang.org/x/tools/go/analysis/passes/defers 
golang.org/x/tools/go/analysis/passes/defers/cmd/defers 
golang.org/x/tools/go/analysis/passes/directive 
golang.org/x/tools/go/analysis/passes/errorsas 
golang.org/x/tools/go/analysis/passes/fieldalignment 
golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment 
golang.org/x/tools/go/analysis/passes/findcall 
golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall 
golang.org/x/tools/go/analysis/passes/framepointer 
golang.org/x/tools/go/analysis/passes/httpmux 
golang.org/x/tools/go/analysis/passes/httpresponse 
golang.org/x/tools/go/analysis/passes/ifaceassert 
golang.org/x/tools/go/analysis/passes/ifaceassert/cmd/ifaceassert 
golang.org/x/tools/go/analysis/passes/inspect 
golang.org/x/tools/go/analysis/passes/internal/analysisutil 
golang.org/x/tools/go/analysis/passes/loopclosure 
golang.org/x/tools/go/analysis/passes/lostcancel 
golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel 
golang.org/x/tools/go/analysis/passes/nilfunc 
golang.org/x/tools/go/analysis/passes/nilness 
golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness 
golang.org/x/tools/go/analysis/passes/pkgfact 
golang.org/x/tools/go/analysis/passes/printf 
golang.org/x/tools/go/analysis/passes/reflectvaluecompare 
golang.org/x/tools/go/analysis/passes/shadow 
golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow 
golang.org/x/tools/go/analysis/passes/shift 
golang.org/x/tools/go/analysis/passes/sigchanyzer 
golang.org/x/tools/go/analysis/passes/slog 
golang.org/x/tools/go/analysis/passes/sortslice 
golang.org/x/tools/go/analysis/passes/stdmethods 
golang.org/x/tools/go/analysis/passes/stdversion 
golang.org/x/tools/go/analysis/passes/stringintconv 
golang.org/x/tools/go/analysis/passes/stringintconv/cmd/stringintconv 
golang.org/x/tools/go/analysis/passes/structtag 
golang.org/x/tools/go/analysis/passes/testinggoroutine 
golang.org/x/tools/go/analysis/passes/tests 
golang.org/x/tools/go/analysis/passes/timeformat 
golang.org/x/tools/go/analysis/passes/unmarshal 
golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal 
golang.org/x/tools/go/analysis/passes/unreachable 
golang.org/x/tools/go/analysis/passes/unsafeptr 
golang.org/x/tools/go/analysis/passes/unusedresult 
golang.org/x/tools/go/analysis/passes/unusedresult/cmd/unusedresult 
golang.org/x/tools/go/analysis/passes/unusedwrite 
golang.org/x/tools/go/analysis/passes/usesgenerics 
golang.org/x/tools/go/analysis/singlechecker golang.org/x/tools/go/analysis/unitchecker 
golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/ast/inspector 
golang.org/x/tools/go/buildutil golang.org/x/tools/go/callgraph 
golang.org/x/tools/go/callgraph/cha golang.org/x/tools/go/callgraph/rta 
golang.org/x/tools/go/callgraph/static golang.org/x/tools/go/callgraph/vta 
golang.org/x/tools/go/callgraph/vta/internal/trie golang.org/x/tools/go/cfg 
golang.org/x/tools/go/expect golang.org/x/tools/go/gccgoexportdata 
golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/internal/cgo 
golang.org/x/tools/go/internal/gccgoimporter golang.org/x/tools/go/loader 
golang.org/x/tools/go/packages golang.org/x/tools/go/packages/gopackages 
golang.org/x/tools/go/packages/internal/nodecount 
golang.org/x/tools/go/packages/packagestest golang.org/x/tools/go/ssa 
golang.org/x/tools/go/ssa/interp golang.org/x/tools/go/ssa/ssautil 
golang.org/x/tools/go/types/internal/play golang.org/x/tools/go/types/objectpath 
golang.org/x/tools/go/types/typeutil golang.org/x/tools/godoc 
golang.org/x/tools/godoc/analysis golang.org/x/tools/godoc/redirect 
golang.org/x/tools/godoc/static golang.org/x/tools/godoc/util 
golang.org/x/tools/godoc/vfs golang.org/x/tools/godoc/vfs/gatefs 
golang.org/x/tools/godoc/vfs/httpfs golang.org/x/tools/godoc/vfs/mapfs 
golang.org/x/tools/godoc/vfs/zipfs golang.org/x/tools/imports 
golang.org/x/tools/internal/aliases golang.org/x/tools/internal/analysisinternal 
golang.org/x/tools/internal/apidiff golang.org/x/tools/internal/astutil 
golang.org/x/tools/internal/bisect golang.org/x/tools/internal/diff 
golang.org/x/tools/internal/diff/difftest golang.org/x/tools/internal/diff/lcs 
golang.org/x/tools/internal/diff/myers golang.org/x/tools/internal/diffp 
golang.org/x/tools/internal/drivertest golang.org/x/tools/internal/edit 
golang.org/x/tools/internal/event golang.org/x/tools/internal/event/core 
golang.org/x/tools/internal/event/export 
golang.org/x/tools/internal/event/export/eventtest 
golang.org/x/tools/internal/event/export/metric 
golang.org/x/tools/internal/event/export/ocagent 
golang.org/x/tools/internal/event/export/ocagent/wire 
golang.org/x/tools/internal/event/export/prometheus 
golang.org/x/tools/internal/event/keys golang.org/x/tools/internal/event/label 
golang.org/x/tools/internal/facts golang.org/x/tools/internal/fakenet 
golang.org/x/tools/internal/gcimporter golang.org/x/tools/internal/gocommand 
golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/goroot 
golang.org/x/tools/internal/imports golang.org/x/tools/internal/jsonrpc2 
golang.org/x/tools/internal/jsonrpc2/servertest golang.org/x/tools/internal/jsonrpc2_v2 
golang.org/x/tools/internal/memoize golang.org/x/tools/internal/packagesinternal 
golang.org/x/tools/internal/pkgbits golang.org/x/tools/internal/pprof 
golang.org/x/tools/internal/proxydir golang.org/x/tools/internal/refactor/inline 
golang.org/x/tools/internal/refactor/inline/analyzer 
golang.org/x/tools/internal/robustio golang.org/x/tools/internal/stack 
golang.org/x/tools/internal/stack/stacktest golang.org/x/tools/internal/stdlib 
golang.org/x/tools/internal/testenv golang.org/x/tools/internal/testfiles 
golang.org/x/tools/internal/tokeninternal golang.org/x/tools/internal/tool 
golang.org/x/tools/internal/typeparams 
golang.org/x/tools/internal/typeparams/genericfeatures 
golang.org/x/tools/internal/typesinternal golang.org/x/tools/internal/versions 
golang.org/x/tools/internal/xcontext golang.org/x/tools/playground 
golang.org/x/tools/playground/socket golang.org/x/tools/present 
golang.org/x/tools/refactor/eg golang.org/x/tools/refactor/importgraph 
golang.org/x/tools/refactor/rename golang.org/x/tools/refactor/satisfy 
golang.org/x/tools/txtar returned exit code 1
make[1]: *** [debian/rules:76: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:80: binary] Error 2
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/202409/

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.

--- End Message ---
--- Begin Message ---
Version: 1:0.25.0+ds-1

On Sun, 2024-09-29 at 12:57:47 +0200, Santiago Vila wrote:
> Package: src:golang-golang-x-tools
> Version: 1:0.23.0+ds-1
> Severity: serious
> Tags: ftbfs

> [... snipped ...]
> 
> === RUN   TestTestDir
>     analysistest.go:550: /tmp/TestTestDir2974071677/001/pre.go:3:1: 
> diagnostic "pre.go@go1.21" does not match pattern `pre.go@go1.20`
>     analysistest.go:614: /tmp/TestTestDir2974071677/001/pre.go:3: no 
> diagnostic was reported matching `pre.go@go1.20`
> --- FAIL: TestTestDir (0.09s)
> === RUN   TestCopyTestFilesErrors
> --- PASS: TestCopyTestFilesErrors (0.00s)
> FAIL
> FAIL  golang.org/x/tools/internal/testfiles   0.092s

This was fixed with the just uploaded release, but we missed adding the
bug closure (which I've now done retroactively on the git repo). This is
the relevant changelog entry:

 golang-golang-x-tools (1:0.25.0+ds-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Nicolas Peugnet ]
   * New upstream version. Closes: #1090796
   * Make gbp import-orig automatically link to upstream's tags.
   * internal/imports: adjust TestStdlibSelfImports pkg.
   * Enable GO111MODULE for some more tests.
   * Backport upstream patch to fix copylock tests with go1.24.
     Closes: #1082974
 .
   [ Guillem Jover ]
   * Switch to Standards-Version 4.7.2 (no changes needed).
   * Terminate make variable lists with an EOL comment.
   * Add debian/upstream/metadata file.
   * Sort fields in the same order as dh-make-golang produces them.
   * Update copyright years.

Thanks,
Guillem

--- End Message ---

Reply via email to