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

openbsd-76-amd64-5.3_opam-2.3

Link Copied
Code Copied

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-5.3_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.3
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-5.3
# openbsd-76-amd64-5.3_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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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-5.3-openbsd-76-amd64-5.3_opam-2.3-9140ae82490eac973894ba1f823e12bb"
2025-03-12 19:48.57: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.3)
(comment openbsd-76-amd64-5.3_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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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:33.14: 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-5.3)
2025-03-12 21:33.14 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache


/: (comment openbsd-76-amd64-5.3_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:33.14 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" 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:33.14 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-12 21:33.14 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" 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
f93eb7cb02..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:33.14 ---> using "58db5c8c294a665abd4ae651ec3a1307fb5cc2d5dd0a2228054f1fa890932020" from cache


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


/: (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:35.06 ---> saved as "dde1a420506ec9aee2daef6479c6a609ab6b0ef947a2b07261a8e09c08806bfd"


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


/: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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.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:37.44 ---> saved as "76c3ba012aca9b20b9882431ff9ed6700e4d1885137c5ff626ad0fd50bddcdbd"


/: (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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 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.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.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)
-> installed conf-gmp.4
-> retrieved fmt.0.10.0  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved js_of_ocaml.6.0.1, js_of_ocaml-compiler.6.0.1  (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)
-> installed ocamlbuild.0.16.1
-> installed conf-zlib.1
-> retrieved yojson.2.2.2  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved zarith.1.14  (cached)
-> 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.17.0
-> 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:56.29 ---> saved as "79cd3dfb8feefe17460aecaa5f13b82b8984d519888f3b18eed2858ad2abff36"


/: (copy (src .) (dst /home/opam/src))
2025-03-12 21:57.27 ---> saved as "12494ffd775f1fd56918654490fe563618ce8ce9e6f920dd79fc06366e0cf9af"


/: (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/5.3.0/bin/js_of_ocaml build-runtime --source-map-inline --pretty -o .jsoo.eobjs/jsoo/jsoo.bc.runtime.js /home/opam/.opam/5.3.0/lib/alcotest/runtime.js)
warning: /home/opam/.opam/5.3.0/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 `CK07U876'.


[OK]          pseudo-seeded          0   generate.


Full test results in `~/src/_build/default/tests/_build/_tests/Nanoid'.
Test Successful in 0.006s. 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:4589
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:56475:11
at Object.<anonymous> (/home/opam/src/_build/default/tests/jsoo.bc.js:56485: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:58.28: Job failed: Failed: Build failed