2026-01-16 11:37.00: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (linux-ppc64:debian-13-4.14_ppc64_opam-2.5) Base: ocaml/opam:debian-13-ocaml-4.14@sha256:5620dd05562b6b9e235e22840f6e4c647e41c4b844aa7f56da392b7ef45eb084 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocurrent/bun.git" -b "primary" && cd "bun" && git reset --hard edb099dd cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-13-ocaml-4.14@sha256:5620dd05562b6b9e235e22840f6e4c647e41c4b844aa7f56da392b7ef45eb084 # debian-13-4.14_ppc64_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src RUN cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 bun.opam ./ RUN opam pin add -yn bun.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.5 --depext-only -y bun.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2026-01-16 11:37.00: Using cache hint "ocurrent/bun-ocaml/opam:debian-13-ocaml-4.14@sha256:5620dd05562b6b9e235e22840f6e4c647e41c4b844aa7f56da392b7ef45eb084-debian-13-4.14_ppc64_opam-2.5-ea96a1d6ff66001b24ea88807bbcc281" 2026-01-16 11:37.00: Using OBuilder spec: ((from ocaml/opam:debian-13-ocaml-4.14@sha256:5620dd05562b6b9e235e22840f6e4c647e41c4b844aa7f56da392b7ef45eb084) (comment debian-13-4.14_ppc64_opam-2.5) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src bun.opam) (dst ./)) (run (network host) (shell "opam pin add -yn bun.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y bun.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2026-01-16 11:37.00: Waiting for resource in pool OCluster 2026-01-16 11:37.00: Waiting for worker… 2026-01-16 11:43.46: Got resource from pool OCluster Building on scyleia.caelum.ci.dev All commits already cached HEAD is now at edb099d Merge pull request #32 from ocurrent/revert-31-patch-1 (from ocaml/opam:debian-13-ocaml-4.14@sha256:5620dd05562b6b9e235e22840f6e4c647e41c4b844aa7f56da392b7ef45eb084) 2026-01-16 11:43.46 ---> using "d4f818e49a5b7d68853983e20ada5416e2e3dbb2c26238c0fd3fe50876eeb4a5" from cache /: (comment debian-13-4.14_ppc64_opam-2.5) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam")) 2026-01-16 11:43.46 ---> using "63dd3277f4f7b111cd45be526fa519588c39124458ef5d81795da88f4e9cdd3f" from cache /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [Y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2026-01-16 11:43.46 ---> using "8e01ade235faf92bfd4ad178e10173b1f1f4fb6032aa094754edf14be8d01a77" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-85-generic The OCaml toplevel, version 4.14.2 2.5.0 2026-01-16 11:43.46 ---> using "7f6c63c58b2c2683e7dcb58952c6819227fe360de2adfc7ab2703fc44a93d79e" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-01-16 11:43.46 ---> using "b96e23a01460d93a3f01d18cfdec742cdb55aa113b5c22a4755525782f10510e" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 16d9c0eb87..873cb18c37 master -> origin/master 873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/opam/opam-repository Everything as up-to-date as possible (run with --verbose to show unavailable upgrades). However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2026-01-16 11:43.46 ---> using "f46705362890f06aa3a10f0e69db0b7ca488b41a38ca254d9b82d8c61028e79c" from cache /src: (copy (src bun.opam) (dst ./)) 2026-01-16 11:43.47 ---> saved as "51316c0bd2ddf3607f02f59224b72dd2d9b2d3819f49a48b6a271e3048a082a0" /src: (run (network host) (shell "opam pin add -yn bun.dev './'")) [bun.dev] synchronised (file:///src) bun is now pinned to file:///src (version dev) 2026-01-16 11:43.48 ---> saved as "74d3346c677b63aa406bd883bdbc8815c39015b767bc2e4129304ae0769a6fcb" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-01-16 11:43.49 ---> saved as "2acfdb66cf797aeb6ce8f238ecee66f87a81e74e5b8b5265af20d8f71cc77388" /src: (env DEPS "afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y bun.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian trixie InRelease [140 kB] - Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB] - Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB] - Get:4 http://deb.debian.org/debian trixie/main ppc64el Packages [9508 kB] - Get:5 http://deb.debian.org/debian-security trixie-security/main ppc64el Packages [90.2 kB] - Fetched 9830 kB in 32s (312 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [bun.dev] synchronised (file:///src) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). # To update the current shell environment, run: eval $(opam env) 2026-01-16 11:44.42 ---> saved as "e072fada50cd270e2bec2137ae07cb2d84181ccbebf53ef5436a2ddc0b390fe2" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: === install 20 packages - install afl 2.52b - install afl-persistent 1.4 - install astring 0.8.5 - install base-bytes base - install bos 0.2.1 - install cmdliner 2.1.0 - install cppo 1.8.0 - install crowbar 0.2.2 - install csexp 1.5.2 - install dune 3.21.0 - install dune-configurator 3.21.0 - install fmt 0.11.0 - install fpath 0.7.3 - install logs 0.10.0 - install lwt 6.0.0 - install ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install ocplib-endian 1.2 - install rresult 0.7.0 - install topkg 1.1.1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved afl.2.52b (cached) -> retrieved afl-persistent.1.4 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved bos.0.2.1 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved cmdliner.2.1.0 (cached) -> retrieved crowbar.0.2.2 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved fmt.0.11.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved logs.0.10.0 (cached) -> retrieved lwt.6.0.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved rresult.0.7.0 (cached) -> retrieved topkg.1.1.1 (cached) -> retrieved dune.3.21.0, dune-configurator.3.21.0 (cached) -> installed cmdliner.2.1.0 -> installed ocamlbuild.0.16.1 -> installed ocamlfind.1.9.8 -> installed base-bytes.base -> installed afl.2.52b -> installed topkg.1.1.1 -> installed rresult.0.7.0 -> installed fmt.0.11.0 -> installed astring.0.8.5 -> installed fpath.0.7.3 -> installed dune.3.21.0 -> installed afl-persistent.1.4 -> installed csexp.1.5.2 -> installed cppo.1.8.0 -> installed crowbar.0.2.2 -> installed ocplib-endian.1.2 -> installed dune-configurator.3.21.0 -> installed lwt.6.0.0 -> installed logs.0.10.0 -> installed bos.0.2.1 Done. <><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><> => afl-persistent is installed, but since the current OCaml compiler does not enable AFL instrumentation by default, most packages will not be instrumented and fuzzing with afl-fuzz may not be effective. To globally enable AFL instrumentation, create an OCaml switch like: opam switch create 4.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl # To update the current shell environment, run: eval $(opam env) 2026-01-16 11:46.02 ---> saved as "f9afff7fff0dfd42121915ed7f9a179ac0b07998f88d85721755f094f21be968" /src: (copy (src .) (dst /src)) 2026-01-16 11:46.02 ---> saved as "c7a538ccad17565a797ef0454bc21f60cb8b4631c5c5f91c226e14956c015bc6" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/test && /usr/bin/bash -e -u -o pipefail -c '! timeout 30s ../src/bun.exe -vv --max-cores=2 ./short.exe') > _build/default/test/shorttest-output 11:46.03:[EXEC:61]['afl-gotcpu'] 11:46.03:[EXEC:62]['grep' 'more processes on '] 11:46.04:[DEBUG]cores line: 80 to 163 cores. <<< 11:46.04:[INFO]2 available cores detected! 11:46.04:[INFO]Executing /home/opam/.opam/4.14/bin/afl-fuzz -m 200 -i input -o output -M 1 -- ./short.exe @@ 11:46.04:[INFO]/home/opam/.opam/4.14/bin/afl-fuzz launched: PID 239 11:46.04:[INFO]Executing /home/opam/.opam/4.14/bin/afl-fuzz -m 200 -i input -o output -S 2 -- ./short.exe @@ 11:46.04:[INFO]/home/opam/.opam/4.14/bin/afl-fuzz launched: PID 240 11:46.04:[EXEC:248]['base64' '-w' '0' 'output/2/crashes/id:000000,sig:06,src:000000,op:havoc,rep:8'] 11:46.04:[INFO]Terminating fuzzer 1 (pid=239) 11:46.04:[INFO]Fuzzer 1 (pid=239) shut down, as requested bun: All fuzzers finished, but some crashes were found! (cd _build/default/test && /usr/bin/bash -e -u -o pipefail -c 'grep '\''Crashes found!'\'' shorttest-output || (cat shorttest-output; echo FAILED; exit 1)') Crashes found! Take a look; copy/paste to save for reproduction: 11:46.04:Fuzzers launched: [1 (pid=239); 2 (pid=240)]. afl-fuzz 2.52b by <lcamtuf@google.com> [+] Disabling the UI because AFL_NO_UI is set. [+] You have 176 CPU cores and 39 runnable tasks (utilization: 22%). [+] Try parallel jobs - see docs/parallel_fuzzing.txt. [!] WARNING: Not binding to a CPU core (AFL_NO_AFFINITY set). [*] Checking core_pattern... [*] Setting up output directories... [*] Scanning 'input'... [+] No auto-generated dictionary tokens to reuse. [*] Creating hard links for all input files... [*] Validating target binary... [+] Persistent mode binary detected. [*] Attempting dry run with 'id:000000,orig:bun_autogenerated_seed'... [*] Spinning up the fork server... [+] All right - fork server is up. len = 396, map size = 1, exec speed = 227 us [+] All test cases processed. [+] Here are some useful stats: Test case count : 1 favored, 0 variable, 1 total Bitmap range : 1 to 1 bits (average: 1.00 bits) Exec timing : 227 to 227 us (average: 227 us) [*] No -t option specified, so I'll use exec timeout of 20 ms. [+] All set and ready to roll! [*] Entering queue cycle 1. [*] Fuzzing test case #0 (1 total, 0 uniq crashes found)... afl-fuzz 2.52b by <lcamtuf@google.com> [+] Disabling the UI because AFL_NO_UI is set. [+] You have 176 CPU cores and 39 runnable tasks (utilization: 22%). [+] Try parallel jobs - see docs/parallel_fuzzing.txt. [!] WARNING: Not binding to a CPU core (AFL_NO_AFFINITY set). [*] Checking core_pattern... [*] Setting up output directories... [*] Scanning 'input'... [+] No auto-generated dictionary tokens to reuse. [*] Creating hard links for all input files... [*] Validating target binary... [+] Persistent mode binary detected. [*] Attempting dry run with 'id:000000,orig:bun_autogenerated_seed'... [*] Spinning up the fork server... [+] All right - fork server is up. len = 396, map size = 1, exec speed = 230 us [+] All test cases processed. [+] Here are some useful stats: Test case count : 1 favored, 0 variable, 1 total Bitmap range : 1 to 1 bits (average: 1.00 bits) Exec timing : 230 to 230 us (average: 230 us) [*] No -t option specified, so I'll use exec timeout of 20 ms. [+] All set and ready to roll! [*] Entering queue cycle 1. [*] Fuzzing test case #0 (1 total, 0 uniq crashes found)... [*] Entering queue cycle 2. [*] Fuzzing test case #0 (1 total, 0 uniq crashes found)... [*] Entering queue cycle 3. [*] Fuzzing test case #0 (1 total, 0 uniq crashes found)... [*] Entering queue cycle 4. [*] Fuzzing test case #0 (1 total, 0 uniq crashes found)... [*] Entering queue cycle 5. [*] Fuzzing test case #0 (1 total, 0 uniq crashes found)... [*] Entering queue cycle 6. [*] Fuzzing test case #0 (1 total, 0 uniq crashes found)... +++ Testing aborted programmatically +++ [+] We're done here. Have a nice day! 11:46.04:Fuzzer 2 (pid=240) finished Crashes found! Take a look; copy/paste to save for reproduction: echo AAAAAAAAAAAAAAAg | base64 -d > crash_0.$(date -u +%s) 2026-01-16 11:46.05 ---> saved as "56220b96a518b703b88a35c52ee014b66fe0c82d7695e376bcc1ab8ccd5e6610" Job succeeded 2026-01-16 11:46.06: Job succeeded