Organisationsocamlopam-file-format976d8e (master)windows-server-2022-amd64-4.14_opam-2.3

windows-server-2022-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-02-05 08:38.23: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/heads/master (976d8ec1157913b2d36b2705d650a5e0fd6fc092) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.3)
Base: windows-server-2022-amd64-ocaml-4.14
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 windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN 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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-file-format.opam /Users/opam/src/./
RUN opam pin add -yn opam-file-format.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="alcotest.1.8.0 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 dune.3.17.2 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7 uutf.1.0.3"
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 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2025-02-05 08:38.23: Using cache hint "ocaml/opam-file-format-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-6cc8832225544bd59894f0abab18daaa"
2025-02-05 08:38.23: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
(comment windows-server-2022-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "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 "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-file-format.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn opam-file-format.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "alcotest.1.8.0 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 dune.3.17.2 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7 uutf.1.0.3")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\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 "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-02-05 08:38.23: Waiting for resource in pool OCluster
2025-02-05 10:01.45: Waiting for worker…
2025-02-05 10:43.47: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at 976d8ec Merge pull request #61 from kit-ty-kate/rel-2.2.0-alpha1


(from windows-server-2022-amd64-ocaml-4.14)
2025-02-05 10:43.48 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache


/: (comment windows-server-2022-amd64-4.14_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-05 10:43.48 ---> using "fe3978d598c814685c6ee8922c3ae17147a3127f83af70ca6588d6b26847cd93" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.


<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>


opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.


How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
3. Use Cygwin installation found in C:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation


[1/2/3/4/5] 1
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://C:/Users/opam/opam-repository
2025-02-05 10:43.48 ---> using "0caf41f56a7e1f8a9ba062ae44d7d1f50471f3874e543c30c0d1c2b229f1e062" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-05 10:43.48 ---> using "6a7802e4db8e302e8ba8d87ff4e9376ae777099db0cd03bdab21ff27a442740c" from cache


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
11bdbee611..3ee951993d  master     -> origin/master
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/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-02-05 10:43.48 ---> using "50e219129641c87b8bc8ac0cc5364a342cd452bc0c83e57ebb749b975290bca1" from cache


/: (copy (src opam-file-format.opam) (dst /Users/opam/src/./))
2025-02-05 10:43.59 ---> saved as "5602ce7a282f0f94d12939fe90998ac9683ebed1aed9c2a2f58b748e4fd933a1"


/: (run (network host)
(shell "opam pin add -yn opam-file-format.dev '/Users/opam/src/./'"))
[opam-file-format.dev] synchronised (file://C:/Users/opam/src/.)
opam-file-format is now pinned to file://C:/Users/opam/src/. (version dev)
2025-02-05 10:44.13 ---> saved as "243306bcf538e99dadf733ffe53d4ea12ef62d511c95224f8ab7823ec08bf2c1"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-02-05 10:44.25 ---> saved as "71fd6f73137c69268b07afec52e20d2294f57fdc072e9d7f2c798c5af685b57c"


/: (env DEPS "alcotest.1.8.0 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 dune.3.17.2 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7 uutf.1.0.3")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y opam-file-format.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.dev] synchronised (file://C:/Users/opam/src/.)


[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[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 mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.43).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
2025-02-05 10:45.00 ---> saved as "18b5797d17cf6fe34c6c5aff9cb63b5cc98a3e6f4a0dab559247d0add2faa702"


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[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 mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.43).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== install 17 packages
- install alcotest           1.8.0
- install astring            0.8.5
- install cmdliner           1.3.0
- install dune               3.17.2
- install fmt                0.9.0
- install menhir             20240715
- install menhirCST          20240715
- install menhirLib          20240715
- install menhirSdk          20240715
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.15.0
- install ocamlfind          1.9.8
- install re                 1.12.0
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.0.7
- install uutf               1.0.3


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ocamlfind.1.9.8  (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.tar.gz)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved dune.3.17.2  (https://github.com/ocaml/dune/releases/download/3.17.2/dune-3.17.2.tbz)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed dune.3.17.2
-> installed menhirCST.20240715
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed alcotest.1.8.0
-> installed menhir.20240715
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 10:46.52 ---> saved as "b12da2d8d1f0d6f6f8d639f2873e9ebcaf7ff8065a78c80b6a0d861a7e311330"


/: (copy (src .) (dst /Users/opam/src))
2025-02-05 10:47.10 ---> saved as "bb5a76b8eb13e51fd0f965e498527604b49ebdcec090f73d05add1f32364fff7"


/: (run (shell "cd /cygdrive/c/Users/opam/src && 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 `DWRVH4E3'.


[OK]          oldpos values             0   parser-printer simple.
[OK]          oldpos values             1   parser-printer unop.
[OK]          oldpos values             2   parser-printer binop.
[OK]          oldpos values             3   parser-printer lists.
[OK]          oldpos values             4   parser-printer and_or.
[OK]          oldpos values             5   parser simple.
[OK]          oldpos values             6   parser unop.
[OK]          oldpos values             7   parser binop.
[OK]          oldpos values             8   parser lists.
[OK]          oldpos values             9   parser and_or.
[OK]          oldpos values            10   printer simple.
[OK]          oldpos values            11   printer unop.
[OK]          oldpos values            12   printer binop.
[OK]          oldpos values            13   printer lists.
[OK]          oldpos values            14   printer and_or.
[OK]          oldpos items              0   variable printer.
[OK]          oldpos items              1   variable parser.
[OK]          oldpos items              2   variable parser-printer.
[OK]          oldpos items              3   section printer.
[OK]          oldpos items              4   section parser.
[OK]          oldpos items              5   section parser-printer.
[OK]          oldpos opamfile           0   parser.
[OK]          oldpos opamfile           1   printer.
[OK]          oldpos opamfile           2   parser-printer.
[OK]          oldpos opamfile           3   positions-file.
[OK]          fullpos values            0   parser-printer simple.
[OK]          fullpos values            1   parser-printer unop.
[OK]          fullpos values            2   parser-printer binop.
[OK]          fullpos values            3   parser-printer lists.
[OK]          fullpos values            4   parser-printer and_or.
[OK]          fullpos values            5   parser simple.
[OK]          fullpos values            6   parser unop.
[OK]          fullpos values            7   parser binop.
[OK]          fullpos values            8   parser lists.
[OK]          fullpos values            9   parser and_or.
[OK]          fullpos values           10   printer simple.
[OK]          fullpos values           11   printer unop.
[OK]          fullpos values           12   printer binop.
[OK]          fullpos values           13   printer lists.
[OK]          fullpos values           14   printer and_or.
[OK]          fullpos items             0   variable printer.
[OK]          fullpos items             1   variable parser.
[OK]          fullpos items             2   variable parser-printer.
[OK]          fullpos items             3   section printer.
[OK]          fullpos items             4   section parser.
[OK]          fullpos items             5   section parser-printer.
[OK]          fullpos opamfile          0   parser.
[OK]          fullpos opamfile          1   printer.
[OK]          fullpos opamfile          2   parser-printer.
[OK]          fullpos opamfile          3   printer-preserved.
[OK]          fullpos opamfile          4   positions-file.
[OK]          opam-version              0   OpamPrinter.FullPos.opamfile.
[OK]          opam-version              1   OpamPrinter.FullPos.Normalise.opamfile.
[OK]          opam-version              2   opam-version > 2.0 not at start 1.
[OK]          opam-version              3   opam-version > 2.1 repeated.
[OK]          opam-version              4   no opam-version and parsing error.
[OK]          opam-version              5   opam-version 2.1 and lexing error.
[OK]          opam-version              6   opam-version 2.1 and parsing error.
[OK]          opam-version              7   opam-version 2.1 and immediate parsing error.
[OK]          opam-version              8   opam-version 4 and parsing error.
[OK]          opam-version              9   opam-version 42.0 and parsing error.
[OK]          opam-version             10   opam-version 42.0 and evil parsing error.
[OK]          opam-version             11   opam-version 42.0 and immediate parsing error.
[OK]          opam-version             12   opam-version 42.0 and lexing error.


Full test results in `~\src\_build\default\tests\_build\_tests\DWRVH4E3'.
Test Successful in 0.109s. 64 tests run.
2025-02-05 10:47.30 ---> saved as "59247a62fed40274e469f1f439e0e2fb189874ef3395fe10dcebbac5080b9740"
Job succeeded
2025-02-05 10:47.31: Job succeeded