#238552 failed

ea08f5eDrew DeVault

gen: implement unions

Owner
~sircmpwn
Created
24 days ago
Updated
24 days ago
Build manifest
view manifest »

Tasks

view log »
gen view log »
test view log »
go to bottom »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[#238552] 2020/06/21 22:29:53 Booting image alpine/edge (default) on port 22435
[#238552] 2020/06/21 22:29:53 Waiting for guest to settle
[#238552] 2020/06/21 22:30:01 Sending tasks
[#238552] 2020/06/21 22:30:01 Sending build environment
[#238552] 2020/06/21 22:30:01 Installing packages
Warning: Permanently added '[localhost]:22435' (ECDSA) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v3.12.0-1134-gc1a2abefa0 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v3.12.0-1145-g494674fde7 [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v3.12.0-1143-gf74956e4b2 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 16841 distinct packages available
Warning: Permanently added '[localhost]:22435' (ECDSA) to the list of known hosts.
(1/1) Installing go (1.14.3-r2)
Executing busybox-1.31.1-r21.trigger
OK: 1406 MiB in 202 packages
[#238552] 2020/06/21 22:30:11 Cloning repositories
Cloning into 'go-bare'...
+ cd go-bare
+ git checkout -q ea08f5e52fe7279b156d06c4ff98e564b2c37ab1
+ cd go-bare
+ git submodule update --init
[#238552] 2020/06/21 22:30:12 Running task gen
[#238552] 2020/06/21 22:30:13 Running task test
[#238552] 2020/06/21 22:30:20 Build failed.
[#238552] 2020/06/21 22:30:20 The build environment will be kept alive for 10 minutes.
[#238552] 2020/06/21 22:30:20 To log in with SSH and examine it, use the following command:
[#238552] 2020/06/21 22:30:20 
[#238552] 2020/06/21 22:30:20 	ssh -t builds@azusa.runners.sr.ht connect 238552
[#238552] 2020/06/21 22:30:20 
[#238552] 2020/06/21 22:30:20 After logging in, the deadline is increased to your remaining build time.
[#238552] 2020/06/21 22:40:20 Deadline elapsed. Terminating build environment.
[#238552] 2020/06/21 22:40:20 Error: Running task on guest: exit status 1
gen
1
2
3
+ cd go-bare
+ go generate ./...
go: downloading git.sr.ht/~sircmpwn/getopt v0.0.0-20191230200459-23622cc906b3
test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
+ cd go-bare
+ go test ./...
go: downloading github.com/stretchr/testify v1.6.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/davecgh/go-spew v1.1.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
--- FAIL: TestMarshalMap (0.00s)
panic: reflect.Value.Addr of unaddressable value [recovered]
	panic: reflect.Value.Addr of unaddressable value

goroutine 24 [running]:
testing.tRunner.func1.1(0x6db8c0, 0x7b32e0)
	/usr/lib/go/src/testing/testing.go:940 +0x2f5
testing.tRunner.func1(0xc0000c6c60)
	/usr/lib/go/src/testing/testing.go:943 +0x3f9
panic(0x6db8c0, 0x7b32e0)
	/usr/lib/go/src/runtime/panic.go:969 +0x166
reflect.Value.Addr(0x6dba80, 0xc00009ed18, 0x88, 0xc000080370, 0x1, 0x100000000000048)
	/usr/lib/go/src/reflect/value.go:258 +0x96
git.sr.ht/~sircmpwn/go-bare.marshalWriter(0xc000093070, 0x7c26a0, 0x6dba80, 0x6dba80, 0xc00009ed18, 0x88, 0x6dba80, 0xc00009ed1b)
	/home/build/go-bare/marshal.go:89 +0x542
git.sr.ht/~sircmpwn/go-bare.marshalMap(0xc000093070, 0x7c26a0, 0x6f0640, 0x6f0640, 0xc0000a0060, 0x195, 0x0, 0x0)
	/home/build/go-bare/marshal.go:180 +0x20b
git.sr.ht/~sircmpwn/go-bare.marshalWriter(0xc000093070, 0x7c26a0, 0x6f0640, 0x6f0640, 0xc0000a0060, 0x195, 0x10, 0xc000093070)
	/home/build/go-bare/marshal.go:130 +0x1448
git.sr.ht/~sircmpwn/go-bare.MarshalWriter(0xc000093070, 0x6d0c00, 0xc0000a0060, 0x6dc620, 0x730e01)
	/home/build/go-bare/marshal.go:40 +0x2d0
git.sr.ht/~sircmpwn/go-bare.Marshal(0x6d0c00, 0xc0000a0060, 0xc00002a667, 0xc0000c44b2, 0x7fe9cd85b7d0, 0xc000108c48, 0x4e46ef)
	/home/build/go-bare/marshal.go:23 +0x99
git.sr.ht/~sircmpwn/go-bare.TestMarshalMap(0xc0000c6c60)
	/home/build/go-bare/marshal_test.go:217 +0x34b
testing.tRunner(0xc0000c6c60, 0x762660)
	/usr/lib/go/src/testing/testing.go:991 +0xdc
created by testing.(*T).Run
	/usr/lib/go/src/testing/testing.go:1042 +0x357
FAIL	git.sr.ht/~sircmpwn/go-bare	0.015s
?   	git.sr.ht/~sircmpwn/go-bare/cmd/gen	[no test files]
?   	git.sr.ht/~sircmpwn/go-bare/example	[no test files]
ok  	git.sr.ht/~sircmpwn/go-bare/schema	0.005s
FAIL
Build complete: failed 24 days ago (took 27 seconds)