Organisationsroutinecoocaml-nanoidd22d76 (master)openbsd-77-amd64-5.4_opam-2.5

openbsd-77-amd64-5.4_opam-2.5

Logs

Show full logs
2026-04-22 14:11.56: New job: test routineco/ocaml-nanoid https://github.com/routineco/ocaml-nanoid.git#refs/heads/master (d22d768736e6599c8262f7e063a6f66775df6f69) (openbsd-amd64:openbsd-77-amd64-5.4_opam-2.5)
Base: openbsd-77-amd64-ocaml-5.4
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/routineco/ocaml-nanoid.git" -b "master" && cd "ocaml-nanoid" && git reset --hard d22d7687
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-77-amd64-ocaml-5.4
# openbsd-77-amd64-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 nanoid.opam /home/opam/src/./
RUN opam pin add -yn nanoid.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 conf-gmp.5 conf-gmp-powm-sec.4 conf-npm.1 conf-pkg-config.4 conf-zlib.1 cryptokit.1.21.1 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 fmt.0.11.0 gen.1.1 js_of_ocaml.6.3.2 js_of_ocaml-compiler.6.3.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.38.0 re.1.14.0 sedlex.3.7 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y nanoid.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build

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

2026-04-22 14:11.56: Using cache hint "routineco/ocaml-nanoid-openbsd-77-amd64-ocaml-5.4-openbsd-77-amd64-5.4_opam-2.5-df104f65da22e6129ed301cf07f6899e"
2026-04-22 14:11.56: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-5.4)
 (comment openbsd-77-amd64-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "doas 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"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src nanoid.opam) (dst /home/opam/src/./))
 (run (network host)
      (shell "opam pin add -yn nanoid.dev '/home/opam/src/./'"))
 (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 conf-gmp.5 conf-gmp-powm-sec.4 conf-npm.1 conf-pkg-config.4 conf-zlib.1 cryptokit.1.21.1 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 fmt.0.11.0 gen.1.1 js_of_ocaml.6.3.2 js_of_ocaml-compiler.6.3.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.38.0 re.1.14.0 sedlex.3.7 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0 zarith.1.14")
 (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 nanoid.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /home/opam/src))
 (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2026-04-22 14:11.56: Waiting for resource in pool OCluster
2026-04-22 15:55.32: Waiting for worker…
2026-04-22 19:20.51: Got resource from pool OCluster
Building on oregano.caelum.ci.dev
All commits already cached
HEAD is now at d22d768 Unvendor node_modules.

(from openbsd-77-amd64-ocaml-5.4)
2026-04-22 19:20.51 ---> using "8424522d1f78b81b26ba463ba357c8ca122e0f74070b621aa84fc80c68430631" from cache

/: (comment openbsd-77-amd64-5.4_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "doas ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-22 19:20.51 ---> using "cd72dc3a3c8ea2afd18b1257d8b5421d0f9a4dafb0a258b995fdf62c1e2a67c4" from cache

/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file:///home/opam/opam-repository
2026-04-22 19:20.51 ---> using "25ee98d58d8c907869f6fd5004c258d71c5033e73edf1fe48b86a48a34773b77" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 5.4.0
2.5.0
2026-04-22 19:20.51 ---> using "b97072ad387d97fa49b3fc7ece6dbbedda3ad8df05946df9b57bbb8c1e1ea296" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   93a7bce43a..80ba534fc6  master     -> origin/master
036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


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.5.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-04-22 19:20.51 ---> using "d2186c96c6a4da86fa41bbd0d46292f259fc76a6a9fbaf138aefe521272c97d5" from cache

/: (copy (src nanoid.opam) (dst /home/opam/src/./))
2026-04-22 19:21.50 ---> saved as "801056ab08fc5c26b254129d8ac1180512a4af1e12b58c3b449cf87877f8feb5"

/: (run (network host)
        (shell "opam pin add -yn nanoid.dev '/home/opam/src/./'"))
[nanoid.dev] synchronised (file:///home/opam/src)
nanoid is now pinned to file:///home/opam/src (version dev)
2026-04-22 19:22.45 ---> saved as "8cc5e9e19a31e5f3b1bdc93e4b10aaa6e075f894b119623811e7e52f885ca498"

/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-04-22 19:23.46 ---> saved as "e2b73b50dfa20200c85705f47feeaee4cd29662b7a4fbd0c1163450809dd954d"

/: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 conf-gmp.5 conf-gmp-powm-sec.4 conf-npm.1 conf-pkg-config.4 conf-zlib.1 cryptokit.1.21.1 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 fmt.0.11.0 gen.1.1 js_of_ocaml.6.3.2 js_of_ocaml-compiler.6.3.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.38.0 re.1.14.0 sedlex.3.7 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0 zarith.1.14")

/: (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 nanoid.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[nanoid.dev] synchronised (file:///home/opam/src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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:
    gmp node

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/doas "pkg_add" "-I" "gmp" "node"
- quirks-7.103 signed on 2025-10-13T22:55:16Z
- --- +node-22.15.1v0 -------------------
- You may wish to add /usr/local/lib/node_modules/npm/man to /etc/man.conf
- --- +openssl-3.3.3p0v0 -------------------
- You may wish to add /usr/local/lib/eopenssl33/man to /etc/man.conf
# To update the current shell environment, run: eval $(opam env)
2026-04-22 19:25.37 ---> saved as "5d7a1d3b44b14ab5ab6a0edec3d96d01e375c8cc321bc554dc300bf7708e6392"

/: (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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 36 packages
  - install alcotest             1.9.1
  - install astring              0.8.5
  - install cmdliner             2.1.1
  - install conf-gmp             5
  - install conf-gmp-powm-sec    4
  - install conf-npm             1
  - install conf-pkg-config      4
  - install conf-zlib            1
  - install cryptokit            1.21.1
  - install csexp                1.5.2
  - install dune                 3.22.2
  - install dune-configurator    3.22.2
  - install fmt                  0.11.0
  - install gen                  1.1
  - install js_of_ocaml          6.3.2
  - install js_of_ocaml-compiler 6.3.2
  - install menhir               20260209
  - install menhirCST            20260209
  - install menhirGLR            20260209
  - install menhirLib            20260209
  - install menhirSdk            20260209
  - install ocaml-compiler-libs  v0.17.0
  - install ocaml-syntax-shims   1.0.0
  - install ocamlbuild           0.16.1
  - install ocamlfind            1.9.8
  - install ppx_derivers         1.2.1
  - install ppxlib               0.38.0
  - install re                   1.14.0
  - install sedlex               3.7
  - install seq                  base
  - install sexplib0             v0.17.0
  - install stdlib-shims         0.3.0
  - install topkg                1.1.1
  - install uutf                 1.0.4
  - install yojson               3.0.0
  - install zarith               1.14

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cryptokit.1.21.1  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved astring.0.8.5  (cached)
-> retrieved alcotest.1.9.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gen.1.1  (cached)
-> installed conf-zlib.1
-> installed conf-npm.1
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved js_of_ocaml.6.3.2, js_of_ocaml-compiler.6.3.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved sedlex.3.7  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlfind.1.9.8
-> installed seq.base
-> installed zarith.1.14
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed uutf.1.0.4
-> installed dune.3.22.2
-> installed csexp.1.5.2
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed gen.1.1
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed dune-configurator.3.22.2
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed cryptokit.1.21.1
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed yojson.3.0.0
-> installed alcotest.1.9.1
-> installed menhir.20260209
-> installed ppxlib.0.38.0
-> installed sedlex.3.7
-> installed js_of_ocaml-compiler.6.3.2
-> installed js_of_ocaml.6.3.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-22 19:34.22 ---> saved as "db0acd5a01ab9f83e15130b3626f932de7babeebd828fcd0d83a4d4c806dd954"

/: (copy (src .) (dst /home/opam/src))
2026-04-22 19:35.22 ---> saved as "826a842c348fbbe408c31dacbf4868e476885bb5c81509c43aaef91622569434"

/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 1, characters 0-19:
1 | opam-version: "2.0"
    ^^^^^^^^^^^^^^^^^^^
Error: Invalid first line, expected: (lang <lang> <version>)
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-04-22 19:36.12: Job failed: Failed: Build failed