--- Begin Message ---
Source: golang-gopkg-gcfg.v1
Version: 1.2.3-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cp -rv testdata _build/src/gopkg.in/gcfg.v1/
> 'testdata/gcfg_test.gcfg' ->
> '_build/src/gopkg.in/gcfg.v1/testdata/gcfg_test.gcfg'
> 'testdata/gcfg_unicode_test.gcfg' ->
> '_build/src/gopkg.in/gcfg.v1/testdata/gcfg_unicode_test.gcfg'
> 'testdata/issue12.gcfg' -> '_build/src/gopkg.in/gcfg.v1/testdata/issue12.gcfg'
> 'testdata/notepad.ini' -> '_build/src/gopkg.in/gcfg.v1/testdata/notepad.ini'
> dh_auto_test
> cd _build && go test -vet=off -v -p 4 gopkg.in/gcfg.v1
> gopkg.in/gcfg.v1/scanner gopkg.in/gcfg.v1/token gopkg.in/gcfg.v1/types
> === RUN TestGoogleCodeIssue1
> --- PASS: TestGoogleCodeIssue1 (0.00s)
> issues_test.go:46: 0 pass: failed to parse "X" as int: expected integer
> at section "section", variable "int"
> issues_test.go:46: 1 pass: failed to parse "" as int: EOF at section
> "section", variable "int"
> issues_test.go:46: 2 pass: failed to parse "1A" as int: extra characters
> "A" at section "section", variable "int"
> issues_test.go:46: 3 pass: failed to parse "X" as big.Int: number has no
> digits at section "section", variable "bigint"
> issues_test.go:46: 4 pass: failed to parse "" as big.Int: unexpected EOF
> at section "section", variable "bigint"
> issues_test.go:46: 5 pass: failed to parse "1A" as big.Int: extra
> characters "A" at section "section", variable "bigint"
> === RUN TestGoogleCodeIssue2
> --- PASS: TestGoogleCodeIssue2 (0.00s)
> read_test.go:308: issue2:0 pass: got value
> &gcfg.confGoogleCodeIssue2{Main:struct { Foo string }{Foo:"bar"}}
> read_test.go:308: issue2:1 pass: got value
> &gcfg.confGoogleCodeIssue2{Main:struct { Foo string }{Foo:"bar"}}
> === RUN TestIssue11
> --- PASS: TestIssue11 (0.00s)
> issues_test.go:91: 0 pass: failed to parse bool `x` at section "Sect",
> variable "Var"
> issues_test.go:91: 1 pass: failed to parse bool `x` at section "Sect",
> variable "Var"
> === RUN TestIssue12
> --- PASS: TestIssue12 (0.00s)
> === RUN TestReadStringInto
> --- PASS: TestReadStringInto (0.00s)
> read_test.go:308: scanning:0 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:1 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:"value"},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:2 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:3 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:" ", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:4 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:5 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:" value ", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:6 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va ; lue", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:7 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"val ue", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:316: scanning:8 pass: got error 2:6: string not terminated
> read_test.go:308: scanning:9 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va\\lue", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:10 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va\"lue", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:11 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va\nlue", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:12 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va\tlue", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:13 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"\"value\"", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:316: scanning:14 pass: got error 3:6: unquoted '\' must be
> followed by new line or double quote
> read_test.go:316: scanning:15 pass: got error 3:6: unquoted '\' must be
> followed by new line or double quote
> read_test.go:316: scanning:16 pass: got error 3:11: unknown escape
> sequence
> read_test.go:316: scanning:17 pass: got error 3:6: unquoted '\' must be
> followed by new line or double quote
> read_test.go:316: scanning:18 pass: got error 2:9: unknown escape sequence
> read_test.go:316: scanning:19 pass: got error 2:9: unknown escape sequence
> read_test.go:308: scanning:20 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:316: scanning:21 pass: got error 2:14: unknown escape
> sequence
> read_test.go:308: scanning:whitespace:0 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:1 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:2 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:3 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:4 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:5 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:6 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:7 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:8 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:9 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:10 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:11 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:12 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:13 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:14 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:15 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:16 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:17 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:18 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:whitespace:19 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:0 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:1 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:2 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:3 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:4 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:5 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:6 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:7 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:8 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:9 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:10 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va ; lue", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:comments:11 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: scanning:subsections:0 pass: got value
> &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"A":(*gcfg.cSubsS1)(0xc0001701b0)}}
> read_test.go:308: scanning:subsections:1 pass: got value
> &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"b":(*gcfg.cSubsS1)(0xc0001703b0)}}
> read_test.go:308: scanning:subsections:2 pass: got value
> &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"A\\":(*gcfg.cSubsS1)(0xc0001705b0)}}
> read_test.go:308: scanning:subsections:3 pass: got value
> &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"A\"":(*gcfg.cSubsS1)(0xc0001707b0)}}
> read_test.go:316: syntax:0 pass: got error 3:1: expected section header
> or variable declaration
> read_test.go:316: syntax:1 pass: got error 1:1: expected section header
> read_test.go:316: syntax:2 pass: got error 2:2: expected section name
> read_test.go:316: syntax:3 pass: got error 2:6: empty subsection name
> read_test.go:308: setting:0 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: setting:1 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: setting:2 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(0xc0001711a0)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: setting:3 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}}
> read_test.go:308: setting:4 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(0xc000123dc0)}}
> read_test.go:308: setting:5 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(0xc000123f00)}}
> read_test.go:308: setting:6 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(0xc00018e040)}}
> read_test.go:316: setting:7 pass: got error warnings:
> can't store data at section "nonexistent"
> can't store data at section "nonexistent"
> can't store data at section "nonexistent"
> can't store data at section "nonexistent"
> read_test.go:316: setting:8 pass: got error warnings:
> can't store data at section "section"
> can't store data at section "section"
> read_test.go:316: setting:9 pass: got error warning:
> can't store data at section "section", variable "nonexistent"
> read_test.go:308: setting:10 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:"value"},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:316: setting:11 pass: got error warnings:
> can't store data at section "unexported"
> can't store data at section "unexported"
> can't store data at section "unexported"
> can't store data at section "unexported"
> read_test.go:316: setting:12 pass: got error warning:
> can't store data at section "exported", variable "unexported"
> read_test.go:308: setting:13 pass: got value
> &gcfg.cUni{X甲:gcfg.cUniS1{X乙:"丙"}, XSection:gcfg.cUniS2{XName:""}}
> read_test.go:308: setting:14 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"value",
> Int:0, PName:(*string)(nil)}}
> read_test.go:308: setting:15 pass: got value
> &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"A":(*gcfg.cSubsS1)(0xc0001930a0),
> "B":(*gcfg.cSubsS1)(0xc000193110)}}
> read_test.go:308: multivalue:0 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}}
> read_test.go:308: multivalue:1 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string{"value"}},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}}
> read_test.go:308: multivalue:2 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string{"value1", "value2"}},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}}
> read_test.go:308: multivalue:3 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string{"value1", "value2"}},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}}
> read_test.go:308: multivalue:4 pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}}
> read_test.go:316: multivalue:5 pass: got error warning:
> can't store data at section "m2", variable "multi"
> read_test.go:316: multivalue:6 pass: got error warnings:
> can't store data at section "m2", variable "multi"
> can't store data at section "m2", variable "multi"
> read_test.go:308: type:string:0 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0,
> PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: type:string:1 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: type:bool:0 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}}
> read_test.go:308: type:bool:1 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}}
> read_test.go:308: type:bool:2 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}}
> read_test.go:308: type:bool:3 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}}
> read_test.go:308: type:bool:4 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}}
> read_test.go:308: type:bool:5 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}}
> read_test.go:308: type:bool:6 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}}
> read_test.go:308: type:bool:7 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}}
> read_test.go:308: type:bool:8 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}}
> read_test.go:308: type:bool:9 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}}
> read_test.go:308: type:bool:10 pass: got value
> &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}}
> read_test.go:316: type:bool:11 pass: got error failed to parse bool
> `maybe` at section "section", variable "bool"
> read_test.go:316: type:bool:12 pass: got error failed to parse bool `t`
> at section "section", variable "bool"
> read_test.go:316: type:bool:13 pass: got error failed to parse bool
> `truer` at section "section", variable "bool"
> read_test.go:316: type:bool:14 pass: got error failed to parse bool `2`
> at section "section", variable "bool"
> read_test.go:316: type:bool:15 pass: got error failed to parse bool `-1`
> at section "section", variable "bool"
> read_test.go:308: type:numeric:0 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: type:numeric:1 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:1, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:308: type:numeric:2 pass: got value
> &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:-1, PName:(*string)(nil)},
> Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""},
> unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)},
> Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0,
> PName:(*string)(nil)}}
> read_test.go:316: type:numeric:3 pass: got error failed to parse "0.2" as
> int: extra characters ".2" at section "section", variable "int"
> read_test.go:316: type:numeric:4 pass: got error failed to parse "1e3" as
> int: extra characters "e3" at section "section", variable "int"
> read_test.go:308: type:numeric:5 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:10, IntDHO:0, Big:<nil>},
> N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)},
> N3:gcfg.cNumS3{FileMode:0x0}}
> read_test.go:308: type:numeric:6 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:16, IntDHO:0, Big:<nil>},
> N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)},
> N3:gcfg.cNumS3{FileMode:0x0}}
> read_test.go:308: type:numeric:7 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:1},
> N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)},
> N3:gcfg.cNumS3{FileMode:0x0}}
> read_test.go:308: type:numeric:8 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:16},
> N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)},
> N3:gcfg.cNumS3{FileMode:0x0}}
> read_test.go:308: type:numeric:9 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:10},
> N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)},
> N3:gcfg.cNumS3{FileMode:0x0}}
> read_test.go:308: type:numeric:10 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:<nil>},
> N2:gcfg.cNumS2{MultiInt:[]int{10}, MultiBig:[]*big.Int(nil)},
> N3:gcfg.cNumS3{FileMode:0x0}}
> read_test.go:308: type:numeric:11 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:<nil>},
> N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int{10}},
> N3:gcfg.cNumS3{FileMode:0x0}}
> read_test.go:308: type:numeric:12 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:8, Big:<nil>},
> N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)},
> N3:gcfg.cNumS3{FileMode:0x0}}
> read_test.go:308: type:numeric:13 pass: got value
> &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:<nil>},
> N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)},
> N3:gcfg.cNumS3{FileMode:0x1ff}}
> read_test.go:308: type:textUnmarshaler:0 pass: got value
> &gcfg.cTxUnm{Section:gcfg.cTxUnmS1{Name:"value"}}
> read_test.go:316: type:textUnmarshaler:1 pass: got error error at section
> "section", variable "name"
> === RUN TestReadStringIntoMultiBlankPreset
> --- PASS: TestReadStringIntoMultiBlankPreset (0.00s)
> read_test.go:308: multi:blank pass: got value
> &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string{"value1", "value2"}},
> M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)},
> M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}}
> === RUN TestReadFileInto
> --- PASS: TestReadFileInto (0.00s)
> === RUN TestReadFileIntoUnicode
> --- PASS: TestReadFileIntoUnicode (0.00s)
> === RUN TestReadFileIntoNotepad
> --- PASS: TestReadFileIntoNotepad (0.00s)
> === RUN TestReadStringIntoSubsectDefaults
> --- PASS: TestReadStringIntoSubsectDefaults (0.00s)
> === RUN TestReadStringIntoExtraData
> --- PASS: TestReadStringIntoExtraData (0.00s)
> === RUN TestPanics
> --- PASS: TestPanics (0.00s)
> read_test.go:407: top pass: got panic config must be a pointer to a struct
> read_test.go:407: section pass: got panic field for section must be a map
> or a struct: section "section"
> read_test.go:407: subsection pass: got panic map field for section must
> have string keys and pointer-to-struct values: section "section"
> === RUN TestUtf8Boms
> --- PASS: TestUtf8Boms (0.00s)
> === RUN ExampleReadStringInto
> --- PASS: ExampleReadStringInto (0.00s)
> === RUN ExampleReadStringInto_bool
> --- PASS: ExampleReadStringInto_bool (0.00s)
> === RUN ExampleReadStringInto_hyphens
> --- PASS: ExampleReadStringInto_hyphens (0.00s)
> === RUN ExampleReadStringInto_tags
> --- PASS: ExampleReadStringInto_tags (0.00s)
> === RUN ExampleReadStringInto_subsections
> --- PASS: ExampleReadStringInto_subsections (0.00s)
> === RUN ExampleReadStringInto_multivalue
> --- PASS: ExampleReadStringInto_multivalue (0.00s)
> === RUN ExampleReadStringInto_unicode
> --- PASS: ExampleReadStringInto_unicode (0.00s)
> PASS
> ok gopkg.in/gcfg.v1 0.006s
> === RUN TestScan
> --- PASS: TestScan (0.00s)
> === RUN TestScanValStringEOF
> --- PASS: TestScanValStringEOF (0.00s)
> === RUN TestInit
> --- PASS: TestInit (0.00s)
> === RUN TestStdErrorHandler
> --- PASS: TestStdErrorHandler (0.00s)
> === RUN TestScanErrors
> --- PASS: TestScanErrors (0.00s)
> === RUN ExampleScanner_Scan
> --- PASS: ExampleScanner_Scan (0.00s)
> PASS
> ok gopkg.in/gcfg.v1/scanner 0.003s
> === RUN TestNoPos
> --- PASS: TestNoPos (0.00s)
> === RUN TestPositions
> --- PASS: TestPositions (0.01s)
> === RUN TestLineInfo
> --- PASS: TestLineInfo (0.00s)
> === RUN TestFiles
> --- PASS: TestFiles (0.00s)
> === RUN TestSerialization
> --- PASS: TestSerialization (0.00s)
> PASS
> ok gopkg.in/gcfg.v1/token 0.015s
> === RUN TestEnumParserBool
> --- PASS: TestEnumParserBool (0.00s)
> enum_test.go:26: "tRuE": got true, <nil>
> enum_test.go:26: "False": got false, <nil>
> enum_test.go:26: "t": got false, failed to parse bool `t`
> === RUN TestParseInt
> --- FAIL: TestParseInt (0.00s)
> int_test.go:63: ParseInt(int, "0", IntMode(Dec)): pass; got 0, error <nil>
> int_test.go:63: ParseInt(int, "10", IntMode(Dec)): pass; got 10, error
> <nil>
> int_test.go:63: ParseInt(int, "-10", IntMode(Dec)): pass; got -10, error
> <nil>
> int_test.go:63: ParseInt(int, "x", IntMode(Dec)): pass; got 0, error
> failed to parse "x" as int: expected integer
> int_test.go:63: ParseInt(int, "0xa", IntMode(Hex)): pass; got 10, error
> <nil>
> int_test.go:63: ParseInt(int, "a", IntMode(Hex)): pass; got 10, error
> <nil>
> int_test.go:63: ParseInt(int, "10", IntMode(Hex)): pass; got 16, error
> <nil>
> int_test.go:63: ParseInt(int, "-0xa", IntMode(Hex)): pass; got -10, error
> <nil>
> int_test.go:54: ParseInt(int, "0x", IntMode(Hex)): fail; got error failed
> to parse "0x" as int: strconv.ParseInt: parsing "0x": invalid syntax, want ok
> int_test.go:54: ParseInt(int, "-0x", IntMode(Hex)): fail; got error
> failed to parse "-0x" as int: strconv.ParseInt: parsing "-0x": invalid
> syntax, want ok
> int_test.go:63: ParseInt(int, "-a", IntMode(Hex)): pass; got -10, error
> <nil>
> int_test.go:63: ParseInt(int, "-10", IntMode(Hex)): pass; got -16, error
> <nil>
> int_test.go:63: ParseInt(int, "x", IntMode(Hex)): pass; got 0, error
> failed to parse "x" as int: expected integer
> int_test.go:63: ParseInt(int, "10", IntMode(Oct)): pass; got 8, error
> <nil>
> int_test.go:63: ParseInt(int, "010", IntMode(Oct)): pass; got 8, error
> <nil>
> int_test.go:63: ParseInt(int, "-10", IntMode(Oct)): pass; got -8, error
> <nil>
> int_test.go:63: ParseInt(int, "-010", IntMode(Oct)): pass; got -8, error
> <nil>
> int_test.go:63: ParseInt(int, "10", IntMode(Dec|Hex)): pass; got 10,
> error <nil>
> int_test.go:63: ParseInt(int, "010", IntMode(Dec|Hex)): pass; got 10,
> error <nil>
> int_test.go:63: ParseInt(int, "0x10", IntMode(Dec|Hex)): pass; got 16,
> error <nil>
> int_test.go:63: ParseInt(int, "10", IntMode(Dec|Oct)): pass; got 10,
> error <nil>
> int_test.go:63: ParseInt(int, "010", IntMode(Dec|Oct)): pass; got 8,
> error <nil>
> int_test.go:63: ParseInt(int, "0x10", IntMode(Dec|Oct)): pass; got 0,
> error failed to parse "0x10" as int: extra characters "x10"
> int_test.go:63: ParseInt(int, "10", IntMode(Hex|Oct)): pass; got 0, error
> ambiguous integer value; must include '0' prefix
> int_test.go:63: ParseInt(int, "010", IntMode(Hex|Oct)): pass; got 8,
> error <nil>
> int_test.go:63: ParseInt(int, "0x10", IntMode(Hex|Oct)): pass; got 16,
> error <nil>
> int_test.go:63: ParseInt(int, "10", IntMode(Dec|Hex|Oct)): pass; got 10,
> error <nil>
> int_test.go:63: ParseInt(int, "010", IntMode(Dec|Hex|Oct)): pass; got 8,
> error <nil>
> int_test.go:63: ParseInt(int, "0x10", IntMode(Dec|Hex|Oct)): pass; got
> 16, error <nil>
> === RUN TestScanFully
> --- FAIL: TestScanFully (0.00s)
> scan_test.go:32: ScanFully(*int, "a", 'v') = failed to parse "a" as int:
> expected integer; *ptr==0
> scan_test.go:23: ScanFully(*int, "0x", 'v'): want ok, got error failed to
> parse "0x" as int: strconv.ParseInt: parsing "0x": invalid syntax
> scan_test.go:32: ScanFully(*int, "0x", 'd') = failed to parse "0x" as
> int: extra characters "x"; *ptr==0
> FAIL
> FAIL gopkg.in/gcfg.v1/types 0.003s
> FAIL
> dh_auto_test: error: cd _build && go test -vet=off -v -p 4 gopkg.in/gcfg.v1
> gopkg.in/gcfg.v1/scanner gopkg.in/gcfg.v1/token gopkg.in/gcfg.v1/types
> returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/golang-gopkg-gcfg.v1_1.2.3-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---