Organisationsygrekextunix3e34b7 (master)debian-12-5.3_arm32_opam-2.3

debian-12-5.3_arm32_opam-2.3

Logs

Show full logs
2025-02-09 12:41.34: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (3e34b741ef323f9715662346ffa126740915412b) (linux-arm64:debian-12-5.3_arm32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab
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 ocaml/opam:debian-12-ocaml-5.3@sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab
# debian-12-5.3_arm32_opam-2.3
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 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 ./
RUN opam pin add -yn extunix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 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-option-bytecode-only.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.16.0 stdlib-shims.0.3.0"
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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

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

2025-02-09 12:41.34: Using cache hint "ygrek/extunix-ocaml/opam:debian-12-ocaml-5.3@sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab-debian-12-5.3_arm32_opam-2.3-2b179f305f3cf947a326c1a37874de09"
2025-02-09 12:41.34: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab)
 (comment debian-12-5.3_arm32_opam-2.3)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src extunix.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn extunix.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 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-option-bytecode-only.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.16.0 stdlib-shims.0.3.0")
 (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 extunix.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-02-09 12:41.34: Waiting for resource in pool OCluster
2025-02-09 12:41.48: Waiting for worker…
2025-02-09 13:16.46: Got resource from pool OCluster
Building on ocaml-2.osuosl.ci.dev
All commits already cached
HEAD is now at 3e34b74 renameat2: check RENAME_WHITEOUT constructor

(from ocaml/opam:debian-12-ocaml-5.3@sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab' locally
docker.io/ocaml/opam@sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab: Pulling from ocaml/opam
ca61d863bcc2: Pulling fs layer
f32e69b36c0b: Pulling fs layer
299adb6203fa: Pulling fs layer
32744d3d1124: Pulling fs layer
c3beb3863c05: Pulling fs layer
940aad663e67: Pulling fs layer
72b96daa901c: Pulling fs layer
ce67d7be8788: Pulling fs layer
32744d3d1124: Waiting
72b96daa901c: Waiting
2a3009e07c07: Pulling fs layer
940aad663e67: Waiting
c3beb3863c05: Waiting
ce67d7be8788: Waiting
2a3009e07c07: Waiting
299adb6203fa: Download complete
f32e69b36c0b: Verifying Checksum
f32e69b36c0b: Download complete
c3beb3863c05: Verifying Checksum
c3beb3863c05: Download complete
72b96daa901c: Download complete
940aad663e67: Verifying Checksum
940aad663e67: Download complete
2a3009e07c07: Verifying Checksum
2a3009e07c07: Download complete
ce67d7be8788: Verifying Checksum
ce67d7be8788: Download complete
ca61d863bcc2: Verifying Checksum
ca61d863bcc2: Download complete
ca61d863bcc2: Pull complete
f32e69b36c0b: Pull complete
299adb6203fa: Pull complete
32744d3d1124: Pull complete
c3beb3863c05: Pull complete
940aad663e67: Pull complete
72b96daa901c: Pull complete
ce67d7be8788: Pull complete
2a3009e07c07: Pull complete
Digest: sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab
Status: Downloaded newer image for ocaml/opam@sha256:9f4979ef884f5c8de0a90c23afa40c92ac547e07af70488289f9d2a834c390ab
2025-02-09 13:16.47 ---> using "e6867b0b3b10e9f4600d1412a311377550a6555c94c8f3bef167642fa02c7f8b" from cache

/: (comment debian-12-5.3_arm32_opam-2.3)

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

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-09 13:16.47 ---> using "5c487add7a54053f762b3c333abb3ce16972042a943faaf110a68a5f4b2cccc6" 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
[NOTE] The 'jobs' option was reset, its value was 79 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=79 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-09 13:16.47 ---> using "22a3d90d948387933448bd830f856833519c22987081cad98ebab0ca7af4a788" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-52-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 13:16.47 ---> using "170ae8972950503c372545f2a10783dac9843eb7586d39dcb4cdbd38e4db358b" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-02-09 13:16.47 ---> using "b194436fae2c726b32674152f7799f46d23a90dabe8346c73cb3648378a24d8b" from cache

/src: (run (cache (opam-archives (target /home/opam/.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"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[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-02-09 13:16.47 ---> using "652207b046bba8e7bd851cab7aba590e1cc129d395feeade5ee031b3425c8f12" from cache

/src: (copy (src extunix.opam) (dst ./))
2025-02-09 13:16.47 ---> saved as "65ac4e89f8c62dfea9a71a2be6704db34a119e6f9777643282261d40707e9466"

/src: (run (network host)
           (shell "opam pin add -yn extunix.dev './'"))
[extunix.dev] synchronised (file:///src)
extunix is now pinned to file:///src (version dev)
2025-02-09 13:16.52 ---> saved as "54f2124493b285a3fbde4d1bd99fe7c96bdfc22d41a81f44945f34a701794036"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 13:16.53 ---> saved as "56aba57290cc70210ed3156fc4e9bbd716e897f22e41ca15b5b0eafea691bdd4"

/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 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-option-bytecode-only.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.16.0 stdlib-shims.0.3.0")

/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 extunix.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 armhf Packages [225 kB]
- Fetched 328 kB in 1s (536 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extunix.dev] synchronised (file:///src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-option-bytecode-only 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).
2025-02-09 13:17.14 ---> saved as "b2121e71316ebd5deffc123b24bbaa6afaf7a572238a631c86934d418decb938"

/src: (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-option-bytecode-only 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 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.16.0
  - install stdlib-shims        0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.17.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppxlib.0.35.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 13:19.44 ---> saved as "f5891fc90384b14be40d48cc10ccc3875bb31f50f4b6d72ee8d35f9793072525"

/src: (copy (src .) (dst /src))
2025-02-09 13:19.45 ---> saved as "c4d003cd63bc7cd43affdc6bee14cc47e190c6283cc2748d4b98e6235916a88b"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ../discover/discover.exe)
checking EVENTFD.............ok
checking ATFILE..............ok
checking RENAMEAT2...........ok
checking RENAME_WHITEOUT.....ok
checking DIRFD...............ok
checking STATVFS.............ok
checking FSTATVFS............ok
checking SIOCGIFCONF.........ok
checking IFADDRS.............ok
checking INET_NTOA...........ok
checking INET_NTOP...........ok
checking UNAME...............ok
checking FADVISE.............ok
checking FALLOCATE...........ok
checking TTY_IOCTL...........ok
checking TTYNAME.............ok
checking CTERMID.............ok
checking GETTID..............ok
checking PGID................ok
checking SETREUID............ok
checking FSYNC...............ok
checking FDATASYNC...........ok
checking SYNC................ok
checking SYNCFS..............ok
checking REALPATH............ok
checking SIGNALFD............ok
checking PTRACE..............ok
checking RESOURCE............ok
checking MLOCKALL............ok
checking STRPTIME............ok
checking STRTIME.............ok
checking TIMEZONE............ok
checking TIMEGM..............ok
checking PTS.................ok
checking FCNTL...............ok
checking TCPGRP..............ok
checking EXECINFO............ok
checking SETENV..............ok
checking CLEARENV............ok
checking MKDTEMP.............ok
checking MALLOC_INFO.........ok
checking MALLOC_STATS........ok
checking MEMALIGN............ok
checking ENDIAN..............ok
checking READ_CREDENTIALS....ok
checking FEXECVE.............ok
checking SENDMSG.............ok
checking PREAD...............ok
checking PWRITE..............ok
checking READ................ok
checking WRITE...............ok
checking MKSTEMPS............ok
checking MKOSTEMPS...........ok
checking SETRESUID...........ok
checking SYSCONF.............ok
checking SPLICE..............ok
checking TEE.................ok
checking VMSPLICE............ok
checking SOCKOPT.............ok
checking TCP_KEEPIDLE........ok
checking TCP_KEEPCNT.........ok
checking TCP_KEEPINTVL.......ok
checking SO_REUSEPORT........ok
checking POLL................ok
checking SYSINFO.............ok
checking MCHECK..............ok
checking MOUNT...............ok
checking UNSHARE.............ok
checking CHROOT..............ok
checking SYSLOG..............ok
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/5.3/lib/ocaml -I /home/opam/.opam/5.3/lib/bytes -I /home/opam/.opam/5.3/lib/ocaml/unix -o rename.o -c rename.c)
rename.c: In function 'caml_extunix_renameat2':
rename.c:40:18: warning: passing argument 1 of 'caml_stat_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   40 |   caml_stat_free(oldname);
      |                  ^~~~~~~
In file included from config.h:26,
                 from rename.c:2:
/home/opam/.opam/5.3/lib/ocaml/caml/memory.h:117:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *'
  117 | CAMLextern void caml_stat_free(caml_stat_block);
      |                                ^~~~~~~~~~~~~~~
rename.c:41:18: warning: passing argument 1 of 'caml_stat_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   41 |   caml_stat_free(newname);
      |                  ^~~~~~~
/home/opam/.opam/5.3/lib/ocaml/caml/memory.h:117:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *'
  117 | CAMLextern void caml_stat_free(caml_stat_block);
      |                                ^~~~~~~~~~~~~~~
(cd _build/default/test && ./testba.exe)
......
Ran: 6 tests in: 0.04 seconds.
OK
(cd _build/default/test && ./test.exe)
...........................................................
Ran: 41 tests in: 0.36 seconds.
OK

Ran: 41 tests in: 0.36 seconds.
OK

Ran: 41 tests in: 0.36 seconds.
OK

Ran: 41 tests in: 0.36 seconds.
OK
2025-02-09 13:20.12 ---> saved as "b3429e72774527ce75ba3a29253fe10d85dc832475ac269294ce4ead93933237"
Job succeeded
2025-02-09 13:20.13: Job succeeded