Organisationsroutinecoocaml-nanoidd22d76 (master)openbsd-76-amd64-4.14_opam-2.3

openbsd-76-amd64-4.14_opam-2.3

Logs

Show full logs
2025-03-12 19:48.57: New job: test routineco/ocaml-nanoid https://github.com/routineco/ocaml-nanoid.git#refs/heads/master (d22d768736e6599c8262f7e063a6f66775df6f69) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
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-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /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 3a07c5ca803c46e8ff2d2c9842211cf9a226c774 || git fetch origin master) && git reset -q --hard 3a07c5ca803c46e8ff2d2c9842211cf9a226c774 && 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.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.4 conf-zlib.1 cryptokit.1.20 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.35.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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

2025-03-12 19:48.57: Using cache hint "routineco/ocaml-nanoid-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-db8afc2edee42a2e1345cab3a6e21508"
2025-03-12 19:48.57: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
 (comment openbsd-76-amd64-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "doas ln -f /usr/bin/opam-2.3 /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 3a07c5ca803c46e8ff2d2c9842211cf9a226c774 || git fetch origin master) && git reset -q --hard 3a07c5ca803c46e8ff2d2c9842211cf9a226c774 && 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 (network host)
      (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
 (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.4 conf-zlib.1 cryptokit.1.20 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.35.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2 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.3 --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"))
)

2025-03-12 19:48.57: Waiting for resource in pool OCluster
2025-03-12 19:48.57: Waiting for worker…
2025-03-12 21:34.31: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at d22d768 Unvendor node_modules.

(from openbsd-76-amd64-ocaml-4.14)
2025-03-12 21:34.31 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache

/: (comment openbsd-76-amd64-4.14_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-12 21:34.31 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" 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] synchronised from file:///home/opam/opam-repository
2025-03-12 21:34.31 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-12 21:34.31 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 3a07c5ca803c46e8ff2d2c9842211cf9a226c774 || git fetch origin master) && git reset -q --hard 3a07c5ca803c46e8ff2d2c9842211cf9a226c774 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   727427c1e7..a3d20148ad  master     -> origin/master
3a07c5ca80 Merge pull request #27604 from dbuenzli/b0-publish-topkg-care.1.0.8-etc-34b29252ad1a6aca

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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, 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-03-12 21:34.31 ---> using "526a517ca254460cf95bbec29c401f832f8e90a6229391d39245ce24092e6915" from cache

/: (copy (src nanoid.opam) (dst /home/opam/src/./))
2025-03-12 21:35.28 ---> saved as "bbd6c0bb02639ad8e1704d4549b3990a2191f5da226f3923443bad45170f7597"

/: (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)
2025-03-12 21:36.21 ---> saved as "06e768fcc03338b8418a7be3ffb4f17a157002f8dfcc51d5553a06dd91622545"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-03-12 21:37.03 ---> saved as "f455562d312803fae8e5d4179f2bfb4c926c3e708868117c8158e7bf615b1efd"

/: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.4 conf-zlib.1 cryptokit.1.20 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.35.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2 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.3 --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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 system packages will first need to be installed:
    gmp node

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

+ /usr/bin/doas "pkg_add" "-I" "gmp" "node"
- quirks-7.50 signed on 2025-03-12T15:25:12Z
- --- +node-20.18.2v0 -------------------
- You may wish to add /usr/local/lib/node_modules/npm/man to /etc/man.conf
- --- +openssl-3.2.4v0 -------------------
- You may wish to add /usr/local/lib/eopenssl32/man to /etc/man.conf
2025-03-12 21:38.33 ---> saved as "b56766afd2fef2a9eb9c1bdd8bc4d741e1114ecb9b99cbb4f644e378e2c97ebb"

/: (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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 35 packages
  - install alcotest             1.8.0
  - install astring              0.8.5
  - install cmdliner             1.3.0
  - install conf-gmp             4
  - install conf-gmp-powm-sec    3
  - install conf-npm             1
  - install conf-pkg-config      4
  - install conf-zlib            1
  - install cryptokit            1.20
  - install csexp                1.5.2
  - install dune                 3.17.2
  - install dune-configurator    3.17.2
  - install fmt                  0.10.0
  - install gen                  1.1
  - install js_of_ocaml          6.0.1
  - install js_of_ocaml-compiler 6.0.1
  - install menhir               20240715
  - install menhirCST            20240715
  - install menhirLib            20240715
  - install menhirSdk            20240715
  - install ocaml-compiler-libs  v0.12.4
  - 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.35.0
  - install re                   1.12.0
  - install sedlex               3.3
  - install seq                  base
  - install sexplib0             v0.17.0
  - install stdlib-shims         0.3.0
  - install topkg                1.0.8
  - install uutf                 1.0.4
  - install yojson               2.2.2
  - install zarith               1.14

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cryptokit.1.20  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved gen.1.1  (cached)
-> installed conf-gmp.4
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved js_of_ocaml.6.0.1, js_of_ocaml-compiler.6.0.1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed cmdliner.1.3.0
-> installed conf-gmp-powm-sec.3
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed conf-npm.1
-> installed conf-pkg-config.4
-> retrieved re.1.12.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved sedlex.3.3  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ocamlbuild.0.16.1
-> installed conf-zlib.1
-> installed dune.3.17.2
-> installed ocamlfind.1.9.8
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed dune-configurator.3.17.2
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed menhir.20240715
-> installed ocaml-syntax-shims.1.0.0
-> installed ppx_derivers.1.2.1
-> installed seq.base
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed topkg.1.0.8
-> installed ppxlib.0.35.0
-> installed astring.0.8.5
-> installed fmt.0.10.0
-> installed sedlex.3.3
-> installed uutf.1.0.4
-> installed yojson.2.2.2
-> installed alcotest.1.8.0
-> installed js_of_ocaml-compiler.6.0.1
-> installed zarith.1.14
-> installed js_of_ocaml.6.0.1
-> installed cryptokit.1.20
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-12 21:55.09 ---> saved as "cd63aad5f46257a9eec8b4295ba027b182fa827e4edd53a183bd4e72cf1d7235"

/: (copy (src .) (dst /home/opam/src))
2025-03-12 21:56.08 ---> saved as "2895f4391b9df99152c24dde7447dbd53bf2be80779c3e6ab048262a02ea8a3b"

/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File ".logistic/dune/extdeps/dune", line 4, characters 60-65:
4 |  (libraries cmdliner opam-file-format sexplib shexp.process stdio))
                                                                ^^^^^
Error: Library "stdio" not found.
-> required by
   _build/default/.logistic/dune/extdeps/.extdeps.eobjs/byte/dune__exe__Extdeps.cmi
-> required by alias .logistic/dune/extdeps/check
(cd _build/default/tests && /home/opam/.opam/4.14.2/bin/js_of_ocaml build-runtime --source-map-inline --pretty -o .jsoo.eobjs/jsoo/jsoo.bc.runtime.js /home/opam/.opam/4.14.2/lib/alcotest/runtime.js)
warning: /home/opam/.opam/4.14.2/lib/alcotest/runtime.js:24: 'joo_global_object' is being deprecated, please use `globalThis` instead
(cd _build/default/tests && ./os.exe)
Testing `Nanoid'.
This run has ID `6ANOLQK6'.

  [OK]          pseudo-seeded          0   generate.

Full test results in `~/src/_build/default/tests/_build/_tests/Nanoid'.
Test Successful in 0.009s. 1 test run.
File "tests/dune", lines 18-21, characters 0-64:
18 | (rule
19 |  (alias runtest)
20 |  (action
21 |   (run node %{dep:jsoo.bc.js})))
(cd _build/default/tests && /usr/local/bin/node jsoo.bc.js)
/home/opam/src/_build/default/tests/jsoo.bc.js:3469
     throw err;
     ^

Error: Cannot find module 'nanoid'
Require stack:
- /home/opam/src/_build/default/tests/jsoo.bc.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
    at Module._load (node:internal/modules/cjs/loader:1051:27)
    at Module.require (node:internal/modules/cjs/loader:1311:19)
    at require (node:internal/modules/helpers:179:18)
    at /home/opam/src/_build/default/tests/jsoo.bc.js:52916:11
    at Object.<anonymous> (/home/opam/src/_build/default/tests/jsoo.bc.js:52926:3)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/home/opam/src/_build/default/tests/jsoo.bc.js' ]
}

Node.js v20.18.2
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-03-12 21:57.09: Job failed: Failed: Build failed