~sircmpwn/#1382551

failed

Owner
~sircmpwn
Created
a month ago
Updated
a month ago
Build manifest
view manifest »

Tasks

view log »
_apply_patch view log »
qbe view log »
build view log »
tests view log »
go to bottom »
go to top »
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
[#1382551] 2024/12/06 04:57:56 Booting image openbsd/latest (default) on port 22423
[#1382551] 2024/12/06 04:57:57 Waiting for guest to settle
[#1382551] 2024/12/06 04:58:17 Sending tasks
[#1382551] 2024/12/06 04:58:19 Sending build environment
[#1382551] 2024/12/06 04:58:19 Installing packages
Warning: Permanently added '[localhost]:22423' (ED25519) to the list of known hosts.
quirks-7.50 signed on 2024-12-05T15:25:56Z
[#1382551] 2024/12/06 04:58:22 Cloning repositories
Cloning into 'harec'...
+ cd harec
+ git submodule update --init --recursive
Cloning into 'qbe'...
+ cd qbe
+ git submodule update --init --recursive
[#1382551] 2024/12/06 04:58:24 Running task _apply_patch
[#1382551] 2024/12/06 04:58:25 Running task qbe
[#1382551] 2024/12/06 04:58:27 Running task build
[#1382551] 2024/12/06 04:58:28 Running task tests
[#1382551] 2024/12/06 04:58:28 Processing post-failed triggers...
[#1382551] 2024/12/06 04:58:28 Sending webhook...
[#1382551] 2024/12/06 04:58:28 Webhook response: 200
[#1382551] 2024/12/06 04:58:28 Thanks!
[#1382551] 2024/12/06 04:58:28 Build failed.
[#1382551] 2024/12/06 04:58:28 The build environment will be kept alive for 10 minutes.
[#1382551] 2024/12/06 04:58:28 To log in with SSH and examine it, use the following command:
[#1382551] 2024/12/06 04:58:28 
[#1382551] 2024/12/06 04:58:28 	ssh -t builds@fra01.builds.sr.ht connect 1382551
[#1382551] 2024/12/06 04:58:28 
[#1382551] 2024/12/06 04:58:28 After logging in, the deadline is increased to your remaining build time.
[#1382551] 2024/12/06 05:08:28 Deadline elapsed. Terminating build environment.
[#1382551] 2024/12/06 05:08:29 Error: Running task on guest: exit status 2
_apply_patch
1
2
3
4
5
6
7
8
Applying patch from lists.sr.ht
+ echo Applying patch from lists.sr.ht
+ git config --global user.name builds.sr.ht
+ git config --global user.email builds@sr.ht
+ cd harec
+ curl -sS https://lists.sr.ht/~sircmpwn/hare-dev/patches/56311/mbox
+ git am -3 /tmp/56311.patch
Applying: rt: simplify & modernize
qbe
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
+ cd qbe
+ make PREFIX=/usr
cc -std=c99 -g -Wall -Wextra -Wpedantic -c main.c -o main.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c util.c -o util.o
util.c:93:8: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
freeall()
       ^
        void
1 warning generated.
cc -std=c99 -g -Wall -Wextra -Wpedantic -c parse.c -o parse.o
parse.c:182:8: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
lexinit()
       ^
        void
parse.c:204:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
getint()
      ^
       void
parse.c:225:4: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
lex()
   ^
    void
parse.c:335:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
peek()
    ^
     void
parse.c:343:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
next()
    ^
     void
parse.c:353:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
nextnl()
      ^
       void
parse.c:418:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
parseref()
        ^
         void
parse.c:583:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
closeblk()
        ^
         void
parse.c:1015:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
parsetyp()
        ^
         void
9 warnings generated.
cc -std=c99 -g -Wall -Wextra -Wpedantic -c abi.c -o abi.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c cfg.c -o cfg.o
cfg.c:4:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
newblk()
      ^
       void
1 warning generated.
cc -std=c99 -g -Wall -Wextra -Wpedantic -c mem.c -o mem.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c ssa.c -o ssa.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c alias.c -o alias.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c load.c -o load.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c copy.c -o copy.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c fold.c -o fold.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c simpl.c -o simpl.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c live.c -o live.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c spill.c -o spill.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c rega.c -o rega.o
rega.c:250:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
pmgen()
     ^
      void
1 warning generated.
cc -std=c99 -g -Wall -Wextra -Wpedantic -c emit.c -o emit.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c amd64/targ.c -o amd64/targ.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c amd64/sysv.c -o amd64/sysv.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c amd64/isel.c -o amd64/isel.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c amd64/emit.c -o amd64/emit.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c arm64/targ.c -o arm64/targ.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c arm64/abi.c -o arm64/abi.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c arm64/isel.c -o arm64/isel.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c arm64/emit.c -o arm64/emit.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c rv64/targ.c -o rv64/targ.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c rv64/abi.c -o rv64/abi.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c rv64/isel.c -o rv64/isel.o
cc -std=c99 -g -Wall -Wextra -Wpedantic -c rv64/emit.c -o rv64/emit.o
cc  main.o util.o parse.o abi.o cfg.o mem.o ssa.o alias.o load.o  copy.o fold.o simpl.o live.o spill.o rega.o emit.o amd64/targ.o amd64/sysv.o amd64/isel.o amd64/emit.o arm64/targ.o arm64/abi.o arm64/isel.o arm64/emit.o rv64/targ.o rv64/abi.o rv64/isel.o rv64/emit.o -o qbe
ld: warning: emit.c:236 (rv64/emit.c:236)(rv64/emit.o:(loadaddr)): warning: sprintf() is often misused, please use snprintf()
ld: warning: util.c:191(util.o:(intern)): warning: strcpy() is almost always misused, please use strlcpy()
+ doas make install PREFIX=/usr
mkdir -p "/usr/bin"
install -m755 qbe "/usr/bin/qbe"
build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
+ cd harec
+ cp configs/openbsd.mk config.mk
+ make -j2
CC	src/utf8.o
CC	src/types.o
CC	src/typedef.o
CC	src/type_store.o
CC	src/scope.o
CC	src/qtype.o
CC	src/qinstr.o
CC	src/qbe.o
CC	src/parse.o
CC	src/mod.o
CC	src/main.o
CC	src/lex.o
CC	src/identifier.o
CC	src/genutil.o
CC	src/gen.o
CC	src/expr.o
CC	src/eval.o
CC	src/emit.o
CC	src/check.o
CC	src/util.o
CCLD	.bin/harec
tests
1
2
3
4
5
6
7
8
9
+ cd harec
+ make check
HAREC	.cache/rt.ssa
rt/abort.ha:1:37: error: Result value int is not assignable to function result type size

1 |	fn write_stderr(s: str) size = write(2, *(&s: **opaque), len(s));
  |	                                    ^

*** Error 4 in /home/build/harec (makefiles/tests.mk:27 '.cache/rt.ssa': @env HARE_TD_rt=.cache/rt.td HARE_TD_testmod=.cache/testmod.td .bin...)
Build complete: failed a month ago (took 32 seconds)