Organisationsdinosaureocaml-maildir597823 (master)macos-homebrew-4.14_opam-2.1

macos-homebrew-4.14_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-x86_64:macos-homebrew-4.14_opam-2.1)
Base: macos-homebrew-ocaml-4.14
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-4.14
# macos-homebrew-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14-macos-homebrew-4.14_opam-2.1-d40405df8c2592df73d606200412ef41"
2024-04-05 09:06.59: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-06 01:49.03: Waiting for worker…
2024-04-06 04:54.17: Got resource from pool OCluster
Building on i7-worker-03
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-4.14)
2024-04-06 04:54.20 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_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-06 04:54.20 ---> using "25b9bb92388ede51fae89d4de3a3dbc7bf0716456eef41b1ea8636995a3eeab7" 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-06 04:54.21 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 22.5.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-06 04:54.21 ---> using "f4908fd0e5799798bb14c138897a7b0cd12737558237c57b6cfe71feb61d52ba" 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
  - 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.
# Run eval $(opam env) to update the current shell environment
2024-04-06 04:54.22 ---> using "d1a3df57dc1beac25537d217aefa303712cc5c349b7434e7e19ffd6d3fb27cd6" from cache


/: (copy (src maildir.opam) (dst ./src/./))
2024-04-06 04:54.25 ---> saved as "993e349a4eb8c3465cb7e2fef8ccf120022068a8f7bfbd7796d442256e08380e"


/: (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-06 04:54.35 ---> saved as "9efb22c58f58f4f23baf36785d608f9a662bdb859c6a11e4e68a7e837aba13b8"


/: (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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"))
+ /usr/local/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 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-04-06 04:55.03 ---> saved as "31f4e0198701274acd3e3f7e3304b9840d152d43473a6af378eff357caaa8996"


/: (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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
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)
-> installed ocamlbuild.0.14.3
-> retrieved dune-configurator.3.15.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed cmdliner.1.2.0
-> 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 re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed afl-persistent.1.4
-> 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 4.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-04-06 04:56.50 ---> saved as "69e957154415715cd31a6d5505b28c859fbe3b7de9acd5631313430be60b28ba"


/: (copy (src .) (dst ./src))
2024-04-06 04:56.52 ---> saved as "ea10fe1d3088e3e24a5d0faf446f1a9fda1cf64a1631167347b057416240ed5b"


/: (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 `Y9MS6D1F'.


  [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 `3V4ZV88E'.


  [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.147s. 16 tests run.
2024-04-06 04:57.06 ---> saved as "535726500664fcbb38a746cc0667af9f7276347e828fb732f0f5dfcdb1483150"
Job succeeded
2024-04-06 04:57.12: Job succeeded