Organisationsocurrentbunedb099 (primary)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2026-05-13 10:19.07: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
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.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
# debian-13-4.11_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 cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 crowbar.0.2.1 dune.2.9.3 fmt.0.8.8 fpath.0.7.1 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ocplib-endian.1.0 result.1.5 rresult.0.6.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8"
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-05-13 10:19.07: Using cache hint "ocurrent/bun-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-211593cc98c2a7954ed8ea2ba0c5917d"
2026-05-13 10:19.07: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
(comment debian-13-4.11_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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline"))
(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 "opam update -u"))
(copy (src bun.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn bun.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "afl.2.52b afl-persistent.1.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 crowbar.0.2.1 dune.2.9.3 fmt.0.8.8 fpath.0.7.1 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ocplib-endian.1.0 result.1.5 rresult.0.6.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8")
(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-05-13 10:19.07: Waiting for resource in pool OCluster
2026-05-13 10:48.01: Waiting for worker…
2026-05-13 10:49.37: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
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>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/bun.git-3e86180a0ae869a650cd6fffd9077a81d64908a5/.git/
HEAD is now at edb099d Merge pull request #32 from ocurrent/revert-31-patch-1


(from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
2026-05-13 10:49.39 ---> using "36abb6db1723167d15c41f53ef05d371444812dc64e2ea7fe109d222db988473" from cache


/: (comment debian-13-4.11_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-05-13 10:49.39 ---> using "8b6c3f9b20d6c3beeb84a8d52ac5abfb97ee836913fb82a0f86bfdcf7eb71547" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline"))
4ae3c774e4 Merge pull request #29579 from ocaml/add-msys2-depexts
2026-05-13 10:49.39 ---> using "54f96e68ea5840d69b4f02846708b193c7a3c7a8b89c58ccdd59dd408cc89131" 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.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] synchronised from git+file:///home/opam/opam-repository
2026-05-13 10:49.39 ---> using "2e0488c85be23cfa510e6ed517b32de1968c6ef0872055c2e53d8cd567d53531" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 4.11.2
2.5.1
2026-05-13 10:49.39 ---> using "2e3f19834893eb0759c86b2e011bf3b52c3aa4c6e95eb8613bc712c32121d5d7" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-05-13 10:49.39 ---> using "6f860519618ac6071ef972da70b2fd5c8de012ce87d22609f5f2a49241b2d26e" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


<><> 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).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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-05-13 10:49.39 ---> using "7a3f34e1cf8732e7a22e946b952071a1ceef433d7611e04e2d67e9bac206c064" from cache


/src: (copy (src bun.opam) (dst ./))
2026-05-13 10:49.40 ---> saved as "5d34e7bac3cf768575fc1e62a05ce55b55885a9601c9379aab7a669e2becf028"


/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-05-13 10:49.43 ---> saved as "3c91726540ec159a69c61e2c6bf0b90ed7685b8ec7d5787d0c2c0388357ddb96"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-13 10:49.44 ---> saved as "01182a289ceeca9cc55f51a2c61822882d630eec35055b51e9e2312bf53101ec"


/src: (env DEPS "afl.2.52b afl-persistent.1.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 crowbar.0.2.1 dune.2.9.3 fmt.0.8.8 fpath.0.7.1 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ocplib-endian.1.0 result.1.5 rresult.0.6.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8")


/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"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [160 kB]
- Fetched 251 kB in 0s (1102 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bun.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 system packages will first need to be installed:
m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20623 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
# To update the current shell environment, run: eval $(opam env)
2026-05-13 10:50.12 ---> saved as "f2d5f281901480721d24cd4ea4b296513aed3c541a72b04f3ae9b395060720a6"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 24 packages
- install afl            2.52b
- install afl-persistent 1.1
- install astring        0.8.3
- install base-bytes     base
- install bos            0.2.0
- install cmdliner       1.3.0
- install conf-m4        1
- install cppo           1.6.1
- install crowbar        0.2.1
- install dune           2.9.3
- install fmt            0.8.8
- install fpath          0.7.1
- install jbuilder       1.0+beta20.1 (deprecated)
- install logs           0.7.0
- install lwt            4.2.0
- install mmap           1.0.2
- install ocamlbuild     0.14.0
- install ocamlfind      1.8.1
- install ocplib-endian  1.0
- install result         1.5
- install rresult        0.6.0
- install seq            0.3
- install stdlib-shims   0.1.0
- install topkg          1.0.8


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved bos.0.2.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> retrieved crowbar.0.2.1  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.8.8  (cached)
-> retrieved fpath.0.7.1  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved afl.2.52b  (https://opam.ocaml.org/cache)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.4.2.0  (cached)
-> retrieved dune.2.9.3  (cached)
[ERROR] The compilation of afl.2.52b failed at "make".
-> retrieved mmap.1.0.2  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ocplib-endian.1.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.6.0  (cached)
-> retrieved seq.0.3  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed topkg.1.0.8
-> installed afl-persistent.1.1
-> installed astring.0.8.3
-> installed dune.2.9.3
-> installed seq.0.3
-> installed mmap.1.0.2
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed rresult.0.6.0
-> installed fpath.0.7.1
-> installed ocplib-endian.1.0
-> installed fmt.0.8.8
-> installed crowbar.0.2.1
-> installed lwt.4.2.0
-> installed logs.0.7.0
-> installed bos.0.2.0


#=== ERROR while compiling afl.2.52b ==========================================#
# context     2.5.1 | linux/x86_64 | ocaml-base-compiler.4.11.2 | git+file:///home/opam/opam-repository
# path        ~/.opam/4.11/.opam-switch/build/afl.2.52b
# command     /usr/bin/make
# exit-code   2
# env-file    ~/.opam/log/afl-1-e346d4.env
# output-file ~/.opam/log/afl-1-e346d4.out
### output ###
# [*] Checking for the ability to compile x86 code...
# <stdin>:1:1: error: return type defaults to 'int' [-Wimplicit-int]
# 
# Oops, looks like your compiler can't generate x86 code.
# 
# Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first.
# (To ignore this error, set AFL_NO_X86=1 and try again.)
# 
# make: *** [Makefile:53: test_x86] Error 1


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build afl 2.52b
+- 
+- The following changes have been performed
| - install afl-persistent 1.1
| - install astring        0.8.3
| - install base-bytes     base
| - install bos            0.2.0
| - install cmdliner       1.3.0
| - install conf-m4        1
| - install cppo           1.6.1
| - install crowbar        0.2.1
| - install dune           2.9.3
| - install fmt            0.8.8
| - install fpath          0.7.1
| - install jbuilder       1.0+beta20.1
| - install logs           0.7.0
| - install lwt            4.2.0
| - install mmap           1.0.2
| - install ocamlbuild     0.14.0
| - install ocamlfind      1.8.1
| - install ocplib-endian  1.0
| - install result         1.5
| - install rresult        0.6.0
| - install seq            0.3
| - install stdlib-shims   0.1.0
| - install topkg          1.0.8
+- 


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.


The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20260513105013.export"
# To update the current shell environment, run: eval $(opam env)
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2026-05-13 10:51.35: Job failed: Failed: Build failed