Organisationsocurrentbunedb099 (primary)fedora-44-4.14_opam-2.5

fedora-44-4.14_opam-2.5

Logs

Show full logs
2026-06-26 09:16.25: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (linux-x86_64:fedora-44-4.14_opam-2.5)
Base: ocaml/opam:fedora-44-ocaml-4.14@sha256:b831cc87b1dea87f58b10e358a0ab230354557f6f4b3a50d5c7d235d6a9ce350
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:fedora-44-ocaml-4.14@sha256:b831cc87b1dea87f58b10e358a0ab230354557f6f4b3a50d5c7d235d6a9ce350
# fedora-44-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 10b9bc82426ac6d613a21b70509373ed5b785d42 || git fetch origin master) && git reset -q --hard 10b9bc82426ac6d613a21b70509373ed5b785d42 && 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.3.0 cmdliner.2.1.1 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.1.2 ocaml.4.14.4 ocaml-base-compiler.4.14.4 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-06-26 09:16.25: Using cache hint "ocurrent/bun-ocaml/opam:fedora-44-ocaml-4.14@sha256:b831cc87b1dea87f58b10e358a0ab230354557f6f4b3a50d5c7d235d6a9ce350-fedora-44-4.14_opam-2.5-5534822c0f5fefe77cecd81023cb7341"
2026-06-26 09:16.25: Using OBuilder spec:
((from ocaml/opam:fedora-44-ocaml-4.14@sha256:b831cc87b1dea87f58b10e358a0ab230354557f6f4b3a50d5c7d235d6a9ce350)
 (comment fedora-44-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 10b9bc82426ac6d613a21b70509373ed5b785d42 || git fetch origin master) && git reset -q --hard 10b9bc82426ac6d613a21b70509373ed5b785d42 && 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.3.0 cmdliner.2.1.1 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.1.2 ocaml.4.14.4 ocaml-base-compiler.4.14.4 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-06-26 09:16.25: Waiting for resource in pool OCluster
2026-06-26 10:25.31: Waiting for worker…
2026-06-26 10:32.39: 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:fedora-44-ocaml-4.14@sha256:b831cc87b1dea87f58b10e358a0ab230354557f6f4b3a50d5c7d235d6a9ce350)
2026-06-26 10:32.39 ---> using "59160c8e30f51ffba2a9060d9c2079ea1a0818d97311aa5d4d8d8ef3b72a71ee" from cache

/: (comment fedora-44-4.14_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 44 - x86_64 - Updates           100% |  21.8 KiB/s |   4.9 KiB |  00m00s
 Fedora 44 - x86_64                     100% | 120.3 KiB/s |  18.4 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-7.fc44.x86_64" is already installed.

Nothing to do.
2026-06-26 10:32.39 ---> using "15517bc46a019ac2126eed35d3c3e71e8715eb0cdb95a212de5b12e3cad0dccb" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-06-26 10:32.39 ---> using "102a2ff81499b6cb7aae3e871609934284478b97443e096a517f434c0c3c0f7b" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 10b9bc82426ac6d613a21b70509373ed5b785d42 || git fetch origin master) && git reset -q --hard 10b9bc82426ac6d613a21b70509373ed5b785d42 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b85f65c75d..10b9bc8242  master     -> origin/master
10b9bc8242 Merge pull request #30143 from shonfeder/bound-on-dune-3-24
2026-06-26 10:32.39 ---> using "40e5d44438f1d4963a735f0e6449c1bc4322ad76b824f4dc7acf32e1e9acd316" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/sbin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com"
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-26 10:32.39 ---> using "2354041e00746749e528fc02fac9c9fe3fc438ffc6be90a2baf0146f6b72fe0b" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 7.0.0-22-generic
The OCaml toplevel, version 4.14.4
2.5.1
2026-06-26 10:32.39 ---> using "88dff69a0d7b86d582a0836ded95d95607da7dcc4e938a1767835f5eb8dce5c5" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-06-26 10:32.39 ---> using "6b08bd514f1bdc8634cb8f51f9875f23cad0af262561103d2f2104ab33fed0a8" from cache

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

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[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.5.1
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.1"), 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-06-26 10:32.39 ---> using "05defd636a022debb6fe00f3da552f2ed41093725821cc7e434a0a0423cba0ca" from cache

/src: (copy (src bun.opam) (dst ./))
2026-06-26 10:32.40 ---> saved as "d8c5063692240a60795a4014ed6cd4ac0ac57e69b897dd1672183024a64ff56b"

/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-26 10:32.41 ---> saved as "5741e4931009e6ea33ad6e9304c25be18ba33971bffbbf77293655d0b741c856"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-26 10:32.41 ---> saved as "e2475ab88b0a0629142d3080c82bcd68102fb6df63397afbfb90fe3b1c676458"

/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.3.0 cmdliner.2.1.1 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.1.2 ocaml.4.14.4 ocaml-base-compiler.4.14.4 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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> 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.14.4).
[NOTE] Package ocaml is already installed (current version is 4.14.4).
[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-06-26 10:32.51 ---> saved as "49d8b37f985182a815939673209230795a7835e06515b744be5ecb898ca33dd2"

/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.14.4).
[NOTE] Package ocaml is already installed (current version is 4.14.4).
[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.3.0
  - 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.23.1
  - install fmt               0.11.0
  - install fpath             0.7.3
  - install logs              0.10.0
  - install lwt               6.1.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.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
[ERROR] The compilation of afl.2.52b failed at "make".
-> retrieved cmdliner.2.1.1  (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.10.0  (cached)
-> retrieved lwt.6.1.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.23.1, dune-configurator.3.23.1  (cached)
-> installed cmdliner.2.1.1
-> 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.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.23.1
-> installed lwt.6.1.2
-> installed logs.0.10.0
-> installed bos.0.3.0

#=== ERROR while compiling afl.2.52b ==========================================#
# context     2.5.1 | linux/x86_64 | ocaml-base-compiler.4.14.4 | git+file:///home/opam/opam-repository
# path        ~/.opam/4.14/.opam-switch/build/afl.2.52b
# command     /usr/sbin/make
# exit-code   2
# env-file    ~/.opam/log/afl-1-719615.env
# output-file ~/.opam/log/afl-1-719615.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.3.0
| - 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.23.1
| - install fmt               0.11.0
| - install fpath             0.7.3
| - install logs              0.10.0
| - install lwt               6.1.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.14.4+afl ocaml-variants.4.14.4+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.14/.opam-switch/backup/state-20260626103251.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2026-06-26 10:33.34: Job failed: Failed: Build failed