Organisationsocurrentbunedb099 (primary)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-12-15 14:42.00: 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.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
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.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
# debian-13-4.08_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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.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.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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.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-12-15 14:42.00: Using cache hint "ocurrent/bun-ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44-debian-13-4.08_opam-2.4-f0cafce498879408d42038f6f0daac89"
2025-12-15 14:42.00: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44)
(comment debian-13-4.08_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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.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.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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.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-12-15 14:42.00: Waiting for resource in pool OCluster
2025-12-15 19:59.35: Waiting for worker…
2025-12-15 20:04.27: Got resource from pool OCluster
Building on odawa.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.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44)
2025-12-15 20:04.28 ---> using "c557567380599a9d74e9cba757661af503505628fe0a86c2e1639761275a17b1" from cache


/: (comment debian-13-4.08_opam-2.4)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-15 20:04.28 ---> using "91149c8a129307ec9a0196fcf6190b7ca73215979f949f4d42e3f5a6ea56817a" 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-15 20:04.28 ---> using "ce80cf90a6ce7dde54cf47fdd34a3a6e9cfbca5b0b29c88f27bba20c0be781ea" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.08.1
2.4.1
2025-12-15 20:04.28 ---> using "e246785a959985c65dd7e106af317de205ab1174ecc14d1c7bbe4c2c5e5f2adc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-15 20:04.28 ---> using "b324d0e46102d5726aaa3c2bea22591ead22cefb354605703eef32218012e53f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee48e882f0..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> 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)
2025-12-15 20:04.28 ---> using "9a0de3da74ffb6bb3368175eace75fa8ad8659e87b4134c692d8edb713b28d12" from cache


/src: (copy (src bun.opam) (dst ./))
2025-12-15 20:04.28 ---> using "beea134698a0b01d4aa3a28a8f89cf8ec97445654c27b27846699c2d4facb682" 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-12-15 20:04.28 ---> using "f1ba758bf289f19960e73f57fb1ff41af64b8631c4633c73ecd09f2e2732b94c" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-15 20:04.28 ---> using "bc2d3a0f869bd046c4b3ebcfb9361e699f3b97a268f2fb732bd40ac9ff6d4049" from cache


/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.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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.4 --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 [84.8 kB]
- Fetched 176 kB in 0s (2399 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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 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 ... 20622 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) ...
2025-12-15 20:04.28 ---> using "84cc681ac60c02c5ab5d47ef8a8185b225615b5b973c3ce14346cde053183e77" from cache


/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 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.0
- 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.2.52b  (cached)
-> retrieved afl-persistent.1.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved bos.0.2.0  (cached)
[ERROR] The compilation of afl.2.52b failed at "make".
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> retrieved crowbar.0.2.1  (cached)
-> retrieved fmt.0.8.8  (cached)
-> retrieved fpath.0.7.1  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.4.2.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune.2.9.3  (cached)
-> retrieved mmap.1.0.2  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (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.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed dune.2.9.3
-> installed topkg.1.0.8
-> installed mmap.1.0.2
-> installed seq.0.3
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed afl-persistent.1.1
-> installed rresult.0.6.0
-> installed astring.0.8.3
-> installed fmt.0.8.8
-> installed fpath.0.7.1
-> installed ocplib-endian.1.0
-> installed lwt.4.2.0
-> installed crowbar.0.2.1
-> installed logs.0.7.0
-> installed bos.0.2.0


#=== ERROR while compiling afl.2.52b ==========================================#
# context     2.4.1 | linux/x86_64 | ocaml-base-compiler.4.08.1 | git+file:///home/opam/opam-repository
# path        ~/.opam/4.08/.opam-switch/build/afl.2.52b
# command     /usr/bin/make
# exit-code   2
# env-file    ~/.opam/log/afl-1-c7e69e.env
# output-file ~/.opam/log/afl-1-c7e69e.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.0
| - 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.
# 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.08/.opam-switch/backup/state-20251215200429.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2025-12-15 20:04.51: Job failed: Failed: Build failed