Organisationsygrekextunix3e34b7 (master)macos-homebrew-4.14_arm64_opam-2.3

macos-homebrew-4.14_arm64_opam-2.3

Logs

Show full logs
2025-02-05 08:33.33: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (3e34b741ef323f9715662346ffa126740915412b) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.3)
Base: macos-homebrew-ocaml-4.14
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 macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/local/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 ./src/./
RUN opam pin add -yn extunix.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 cd ./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-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-fe13dadb1410520e54ea4de03ae07277"
2025-02-05 08:33.33: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_arm64_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (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 ./src/./))
 (run (network host)
      (shell "opam pin add -yn extunix.dev './src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y extunix.dev $DEPS"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst ./src))
 (run (shell "cd ./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 10:33.09: Got resource from pool OCluster
Building on m1-worker-02
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/extunix.git-9f34d02ef4475fcc8c464b307336158ce417c33a/.git/
HEAD is now at 3e34b74 renameat2: check RENAME_WHITEOUT constructor

(from macos-homebrew-ocaml-4.14)
2025-02-05 10:33.14 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_arm64_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-02-05 10:33.14 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" from cache

/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-02-05 10:33.14 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-05 10:33.14 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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
   67e940587b..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 git+file:///Users/mac1000/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.4.0
  - ocaml-config.3
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:33.15 ---> using "6264d2c558032fade6f39d81736b58f475f53a63825d7d7169e0a32e61c6206e" from cache

/: (copy (src extunix.opam) (dst ./src/./))
2025-02-05 10:33.16 ---> saved as "735a3fc2e5ac84a1fbc87a9d3073d2e7c8980f02118cfe933dec50cc0aff937c"

/: (run (network host)
        (shell "opam pin add -yn extunix.dev './src/./'"))
[extunix.dev] synchronised (file:///Users/mac1000/src)
extunix is now pinned to file:///Users/mac1000/src (version dev)
2025-02-05 10:33.31 ---> saved as "a0f1fd60c23a566149e3e9873f08a6f456b69118e7745b68370786fdd3624709"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-02-05 10:33.32 ---> saved as "4bb6d2ed27b90d5d7cc1b8d19081f31e78141305927b6669ddbc549672caa84f"

/: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y extunix.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

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

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[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 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).
2025-02-05 10:33.53 ---> saved as "d8bcd08b927e29d7107c583af3feac29b24edb076df7dadf4f64e48a26153d7b"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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 2).
[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 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 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.12.4
  - 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.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ounit2.2.2.7  (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 stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ounit2.2.2.7
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> 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 10:34.39 ---> saved as "f8ce46760c04d9a7031f2fa477fe96a4022f378f89b8078a124bb7bf37c6e1d1"

/: (copy (src .) (dst ./src))
2025-02-05 10:34.40 ---> saved as "6431fb7f9c23b04282c5a6cfa07b6288c99f1f21d80cf349e8bac5bc864d9e46"

/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ../discover/discover.exe)
checking EVENTFD.............failed
checking ATFILE..............ok
checking RENAMEAT2...........failed
checking RENAME_WHITEOUT.....failed
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.............failed
checking FALLOCATE...........failed
checking TTY_IOCTL...........ok
checking TTYNAME.............ok
checking CTERMID.............ok
checking GETTID..............ok
checking PGID................ok
checking SETREUID............ok
checking FSYNC...............ok
checking FDATASYNC...........failed
checking SYNC................ok
checking SYNCFS..............failed
checking REALPATH............ok
checking SIGNALFD............failed
checking PTRACE..............failed
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............failed
checking MKDTEMP.............ok
checking MALLOC_INFO.........failed
checking MALLOC_STATS........failed
checking MEMALIGN............ok
checking ENDIAN..............ok
checking READ_CREDENTIALS....failed
checking FEXECVE.............failed
checking SENDMSG.............ok
checking PREAD...............ok
checking PWRITE..............ok
checking READ................ok
checking WRITE...............ok
checking MKSTEMPS............ok
checking MKOSTEMPS...........ok
checking SETRESUID...........failed
checking SYSCONF.............ok
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........ok
checking POLL................ok
checking SYSINFO.............failed
checking MCHECK..............failed
checking MOUNT...............failed
checking UNSHARE.............failed
checking CHROOT..............failed
checking SYSLOG..............ok
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/bytes -o atfile.o -c atfile.c)
atfile.c:55:52: warning: passing 'const int[7]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    caml_unix_cst_to_constr(buf->st_mode & S_IFMT, file_kind_table,
                                                   ^~~~~~~~~~~~~~~
atfile.c:14:41: note: passing argument to parameter 'tbl' here
extern value cst_to_constr(int n, int * tbl, int size, int deflt);
                                        ^
atfile.c:76:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  int flags = caml_convert_flag_list(v_flags, at_flags_table);
                                              ^~~~~~~~~~~~~~
/Users/mac1000/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
CAMLextern int caml_convert_flag_list (value, int *);
                                                   ^
atfile.c:95:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  int flags = caml_convert_flag_list(v_flags, at_flags_table);
                                              ^~~~~~~~~~~~~~
/Users/mac1000/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
CAMLextern int caml_convert_flag_list (value, int *);
                                                   ^
atfile.c:141:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  int flags = caml_convert_flag_list(v_flags, at_flags_table);
                                              ^~~~~~~~~~~~~~
/Users/mac1000/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
CAMLextern int caml_convert_flag_list (value, int *);
                                                   ^
atfile.c:158:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  int flags = caml_convert_flag_list(v_flags, at_flags_table);
                                              ^~~~~~~~~~~~~~
/Users/mac1000/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
CAMLextern int caml_convert_flag_list (value, int *);
                                                   ^
atfile.c:174:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  int flags = caml_convert_flag_list(v_flags, at_flags_table);
                                              ^~~~~~~~~~~~~~
/Users/mac1000/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
CAMLextern int caml_convert_flag_list (value, int *);
                                                   ^
6 warnings generated.
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/bytes -o mman.o -c mman.c)
mman.c:11:47: warning: passing 'const int[2]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  int flags = caml_convert_flag_list(v_flags, mlockall_flags_table);
                                              ^~~~~~~~~~~~~~~~~~~~
/Users/mac1000/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
CAMLextern int caml_convert_flag_list (value, int *);
                                                   ^
1 warning generated.
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/bytes -o syslog.o -c syslog.c)
syslog.c:19:42: warning: passing 'const int[8]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  mask = caml_convert_flag_list(v_level, mask_table);
                                         ^~~~~~~~~~
/Users/mac1000/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
CAMLextern int caml_convert_flag_list (value, int *);
                                                   ^
syslog.c:67:45: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  option = caml_convert_flag_list(v_option, option_table);
                                            ^~~~~~~~~~~~
/Users/mac1000/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
CAMLextern int caml_convert_flag_list (value, int *);
                                                   ^
2 warnings generated.
(cd _build/default/test && ./testba.exe)
......
Ran: 6 tests in: 0.01 seconds.
OK
(cd _build/default/test && ./test.exe)
S.SS......S................SS...................S.S.SSSS.S
Ran: 41 tests in: 0.01 seconds.
OK: Cases: 41 Skip: 8
S
Ran: 41 tests in: 0.01 seconds.
OK: Cases: 41 Skip: 8

Ran: 41 tests in: 0.01 seconds.
OK: Cases: 41 Skip: 8

Ran: 41 tests in: 0.01 seconds.
OK: Cases: 41 Skip: 8
2025-02-05 10:34.46 ---> saved as "15166308b35e5daf77710ed1750cde29450dcdc89305cef8ea23154bb558ed9b"
Job succeeded
2025-02-05 10:34.50: Job succeeded