Organisationsocurrentbunedb099 (primary)(lint-doc)

(lint-doc)

Logs

Show full logs
2026-05-22 09:48.07: 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 c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && 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.0 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-05-22 09:48.07: Using cache hint "ocurrent/bun-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-fbf1691bebb95b773146ea3d1426d3a3"
2026-05-22 09:48.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.2 /usr/bin/opam"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && 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.0 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-05-22 09:48.07: Waiting for resource in pool OCluster
2026-05-22 12:50.09: Waiting for worker…
2026-05-22 12:51.14: Got resource from pool OCluster
Building on asteria.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)
2026-05-22 12:51.15 ---> 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-05-22 12:51.15 ---> 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 c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   fc08333d1b..3e30e43808  master     -> origin/master
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-05-22 12:51.15 ---> using "2e8107e88d576e45d3df8e9f8534474972229c1fe5fad7a92e69e3caf4461de0" 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-05-22 12:51.15 ---> using "70edfee66275c33407450d9576eceb0fba28d253fb261f9bbc9ad1adb2852336" 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.2.1
2026-05-22 12:51.15 ---> using "24663022223ac02e817e299781eee2d0cd2c20ceb7dbef3f08a97c4937ab571b" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-22 12:51.15 ---> using "a61658fa21b4c6b5bcf6e0a7b9c86e01e037ab476d92a769e537eca25b089d83" 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-05-22 12:51.15 ---> using "9f671a689de7e978d053aa6a6a95dd91cdec12ef6868792e0730a31313ba9417" from cache

/src: (copy (src bun.opam) (dst ./))
2026-05-22 12:51.15 ---> saved as "93f84c399dd841a241604b2ae34f64da123b84b65d39d3aa42af4369ae8c1169"

/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-22 12:51.17 ---> saved as "e48939f1c7d632bfbfe1e5c2a8f18f7a3c90acf2cd4c78f616268c3554dab424"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-22 12:51.17 ---> saved as "1194858db88cf0b5b4342691ba5d14a51050a0537d7c9a4225f86cb5d83563b8"

/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.0 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 [166 kB]
- Fetched 10.1 MB in 2s (6436 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-05-22 12:51.27 ---> saved as "58cc405ca79f3ef400342206207adc46fac85dee3aeb37a25c162b2e988a4438"

/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.0
  - 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.0  (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.0
-> 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-0157e7.env
# output-file ~/.opam/log/afl-1-0157e7.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.0
| - 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
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20260522125128.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2026-05-22 12:53.47: Job failed: Failed: Build failed