Organisationsocurrentbunedb099 (primary)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-06-29 06:46.06: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
Opam project lint documentation


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.2 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 0ab59798f2fa2c1d4f5564a5c45d2c48ce160478 || git fetch origin master) && git reset -q --hard 0ab59798f2fa2c1d4f5564a5c45d2c48ce160478 && 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.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.1 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.23.1 dune-configurator.3.22.2 fmt.0.11.0 fpath.0.7.3 logs.0.8.0 lwt.5.10.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.16.1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 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.2 --depext-only -y bun.dev $DEPS
RUN opam install $DEPS
RUN opam install --yes dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-06-29 06:46.06: Using cache hint "ocurrent/bun-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-8e29a81d8c9b0fb52979fbf63d6cfe7a"
2026-06-29 06:46.06: 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.2 /usr/bin/opam"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 0ab59798f2fa2c1d4f5564a5c45d2c48ce160478 || git fetch origin master) && git reset -q --hard 0ab59798f2fa2c1d4f5564a5c45d2c48ce160478 && 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.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.1 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.23.1 dune-configurator.3.22.2 fmt.0.11.0 fpath.0.7.3 logs.0.8.0 lwt.5.10.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.16.1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 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.2 --depext-only -y bun.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
(copy (src .) (dst /src/))
(run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2026-06-29 06:46.06: Waiting for resource in pool OCluster
2026-06-29 06:49.36: Waiting for worker…
2026-06-29 06:53.40: Got resource from pool OCluster
Building on toxis.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.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c' locally
docker.io/ocaml/opam@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c: Pulling from ocaml/opam
307f8152a55e: Already exists
53d481666795: Already exists
4ee22a5df705: Already exists
ae88ba2e7c99: Already exists
466fcae906a3: Already exists
024abae8c1ed: Already exists
d582ebdec32b: Already exists
aa12715098f1: Already exists
62299cb9f759: Already exists
a25072680c61: Already exists
43b56dd9ccf7: Already exists
244d3fc9f983: Already exists
c4fb47424a8f: Already exists
cf6798d648a4: Already exists
279a991ac05e: Already exists
cf66fc12d100: Already exists
cf66fc12d100: Already exists
d39d0e8ae83c: Already exists
4b54e9cd8568: Already exists
f65d25bce8ea: Already exists
7d77baca5957: Already exists
4f4fb700ef54: Already exists
a99a940ecfac: Already exists
f5264679c08b: Already exists
f2b70106109c: Already exists
b37088730bad: Already exists
cbd33ffade5f: Already exists
f1cf9ab18ca0: Already exists
87f3d72372a4: Already exists
25d15f09ece2: Already exists
6304df60357e: Already exists
34a8ea3e9b48: Already exists
a0636f21098e: Already exists
9511add15c87: Already exists
963ec00065e9: Already exists
3a098b8178a5: Already exists
ca1c1d43252a: Already exists
ca50eb78767c: Already exists
85fc1e77225e: Already exists
088f7de253ad: Already exists
a3252813698b: Pulling fs layer
29c18e123b7c: Pulling fs layer
f9fe8a9fcba5: Pulling fs layer
c7ffbe2d1595: Pulling fs layer
c7ffbe2d1595: Waiting
29c18e123b7c: Verifying Checksum
29c18e123b7c: Download complete
f9fe8a9fcba5: Verifying Checksum
f9fe8a9fcba5: Download complete
c7ffbe2d1595: Download complete
a3252813698b: Verifying Checksum
a3252813698b: Download complete
a3252813698b: Pull complete
29c18e123b7c: Pull complete
f9fe8a9fcba5: Pull complete
c7ffbe2d1595: Pull complete
Digest: sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
Status: Downloaded newer image for ocaml/opam@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
2026-06-29 06:53.40 ---> 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.2 /usr/bin/opam"))
2026-06-29 06:53.40 ---> using "c39f4f20754d502db7263dd7936ba956bf6745180901c2936d0a5f5580e56fb1" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 0ab59798f2fa2c1d4f5564a5c45d2c48ce160478 || git fetch origin master) && git reset -q --hard 0ab59798f2fa2c1d4f5564a5c45d2c48ce160478 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
fc08333d1b..0ab59798f2  master     -> origin/master
0ab59798f2 Merge pull request #30145 from raphael-proust/opam-publish-lwt.5.10.1
2026-06-29 06:53.40 ---> using "6baf972c0d9d50cfbf8ddfd0916e8e69cfe810a0ba0053df47d3fcefc3fcbb31" 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 development 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-06-29 06:53.40 ---> using "dfd4a1fefeb7a6aff0e946e42c56cd8751f84519b4bb0c8ccd44151227145a45" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 7.0.0-22-generic
The OCaml toplevel, version 4.11.2
2.2.1
2026-06-29 06:53.40 ---> using "f4eedcfa660c75f553f346888cf5693c7cb036fad3f877899c66865c00a8d90b" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-29 06:53.40 ---> using "1444f8c649da1758bd5df0e43ba0529dcc392451c731db2fed922ac8f27b3009" from cache


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


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes 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.6.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2026-06-29 06:53.40 ---> using "1f7d506ad6d50f73411449bffccb8724eae1a5d19c410ec2b69758a3a28cac95" from cache


/src: (copy (src bun.opam) (dst ./))
2026-06-29 06:53.41 ---> saved as "d9c3f79d656f1fe752899a9418cccc34971a16050fa97177f7faf9df74f3c453"


/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-06-29 06:53.44 ---> saved as "3c61947753308bc535207fe772dc690c987d59ca0f681336fb271e9a0bbd91c0"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-29 06:53.45 ---> saved as "11e44b45c21e5cbc300019774fb4b626b025f8dcbcfef65b52801275c2f906d9"


/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.1 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.23.1 dune-configurator.3.22.2 fmt.0.11.0 fpath.0.7.3 logs.0.8.0 lwt.5.10.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.16.1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 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.2 --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 amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [223 kB]
- Fetched 10.1 MB in 3s (3454 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).
2026-06-29 06:54.05 ---> saved as "f52c470e7a81bcea6c8efacec7bcca05a96e8dc579c9c241b7a6dc294ddd9d8a"


/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 22 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.1
- install cppo                     1.8.0
- install crowbar                  0.2.2
- install csexp                    1.5.2
- install dune                     3.23.1
- install dune-configurator        3.22.2
- install fmt                      0.11.0
- install fpath                    0.7.3
- install logs                     0.8.0
- install lwt                      5.10.1
- install ocaml-secondary-compiler 4.14.2
- install ocamlbuild               0.16.1
- install ocamlfind                1.9.6
- install ocamlfind-secondary      1.9.6
- install ocplib-endian            1.2
- install rresult                  0.7.0
- install topkg                    1.1.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved afl.2.52b  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved crowbar.0.2.2  (cached)
-> retrieved csexp.1.5.2  (cached)
[ERROR] The compilation of afl.2.52b failed at "make".
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved lwt.5.10.1  (cached)
-> retrieved ocaml-secondary-compiler.4.14.2  (cached)
-> retrieved dune.3.23.1  (cached)
-> retrieved dune-configurator.3.22.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> 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 ocaml-secondary-compiler.4.14.2
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.23.1
-> 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.22.2
-> installed lwt.5.10.1
-> installed logs.0.8.0
-> installed bos.0.2.1


#=== ERROR while compiling afl.2.52b ==========================================#
# context     2.2.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-b71502.env
# output-file ~/.opam/log/afl-1-b71502.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.4
| - install astring                  0.8.5
| - install base-bytes               base
| - install bos                      0.2.1
| - install cmdliner                 2.1.1
| - install cppo                     1.8.0
| - install crowbar                  0.2.2
| - install csexp                    1.5.2
| - install dune                     3.23.1
| - install dune-configurator        3.22.2
| - install fmt                      0.11.0
| - install fpath                    0.7.3
| - install logs                     0.8.0
| - install lwt                      5.10.1
| - install ocaml-secondary-compiler 4.14.2
| - install ocamlbuild               0.16.1
| - install ocamlfind                1.9.6
| - install ocamlfind-secondary      1.9.6
| - install ocplib-endian            1.2
| - install rresult                  0.7.0
| - install topkg                    1.1.1
+- 


<><> 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.11.2+afl ocaml-variants.4.11.2+options ocaml-option-afl


The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20260629065406.export"
# Run eval $(opam env) to update the current shell environment
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2026-06-29 06:59.18: Job failed: Failed: Build failed