Organisationsocurrentbunedb099 (primary)debian-13-4.13_opam-2.5

debian-13-4.13_opam-2.5

Link Copied
Code Copied

Logs

2026-01-16 11:37.00: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (linux-x86_64:debian-13-4.13_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.13@sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4
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.13@sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4
# debian-13-4.13_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.8.0 lwt.5.9.2 ocaml.4.13.1 ocaml-base-compiler.4.13.1 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.13@sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4-debian-13-4.13_opam-2.5-d3cbe538a80fd1fcd7c06b3c1c0f0be8"
2026-01-16 11:37.00: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.13@sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4)
(comment debian-13-4.13_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.8.0 lwt.5.9.2 ocaml.4.13.1 ocaml-base-compiler.4.13.1 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 12:24.17: Waiting for worker…
2026-01-16 12:28.09: Got resource from pool OCluster
Building on eumache
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.13@sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.13@sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4' locally
docker.io/ocaml/opam@sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4: Pulling from ocaml/opam
281b80c799de: Already exists
ce76feb86791: Already exists
7984eb0e5b45: Already exists
56c452a960b1: Already exists
b85825bef00a: Already exists
d6ff43dfb85c: Already exists
4197ec645389: Already exists
37cac33e41ff: Already exists
4cb993fb248e: Already exists
ca442870f91f: Already exists
b1d1a2fb5f4a: Already exists
0dea577b2801: Already exists
cc10daaea4fd: Already exists
5f878cb1723a: Already exists
8968959fa983: Already exists
5bdd9b9ed0e3: Already exists
55661c5b388f: Already exists
55661c5b388f: Already exists
92d1dc6907bd: Already exists
7100b414728b: Already exists
a6a54ddc9818: Already exists
a920ad627810: Already exists
4f4fb700ef54: Already exists
f7df7b6e19c0: Already exists
cd713d66718c: Already exists
6ed45ab2af86: Already exists
40598b80a8fe: Already exists
983f7969ff00: Already exists
40ec09ee09bd: Already exists
76a0afa38cd9: Already exists
1d5a564d139a: Already exists
82883b85a4f0: Already exists
1d8458efd73b: Already exists
2d80a9fac9ac: Already exists
4d69ee6ae94b: Already exists
ce8d28b713f1: Already exists
97580d938033: Already exists
da5fa40e04f8: Already exists
d7a499968f64: Already exists
28e5932c7c69: Already exists
81389c423fc3: Already exists
b21d322c80fa: Already exists
fb274369db19: Already exists
fd7436f92213: Already exists
86b35f7aa8e6: Already exists
Digest: sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4
Status: Downloaded newer image for ocaml/opam@sha256:aa028bf82b395dad79c216fbef8ee3a5b3f9b13bb472aa32de672a687d3104c4
2026-01-16 12:28.09 ---> using "77d86fc582fd5d64dc2d56afe1fa48c6289dcb6e7199ff625e93465925f1cc1b" from cache


/: (comment debian-13-4.13_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 12:28.09 ---> using "d0f2d069a666d2cf6a4cf20b007ee2a891786455ec6e467f9d594cef9dfe9426" 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 12:28.09 ---> using "3753fee51fd3117161bc73b892b31cfe3f11c313093553927f1299dea131222e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.13.1
2.5.0
2026-01-16 12:28.09 ---> using "70bffbaf3ef1917850a728a6a723746931eafe0b43bb665d415c54f6f65765c8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-16 12:28.09 ---> using "5c58870bc73533692c5604821dc86d1c08f179aa48a7fa070ae2ec98c494b372" 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 12:28.09 ---> using "d0c9e1c826e9ac6113c32e06057e4c55095aa606f13651d8102c94934c70597f" from cache


/src: (copy (src bun.opam) (dst ./))
2026-01-16 12:28.09 ---> using "b4bd619bb7a5dcdfe9a27b06bdfe5ecc6758ed4718634c36f3d140a5b2fb49be" 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)
2026-01-16 12:28.09 ---> using "d5a44e7d98878362c0822dcd257514929f70a6571fb97ca313f7af4e57450859" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 12:28.09 ---> using "a24295b15771a0fed6af51e3f3f3afcd618f68f66d54db9b32d6156cedb380b3" from cache


/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.8.0 lwt.5.9.2 ocaml.4.13.1 ocaml-base-compiler.4.13.1 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 amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [95.9 kB]
- Fetched 9997 kB in 2s (5939 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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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 12:28.09 ---> using "fee930fb415c032b47de9a7e846eba9b858fb1f788f08c3d1e7bad01f5f3fc80" from cache


/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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.8.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.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)
[ERROR] The compilation of afl.2.52b failed at "make".
-> 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.8.0  (cached)
-> retrieved lwt.5.9.2  (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 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.5.9.2
-> installed logs.0.8.0
-> installed bos.0.2.1


#=== ERROR while compiling afl.2.52b ==========================================#
# context     2.5.0 | linux/x86_64 | ocaml-base-compiler.4.13.1 | git+file:///home/opam/opam-repository
# path        ~/.opam/4.13/.opam-switch/build/afl.2.52b
# command     /usr/bin/make
# exit-code   2
# env-file    ~/.opam/log/afl-1-c27c44.env
# output-file ~/.opam/log/afl-1-c27c44.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.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.8.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.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.13.1+afl ocaml-variants.4.13.1+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)


The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.13/.opam-switch/backup/state-20260116122739.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2026-01-16 12:28.53: Job failed: Failed: Build failed