Packages supported by TinyGo
The following table shows all Go standard library packages and whether they can be imported by TinyGo. If they can’t, you can click the ’no’ link to jump to the explanation why the package cannot be compiled.
Note that the fact they can be imported, does not mean that all functions and types in the program can be used. For example, sometimes using some functions or types of the package will still trigger compiler errors.
Test results are for linux/amd64.
Some tests are skipped because they use functionality that TinyGo does not implement. Some packages are also tested with a larger stack than the default. This is the same procedure that the TinyGo CI uses. These are the skipped tests.
TestExtraMethodsTestParseAndBytesRoundTrip/P256/GenericTestAsValidationTestUnmarshalNestingLimitSliceTestUnmarshalNestingLimitStruct
| Package | Importable | Passes tests |
|---|---|---|
| archive/tar | ✔ yes | ✔ yes |
| archive/zip | ✔ yes | ✔ yes |
| bufio | ✔ yes | ✗ no |
| bytes | ✔ yes | ✗ no |
| cmp | ✔ yes | ✔ yes |
| compress/bzip2 | ✔ yes | ✔ yes |
| compress/flate | ✔ yes | ✔ yes |
| compress/gzip | ✔ yes | ✔ yes |
| compress/lzw | ✔ yes | ✔ yes |
| compress/zlib | ✔ yes | ✔ yes |
| container/heap | ✔ yes | ✔ yes |
| container/list | ✔ yes | ✔ yes |
| container/ring | ✔ yes | ✔ yes |
| context | ✔ yes | ✔ yes |
| crypto | ✔ yes | ✗ no |
| crypto/aes | ✔ yes | ✔ yes |
| crypto/cipher | ✔ yes | ✔ yes |
| crypto/des | ✔ yes | ✔ yes |
| crypto/dsa | ✔ yes | ✔ yes |
| crypto/ecdh | ✔ yes | ✔ yes |
| crypto/ecdsa | ✔ yes | ✔ yes |
| crypto/ed25519 | ✔ yes | ✗ no |
| crypto/elliptic | ✔ yes | ✔ yes |
| crypto/fips140 | ✔ yes | ✔ yes |
| crypto/hkdf | ✔ yes | ✔ yes |
| crypto/hmac | ✔ yes | ✔ yes |
| crypto/hpke | ✔ yes | ✔ yes |
| crypto/md5 | ✔ yes | ✔ yes |
| crypto/mldsa | ✔ yes | ✗ no |
| crypto/mlkem | ✔ yes | ✔ yes |
| crypto/mlkem/mlkemtest | ✔ yes | ✔ yes |
| crypto/pbkdf2 | ✔ yes | ✔ yes |
| crypto/rand | ✔ yes | ✔ yes |
| crypto/rc4 | ✔ yes | ✔ yes |
| crypto/rsa | ✔ yes | ✗ no |
| crypto/sha1 | ✔ yes | ✔ yes |
| crypto/sha256 | ✔ yes | ✗ no |
| crypto/sha3 | ✔ yes | ✗ no |
| crypto/sha512 | ✔ yes | ✗ no |
| crypto/subtle | ✔ yes | ✔ yes |
| crypto/tls | ✔ yes | ✔ yes |
| crypto/x509 | ✔ yes | ✗ no |
| crypto/x509/pkix | ✔ yes | ✔ yes |
| database/sql | ✔ yes | ✗ no |
| database/sql/driver | ✔ yes | ✔ yes |
| debug/buildinfo | ✔ yes | ✔ yes |
| debug/dwarf | ✔ yes | ✔ yes |
| debug/elf | ✔ yes | ✔ yes |
| debug/gosym | ✔ yes | ✔ yes |
| debug/macho | ✔ yes | ✔ yes |
| debug/pe | ✔ yes | ✔ yes |
| debug/plan9obj | ✔ yes | ✔ yes |
| embed | ✔ yes | ✔ yes |
| encoding | ✔ yes | ✔ yes |
| encoding/ascii85 | ✔ yes | ✔ yes |
| encoding/asn1 | ✔ yes | ✔ yes |
| encoding/base32 | ✔ yes | ✔ yes |
| encoding/base64 | ✔ yes | ✔ yes |
| encoding/binary | ✔ yes | ✔ yes |
| encoding/csv | ✔ yes | ✔ yes |
| encoding/gob | ✔ yes | ✗ no |
| encoding/hex | ✔ yes | ✔ yes |
| encoding/json | ✔ yes | ✗ no |
| encoding/json/jsontext | ✔ yes | ✗ no |
| encoding/json/v2 | ✔ yes | ✗ no |
| encoding/pem | ✔ yes | ✔ yes |
| encoding/xml | ✔ yes | ✗ no |
| errors | ✔ yes | ✔ yes |
| expvar | ✔ yes | ✔ yes |
| flag | ✔ yes | ✗ no |
| fmt | ✔ yes | ✗ no |
| go/ast | ✔ yes | ✔ yes |
| go/build | ✔ yes | ✗ no |
| go/build/constraint | ✔ yes | ✗ no |
| go/constant | ✔ yes | ✔ yes |
| go/doc | ✔ yes | ✔ yes |
| go/doc/comment | ✔ yes | ✔ yes |
| go/format | ✔ yes | ✔ yes |
| go/importer | ✗ no | ✗ no |
| go/parser | ✔ yes | ✗ no |
| go/printer | ✔ yes | ✗ no |
| go/scanner | ✔ yes | ✔ yes |
| go/token | ✔ yes | ✔ yes |
| go/types | ✗ no | ✗ no |
| go/version | ✔ yes | ✔ yes |
| hash | ✔ yes | ✔ yes |
| hash/adler32 | ✔ yes | ✔ yes |
| hash/crc32 | ✔ yes | ✔ yes |
| hash/crc64 | ✔ yes | ✔ yes |
| hash/fnv | ✔ yes | ✔ yes |
| hash/maphash | ✗ no | ✗ no |
| html | ✔ yes | ✔ yes |
| html/template | ✔ yes | ✗ no |
| image | ✔ yes | ✔ yes |
| image/color | ✔ yes | ✔ yes |
| image/color/palette | ✔ yes | ✔ yes |
| image/draw | ✔ yes | ✔ yes |
| image/gif | ✔ yes | ✔ yes |
| image/jpeg | ✔ yes | ✔ yes |
| image/png | ✔ yes | ✔ yes |
| index/suffixarray | ✔ yes | ✔ yes |
| io | ✔ yes | ✗ no |
| io/fs | ✔ yes | ✔ yes |
| io/ioutil | ✔ yes | ✔ yes |
| iter | ✔ yes | ✔ yes |
| log | ✔ yes | ✗ no |
| log/slog | ✔ yes | ✗ no |
| log/syslog | ✔ yes | ✗ no |
| maps | ✔ yes | ✔ yes |
| math | ✔ yes | ✔ yes |
| math/big | ✔ yes | ✗ no |
| math/bits | ✔ yes | ✔ yes |
| math/cmplx | ✔ yes | ✔ yes |
| math/rand | ✔ yes | ✔ yes |
| math/rand/v2 | ✔ yes | ✔ yes |
| mime | ✔ yes | ✗ no |
| mime/multipart | ✔ yes | ✔ yes |
| mime/quotedprintable | ✔ yes | ✔ yes |
| net | ✔ yes | ✔ yes |
| net/http | ✔ yes | ✔ yes |
| net/http/cgi | ✗ no | ✗ no |
| net/http/cookiejar | ✗ no | ✗ no |
| net/http/fcgi | ✗ no | ✗ no |
| net/http/httptest | ✔ yes | ✔ yes |
| net/http/httptrace | ✔ yes | ✔ yes |
| net/http/httputil | ✔ yes | ✔ yes |
| net/http/pprof | ✗ no | ✗ no |
| net/mail | ✔ yes | ✔ yes |
| net/netip | ✔ yes | ✗ no |
| net/rpc | ✔ yes | ✗ no |
| net/rpc/jsonrpc | ✔ yes | ✔ yes |
| net/smtp | ✔ yes | ✗ no |
| net/textproto | ✔ yes | ✔ yes |
| net/url | ✔ yes | ✔ yes |
| os | ✔ yes | ✔ yes |
| os/exec | ✔ yes | ✗ no |
| os/signal | ✔ yes | ✗ no |
| os/user | ✔ yes | ✔ yes |
| path | ✔ yes | ✔ yes |
| path/filepath | ✔ yes | ✗ no |
| plugin | ✗ no | ✗ no |
| reflect | ✔ yes | ✗ no |
| regexp | ✔ yes | ✗ no |
| regexp/syntax | ✔ yes | ✔ yes |
| slices | ✔ yes | ✗ no |
| sort | ✔ yes | ✗ no |
| strconv | ✔ yes | ✗ no |
| strings | ✔ yes | ✗ no |
| structs | ✔ yes | ✔ yes |
| sync | ✔ yes | ✔ yes |
| sync/atomic | ✔ yes | ✔ yes |
| syscall | ✔ yes | ✗ no |
| testing | ✔ yes | ✔ yes |
| testing/cryptotest | ✔ yes | ✔ yes |
| testing/fstest | ✔ yes | ✔ yes |
| testing/iotest | ✔ yes | ✔ yes |
| testing/quick | ✔ yes | ✗ no |
| testing/slogtest | ✔ yes | ✗ no |
| testing/synctest | ✔ yes | ✗ no |
| text/scanner | ✔ yes | ✔ yes |
| text/tabwriter | ✔ yes | ✔ yes |
| text/template | ✔ yes | ✗ no |
| text/template/parse | ✔ yes | ✔ yes |
| time | ✔ yes | ✗ no |
| time/tzdata | ✗ no | ✗ no |
| unicode | ✔ yes | ✔ yes |
| unicode/utf16 | ✔ yes | ✗ no |
| unicode/utf8 | ✔ yes | ✔ yes |
| unique | ✔ yes | ✔ yes |
| unsafe | ✔ yes | ✔ yes |
| uuid | ✔ yes | ✔ yes |
| weak | ✔ yes | ✗ no |
bufio
The compiler gave the following error when running the tests for this package:
FAIL 0.000s
# bufio_test
/home/ron/.gvm/go/src/bufio/net_test.go:31:21: undefined: net.ListenUnix
/home/ron/.gvm/go/src/bufio/net_test.go:70:25: undefined: net.DialUnix
bytes
The compiler gave the following error when running the tests for this package:
--- FAIL: TestNewBufferShallow (0.00s)
allocations occurred while shallow copying
FAIL
FAIL bytes 13.025s
crypto
The compiler gave the following error when running the tests for this package:
--- FAIL: TestPureGoTag (0.05s)
import "crypto": unknown compiler "tinygo"
FAIL
FAIL crypto 0.144s
crypto/ed25519
The compiler gave the following error when running the tests for this package:
--- FAIL: TestAllocations (0.03s)
expected zero allocations, got 40.0
FAIL
FAIL crypto/ed25519 0.211s
crypto/mldsa
The compiler gave the following error when running the tests for this package:
[...no test output...]
crypto/rsa
The compiler gave the following error when running the tests for this package:
--- FAIL: TestAllocations (0.30s)
expected less than 10 allocations, got 5353.0
FAIL
FAIL crypto/rsa 46.214s
crypto/sha256
The compiler gave the following error when running the tests for this package:
--- FAIL: TestAllocations (0.00s)
allocs = 9, want 0
--- FAIL: TestAllocatonsWithTypeAsserts (0.00s)
allocs = 5; want = 0
FAIL
FAIL crypto/sha256 0.035s
crypto/sha3
The compiler gave the following error when running the tests for this package:
--- FAIL: TestAllocations (0.00s)
--- FAIL: TestAllocations/New (0.00s)
expected zero allocations, got 4.0
--- FAIL: TestAllocations/NewSHAKE (0.00s)
expected zero allocations, got 3.0
--- FAIL: TestAllocations/Sum (0.00s)
expected zero allocations, got 3.0
--- FAIL: TestAllocations/SumSHAKE (0.00s)
expected zero allocations, got 3.0
FAIL
FAIL crypto/sha3 4.830s
crypto/sha512
The compiler gave the following error when running the tests for this package:
--- FAIL: TestAllocations (0.00s)
allocs = 9, want 0
FAIL
FAIL crypto/sha512 0.034s
crypto/x509
The compiler gave the following error when running the tests for this package:
[...no test output...]
database/sql
The compiler gave the following error when running the tests for this package:
--- FAIL: TestGrabConnAllocs (0.00s)
Conn.grabConn allocated 1 objects; want 0
FAIL
FAIL database/sql 0.348s
encoding/gob
The compiler gave the following error when running the tests for this package:
FAIL encoding/gob 3.150s
encoding/json
The compiler gave the following error when running the tests for this package:
FAIL encoding/json 0.131s
encoding/json/jsontext
The compiler gave the following error when running the tests for this package:
FAIL encoding/json/jsontext 0.011s
encoding/json/v2
The compiler gave the following error when running the tests for this package:
FAIL encoding/json/v2 0.010s
encoding/xml
The compiler gave the following error when running the tests for this package:
FAIL encoding/xml 91.196s
flag
The compiler gave the following error when running the tests for this package:
--- FAIL: TestDefineAfterSet (0.00s)
DefineAfterSet
: expected panic("flag myFlag set at .*/flag_test.go:.* before being defined"), but got panic("flag myFlag set at ?:0 before being defined")
FAIL
FAIL flag 0.009s
fmt
The compiler gave the following error when running the tests for this package:
FAIL fmt 0.039s
go/build
The compiler gave the following error when running the tests for this package:
--- FAIL: TestDotSlashImport (0.00s)
import ".": unknown compiler "tinygo"
--- FAIL: TestLocalDirectory (0.00s)
import ".": unknown compiler "tinygo"
--- FAIL: TestImportCmd (0.00s)
import "cmd/internal/objfile": unknown compiler "tinygo"
--- FAIL: TestImportDirNotExist (0.01s)
--- FAIL: TestImportDirNotExist/GO111MODULE=on (0.01s)
Import(full, 0) got error: "go/build: go list go/build/doesnotexist: exit status 2\ninvalid value \"tinygo\" for flag -compiler: unknown compiler \"tinygo\"\nusage: go list [-f format] [-json] [-m] [list flags] [build flags] [packages]\nRun 'go help list' for details.\n\n", want "cannot find package" or "is not in std" error
Import(full, FindOnly) got error: "go/build: go list go/build/doesnotexist: exit status 2\ninvalid value \"tinygo\" for flag -compiler: unknown compiler \"tinygo\"\nusage: go list [-f format] [-json] [-m] [list flags] [build flags] [packages]\nRun 'go help list' for details.\n\n", want "cannot find package" or "is not in std" error
--- FAIL: TestImportVendor (0.00s)
cannot find vendored c/d from testdata src/a/b directory: import "c/d": unknown compiler "tinygo"
--- FAIL: TestImportPackageOutsideModule (0.00s)
error when importing package when no go.mod is present: got "go/build: go list example.com/p: exit status 2\ninvalid value \"tinygo\" for flag -compiler: unknown compiler \"tinygo\"\nusage: go list [-f format] [-json] [-m] [list flags] [build flags] [packages]\nRun 'go help list' for details.\n\n"; want "go.mod file not found in current directory or any parent directory"
--- FAIL: TestIssue23594 (0.00s)
[...more lines following...]
go/build/constraint
The compiler gave the following error when running the tests for this package:
FAIL go/build/constraint 0.010s
go/importer
This package cannot be imported because the following dependencies cannot be compiled:
go/parser
The compiler gave the following error when running the tests for this package:
FAIL go/parser 0.030s
go/printer
The compiler gave the following error when running the tests for this package:
FAIL go/printer 0.065s
go/types
This package cannot be imported because the following dependencies cannot be compiled:
hash/maphash
The compiler gave the following error when this package was imported:
# internal/runtime/maps
/home/ron/.gvm/go/src/internal/runtime/maps/group.go:298:39: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/group.go:305:40: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/group.go:327:25: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/group.go:336:42: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/group.go:346:26: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/group.go:350:32: undefined: abi.MapGroupSlots
/home/ron/.gvm/go/src/internal/runtime/maps/group.go:362:32: undefined: abi.MapGroupSlots
/home/ron/.gvm/go/src/internal/runtime/maps/map.go:283:21: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/map.go:290:17: undefined: abi.MapGroupSlots
/home/ron/.gvm/go/src/internal/runtime/maps/map.go:312:32: undefined: abi.MapGroupSlots
/home/ron/.gvm/go/src/internal/runtime/maps/map.go:422:28: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/map.go:426:35: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/map.go:445:38: undefined: abi.MapType
/home/ron/.gvm/go/src/internal/runtime/maps/map.go:465:40: undefined: abi.MapType
[...more lines following...]
html/template
The compiler gave the following error when running the tests for this package:
FAIL html/template 0.073s
io
The compiler gave the following error when running the tests for this package:
--- FAIL: TestMultiWriterSingleChainFlatten (0.00s)
multiWriter did not flatten chained multiWriters: expected writeDepth 12, got 4
--- FAIL: TestMultiReaderFlatten (0.00s)
multiReader did not flatten chained multiReaders: expected readDepth 3, got 1
--- FAIL: TestMultiReaderFreesExhaustedReaders (5.00s)
timeout waiting for collection of buf1
FAIL
FAIL io 5.037s
log
The compiler gave the following error when running the tests for this package:
--- FAIL: TestAll (0.00s)
log output should match "^.*/[A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "???:0: hello 23 world"
log output should match "^.*/[A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "???:0: hello 23 world"
log output should match "^[A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "???:0: hello 23 world"
log output should match "^[A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "???:0: hello 23 world"
log output should match "^[A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "???:0: hello 23 world"
log output should match "^[A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "???:0: hello 23 world"
log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] .*/[A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "XXX2026/12/01 21:30:01.019702 ???:0: hello 23 world"
log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] .*/[A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "XXX2026/12/01 21:30:01.019788 ???:0: hello 23 world"
log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] [A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "XXX2026/12/01 21:30:01.019824 ???:0: hello 23 world"
log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] [A-Za-z0-9_\\-]+\\.go:(67|69): hello 23 world$" is "XXX2026/12/01 21:30:01.019853 ???:0: hello 23 world"
log output should match "^[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] .*/[A-Za-z0-9_\\-]+\\.go:(67|69): XXXhello 23 world$" is "2026/12/01 21:30:01.019879 ???:0: XXXhello 23 world"
log output should match "^[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] .*/[A-Za-z0-9_\\-]+\\.go:(67|69): XXXhello 23 world$" is "2026/12/01 21:30:01.019964 ???:0: XXXhello 23 world"
log output should match "^[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] [A-Za-z0-9_\\-]+\\.go:(67|69): XXXhello 23 world$" is "2026/12/01 21:30:01.019990 ???:0: XXXhello 23 world"
log output should match "^[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] [A-Za-z0-9_\\-]+\\.go:(67|69): XXXhello 23 world$" is "2026/12/01 21:30:01.020011 ???:0: XXXhello 23 world"
[...more lines following...]
log/slog
The compiler gave the following error when running the tests for this package:
panic: runtime.Caller failed
FAIL log/slog 0.001s
log/syslog
The compiler gave the following error when running the tests for this package:
FAIL 0.000s
# log/syslog
/home/ron/.gvm/go/src/log/syslog/syslog_test.go:35:21: oe.Temporary undefined (type *net.OpError has no field or method Temporary)
math/big
The compiler gave the following error when running the tests for this package:
--- FAIL: TestNewIntAllocs (0.00s)
x.Add(x, NewInt(0)), wanted 0 allocations, got 1.000000
x.Add(x, NewInt(7)), wanted 0 allocations, got 2.000000
x.Add(x, NewInt(-7)), wanted 0 allocations, got 2.000000
x.Add(x, NewInt(1073741824)), wanted 0 allocations, got 2.000000
x.Add(x, NewInt(-1073741824)), wanted 0 allocations, got 2.000000
x.Add(x, NewInt(1125899906842624)), wanted 0 allocations, got 2.000000
x.Add(x, NewInt(-1125899906842624)), wanted 0 allocations, got 2.000000
FAIL
FAIL math/big 8.937s
mime
The compiler gave the following error when running the tests for this package:
--- FAIL: TestLookupMallocs (0.02s)
allocs = 5; want 0
FAIL
FAIL mime 0.026s
net/http/cgi
The compiler gave the following error when this package was imported:
../../../../../tmp/tinygo-test-3498287157/main.go:2:8: package net/http/cgi is not in std (/home/ron/.cache/tinygo/goroot-ac4f0084e2fed2eb2cb6bb93494f8ddc08217e608aab461aa4c7231e26c274a0/src/net/http/cgi)
net/http/cookiejar
The compiler gave the following error when this package was imported:
../../../../../tmp/tinygo-test-1676042533/main.go:2:8: package net/http/cookiejar is not in std (/home/ron/.cache/tinygo/goroot-ac4f0084e2fed2eb2cb6bb93494f8ddc08217e608aab461aa4c7231e26c274a0/src/net/http/cookiejar)
net/http/fcgi
This package cannot be imported because the following dependencies cannot be compiled:
net/http/pprof
The compiler gave the following error when this package was imported:
# net/http/pprof
/home/ron/Development/tinygo/tinygo-122/src/net/http/pprof/pprof.go:378:18: undefined: goexperiment.GoroutineLeakProfile
net/netip
The compiler gave the following error when running the tests for this package:
--- FAIL: TestNoAllocs (0.01s)
--- FAIL: TestNoAllocs/Addr.IsGlobalUnicast (0.00s)
allocs = 1; want 0
--- FAIL: TestNoAllocs/Addr.IsInterfaceLocalMulticast (0.00s)
allocs = 1; want 0
--- FAIL: TestNoAllocs/Addr.IsLinkLocalMulticast (0.00s)
allocs = 1; want 0
--- FAIL: TestNoAllocs/Addr.IsLinkLocalUnicast (0.00s)
allocs = 1; want 0
--- FAIL: TestNoAllocs/Addr.IsPrivate (0.00s)
allocs = 1; want 0
--- FAIL: TestAddrStringAllocs (0.02s)
--- FAIL: TestAddrStringAllocs/ipv6 (0.01s)
allocs=28, want 1
--- FAIL: TestAddrStringAllocs/ipv6+zone (0.00s)
[...more lines following...]
net/rpc
The compiler gave the following error when running the tests for this package:
2026/12/01 21:37:15 Test RPC server listening on 127.0.0.1:0
2026/12/01 21:37:15 Test HTTP RPC server listening on 127.0.0.1:0
2026/12/01 21:37:15 NewServer test RPC server listening on 127.0.0.1:0
2026/12/01 21:37:15 rpc.Register: type ReplyNotPointer has no exported methods of suitable type
2026/12/01 21:37:15 rpc.Register: type ArgNotPublic has no exported methods of suitable type
2026/12/01 21:37:15 rpc.Register: type ReplyNotPublic has no exported methods of suitable type
2026/12/01 21:37:15 rpc.Register: type NeedsPtrType has no exported methods of suitable type (hint: pass a pointer to value of that type)
2026/12/01 21:37:15 rpc.Serve: accept:bad file descriptor
--- FAIL: TestGobError (0.00s)
expected `reading body unexpected EOF', got connection refused
--- FAIL: TestRPC (0.00s)
dialing connection refused
--- FAIL: TestHTTP (0.00s)
dialing connection refused
--- FAIL: TestBuiltinTypes (0.00s)
[...more lines following...]
net/smtp
The compiler gave the following error when running the tests for this package:
FAIL 0.000s
# net/smtp
/home/ron/.gvm/go/src/net/smtp/smtp_test.go:622:19: undefined: tls.X509KeyPair
/home/ron/.gvm/go/src/net/smtp/smtp_test.go:629:17: undefined: tls.Listen
/home/ron/.gvm/go/src/net/smtp/smtp_test.go:631:17: undefined: tls.Listen
/home/ron/.gvm/go/src/net/smtp/smtp_test.go:1040:29: cs.HandshakeComplete undefined (type tls.ConnectionState has no field or method HandshakeComplete)
/home/ron/.gvm/go/src/net/smtp/smtp_test.go:1080:24: undefined: tls.X509KeyPair
os/exec
The compiler gave the following error when running the tests for this package:
FAIL 0.000s
# os/exec_test
/home/ron/.gvm/go/src/os/exec/exec_test.go:260:17: undefined: net.FileListener
/home/ron/.gvm/go/src/os/exec/exec_test.go:704:34: ln.(*net.TCPListener).File undefined (type *net.TCPListener has no field or method File)
/home/ron/.gvm/go/src/os/exec/exec_test.go:709:18: undefined: net.FileListener
/home/ron/.gvm/go/src/os/exec/exec_test.go:720:5: ts.StartTLS undefined (type *httptest.Server has no field or method StartTLS)
/home/ron/.gvm/go/src/os/exec/exec_test.go:809:35: ln.(*net.TCPListener).File undefined (type *net.TCPListener has no field or method File)
os/signal
The compiler gave the following error when running the tests for this package:
FAIL 0.000s
# internal/testpty
warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/../lib/gcc/x86_64-linux-gnu/13' would be chosen over '/../lib/gcc/x86_64-linux-gnu/14'
warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/../lib/gcc/x86_64-linux-gnu/13' would be chosen over '/../lib/gcc/x86_64-linux-gnu/14'
warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/../lib/gcc/x86_64-linux-gnu/13' would be chosen over '/../lib/gcc/x86_64-linux-gnu/14'
path/filepath
The compiler gave the following error when running the tests for this package:
FAIL path/filepath 0.002s
plugin
The compiler gave the following error when this package was imported:
# plugin
warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/../lib/gcc/x86_64-linux-gnu/13' would be chosen over '/../lib/gcc/x86_64-linux-gnu/14'
warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/../lib/gcc/x86_64-linux-gnu/13' would be chosen over '/../lib/gcc/x86_64-linux-gnu/14'
warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/../lib/gcc/x86_64-linux-gnu/13' would be chosen over '/../lib/gcc/x86_64-linux-gnu/14'
reflect
The compiler gave the following error when running the tests for this package:
--- FAIL: TestMapIterSet (0.00s)
wanted 0 alloc, got 48
FAIL
FAIL reflect 0.358s
regexp
The compiler gave the following error when running the tests for this package:
FAIL regexp 0.422s
slices
The compiler gave the following error when running the tests for this package:
--- FAIL: TestInsert (0.00s)
too many allocations inserting 50 elements: got 61, want less than 25
--- FAIL: TestGrow (0.00s)
Grow should allocate once when given insufficient capacity; allocated 2 times
--- FAIL: TestConcat (0.00s)
Concat([[1]]) allocated 2 times; want 1
Concat([[1] [2]]) allocated 2 times; want 1
Concat([[1] [] [2]]) allocated 2 times; want 1
FAIL
FAIL slices 0.140s
sort
The compiler gave the following error when running the tests for this package:
--- FAIL: TestSearchWrappersDontAlloc (0.00s)
expected no allocs for runSearchWrappers, got 18
FAIL
FAIL sort 0.320s
strconv
The compiler gave the following error when running the tests for this package:
--- FAIL: TestCountMallocs (3.58s)
AppendFloat(localBuf[:0], 1.23, 'g', 5, 64): 1 allocs, want <=0
--- FAIL: TestAllocationsFromBytes (0.00s)
--- FAIL: TestAllocationsFromBytes/Atoi (0.00s)
got 1 allocs, want 0 allocs
--- FAIL: TestAllocationsFromBytes/ParseBool (0.00s)
got 1 allocs, want 0 allocs
--- FAIL: TestAllocationsFromBytes/ParseInt (0.00s)
got 1 allocs, want 0 allocs
--- FAIL: TestAllocationsFromBytes/ParseUint (0.00s)
got 1 allocs, want 0 allocs
--- FAIL: TestAllocationsFromBytes/ParseFloat (0.00s)
got 1 allocs, want 0 allocs
--- FAIL: TestAllocationsFromBytes/ParseComplex (0.00s)
got 1 allocs, want 0 allocs
[...more lines following...]
strings
The compiler gave the following error when running the tests for this package:
--- FAIL: TestBuilderGrow (0.01s)
growLen=0: got 1 allocs during Write; want 0
growLen=100: got 2 allocs during Write; want 1
growLen=1000: got 2 allocs during Write; want 1
growLen=10000: got 2 allocs during Write; want 1
growLen=100000: got 2 allocs during Write; want 1
--- FAIL: TestBuilderAllocs (0.00s)
Builder allocs = 2; want 1
--- FAIL: TestBuilderGrowSizeclasses (0.00s)
unexpected amount of allocations: 3, want: 1
--- FAIL: TestIndexRune (0.00s)
expected no allocations, got 1.000000
--- FAIL: TestReplace (0.00s)
Replace("hello", "l", "L", -1) allocates 2.00 objects
Replace("radar", "r", "<r>", -1) allocates 2.00 objects
[...more lines following...]
syscall
The compiler gave the following error when running the tests for this package:
FAIL 0.000s
# syscall_test
/home/ron/.gvm/go/src/syscall/creds_test.go:53:19: undefined: net.FileConn
/home/ron/.gvm/go/src/syscall/creds_test.go:60:19: undefined: net.FileConn
/home/ron/.gvm/go/src/syscall/syscall_unix_test.go:183:16: undefined: net.FileConn
/home/ron/.gvm/go/src/syscall/syscall_unix_test.go:242:18: undefined: net.FileConn
/home/ron/.gvm/go/src/syscall/syscall_unix_test.go:272:21: uc.WriteMsgUnix undefined (type *net.UnixConn has no field or method WriteMsgUnix)
testing/quick
The compiler gave the following error when running the tests for this package:
FAIL testing/quick 0.020s
testing/slogtest
The compiler gave the following error when running the tests for this package:
panic: runtime.Caller failed
FAIL testing/slogtest 0.001s
testing/synctest
The compiler gave the following error when running the tests for this package:
panic: deadlock: all goroutines in bubble are blocked
FAIL testing/synctest 0.173s
text/template
The compiler gave the following error when running the tests for this package:
FAIL text/template 0.013s
time
The compiler gave the following error when running the tests for this package:
--- FAIL: TestTimerGC (6.03s)
--- FAIL: TestTimerGC/After (1.00s)
After did not get GC'ed: 40000 allocations
after a sleep: 40012 allocations
--- FAIL: TestTimerGC/Tick (1.00s)
Tick did not get GC'ed: 40000 allocations
after a sleep: 40012 allocations
--- FAIL: TestTimerGC/NewTimer (1.00s)
NewTimer did not get GC'ed: 40000 allocations
after a sleep: 40011 allocations
--- FAIL: TestTimerGC/NewTicker (1.00s)
NewTicker did not get GC'ed: 40000 allocations
after a sleep: 40011 allocations
--- FAIL: TestTimerGC/NewTimerStop (1.01s)
NewTimerStop did not get GC'ed: 30001 allocations
[...more lines following...]
time/tzdata
The compiler gave the following error when this package was imported:
/home/ron/Development/tinygo/tinygo-122/src/runtime/runtime.go:25: linker could not find symbol time.registerLoadFromEmbeddedTZData
unicode/utf16
The compiler gave the following error when running the tests for this package:
--- FAIL: TestAllocationsDecode (0.00s)
Decode allocated 1 times
Decode allocated 1 times
Decode allocated 1 times
Decode allocated 1 times
FAIL
FAIL unicode/utf16 0.002s
weak
The compiler gave the following error when running the tests for this package:
[...no test output...]