Organisationsocamlopam-file-format976d8e (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-07-01 12:06.05: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/heads/master (976d8ec1157913b2d36b2705d650a5e0fd6fc092) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/opam-file-format.git" -b "master" && cd "opam-file-format" && git reset --hard 976d8ec1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
# debian-12-4.08_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 5af9fe17257c2e27ab45502c4757e02cfef63b8e || git fetch origin master) && git reset -q --hard 5af9fe17257c2e27ab45502c4757e02cfef63b8e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-file-format.opam ./
RUN opam pin add -yn opam-file-format.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.3.15.3 fmt.0.8.6 jbuilder.1.0+beta20.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-file-format.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-07-01 12:06.05: Using cache hint "ocaml/opam-file-format-ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e-debian-12-4.08_opam-2.3-4373f476d713d0bc9469ebc13953d533"
2025-07-01 12:06.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
(comment debian-12-4.08_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo 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"))
(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 5af9fe17257c2e27ab45502c4757e02cfef63b8e || git fetch origin master) && git reset -q --hard 5af9fe17257c2e27ab45502c4757e02cfef63b8e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-file-format.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-file-format.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.3.15.3 fmt.0.8.6 jbuilder.1.0+beta20.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7")
(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 opam-file-format.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-07-01 12:06.05: Waiting for resource in pool OCluster
2025-07-01 12:06.05: Waiting for worker…
2025-07-01 12:16.13: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 976d8ec Merge pull request #61 from kit-ty-kate/rel-2.2.0-alpha1


(from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
2025-07-01 12:16.14 ---> using "4ea5038d254cfd14663698deb665a2dc4ce1e1383d544c063adebb02ed15ce16" from cache


/: (comment debian-12-4.08_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-01 12:16.14 ---> using "513c9792ce65a5b8ab8e9c5d5d0cb18860fa2e52baa6ff8e91e0f4d91def9aa9" 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 development 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-01 12:16.14 ---> using "9eb80386bacfd7938f12d25e194913cafb5894d8e3739476ca8ba44c9606ec01" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-07-01 12:16.14 ---> using "92e2498cc7a78f593d78a8bf54c5bc24658d99052f31b70c33e471d45d365ae6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-01 12:16.14 ---> using "b6f04723b137dea03fa4030960754640f1ca54b23d9fe8aab83e1e48e2509f1f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5af9fe17257c2e27ab45502c4757e02cfef63b8e || git fetch origin master) && git reset -q --hard 5af9fe17257c2e27ab45502c4757e02cfef63b8e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
c7269f729a..5af9fe1725  master     -> origin/master
5af9fe1725 Merge pull request #28119 from ocaml/mseri-patch-3


<><> 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, 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-07-01 12:16.54 ---> saved as "9bf1e742f0d10ed28e04a3142d28edbaadbe0d43d3f143eddbfb0142a1f2f189"


/src: (copy (src opam-file-format.opam) (dst ./))
2025-07-01 12:16.55 ---> saved as "49daf282f9d644dd5d05087cc9e0e8a54a3b475599ad36217695d6759b752c4d"


/src: (run (network host)
(shell "opam pin add -yn opam-file-format.dev './'"))
[opam-file-format.dev] synchronised (file:///src)
opam-file-format is now pinned to file:///src (version dev)
2025-07-01 12:16.57 ---> saved as "c7d7fcd485056897ec535c94d46c32cd72a617a754aef6e2e801b42726107fec"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-01 12:16.57 ---> saved as "91e79468c2391cea8ce69fc927413d376516153e50bc9ba5de8d49a0efa358a9"


/src: (env DEPS "alcotest.1.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.3.15.3 fmt.0.8.6 jbuilder.1.0+beta20.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7")


/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.3 --depext-only -y opam-file-format.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [270 kB]
- Fetched 373 kB in 0s (838 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-07-01 12:17.10 ---> saved as "810e2258081b89c278e7296d35e85619f82f202073b795ea44fdd530ef4f09e0"


/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 18 packages
- install alcotest     1.0.1
- install astring      0.8.3
- install base-bytes   base
- install cmdliner     1.0.4
- install conf-m4      1
- install dune         3.15.3
- install fmt          0.8.6
- install jbuilder     1.0+beta20.1 (deprecated)
- install menhir       20211230
- install menhirLib    20211230
- install menhirSdk    20211230
- install ocamlbuild   0.14.0
- install ocamlfind    1.8.0
- install re           1.7.2
- install seq          0.3
- install stdlib-shims 0.1.0
- install topkg        1.0.8
- install uuidm        0.9.7


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.6  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved alcotest.1.0.1  (cached)
-> retrieved menhir.20211230, menhirLib.20211230, menhirSdk.20211230  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved re.1.7.2  (cached)
-> retrieved seq.0.3  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved uuidm.0.9.7  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.15.3  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed jbuilder.1.0+beta20.1
-> installed ocamlbuild.0.14.0
-> installed re.1.7.2
-> installed topkg.1.0.8
-> installed uuidm.0.9.7
-> installed astring.0.8.3
-> installed dune.3.15.3
-> installed seq.0.3
-> installed stdlib-shims.0.1.0
-> installed menhirSdk.20211230
-> installed menhirLib.20211230
-> installed fmt.0.8.6
-> installed alcotest.1.0.1
-> installed menhir.20211230
Done.


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-07-01 12:18.03 ---> saved as "f479b5ee21c859b8b0ece5b2e2f746ff553ae5c17be6494e4828c982ddffad4c"


/src: (copy (src .) (dst /src))
2025-07-01 12:18.03 ---> saved as "672b57911bb371076b329e377cbec5c74f696891500976094eac48e20128b702"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/tests/simple && ./simple.exe)
Successfully loaded ./opam-file-format.opam
(cd _build/default/tests && ./tests.exe)
Testing opam-file-format.
This run has ID `A29C93AB-FC3D-4E38-AEF0-0AF4F5880168`.
...                oldpos values             0   parser-printer simple.
[OK]                oldpos values             0   parser-printer simple.
...                oldpos values             1   parser-printer unop.
[OK]                oldpos values             1   parser-printer unop.
...                oldpos values             2   parser-printer binop.
[OK]                oldpos values             2   parser-printer binop.
...                oldpos values             3   parser-printer lists.
[OK]                oldpos values             3   parser-printer lists.
...                oldpos values             4   parser-printer and_or.
[OK]                oldpos values             4   parser-printer and_or.
...                oldpos values             5   parser simple.
[OK]                oldpos values             5   parser simple.
...                oldpos values             6   parser unop.
[OK]                oldpos values             6   parser unop.
...                oldpos values             7   parser binop.
[OK]                oldpos values             7   parser binop.
...                oldpos values             8   parser lists.
[OK]                oldpos values             8   parser lists.
...                oldpos values             9   parser and_or.
[OK]                oldpos values             9   parser and_or.
...                oldpos values            10   printer simple.
[OK]                oldpos values            10   printer simple.
...                oldpos values            11   printer unop.
[OK]                oldpos values            11   printer unop.
...                oldpos values            12   printer binop.
[OK]                oldpos values            12   printer binop.
...                oldpos values            13   printer lists.
[OK]                oldpos values            13   printer lists.
...                oldpos values            14   printer and_or.
[OK]                oldpos values            14   printer and_or.
...                oldpos items              0   variable printer.
[OK]                oldpos items              0   variable printer.
...                oldpos items              1   variable parser.
[OK]                oldpos items              1   variable parser.
...                oldpos items              2   variable parser-printer.
[OK]                oldpos items              2   variable parser-printer.
...                oldpos items              3   section printer.
[OK]                oldpos items              3   section printer.
...                oldpos items              4   section parser.
[OK]                oldpos items              4   section parser.
...                oldpos items              5   section parser-printer.
[OK]                oldpos items              5   section parser-printer.
...                oldpos opamfile           0   parser.
[OK]                oldpos opamfile           0   parser.
...                oldpos opamfile           1   printer.
[OK]                oldpos opamfile           1   printer.
...                oldpos opamfile           2   parser-printer.
[OK]                oldpos opamfile           2   parser-printer.
...                oldpos opamfile           3   positions-file.
[OK]                oldpos opamfile           3   positions-file.
...                fullpos values            0   parser-printer simple.
[OK]                fullpos values            0   parser-printer simple.
...                fullpos values            1   parser-printer unop.
[OK]                fullpos values            1   parser-printer unop.
...                fullpos values            2   parser-printer binop.
[OK]                fullpos values            2   parser-printer binop.
...                fullpos values            3   parser-printer lists.
[OK]                fullpos values            3   parser-printer lists.
...                fullpos values            4   parser-printer and_or.
[OK]                fullpos values            4   parser-printer and_or.
...                fullpos values            5   parser simple.
[OK]                fullpos values            5   parser simple.
...                fullpos values            6   parser unop.
[OK]                fullpos values            6   parser unop.
...                fullpos values            7   parser binop.
[OK]                fullpos values            7   parser binop.
...                fullpos values            8   parser lists.
[OK]                fullpos values            8   parser lists.
...                fullpos values            9   parser and_or.
[OK]                fullpos values            9   parser and_or.
...                fullpos values           10   printer simple.
[OK]                fullpos values           10   printer simple.
...                fullpos values           11   printer unop.
[OK]                fullpos values           11   printer unop.
...                fullpos values           12   printer binop.
[OK]                fullpos values           12   printer binop.
...                fullpos values           13   printer lists.
[OK]                fullpos values           13   printer lists.
...                fullpos values           14   printer and_or.
[OK]                fullpos values           14   printer and_or.
...                fullpos items             0   variable printer.
[OK]                fullpos items             0   variable printer.
...                fullpos items             1   variable parser.
[OK]                fullpos items             1   variable parser.
...                fullpos items             2   variable parser-printer.
[OK]                fullpos items             2   variable parser-printer.
...                fullpos items             3   section printer.
[OK]                fullpos items             3   section printer.
...                fullpos items             4   section parser.
[OK]                fullpos items             4   section parser.
...                fullpos items             5   section parser-printer.
[OK]                fullpos items             5   section parser-printer.
...                fullpos opamfile          0   parser.
[OK]                fullpos opamfile          0   parser.
...                fullpos opamfile          1   printer.
[OK]                fullpos opamfile          1   printer.
...                fullpos opamfile          2   parser-printer.
[OK]                fullpos opamfile          2   parser-printer.
...                fullpos opamfile          3   printer-preserved.
[OK]                fullpos opamfile          3   printer-preserved.
...                fullpos opamfile          4   positions-file.
[OK]                fullpos opamfile          4   positions-file.
...                opam-version              0   OpamPrinter.FullPos.opamfile.
[OK]                opam-version              0   OpamPrinter.FullPos.opamfile.
...                opam-version              1   OpamPrinter.FullPos.Normalise.opamfile.
[OK]                opam-version              1   OpamPrinter.FullPos.Normalise.opamfile.
...                opam-version              2   opam-version > 2.0 not at start 1.
[OK]                opam-version              2   opam-version > 2.0 not at start 1.
...                opam-version              3   opam-version > 2.1 repeated.
[OK]                opam-version              3   opam-version > 2.1 repeated.
...                opam-version              4   no opam-version and parsing error.
[OK]                opam-version              4   no opam-version and parsing error.
...                opam-version              5   opam-version 2.1 and lexing error.
[OK]                opam-version              5   opam-version 2.1 and lexing error.
...                opam-version              6   opam-version 2.1 and parsing error.
[OK]                opam-version              6   opam-version 2.1 and parsing error.
...                opam-version              7   opam-version 2.1 and immediate parsing error.
[OK]                opam-version              7   opam-version 2.1 and immediate parsing error.
...                opam-version              8   opam-version 4 and parsing error.
[OK]                opam-version              8   opam-version 4 and parsing error.
...                opam-version              9   opam-version 42.0 and parsing error.
[OK]                opam-version              9   opam-version 42.0 and parsing error.
...                opam-version             10   opam-version 42.0 and evil parsing error.
[OK]                opam-version             10   opam-version 42.0 and evil parsing error.
...                opam-version             11   opam-version 42.0 and immediate parsing error.
[OK]                opam-version             11   opam-version 42.0 and immediate parsing error.
...                opam-version             12   opam-version 42.0 and lexing error.
[OK]                opam-version             12   opam-version 42.0 and lexing error.
The full test results are available in `/src/_build/default/tests/_build/_tests/A29C93AB-FC3D-4E38-AEF0-0AF4F5880168`.
Test Successful in 0.000s. 64 tests run.
2025-07-01 12:18.06 ---> saved as "1202ad87533213b0cb91e2cf5d95b974ac9f525557b14b1fbce6ba3f871a9121"
Job succeeded
2025-07-01 12:18.06: Job succeeded