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.

Package Importable Passes tests
archive/tar yes no
archive/zip yes yes
bufio yes no
bytes yes no
cmp yes yes
compress/bzip2 yes yes
compress/flate yes yes
compress/gzip yes no
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 no
crypto/cipher yes no
crypto/des yes yes
crypto/dsa yes yes
crypto/ecdh yes no
crypto/ecdsa yes no
crypto/ed25519 yes no
crypto/elliptic yes yes
crypto/fips140 yes yes
crypto/hkdf yes yes
crypto/hmac yes no
crypto/md5 yes yes
crypto/mlkem yes no
crypto/pbkdf2 yes yes
crypto/rand yes yes
crypto/rc4 yes no
crypto/rsa yes no
crypto/sha1 yes yes
crypto/sha256 yes no
crypto/sha3 yes yes
crypto/sha512 yes no
crypto/subtle yes no
crypto/tls yes yes
crypto/x509 yes no
crypto/x509/pkix yes yes
database/sql yes no
database/sql/driver yes yes
debug/buildinfo no no
debug/dwarf yes yes
debug/elf yes yes
debug/gosym yes no
debug/macho yes yes
debug/pe yes no
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 no
encoding/csv yes yes
encoding/gob yes no
encoding/hex yes yes
encoding/json yes no
encoding/pem yes no
encoding/xml yes yes
errors yes no
expvar yes yes
flag yes no
fmt yes no
go/ast yes yes
go/build yes no
go/build/constraint yes yes
go/constant yes no
go/doc yes no
go/doc/comment yes no
go/format yes yes
go/importer yes no
go/parser yes no
go/printer yes yes
go/scanner yes yes
go/token yes no
go/types yes no
go/version yes yes
hash yes yes
hash/adler32 yes yes
hash/crc32 yes no
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 no
image/color/palette yes yes
image/draw yes no
image/gif yes yes
image/jpeg yes no
image/png yes yes
index/suffixarray yes yes
io yes no
io/fs yes yes
io/ioutil yes yes
iter yes no
log yes no
log/slog yes no
log/syslog yes no
maps yes yes
math yes yes
math/big yes no
math/bits yes no
math/cmplx yes yes
math/rand yes no
math/rand/v2 yes no
mime yes yes
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 no no
net/http/pprof no no
net/mail yes yes
net/netip yes no
net/rpc yes no
net/rpc/jsonrpc yes no
net/smtp no no
net/textproto yes yes
net/url yes no
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 yes
regexp yes yes
regexp/syntax yes yes
slices yes no
sort yes no
strconv yes yes
strings yes no
structs yes yes
sync yes yes
sync/atomic yes no
syscall yes no
testing yes yes
testing/fstest yes no
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 yes
unicode/utf8 yes yes
unique yes yes
unsafe yes yes
weak yes no

archive/tar

The compiler gave the following error when running the tests for this package:

[tinygo: panic at <Go interface method>]
panic: runtime error at 0x000000000027ce50: nil pointer dereference
FAIL	archive/tar	1.265s

bufio

The compiler gave the following error when running the tests for this package:

FAIL	bufio	0.000s
# bufio_test
/home/ron/.gvm/gos/go1.25/src/bufio/net_test.go:31:21: undefined: net.ListenUnix
/home/ron/.gvm/gos/go1.25/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	bytes	0.000s
# bytes_test
/home/ron/.gvm/gos/go1.25/src/math/rand/rng.go:239:6: interp: running for more than 3m0s, timing out (executed calls: 459674)
  %0 = icmp eq ptr %rng, null, !dbg !19916

traceback:
/home/ron/.gvm/gos/go1.25/src/math/rand/rng.go:239:6:
  %0 = icmp eq ptr %rng, null, !dbg !19916
/home/ron/.gvm/gos/go1.25/src/math/rand/rng.go:234:25:
  %0 = call i64 @"(*math/rand.rngSource).Uint64"(ptr %rng, ptr undef), !dbg !19913
/home/ron/.gvm/gos/go1.25/src/math/rand/rand.go:96:50:
  %4 = call i64 @"interface:{Int63:func:{}{basic:int64},Seed:func:{basic:int64}{}}.Int63$invoke"(ptr %invoke.func.value, ptr %invoke.func.typecode, ptr undef), !dbg !19907
/home/ron/.gvm/gos/go1.25/src/math/rand/rand.go:110:52:
  %0 = call i64 @"(*math/rand.Rand).Int63"(ptr %r, ptr undef), !dbg !19906
/home/ron/.gvm/gos/go1.25/src/math/rand/rand.go:145:14:
[...more lines following...]

compress/gzip

The compiler gave the following error when running the tests for this package:

--- FAIL: TestGZIPFilesHaveZeroMTimes (0.00s)
    skipping test on non-builder
    SkipNow is incomplete, requires runtime.Goexit()
    error evaluating GOROOT:  lstat /usr/local/go: file does not exist
    FailNow is incomplete, requires runtime.Goexit()
    skipping: GOROOT directory not found: /usr/local/go
    SkipNow is incomplete, requires runtime.Goexit()
    error collecting list of .gz files in GOROOT:  lstat : file does not exist
    FailNow is incomplete, requires runtime.Goexit()
    expected to find some .gz files under GOROOT
    FailNow is incomplete, requires runtime.Goexit()
FAIL
FAIL	compress/gzip	0.926s

crypto

The compiler gave the following error when running the tests for this package:

[tinygo: panic at <Go interface method>]
panic: runtime error at 0x0000000000265cab: nil pointer dereference
FAIL	crypto	1.139s

crypto/aes

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).Method()
FAIL	crypto/aes	1.140s

crypto/cipher

The compiler gave the following error when running the tests for this package:

FAIL	crypto/cipher	0.000s
/home/ron/.gvm/gos/go1.25/src/crypto/internal/sysrand/rand.go:48: linker could not find symbol crypto/internal/sysrand.fatal
/home/ron/Development/tinygo/tinygo-122/src/internal/syscall/unix/getrandom.go:26: linker could not find symbol runtime.vgetrandom

crypto/ecdh

The compiler gave the following error when running the tests for this package:

--- FAIL: TestLinker (0.00s)
    skipping test: 'go build' unavailable: /home/ron/.gvm/gos/go1.25/bin/go tool -n compile: files setting not implemented
    SkipNow is incomplete, requires runtime.Goexit()
    skipping test: 'go build' unavailable: /home/ron/.gvm/gos/go1.25/bin/go tool -n compile: files setting not implemented
    SkipNow is incomplete, requires runtime.Goexit()
    platform cannot run go tool
    FailNow is incomplete, requires runtime.Goexit()
    [ build -o hello.exe hello.go]: exec: no command
    FailNow is incomplete, requires runtime.Goexit()
    [./hello.exe]: directory setting not implemented
    FailNow is incomplete, requires runtime.Goexit()
    unexpected output: 
    [ tool nm hello.exe]: exec: no command
    FailNow is incomplete, requires runtime.Goexit()
    no P256 symbols found in program using ecdh.P256, test is broken
[...more lines following...]

crypto/ecdsa

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/crypto/ecdsa/ecdsa_test.go:563:6]
panic: runtime error at 0x00000000002bd314: index out of range
FAIL	crypto/ecdsa	1.968s

crypto/ed25519

The compiler gave the following error when running the tests for this package:

--- FAIL: TestEd25519Vectors (0.00s)
    skipping test: 'go build' unavailable: /home/ron/.gvm/gos/go1.25/bin/go tool -n compile: files setting not implemented
    SkipNow is incomplete, requires runtime.Goexit()
    platform cannot run go tool
    FailNow is incomplete, requires runtime.Goexit()
     env GOMODCACHE: exec: no command
    FailNow is incomplete, requires runtime.Goexit()
    fetching filippo.io/mostly-harmless/ed25519vectors@v0.0.0-20210322192420-30a2d7243a94
    failed to download filippo.io/mostly-harmless/ed25519vectors@v0.0.0-20210322192420-30a2d7243a94: exec: no command
        
    FailNow is incomplete, requires runtime.Goexit()
    failed to parse 'go mod download': unexpected end of JSON input
        
    FailNow is incomplete, requires runtime.Goexit()
    failed to read ed25519vectors.json: open ed25519vectors.json: file does not exist
[...more lines following...]

crypto/hmac

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).Method()
FAIL	crypto/hmac	1.145s

crypto/mlkem

The compiler gave the following error when running the tests for this package:

FAIL	crypto/mlkem	0.000s
/home/ron/.gvm/gos/go1.25/src/crypto/internal/sysrand/rand.go:48: linker could not find symbol crypto/internal/sysrand.fatal
/home/ron/Development/tinygo/tinygo-122/src/internal/syscall/unix/getrandom.go:26: linker could not find symbol runtime.vgetrandom

crypto/rc4

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/crypto/rc4/rc4.go]
panic: runtime error at 0x000000000025dd2d: index out of range
FAIL	crypto/rc4	1.171s

crypto/rsa

The compiler gave the following error when running the tests for this package:

FAIL	crypto/rsa	0.000s
/home/ron/.gvm/gos/go1.25/src/crypto/internal/sysrand/rand.go:48: linker could not find symbol crypto/internal/sysrand.fatal
/home/ron/Development/tinygo/tinygo-122/src/internal/syscall/unix/getrandom.go:26: linker could not find symbol runtime.vgetrandom

crypto/sha256

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).Method()
FAIL	crypto/sha256	1.171s

crypto/sha512

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).Method()
FAIL	crypto/sha512	1.937s

crypto/subtle

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).NumIn()
FAIL	crypto/subtle	1.112s

crypto/x509

The compiler gave the following error when running the tests for this package:

FAIL	crypto/x509	0.000s
# crypto/x509_test
/home/ron/.gvm/gos/go1.25/src/crypto/x509/hybrid_pool_test.go:63:17: c.ConnectionState undefined (type *net.TLSConn has no field or method ConnectionState)

database/sql

The compiler gave the following error when running the tests for this package:

FAIL	database/sql	0.000s
# database/sql
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:1378:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:1405:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:1520:13: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:1548:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:2793:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:2934:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:3784:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:4139:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:4187:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:4298:11: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/database/sql/sql_test.go:4840:4: b.SetParallelism undefined (type *testing.B has no field or method SetParallelism)

debug/buildinfo

The compiler gave the following error when this package was imported:

# debug/buildinfo
/home/ron/.gvm/gos/go1.25/src/debug/buildinfo/buildinfo.go:93:19: undefined: debug.ParseBuildInfo

debug/gosym

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/debug/elf/file.go:129:5]
panic: runtime error at 0x000000000026c8de: nil pointer dereference
FAIL	debug/gosym	1.203s

debug/pe

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/debug/pe/file_test.go]
panic: runtime error at 0x0000000000289e3d: index out of range
FAIL	debug/pe	1.191s

encoding/binary

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/encoding/binary/binary.go:116:7]
panic: runtime error at 0x0000000000259ba1: index out of range
FAIL	encoding/binary	1.179s

encoding/gob

The compiler gave the following error when running the tests for this package:

panic: reflect: unimplemented: AssignableTo with interface
FAIL	encoding/gob	1.124s

encoding/json

The compiler gave the following error when running the tests for this package:

FAIL	encoding/json	0.000s
# encoding/json
/home/ron/.gvm/gos/go1.25/src/encoding/json/encode_test.go:1415:6: wg.Go undefined (type sync.WaitGroup has no field or method Go)

encoding/pem

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).NumOut()
FAIL	encoding/pem	2.134s

errors

The compiler gave the following error when running the tests for this package:

--- FAIL: TestAs (0.00s)
    --- FAIL: TestAs/8:As(Errorf(...,_err),_0x74454aab5b60) (0.00s)
        match: got true; want false
        FailNow is incomplete, requires runtime.Goexit()
        got &errors.errorString{s:"err"}, want <nil>
        FailNow is incomplete, requires runtime.Goexit()
    --- FAIL: TestAs/10:As(Errorf(...,_path_error),_0x74454aab5b60) (0.00s)
        got errors_test.wrapped{msg:"path error", err:(*fs.PathError)(0x74454aabdd80)}, want &fs.PathError{Op:"open", Path:"non-existing", Err:(*errors.errorString)(0x264ed8)}
        FailNow is incomplete, requires runtime.Goexit()
    --- FAIL: TestAs/16:As(Errorf(...,_multiError),_0x74454aab5b60) (0.00s)
        got errors_test.multiErr{errors_test.wrapped{msg:"path error", err:(*fs.PathError)(0x74454aabdd80)}}, want &fs.PathError{Op:"open", Path:"non-existing", Err:(*errors.errorString)(0x264ed8)}
        FailNow is incomplete, requires runtime.Goexit()
FAIL
FAIL	errors	0.002s

flag

The compiler gave the following error when running the tests for this package:

--- FAIL: TestExitCode (0.00s)
    unexpected exit code for test case {flag:-h flagHandle: expectExit:0} 
        : got -1, expect 0
    unexpected exit code for test case {flag:-help flagHandle: expectExit:0} 
        : got -1, expect 0
    unexpected exit code for test case {flag:-undefined flagHandle: expectExit:2} 
        : got -1, expect 2
    unexpected exit code for test case {flag:-h flagHandle:h expectExit:123} 
        : got -1, expect 123
    unexpected exit code for test case {flag:-help flagHandle:help expectExit:123} 
        : got -1, expect 123
--- 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
[...more lines following...]

fmt

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Value).Method()
FAIL	fmt	1.137s

go/build

The compiler gave the following error when running the tests for this package:

--- FAIL: TestDotSlashImport (0.01s)
    import ".": unknown compiler "tinygo"
    FailNow is incomplete, requires runtime.Goexit()
    import "./file": unknown compiler "tinygo"
    FailNow is incomplete, requires runtime.Goexit()
--- FAIL: TestLocalDirectory (0.00s)
    import ".": unknown compiler "tinygo"
    FailNow is incomplete, requires runtime.Goexit()
    ImportPath=".", want "go/build"
    FailNow is incomplete, requires runtime.Goexit()
--- FAIL: TestImportCmd (0.00s)
    go/build: go list cmd/internal/objfile: files setting not implemented
        
        
    FailNow is incomplete, requires runtime.Goexit()
[...more lines following...]

go/constant

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/go/constant/value.go]
panic: runtime error at 0x0000000000268d95: divide by zero
FAIL	go/constant	1.096s

go/doc

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).NumOut()
FAIL	go/doc	1.126s

go/doc/comment

The compiler gave the following error when running the tests for this package:

--- FAIL: TestStd (0.00s)
    skipping test: 'go build' unavailable: /home/ron/.gvm/gos/go1.25/bin/go tool -n compile: files setting not implemented
    SkipNow is incomplete, requires runtime.Goexit()
    platform cannot run go tool
    FailNow is incomplete, requires runtime.Goexit()
    exec: no command
    FailNow is incomplete, requires runtime.Goexit()
    stdPkgs is out of date: regenerate with 'go generate'
        diff stdPkgs want
        --- stdPkgs
        +++ want
        @@ -1,40 +1,1 @@
        -bufio
        -bytes
        -cmp
[...more lines following...]

go/importer

The compiler gave the following error when running the tests for this package:

[tinygo: panic at <Go interface method>]
panic: runtime error at 0x000000000033f5b1: nil pointer dereference
FAIL	go/importer	1.091s

go/parser

The compiler gave the following error when running the tests for this package:

FAIL	go/parser	1.237s

go/token

The compiler gave the following error when running the tests for this package:

panic: reflect: unimplemented: AssignableTo with interface
FAIL	go/token	1.130s

go/types

The compiler gave the following error when running the tests for this package:

FAIL	go/types	0.000s
# go/types_test
/home/ron/.gvm/gos/go1.25/src/go/types/self_test.go:102:4: b.ReportMetric undefined (type *testing.B has no field or method ReportMetric)

hash/crc32

The compiler gave the following error when running the tests for this package:

panic: not available
FAIL	hash/crc32	1.194s

hash/maphash

The compiler gave the following error when this package was imported:

# hash/maphash
/home/ron/.gvm/gos/go1.25/src/hash/maphash/maphash.go:295:6: undefined: abi.EscapeNonString
/home/ron/.gvm/gos/go1.25/src/hash/maphash/maphash.go:301:6: undefined: abi.EscapeNonString

html/template

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).NumOut()
FAIL	html/template	1.124s

image/color

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).NumIn()
FAIL	image/color	1.614s

image/draw

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).NumIn()
FAIL	image/draw	1.592s

image/jpeg

The compiler gave the following error when running the tests for this package:

FAIL	image/jpeg	0.000s
/home/ron/.gvm/gos/go1.25/src/image/jpeg/reader_test.go:253: linker could not find symbol runtime/debug.SetTraceback

io

The compiler gave the following error when running the tests for this package:

--- FAIL: TestMultiWriter_WriteStringSingleAlloc (0.00s)
    num allocations = 0; want 1
--- 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
    FailNow is incomplete, requires runtime.Goexit()
FAIL
FAIL	io	5.030s

iter

The compiler gave the following error when running the tests for this package:

--- FAIL: TestPull (0.00s)
    --- FAIL: TestPull/0 (0.00s)
        have 0 extra goroutines, want 1
        have 0 extra goroutines, want 1
    --- FAIL: TestPull/1 (0.00s)
        have 0 extra goroutines, want 1
        have 0 extra goroutines, want 1
        have 0 extra goroutines, want 1
    --- FAIL: TestPull/2 (0.00s)
        have 0 extra goroutines, want 1
        have 0 extra goroutines, want 1
        have 0 extra goroutines, want 1
        have 0 extra goroutines, want 1
    --- FAIL: TestPull/3 (0.00s)
        have 0 extra goroutines, want 1
[...more lines following...]

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 "XXX2025/08/19 17:27:53.073915 ???: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 "XXX2025/08/19 17:27:53.073938 ???: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 "XXX2025/08/19 17:27:53.074037 ???: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 "XXX2025/08/19 17:27:53.074058 ???: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 "2025/08/19 17:27:53.074159 ???: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 "2025/08/19 17:27:53.074179 ???: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 "2025/08/19 17:27:53.074275 ???: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 "2025/08/19 17:27:53.074379 ???:0: XXXhello 23 world"
[...more lines following...]

log/slog

The compiler gave the following error when running the tests for this package:

FAIL	log/slog	0.000s
# log/slog
/home/ron/.gvm/gos/go1.25/src/log/slog/handler_test.go:661:27: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)

log/syslog

The compiler gave the following error when running the tests for this package:

FAIL	log/syslog	0.000s
# log/syslog
/home/ron/.gvm/gos/go1.25/src/log/syslog/syslog_test.go:35:21: oe.Temporary undefined (type *net.OpError has no field or method Temporary)
/home/ron/.gvm/gos/go1.25/src/log/syslog/syslog_test.go:110:15: undefined: net.ListenPacket

math/big

The compiler gave the following error when running the tests for this package:

FAIL	math/big	0.000s
# math/big
/home/ron/.gvm/gos/go1.25/src/math/bits/bits.go:387:10: interp: running for more than 3m0s, timing out (executed calls: 28402189)
  %0 = add i64 %x, %y, !dbg !31773

traceback:
/home/ron/.gvm/gos/go1.25/src/math/bits/bits.go:387:10:
  %0 = add i64 %x, %y, !dbg !31773
/home/ron/.gvm/gos/go1.25/src/math/bits/bits.go:365:19:
  %10 = call { i64, i64 } @"math/bits.Add64"(i64 %x, i64 %y, i64 %carry, ptr undef), !dbg !31791
/home/ron/.gvm/gos/go1.25/src/math/big/arith.go:52:19:
  %3 = call { i64, i64 } @"math/bits.Add"(i64 %2, i64 %c, i64 0, ptr undef), !dbg !31780
/home/ron/.gvm/gos/go1.25/src/math/big/arith.go:250:24:
  %14 = call { i64, i64 } @"math/big.mulAddWWW_g"(i64 %13, i64 %y, i64 %7, ptr undef), !dbg !31791
/home/ron/.gvm/gos/go1.25/src/math/big/arith_decl_pure.go:26:20:
[...more lines following...]

math/bits

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/math/bits/bits.go:510:21]
panic: runtime error at 0x000000000022bbc6: divide by zero
FAIL	math/bits	1.133s

math/rand

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).Method()
FAIL	math/rand	3.214s

math/rand/v2

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).Method()
FAIL	math/rand/v2	5.460s

net/http/cgi

The compiler gave the following error when this package was imported:

../../../../../tmp/tinygo-test-2530946319/main.go:2:8: package net/http/cgi is not in std (/home/ron/.cache/tinygo/goroot-238b5dc21737dc58a4711a1403436936af03af6c444855d3b1e3097f3f44652b/src/net/http/cgi)

net/http/cookiejar

The compiler gave the following error when this package was imported:

../../../../../tmp/tinygo-test-3869624494/main.go:2:8: package net/http/cookiejar is not in std (/home/ron/.cache/tinygo/goroot-238b5dc21737dc58a4711a1403436936af03af6c444855d3b1e3097f3f44652b/src/net/http/cookiejar)

net/http/fcgi

This package cannot be imported because the following dependencies cannot be compiled:

net/http/httputil

The compiler gave the following error when this package was imported:

../../../../../tmp/tinygo-test-4082382619/main.go:2:8: package net/http/httputil is not in std (/home/ron/.cache/tinygo/goroot-238b5dc21737dc58a4711a1403436936af03af6c444855d3b1e3097f3f44652b/src/net/http/httputil)

net/http/pprof

The compiler gave the following error when this package was imported:

../../../../../tmp/tinygo-test-2746811948/main.go:2:8: package net/http/pprof is not in std (/home/ron/.cache/tinygo/goroot-238b5dc21737dc58a4711a1403436936af03af6c444855d3b1e3097f3f44652b/src/net/http/pprof)

net/netip

The compiler gave the following error when running the tests for this package:

--- FAIL: TestInlining (0.00s)
    skipping test: 'go build' unavailable: /home/ron/.gvm/gos/go1.25/bin/go tool -n compile: files setting not implemented
    SkipNow is incomplete, requires runtime.Goexit()
    skipping test: 'go build' unavailable: /home/ron/.gvm/gos/go1.25/bin/go tool -n compile: files setting not implemented
    SkipNow is incomplete, requires runtime.Goexit()
    platform cannot run go tool
    FailNow is incomplete, requires runtime.Goexit()
    go build: exec: no command, 
    FailNow is incomplete, requires runtime.Goexit()
    "(*uint128).halves" is no longer inlinable
    "Addr.BitLen" is no longer inlinable
    "Addr.hasZone" is no longer inlinable
    "Addr.Is4" is no longer inlinable
    "Addr.Is4In6" is no longer inlinable
    "Addr.Is6" is no longer inlinable
[...more lines following...]

net/rpc

The compiler gave the following error when running the tests for this package:

panic: reflect: unimplemented: AssignableTo with interface
FAIL	net/rpc	1.093s

net/rpc/jsonrpc

The compiler gave the following error when running the tests for this package:

panic: reflect: unimplemented: AssignableTo with interface
FAIL	net/rpc/jsonrpc	1.100s

net/smtp

The compiler gave the following error when this package was imported:

# net/smtp
/home/ron/.gvm/gos/go1.25/src/net/smtp/smtp.go:72:24: undefined: tls.Conn
/home/ron/.gvm/gos/go1.25/src/net/smtp/smtp.go:172:25: undefined: tls.Conn

net/url

The compiler gave the following error when running the tests for this package:

panic: reflect: unimplemented: AssignableTo with interface
FAIL	net/url	1.168s

os/exec

The compiler gave the following error when running the tests for this package:

FAIL	os/exec	0.000s
# os/exec_test
/home/ron/.gvm/gos/go1.25/src/os/exec/exec_test.go:260:17: undefined: net.FileListener
/home/ron/.gvm/gos/go1.25/src/os/exec/exec_test.go:405:92: cmd.ProcessState.Pid undefined (type *os.ProcessState has no field or method Pid)
/home/ron/.gvm/gos/go1.25/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/gos/go1.25/src/os/exec/exec_test.go:709:18: undefined: net.FileListener
/home/ron/.gvm/gos/go1.25/src/os/exec/exec_test.go:720:5: ts.StartTLS undefined (type *httptest.Server has no field or method StartTLS)
/home/ron/.gvm/gos/go1.25/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	os/signal	0.000s
/home/ron/.gvm/gos/go1.25/src/os/signal/signal_unix.go:61: linker could not find symbol os/signal.signal_ignored
/home/ron/Development/tinygo/tinygo-122/src/syscall/syscall_linux.go:1127: linker could not find symbol syscall.runtime_doAllThreadsSyscall

path/filepath

The compiler gave the following error when running the tests for this package:

--- FAIL: TestWindowsGlob (0.01s)
    skipping windows specific test
    SkipNow is incomplete, requires runtime.Goexit()
    tmpDir path "/tmp/TestWindowsGlob235874332/000" must have drive letter in it
    FailNow is incomplete, requires runtime.Goexit()
    Glob("/tmp/TestWindowsGlob235874332/000\\a") returns [], but ["/tmp/TestWindowsGlob235874332/000\\a"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\a") returns [], but ["/tmp/TestWindowsGlob235874332/000\\a"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\a") returns [], but ["/tmp/TestWindowsGlob235874332/000\\a"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\b") returns [], but ["/tmp/TestWindowsGlob235874332/000\\b"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\b") returns [], but ["/tmp/TestWindowsGlob235874332/000\\b"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\b") returns [], but ["/tmp/TestWindowsGlob235874332/000\\b"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\*") returns [], but ["/tmp/TestWindowsGlob235874332/000\\a" "/tmp/TestWindowsGlob235874332/000\\b" "/tmp/TestWindowsGlob235874332/000\\dir"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\*") returns [], but ["/tmp/TestWindowsGlob235874332/000\\a" "/tmp/TestWindowsGlob235874332/000\\b" "/tmp/TestWindowsGlob235874332/000\\dir"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\*") returns [], but ["/tmp/TestWindowsGlob235874332/000\\a" "/tmp/TestWindowsGlob235874332/000\\b" "/tmp/TestWindowsGlob235874332/000\\dir"] expected
    Glob("/tmp/TestWindowsGlob235874332/000\\d*") returns [], but ["/tmp/TestWindowsGlob235874332/000\\dir"] expected
[...more lines following...]

plugin

The compiler gave the following error when this package was imported:

# plugin
/home/ron/.gvm/gos/go1.25/src/plugin/plugin_dlopen.go:10:6: not implemented: build constraints in #cgo line

slices

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/slices/slices.go]
panic: runtime error at 0x000000000028c61f: slice out of range
FAIL	slices	1.098s

sort

The compiler gave the following error when running the tests for this package:

--- FAIL: TestCountStableOps (1.11s)
    Counting skipped as non-verbose mode.
    SkipNow is incomplete, requires runtime.Goexit()
    Stable      100 elements:         963 Swap,        835 Less
    Stable      300 elements:        3953 Swap,       3030 Less
    Stable     1000 elements:       19708 Swap,      12302 Less
    Stable     3000 elements:       81453 Swap,      42760 Less
    Stable    10000 elements:      347361 Swap,     165461 Less
    Stable    30000 elements:     1341839 Swap,     558511 Less
    Stable   100000 elements:     5790294 Swap,    2084460 Less
    Stable   300000 elements:    20448959 Swap,    6866868 Less
    Stable  1000000 elements:    84452769 Swap,   25115173 Less
--- FAIL: TestCountSortOps (0.94s)
    Counting skipped as non-verbose mode.
    SkipNow is incomplete, requires runtime.Goexit()
[...more lines following...]

strings

The compiler gave the following error when running the tests for this package:

FAIL	strings	0.000s
# strings_test
/home/ron/Development/tinygo/tinygo-122/src/runtime/runtime.go:48:6: interp: running for more than 3m0s, timing out (executed calls: 661832)
  call void @llvm.memmove.p0.p0.i64(ptr %dst, ptr %src, i64 %size, i1 false), !dbg !20231

traceback:
/home/ron/Development/tinygo/tinygo-122/src/runtime/runtime.go:48:6:
  call void @llvm.memmove.p0.p0.i64(ptr %dst, ptr %src, i64 %size, i1 false), !dbg !20231
/home/ron/Development/tinygo/tinygo-122/src/runtime/slice.go:21:10:
  call void @runtime.memmove(ptr %7, ptr %elemsBuf, i64 %8, ptr undef), !dbg !20261
/home/ron/.gvm/gos/go1.25/src/strings/strings_test.go:1884:13:
  %append.new = call { ptr, i64, i64 } @runtime.sliceAppend(ptr %append.srcBuf, ptr %append.elemsBuf, i64 %append.srcLen, i64 %append.srcCap, i64 %append.elemsLen, i64 1, ptr undef), !dbg !20263
/home/ron/.gvm/gos/go1.25/src/strings:
  %56 = call %runtime._string @strings_test.makeBenchInputHard(ptr undef), !dbg !20242

[...more lines following...]

sync/atomic

The compiler gave the following error when running the tests for this package:

[tinygo: panic at /home/ron/.gvm/gos/go1.25/src/sync/atomic/doc.go:93:6]
panic: runtime error at 0x000000000025ef75: caught signal SIGSEGV
FAIL	sync/atomic	3.845s

syscall

The compiler gave the following error when running the tests for this package:

FAIL	syscall	0.000s
# syscall_test
/home/ron/.gvm/gos/go1.25/src/syscall/creds_test.go:53:19: undefined: net.FileConn
/home/ron/.gvm/gos/go1.25/src/syscall/creds_test.go:60:19: undefined: net.FileConn
/home/ron/.gvm/gos/go1.25/src/syscall/syscall_linux_test.go:758:37: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/syscall/syscall_linux_test.go:851:37: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/syscall/syscall_unix_test.go:183:16: undefined: net.FileConn
/home/ron/.gvm/gos/go1.25/src/syscall/syscall_unix_test.go:238:14: undefined: net.UnixConn
/home/ron/.gvm/gos/go1.25/src/syscall/syscall_unix_test.go:242:18: undefined: net.FileConn

testing/fstest

The compiler gave the following error when running the tests for this package:

[tinygo: panic at <Go interface method>]
panic: runtime error at 0x0000000000230594: nil pointer dereference
FAIL	testing/fstest	1.149s

testing/quick

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).NumIn()
FAIL	testing/quick	2.031s

testing/slogtest

The compiler gave the following error when running the tests for this package:

panic: runtime.Caller failed
FAIL	testing/slogtest	1.130s

testing/synctest

The compiler gave the following error when running the tests for this package:

FAIL	testing/synctest	0.000s
# testing/synctest_test
/home/ron/.gvm/gos/go1.25/src/testing/synctest/example_test.go:49:39: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/testing/synctest/example_test.go:78:40: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)
/home/ron/.gvm/gos/go1.25/src/testing/synctest/example_test.go:109:4: unknown field DialContext in struct literal of type http.Transport
/home/ron/.gvm/gos/go1.25/src/testing/synctest/example_test.go:113:4: unknown field ExpectContinueTimeout in struct literal of type http.Transport
/home/ron/.gvm/gos/go1.25/src/testing/synctest/synctest_test.go:106:8: t.Context undefined (type *testing.T has no field or method Context, but does have unexported field context)

text/template

The compiler gave the following error when running the tests for this package:

panic: unimplemented: (reflect.Type).NumOut()
FAIL	text/template	1.128s

time

The compiler gave the following error when running the tests for this package:

FAIL	time	0.000s
# time_test
/home/ron/.gvm/gos/go1.25/src/time/sleep_test.go:977:4: b.ReportMetric undefined (type *testing.B has no field or method ReportMetric)
/home/ron/.gvm/gos/go1.25/src/time/sleep_test.go:978:4: b.ReportMetric undefined (type *testing.B has no field or method ReportMetric)
/home/ron/.gvm/gos/go1.25/src/time/sleep_test.go:979:4: b.ReportMetric undefined (type *testing.B has no field or method ReportMetric)
/home/ron/.gvm/gos/go1.25/src/time/sleep_test.go:1050:8: b.ReportMetric undefined (type *testing.B has no field or method ReportMetric)
/home/ron/.gvm/gos/go1.25/src/time/sleep_test.go:1051:8: b.ReportMetric undefined (type *testing.B has no field or method ReportMetric)
/home/ron/.gvm/gos/go1.25/src/time/sleep_test.go:1052:8: b.ReportMetric undefined (type *testing.B has no field or method ReportMetric)

time/tzdata

The compiler gave the following error when this package was imported:

/home/ron/Development/tinygo/tinygo-122/src/runtime/scheduler_threads.go:26: linker could not find symbol time.registerLoadFromEmbeddedTZData

weak

The compiler gave the following error when running the tests for this package:

FAIL	weak	0.000s
/home/ron/.gvm/gos/go1.25/src/weak/pointer.go: linker could not find symbol weak.runtime_makeStrongFromWeak
/home/ron/.gvm/gos/go1.25/src/weak/pointer.go: linker could not find symbol weak.runtime_makeStrongFromWeak