2025-10-07 16:48.27: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (freebsd-x86_64:freebsd-14.3-4.14_opam-2.4) Base: freebsd-14.3-ocaml-4.14 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 freebsd-14.3-ocaml-4.14 # freebsd-14.3-4.14_opam-2.4 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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.0.0 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 lwt.5.9.2 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.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.4 --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 2025-10-07 16:48.27: Using cache hint "ocurrent/bun-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.4-e9c4284405da24dd4335e09ab83cc9d9" 2025-10-07 16:48.27: Using OBuilder spec: ((from freebsd-14.3-ocaml-4.14) (comment freebsd-14.3-4.14_opam-2.4) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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.0.0 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 lwt.5.9.2 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.0") (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.4 --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")) ) 2025-10-07 16:48.27: Waiting for resource in pool OCluster 2025-10-07 16:48.28: Waiting for worker… 2025-10-07 17:55.59: Got resource from pool OCluster Building on rosemary hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> hint: hint: Disable this message with "git config set advice.defaultBranchName false" Initialized empty Git repository in /obuilder/state/git/bun.git-3e86180a0ae869a650cd6fffd9077a81d64908a5/.git/ HEAD is now at edb099d Merge pull request #32 from ocurrent/revert-31-patch-1 (from freebsd-14.3-ocaml-4.14) 2025-10-07 17:54.15 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache /: (comment freebsd-14.3-4.14_opam-2.4) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/bin/opam")) 2025-10-07 17:54.16 ---> using "f8f2ae50f983ba53790a433c81d8570b8becc44c74ab2707cf43746ed1b463d1" from cache /src: (run (shell "opam init --reinit -ni")) No configuration file found, using 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.1 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [Y/n] y [NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using: opam option jobs=1 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///home/opam/opam-repository 2025-10-07 17:54.17 ---> using "a95cd97103c96a777086d9508c45964fbffa4285a5c5e6703b704acabfb6945b" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) FreeBSD 14.3-RELEASE-p3 The OCaml toplevel, version 4.14.2 2.4.1 2025-10-07 17:54.17 ---> using "199d8be57ed603ac6837a6d6cc7e578c2f630e2b79e2520a8892deff98662ca8" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-10-07 17:54.18 ---> using "c9d8693a3c313f3750cea43d98891a3f5490d8d3ab8357236d5eb49fea038272" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u")) dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/opam/opam-repository Everything as up-to-date as possible The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.3.0 - ocaml-config.3 However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. 2025-10-07 17:54.18 ---> using "b673ee78ef2d567a781c90c4f479e4cc2deab0689088e561b68af5a277bdcb1e" from cache /src: (copy (src bun.opam) (dst ./)) 2025-10-07 17:54.19 ---> using "6700af8b93981372e71de954b38f9903fde5da3acbbf2865325be80fd224d508" from cache /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) 2025-10-07 17:54.20 ---> saved as "0870c3a560a1d3b4e3bef019d76ca193fea4ebe42f48bb9e10928c5bde1d289c" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-10-07 17:54.23 ---> saved as "f93e79985be2c76b21efc8f7db014f294e48e779bac14b23945a81f34d4ddcb7" /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.0.0 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 lwt.5.9.2 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.0") /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.4 --depext-only -y bun.dev $DEPS")) [WARNING] Unknown update command for bsd, skipping system update <><> 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). 2025-10-07 17:54.43 ---> saved as "1bfd0894ee7134a96a8100bf0af605f5302178bf5de5a40a91f994bf1e2568d9" /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 ∗ afl 2.52b ∗ afl-persistent 1.4 ∗ astring 0.8.5 ∗ base-bytes base ∗ bos 0.2.1 ∗ cmdliner 2.0.0 ∗ cppo 1.8.0 ∗ crowbar 0.2.1 ∗ csexp 1.5.2 ∗ dune 3.20.2 ∗ dune-configurator 3.20.2 ∗ fmt 0.11.0 ∗ fpath 0.7.3 ∗ logs 0.9.0 ∗ lwt 5.9.2 ∗ ocamlbuild 0.16.1 ∗ ocamlfind 1.9.8 ∗ ocplib-endian 1.2 ∗ rresult 0.7.0 ∗ topkg 1.1.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved astring.0.8.5 (cached) ⬇ retrieved afl-persistent.1.4 (https://github.com/stedolan/ocaml-afl-persistent/archive/refs/tags/v1.4.tar.gz) ⬇ retrieved bos.0.2.1 (https://erratique.ch/software/bos/releases/bos-0.2.1.tbz) ⬇ retrieved cppo.1.8.0 (cached) ⬇ retrieved afl.2.52b (http://lcamtuf.coredump.cx/afl/releases/afl-2.52b.tgz) ⬇ retrieved csexp.1.5.2 (cached) ⬇ retrieved crowbar.0.2.1 (https://github.com/stedolan/crowbar/archive/v0.2.1.tar.gz) ⬇ retrieved fmt.0.11.0 (cached) ⬇ retrieved fpath.0.7.3 (https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz) ⬇ retrieved logs.0.9.0 (cached) ⬇ retrieved lwt.5.9.2 (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz) ⬇ retrieved ocamlbuild.0.16.1 (cached) ⬇ retrieved ocamlfind.1.9.8 (cached) ⬇ retrieved ocplib-endian.1.2 (https://github.com/OCamlPro/ocplib-endian/archive/refs/tags/1.2.tar.gz) ⬇ retrieved dune.3.20.2, dune-configurator.3.20.2 (cached) ⬇ retrieved topkg.1.1.0 (cached) ⬇ retrieved rresult.0.7.0 (https://erratique.ch/software/rresult/releases/rresult-0.7.0.tbz) [ERROR] The compilation of afl.2.52b failed at "gmake". ⬇ retrieved cmdliner.2.0.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-2.0.0.tbz) ∗ installed ocamlfind.1.9.8 ∗ installed base-bytes.base ∗ installed cmdliner.2.0.0 ∗ installed ocamlbuild.0.16.1 ∗ installed topkg.1.1.0 ∗ installed rresult.0.7.0 ∗ installed fmt.0.11.0 ∗ installed astring.0.8.5 ∗ installed fpath.0.7.3 ∗ installed dune.3.20.2 ∗ installed csexp.1.5.2 ∗ installed afl-persistent.1.4 ∗ installed cppo.1.8.0 ∗ installed ocplib-endian.1.2 ∗ installed crowbar.0.2.1 ∗ installed dune-configurator.3.20.2 ∗ installed lwt.5.9.2 ∗ installed logs.0.9.0 ∗ installed bos.0.2.1 #=== ERROR while compiling afl.2.52b ==========================================# # context 2.4.1 | freebsd/x86_64 | ocaml-base-compiler.4.14.2 | git+file:///home/opam/opam-repository # path ~/.opam/4.14.2/.opam-switch/build/afl.2.52b # command /usr/local/bin/gmake # exit-code 2 # env-file ~/.opam/log/afl-63709-6d1b02.env # output-file ~/.opam/log/afl-63709-6d1b02.out ### output ### # [...] # 1 warning generated. # cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-analyze.c -o afl-analyze # cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-as.c -o afl-as # ln -sf afl-as as # [*] Testing the CC wrapper and instrumentation output... # unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" test-instr.c -o test-instr # B # [-] PROGRAM ABORT : Oops, failed to execute 'as' - check your PATH # Location : main(), afl-as.c:536 # # clang: error: assembler command failed with exit code 1 (use -v to see invocation) # gmake: *** [Makefile:91: test_build] Error 1 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build afl 2.52b └─ ┌─ The following changes have been performed │ ∗ install afl-persistent 1.4 │ ∗ install astring 0.8.5 │ ∗ install base-bytes base │ ∗ install bos 0.2.1 │ ∗ install cmdliner 2.0.0 │ ∗ install cppo 1.8.0 │ ∗ install crowbar 0.2.1 │ ∗ install csexp 1.5.2 │ ∗ install dune 3.20.2 │ ∗ install dune-configurator 3.20.2 │ ∗ install fmt 0.11.0 │ ∗ install fpath 0.7.3 │ ∗ install logs 0.9.0 │ ∗ install lwt 5.9.2 │ ∗ install ocamlbuild 0.16.1 │ ∗ install ocamlfind 1.9.8 │ ∗ install ocplib-endian 1.2 │ ∗ install rresult 0.7.0 │ ∗ install topkg 1.1.0 └─ <><> 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 The former state can be restored with: /usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20251007175447.export" jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' 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.0.0 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 lwt.5.9.2 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.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS': failed "jail" "-c" "name=obuilder_73090_1450" "mount.fstab=/tmp/obuilder-jail-10a988/fstab" "mount.devfs" "path=/obuilder/result/ae584dba202e22aa10aae4911b51f84a61e7f7b99588c3b52afbf2f0b237f286/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' 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.0.0 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 lwt.5.9.2 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.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS'" failed with exit status 1 2025-10-07 17:59.06: Job failed: Failed: Build failed