Organisationsygrekextunix3e34b7 (master)windows-server-2022-amd64-5.3_opam-2.3

windows-server-2022-amd64-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-02-05 08:33.33: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (3e34b741ef323f9715662346ffa126740915412b) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.3)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/extunix.git" -b "master" && cd "extunix" && git reset --hard 3e34b741
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_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 extunix.opam /Users/opam/src/./
RUN opam pin add -yn extunix.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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-env-mingw64.1 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y extunix.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:33.33: Using cache hint "ygrek/extunix-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.3-f56b1a78d7d67c48a6d44ad63b22b3c8"
2025-02-05 08:33.33: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
(comment windows-server-2022-amd64-5.3_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 extunix.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn extunix.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "arch-x86_64.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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-env-mingw64.1 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1")
(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 extunix.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:33.33: Waiting for resource in pool OCluster
2025-02-05 08:33.33: Waiting for worker…
2025-02-05 08:57.54: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at 3e34b74 renameat2: check RENAME_WHITEOUT constructor


(from windows-server-2022-amd64-ocaml-5.3)
2025-02-05 08:57.54 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache


/: (comment windows-server-2022-amd64-5.3_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 08:57.54 ---> using "95d5d85ee56c2575e196f53fe7f940cc0731fb5c4485beb38b72a714de9d05bf" 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 08:57.54 ---> using "53bae75d46d214e65b51daece9ef873c6c6a891e203ec3d98bbd26c30834d1e2" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.5-1.x86_64
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-05 08:57.54 ---> using "2b54922bf0d8d5ddbb1aea4afec4a959968c963bd87de7fe3038a742f957825c" 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
f93eb7cb02..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 08:57.54 ---> using "0ef703736ca25fcddcfa138c4217e8c74d7c051478aa8dd297fbd400680f6d1f" from cache


/: (copy (src extunix.opam) (dst /Users/opam/src/./))
2025-02-05 08:58.13 ---> saved as "931c934ba71da88649dafa9e01c831ca79fcbf2e3f938cdc4fd249068ac98b4e"


/: (run (network host)
(shell "opam pin add -yn extunix.dev '/Users/opam/src/./'"))
[extunix.dev] synchronised (file://C:/Users/opam/src/.)
extunix is now pinned to file://C:/Users/opam/src/. (version dev)
2025-02-05 08:58.32 ---> saved as "2aac57d864ff39b796b4f9677256897e8a38268d02db03ddfa41b3824c368f30"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-02-05 08:58.44 ---> saved as "8670485f347cd5a3e1fe05cb6b35ec5fef4515cbba01c15c9acebf8841a95190"


/: (env DEPS "arch-x86_64.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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-env-mingw64.1 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1")


/: (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 extunix.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extunix.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-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 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-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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
2025-02-05 08:59.07 ---> saved as "f794a73ab072d8eb36273fdf2bb593d3171cac99d36e67c961ef20da487a00c5"


/: (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-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 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-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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== install 12 packages
- install base-bytes          base
- install csexp               1.5.2
- install dune                3.17.2
- install dune-configurator   3.17.2
- install ocaml-compiler-libs v0.17.0
- install ocamlfind           1.9.8
- install ounit2              2.2.7
- install ppx_derivers        1.2.1
- install ppxlib              0.35.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.tar.gz)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved ppxlib.0.35.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.35.0/ppxlib-0.35.0.tbz)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (https://github.com/ocaml/dune/releases/download/3.17.2/dune-3.17.2.tbz)
[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\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.3.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.17.2
-> installed ppxlib.0.35.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 09:00.55 ---> saved as "f5041be4d3e10d0deef85121f76f4f0f75ae1d3919743f820ac609cd5c39faf1"


/: (copy (src .) (dst /Users/opam/src))
2025-02-05 09:01.14 ---> saved as "ac5c6a612040da0fde9c564639bf082250f2a4f8c87454fa9073566c66f5d548"


/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ..\discover\discover.exe)
checking EVENTFD.............failed
checking ATFILE..............failed
checking RENAMEAT2...........failed
checking RENAME_WHITEOUT.....failed
checking DIRFD...............failed
checking STATVFS.............ok
checking FSTATVFS............failed
checking SIOCGIFCONF.........failed
checking IFADDRS.............failed
checking INET_NTOA...........ok
checking INET_NTOP...........ok
checking UNAME...............failed
checking FADVISE.............failed
checking FALLOCATE...........ok
checking TTY_IOCTL...........failed
checking TTYNAME.............failed
checking CTERMID.............failed
checking GETTID..............ok
checking PGID................failed
checking SETREUID............failed
checking FSYNC...............ok
checking FDATASYNC...........ok
checking SYNC................failed
checking SYNCFS..............failed
checking REALPATH............ok
checking SIGNALFD............failed
checking PTRACE..............failed
checking RESOURCE............failed
checking MLOCKALL............failed
checking STRPTIME............failed
checking STRTIME.............ok
checking TIMEZONE............ok
checking TIMEGM..............ok
checking PTS.................failed
checking FCNTL...............failed
checking TCPGRP..............failed
checking EXECINFO............failed
checking SETENV..............failed
checking CLEARENV............failed
checking MKDTEMP.............failed
checking MALLOC_INFO.........failed
checking MALLOC_STATS........failed
checking MEMALIGN............failed
checking ENDIAN..............ok
checking READ_CREDENTIALS....failed
checking FEXECVE.............failed
checking SENDMSG.............failed
checking PREAD...............failed
checking PWRITE..............failed
checking READ................failed
checking WRITE...............failed
checking MKSTEMPS............failed
checking MKOSTEMPS...........failed
checking SETRESUID...........failed
checking SYSCONF.............failed
checking SPLICE..............failed
checking TEE.................failed
checking VMSPLICE............failed
checking SOCKOPT.............ok
checking TCP_KEEPIDLE........ok
checking TCP_KEEPCNT.........ok
checking TCP_KEEPINTVL.......ok
checking SO_REUSEPORT........failed
checking POLL................failed
checking SYSINFO.............failed
checking MCHECK..............failed
checking MOUNT...............failed
checking UNSHARE.............failed
checking CHROOT..............failed
checking SYSLOG..............failed
(cd _build/default/test && .\testba.exe)
.SS.SS
Ran: 6 tests in: 0.00 seconds.
OK: Cases: 6 Skip: 4
(cd _build/default/test && .\test.exe)
SSS.SSSSS.SSSSSSSSSSSS.SS..SSSSSSSSSS.SSS
Ran: 41 tests in: 0.02 seconds.
OK: Cases: 41 Skip: 35
2025-02-05 09:03.08 ---> saved as "69a8846b5b3fe43efbead9ae8d86b7b27a23bf7cdafca8e52d13a76c91638dbb"
Job succeeded
2025-02-05 09:03.09: Job succeeded