Organisationsinhabitedtypeocaml-dispatch388dfd (master)macos-homebrew-4.14_opam-2.1

macos-homebrew-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-05-14 20:46.39: New job: test inhabitedtype/ocaml-dispatch https://github.com/inhabitedtype/ocaml-dispatch.git#refs/heads/master (388dfd121b8fe464d0d6960e13d0c93ce59a8fbc) (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/inhabitedtype/ocaml-dispatch.git" -b "master" && cd "ocaml-dispatch" && git reset --hard 388dfd12
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 9548b038b33cb587c7a93a77cefb6ce4664a357d || git fetch origin master) && git reset -q --hard 9548b038b33cb587c7a93a77cefb6ce4664a357d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dispatch.opam dispatch-js.opam ./src/./
RUN opam pin add -yn dispatch.dev './src/./' && \
    opam pin add -yn dispatch-js.dev './src/./'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 gen.1.1 js_of_ocaml.5.8.1 js_of_ocaml-compiler.5.8.1 js_of_ocaml-lwt.5.8.1 js_of_ocaml-ppx.5.8.1 lwt.5.7.0 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 sedlex.3.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y dispatch.dev dispatch-js.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-05-14 20:46.39: Using cache hint "inhabitedtype/ocaml-dispatch-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.1-f64d9c6e69ef8997428839b86968ee99"
2024-05-14 20:46.39: 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 9548b038b33cb587c7a93a77cefb6ce4664a357d || git fetch origin master) && git reset -q --hard 9548b038b33cb587c7a93a77cefb6ce4664a357d && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src dispatch.opam dispatch-js.opam) (dst ./src/./))
 (run (network host)
      (shell  "opam pin add -yn dispatch.dev './src/./' && \
             \nopam pin add -yn dispatch-js.dev './src/./'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 gen.1.1 js_of_ocaml.5.8.1 js_of_ocaml-compiler.5.8.1 js_of_ocaml-lwt.5.8.1 js_of_ocaml-ppx.5.8.1 lwt.5.7.0 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 sedlex.3.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.1.2")
 (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 dispatch.dev dispatch-js.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-05-14 20:46.39: Waiting for resource in pool OCluster
2024-05-14 20:46.39: Waiting for worker…
2024-05-15 05:51.15: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
HEAD is now at 388dfd1 Merge pull request #30 from anuragsoni/update-readme


(from macos-homebrew-ocaml-4.14)
2024-05-15 05:51.16 ---> 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-05-15 05:51.17 ---> 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-05-15 05:51.17 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-15 05:51.18 ---> 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 9548b038b33cb587c7a93a77cefb6ce4664a357d || git fetch origin master) && git reset -q --hard 9548b038b33cb587c7a93a77cefb6ce4664a357d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b530f3bbd2..c1bf247e33  master     -> origin/master
9548b038b3 Merge pull request #25796 from hhugo/release-js_of_ocaml-5.8.1


<><> 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-05-15 05:51.19 ---> using "8bbd976dc59c8529ec2d005822890e5aa5b288a5c95bb5b5529fbbddb0db9ced" from cache


/: (copy (src dispatch.opam dispatch-js.opam) (dst ./src/./))
2024-05-15 05:51.21 ---> saved as "d077c538219e2c38deb494a72de6b68b626d5251db699d7f797fc8974caaa90a"


/: (run (network host)
        (shell  "opam pin add -yn dispatch.dev './src/./' && \
               \nopam pin add -yn dispatch-js.dev './src/./'"))
[dispatch.dev] synchronised (file:///Users/mac1000/src)
dispatch is now pinned to file:///Users/mac1000/src (version dev)
[dispatch-js.dev] synchronised (file:///Users/mac1000/src)
dispatch-js is now pinned to file:///Users/mac1000/src (version dev)
2024-05-15 05:51.33 ---> saved as "52de1a40a3e22b927f11042ba74fb04cefa06d5ca11d64521120263f89f46f1f"


/: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 gen.1.1 js_of_ocaml.5.8.1 js_of_ocaml-compiler.5.8.1 js_of_ocaml-lwt.5.8.1 js_of_ocaml-ppx.5.8.1 lwt.5.7.0 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 sedlex.3.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.1.2")


/: (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 dispatch.dev dispatch-js.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dispatch.dev] synchronised (no changes)
[dispatch-js.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-05-15 05:52.05 ---> saved as "645c584467b3b45ae127baf990862b124474f63eda4139cea41f700529a64685"


/: (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 dune                 3.15.2
  - install cmdliner             1.2.0
  - install ocamlfind            1.9.6
  - install seq                  base
  - install stdlib-shims         0.3.0
  - install sexplib0             v0.17.0
  - install ppx_derivers         1.2.1
  - install ocaml-syntax-shims   1.0.0
  - install ocaml-compiler-libs  v0.12.4
  - install menhirSdk            20231231
  - install menhirLib            20231231
  - install menhirCST            20231231
  - install csexp                1.5.2
  - install cppo                 1.6.9
  - install topkg                1.0.7
  - install base-bytes           base
  - install re                   1.11.0
  - install gen                  1.1
  - install ppxlib               0.32.1
  - install menhir               20231231
  - install dune-configurator    3.15.2
  - install yojson               2.1.2
  - install uutf                 1.0.3
  - install fmt                  0.9.0
  - install astring              0.8.5
  - install ocplib-endian        1.2
  - install sedlex               3.2
  - install alcotest             1.7.0
  - install lwt                  5.7.0
  - install js_of_ocaml-compiler 5.8.1
  - install js_of_ocaml          5.8.1
  - install js_of_ocaml-ppx      5.8.1
  - install js_of_ocaml-lwt      5.8.1
===== 34 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved js_of_ocaml.5.8.1  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> retrieved js_of_ocaml-compiler.5.8.1  (cached)
-> retrieved js_of_ocaml-lwt.5.8.1  (cached)
-> retrieved js_of_ocaml-ppx.5.8.1  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved menhir.20231231  (cached)
-> retrieved menhirCST.20231231  (cached)
-> retrieved menhirLib.20231231  (cached)
-> retrieved menhirSdk.20231231  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.32.1  (cached)
-> retrieved re.1.11.0  (cached)
-> installed seq.base
-> retrieved sedlex.3.2  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved yojson.2.1.2  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed re.1.11.0
-> installed ppx_derivers.1.2.1
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed menhirSdk.20231231
-> installed menhirLib.20231231
-> installed menhirCST.20231231
-> installed gen.1.1
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed alcotest.1.7.0
-> installed dune-configurator.3.15.2
-> installed yojson.2.1.2
-> installed lwt.5.7.0
-> installed ppxlib.0.32.1
-> installed menhir.20231231
-> installed sedlex.3.2
-> installed js_of_ocaml-compiler.5.8.1
-> installed js_of_ocaml.5.8.1
-> installed js_of_ocaml-ppx.5.8.1
-> installed js_of_ocaml-lwt.5.8.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-15 05:55.24 ---> saved as "f7497d76b6488d60727c766d6293ba29eed11c81e013f6e37d9a9c66e72cce7c"


/: (copy (src .) (dst ./src))
2024-05-15 05:55.26 ---> saved as "9b2cfd390d103feb49ef4874627f20e0ca7ac6511dc6bf1f1851c05ef9fea66e"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "lib/dune", line 5, characters 12-18:
5 |  (libraries result))
                ^^^^^^
Error: Library "result" not found.
-> required by library "dispatch" in _build/default/lib
-> required by _build/default/lib/.dispatch.objs/byte/dispatch.cmi
-> required by alias lib/check
File "js/dune", line 5, characters 37-43:
5 |  (libraries dispatch js_of_ocaml-lwt result))
                                         ^^^^^^
Error: Library "result" not found.
-> required by library "dispatch-js" in _build/default/js
-> required by _build/default/js/.dispatch_js.objs/byte/dispatch_js.cmi
-> required by alias js/check
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-15 05:55.33: Job failed: Failed: Build failed