Could be a macOS version issue rather than an architecture incompatibility. This is the first time I've tried building arr.ai on Big Sur.
$ go test ./...
go: downloading github.com/sethvargo/go-retry v0.1.0
time="2021-04-12T16:11:02+10:00" level=warning msg="use of + for concatenation is being deprecated\n\n\x1b[1;37m../../examples/grpc/grpc-proto.arrai:7:5:\x1b[0m\n//archive.tar.tar({\n \x1b[1;31mapp.name + \".proto\"\x1b[0m: $`"
time="2021-04-12T16:11:02+10:00" level=warning msg="use of + for concatenation is being deprecated\n\n\x1b[1;37m../../examples/grpc/proto-util.arrai:18:18:\x1b[0m\n ep.attrs.stream: //seq.sub(\"sequence of\", \"stream\", ep.ret(\"ok\")),\n _: //\x1b[1;31mseq.sub(\"sequence of \", \"\", ep.ret(\"ok\")) + \"s\"\x1b[0m,"
2021/04/12 16:11:02 {}
time="2021-04-12T16:11:02+10:00" level=warning msg="use of + for concatenation is being deprecated\n\n\x1b[1;37m../../examples/grpc/proto-util.arrai:30:24:\x1b[0m\n let type = //seq.sub(\"sequence of \", \"\", ep.ret(\"ok\"));\n let wrapType = \x1b[1;31mtype + \"s\"\x1b[0m;"
time="2021-04-12T16:11:02+10:00" level=warning msg="use of + for concatenation is being deprecated\n\n\x1b[1;37m../../examples/grpc/proto-util.arrai:31:22:\x1b[0m\n let wrapType = type + \"s\";\n let name = //\x1b[1;31mstr.lower(type) + \"s\"\x1b[0m;"
time="2021-04-12T16:11:02+10:00" level=warning msg="use of + for concatenation is being deprecated\n\n\x1b[1;37m../../examples/grpc/proto-util.arrai:30:24:\x1b[0m\n let type = //seq.sub(\"sequence of \", \"\", ep.ret(\"ok\"));\n let wrapType = \x1b[1;31mtype + \"s\"\x1b[0m;"
time="2021-04-12T16:11:02+10:00" level=warning msg="use of + for concatenation is being deprecated\n\n\x1b[1;37m../../examples/grpc/proto-util.arrai:31:22:\x1b[0m\n let wrapType = type + \"s\";\n let name = //\x1b[1;31mstr.lower(type) + \"s\"\x1b[0m;"
--- FAIL: TestCompileFile (18.68s)
compile_test.go:57:
Error Trace: compile_test.go:57
compile_test.go:21
Error: Received unexpected error:
exit status 2
Test: TestCompileFile
compile_test.go:67:
Error Trace: compile_test.go:67
compile_test.go:58
compile_test.go:21
Error: Received unexpected error:
fork/exec /var/folders/fn/8ffdcmbd13lfwzsm2h93xrx00000gn/T/arraibuildtest090881660/test: permission denied
Test: TestCompileFile
compile_test.go:68:
Error Trace: compile_test.go:68
compile_test.go:58
compile_test.go:21
Error: Not equal:
expected: "3\n"
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1,2 +1 @@
-3
Test: TestCompileFile
compile_test.go:57:
Error Trace: compile_test.go:57
compile_test.go:24
Error: Received unexpected error:
exit status 2
Test: TestCompileFile
compile_test.go:67:
Error Trace: compile_test.go:67
compile_test.go:58
compile_test.go:24
Error: Received unexpected error:
fork/exec /var/folders/fn/8ffdcmbd13lfwzsm2h93xrx00000gn/T/arraibuildtest910445838/test: permission denied
Test: TestCompileFile
compile_test.go:68:
Error Trace: compile_test.go:68
compile_test.go:58
compile_test.go:24
Error: Not equal:
expected: "['test', '123', 'abc']\n"
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1,2 +1 @@
-['test', '123', 'abc']
Test: TestCompileFile
FAIL
FAIL github.com/arr-ai/arrai/cmd/arrai 20.365s
? github.com/arr-ai/arrai/engine [no test files]
ok github.com/arr-ai/arrai/internal/shell 1.567s
? github.com/arr-ai/arrai/internal/test [no test files]
ok github.com/arr-ai/arrai/pkg/arrai 0.615s
? github.com/arr-ai/arrai/pkg/arraictx [no test files]
? github.com/arr-ai/arrai/pkg/buildinfo [no test files]
ok github.com/arr-ai/arrai/pkg/ctxfs 0.604s
? github.com/arr-ai/arrai/pkg/ctxrootcache [no test files]
ok github.com/arr-ai/arrai/pkg/deprecate 5.983s
ok github.com/arr-ai/arrai/rel 0.431s
ok github.com/arr-ai/arrai/syntax 24.086s
? github.com/arr-ai/arrai/tools [no test files]
? github.com/arr-ai/arrai/tools/parser [no test files]
ok github.com/arr-ai/arrai/translate 1.012s
? github.com/arr-ai/arrai/translate/pb [no test files]
FAIL
Could be a macOS version issue rather than an architecture incompatibility. This is the first time I've tried building arr.ai on Big Sur.