Organisationsdinosaureocaml-maildir597823 (master)macos-homebrew-5.1_arm64_opam-2.1

macos-homebrew-5.1_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-04-05 09:06.59: New job: test dinosaure/ocaml-maildir https://github.com/dinosaure/ocaml-maildir.git#refs/heads/master (597823c7d2d4fd2aef26a581f6828f2b458371ea) (macos-arm64:macos-homebrew-5.1_arm64_opam-2.1)
Base: macos-homebrew-ocaml-5.1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/ocaml-maildir.git" -b "master" && cd "ocaml-maildir" && git reset --hard 597823c7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.1
# macos-homebrew-5.1_arm64_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.1 ~/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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 maildir.opam ./src/./
RUN opam pin add -yn maildir.dev './src/./'
ENV DEPS="afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 bos.0.2.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 fmt.0.9.0 fpath.0.7.3 logs.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y maildir.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


2024-04-05 09:06.59: Using cache hint "dinosaure/ocaml-maildir-macos-macos-homebrew-ocaml-5.1-macos-homebrew-5.1_arm64_opam-2.1-2defa01bf49fcd7ab89b6ba95ecf788b"
2024-04-05 09:06.59: Using OBuilder spec:
((from macos-homebrew-ocaml-5.1)
 (comment macos-homebrew-5.1_arm64_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.1 ~/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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src maildir.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn maildir.dev './src/./'"))
 (env DEPS "afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 bos.0.2.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 fmt.0.9.0 fpath.0.7.3 logs.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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.1 --depext-only -y maildir.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"))
)


2024-04-05 09:06.59: Waiting for resource in pool OCluster
2024-04-05 19:10.30: Waiting for worker…
2024-04-05 21:00.52: Got resource from pool OCluster
Building on m1-worker-04
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/ocaml-maildir.git-c2c5bd4301d79a103495de40fc625ff46858790f/.git/
HEAD is now at 597823c Update to .ocamlformat.0.19.0


(from macos-homebrew-ocaml-5.1)
2024-04-05 21:00.53 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache


/: (comment macos-homebrew-5.1_arm64_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
2024-04-05 21:00.53 ---> using "22cd16a64c632695859fdcedd94c70c4cc08c65c5ac152872708c4f22bdb6b91" 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-04-05 21:00.53 ---> using "a88b721b113bbcb0b1d9c9d9953be1d371de01973789d03f702acf5d676e7e9e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-05 21:00.53 ---> using "b9cb7a7e67e401d6d05e669cb4a23e6bbd1c29e9a607e1e5d301dc2a9918b0c9" 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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b530f3bbd2..9cbee1880f  master     -> origin/master
950c52962d [new release] dune (15 packages) (3.15.0)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository


Constructing initial basis...
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.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-04-05 21:00.53 ---> using "0ea9a6b50390f403ac1dd41cfa63dbb6d68ccd87acf9621db88349b7f7a3f372" from cache


/: (copy (src maildir.opam) (dst ./src/./))
2024-04-05 21:00.55 ---> saved as "8ddff50809299b5be617933feab53ae9d6fffd3d1797c4a1694812972958ad88"


/: (run (network host)
        (shell "opam pin add -yn maildir.dev './src/./'"))
[maildir.dev] synchronised (file:///Users/mac1000/src)
maildir is now pinned to file:///Users/mac1000/src (version dev)
2024-04-05 21:01.03 ---> saved as "6736001e3c1d5908a2ac3f2e2f970924f42aea2880ae39b1719ce99754bbfbcd"


/: (env DEPS "afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 bos.0.2.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 fmt.0.9.0 fpath.0.7.3 logs.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


/: (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.1 --depext-only -y maildir.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[maildir.dev] synchronised (no changes)


[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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
2024-04-05 21:01.20 ---> saved as "affaf6e2e62021203ab3944c5dc07ad621c28b67fc0114edafff337430e74828"


/: (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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
The following actions will be performed:
  - install ocamlbuild         0.14.3
  - install cmdliner           1.2.0
  - install ocamlfind          1.9.6
  - install seq                base
  - install dune               3.15.0
  - install topkg              1.0.7
  - install base-bytes         base
  - install stdlib-shims       0.3.0
  - install re                 1.11.0
  - install ocaml-syntax-shims 1.0.0
  - install csexp              1.5.2
  - install cppo               1.6.9
  - install afl-persistent     1.4
  - install uutf               1.0.3
  - install rresult            0.7.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install dune-configurator  3.15.0
  - install ocplib-endian      1.2
  - install logs               0.7.0
  - install fpath              0.7.3
  - install alcotest           1.7.0
  - install bigstringaf        0.9.1
  - install crowbar            0.2.1
  - install bos                0.2.1
  - install angstrom           0.16.0
===== 26 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (cached)
-> retrieved angstrom.0.16.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved crowbar.0.2.1  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved dune.3.15.0  (cached)
-> retrieved dune-configurator.3.15.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed cmdliner.1.2.0
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.15.0
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed afl-persistent.1.4
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed crowbar.0.2.1
-> installed dune-configurator.3.15.0
-> installed alcotest.1.7.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
Done.


<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
   not enable AFL instrumentation by default, most packages will not be
   instrumented and fuzzing with afl-fuzz may not be effective.


   To globally enable AFL instrumentation, create an OCaml switch like:


     opam switch create 5.1.1+afl ocaml-variants.5.1.1+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-04-05 21:02.12 ---> saved as "daa416570e9b4953781f8fbfc23eb402750370e56e9c3f5ae4261234bbc4d426"


/: (copy (src .) (dst ./src))
2024-04-05 21:02.14 ---> saved as "07617459a65d15d8856b0844a9b4c13da43bdf3a66330392d462227efc0e2ba3"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_mem.exe --color=always)
Testing `maildir-mem'.
This run has ID `482LP31X'.


  [OK]          populate                        0   populate.
  [OK]          add & commit                    0   add.
  [OK]          add & commit                    1   commit.
  [OK]          add & commit                    2   add.
  [OK]          add & commit                    3   commit.
  [OK]          add & commit                    4   add.
  [OK]          add & commit                    5   commit.
  [OK]          add & commit                    6   add.
  [OK]          add & commit                    7   commit.
  [OK]          add & commit                    8   add.
  [OK]          add & commit                    9   commit.
  [OK]          add some & commit some          0   add some (2).
  [OK]          add some & commit some          1   commit some (2).
  [OK]          add some & commit some          2   add some (2).
  [OK]          add some & commit some          3   commit some (1).
  [OK]          add some & commit some          4   commit some (1).


Full test results in `~/src/_build/default/test/_build/_tests/maildir-mem'.
Test Successful in 0.003s. 16 tests run.
(cd _build/default/fuzz && ./fuzz.exe)
maildir: PASS


(cd _build/default/test && ./test_unix.exe --color=always)
Testing `maildir-unix'.
This run has ID `F49IJS3E'.


  [OK]          populate                        0   populate.
  [OK]          add & commit                    0   add.
  [OK]          add & commit                    1   commit.
  [OK]          add & commit                    2   add.
  [OK]          add & commit                    3   commit.
  [OK]          add & commit                    4   add.
  [OK]          add & commit                    5   commit.
  [OK]          add & commit                    6   add.
  [OK]          add & commit                    7   commit.
  [OK]          add & commit                    8   add.
  [OK]          add & commit                    9   commit.
  [OK]          add some & commit some          0   add some (2).
  [OK]          add some & commit some          1   commit some (2).
  [OK]          add some & commit some          2   add some (2).
  [OK]          add some & commit some          3   commit some (1).
  [OK]          add some & commit some          4   commit some (1).


Full test results in `~/src/_build/default/test/_build/_tests/maildir-unix'.
Test Successful in 10.201s. 16 tests run.
2024-04-05 21:02.26 ---> saved as "3b14d3edde2f0c4a8d8f3f2e63527ddaf721944585ef584b7802bfa0263add09"
Job succeeded
2024-04-05 21:02.30: Job succeeded