2025-02-09 13:20.42: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (3e34b741ef323f9715662346ffa126740915412b) (linux-x86_64:ubuntu-20.04-5.3_opam-2.3) Base: ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad 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:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad # ubuntu-20.04-5.3_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 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-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" 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 13:20.42: Using cache hint "ygrek/extunix-ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad-ubuntu-20.04-5.3_opam-2.3-527005c7f198137593257d94c8618edb" 2025-02-09 13:20.42: Using OBuilder spec: ((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad) (comment ubuntu-20.04-5.3_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 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-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") (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 13:20.42: Waiting for resource in pool OCluster 2025-02-09 13:53.04: Waiting for worker… 2025-02-09 13:55.55: Got resource from pool OCluster Building on doris.caelum.ci.dev All commits already cached HEAD is now at 3e34b74 renameat2: check RENAME_WHITEOUT constructor (from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad) 2025-02-09 14:17.30 ---> using "f64438e91cc79f15acb8c190d5bf9e62ccfe4a251682ca1f6137a6a6c044331b" from cache /: (comment ubuntu-20.04-5.3_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-02-09 14:17.30 ---> using "16cbeb407956ec5ef8e22397837faf21d23e62abc6aaea376c867f72891ed4cc" 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 31 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=31 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-02-09 14:17.30 ---> using "6fa1c8624bb118fc2d9813a57ddf8efaf5a8daf37e9ac60641d953a4d972127f" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 5.3.0 2.3.0 2025-02-09 14:17.30 ---> using "1874a199e8e6eea839830c3a7e4194ab22d725f5585c9e39ab20eca9bcd761e7" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-02-09 14:17.30 ---> using "8f9e842771ea81a5d8ab45f3ae71f73fd9bc7108479545dff52fbc0288f92929" 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")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 2c9566f0b0..d87296a7b6 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:///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 14:17.30 ---> using "24373b8bdb287f1beb97113a4b4e4a672bb6ad71fdc255fd730a3c9d36e84600" from cache /src: (copy (src extunix.opam) (dst ./)) 2025-02-09 14:17.30 ---> saved as "4235367f79bf8eedfc63055160533fa3721a2572adb1685d347a245b5ba91c1b" /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 14:17.32 ---> saved as "1ee3a470c810826bc42f8e759fcfbfe172f56917b01e8ebce411e406685a87ca" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-02-09 14:17.32 ---> saved as "11bcaa3539356429a490411f8b14993c7f59537c46e680fb62550e8b24334eba" /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-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") /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" - Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] - Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease - Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] - Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] - Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4219 kB] - Get:6 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4329 kB] - Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4695 kB] - Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1298 kB] - Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1589 kB] - Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4517 kB] - Fetched 21.0 MB in 1s (15.1 MB/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-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 14:17.46 ---> saved as "63ea8e094e93810133052059f4a2760c593a5f2457f4e683c1ef9bcdd7357f03" /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-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.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 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.17.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 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-09 14:18.34 ---> saved as "c8447f1a8886cf1c8cf53d4749032d3485a4ab1824a7fcac4045ae28018c30b8" /src: (copy (src .) (dst /src)) 2025-02-09 14:18.34 ---> saved as "a771d8fb734d495e2a7f5ad0f304733f2c08ed44013b05be87a4bb0964f9af5c" /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); | ^~~~~~~ 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); | ^~~~~~~~~~~~~~~ (cd _build/default/test && ./testba.exe) ...... Ran: 6 tests in: 0.01 seconds. OK (cd _build/default/test && ./test.exe) ......................................................... Ran: 41 tests in: 0.02 seconds. OK Ran: 41 tests in: 0.02 seconds. OK .. Ran: 41 tests in: 0.02 seconds. OK Ran: 41 tests in: 0.02 seconds. OK 2025-02-09 14:18.43 ---> saved as "c8d625fb92603ff62a68b2cb631ef388d8005d608dc33bd5dd011be5f4bfb966" Job succeeded 2025-02-09 14:18.43: Job succeeded