Build:
  1. 1
  2. 0
2023-03-17 14:07.35: New job: Build Dockerfile using linux-x86_64 in
                                [https://github.com/ocurrent/ocurrent.org.git#refs/pull/26/head (7325328acdda4de1b843145c02da2ad3850cf669)]
2023-03-17 14:07.35: Using cache hint "https://github.com/ocurrent/ocurrent.org.git-Dockerfile"
2023-03-17 14:07.35: Waiting for resource in pool OCluster
2023-03-17 14:07.35: Waiting for worker…
2023-03-17 14:07.35: Got resource from pool OCluster
Building on cree.ocamllabs.io
All commits already cached
HEAD is now at 7325328 Support ocurrent.0.6.4
Sending build context to Docker daemon  2.395MB

Step 1/18 : FROM ocaml/opam:alpine-3.15-ocaml-4.14@sha256:7004b4b0443758ff0830c39a1af02090430e58890fc1f9e58433844ebd61d4d1 AS build
docker.io/ocaml/opam:alpine-3.15-ocaml-4.14@sha256:7004b4b0443758ff0830c39a1af02090430e58890fc1f9e58433844ebd61d4d1: Pulling from ocaml/opam
Digest: sha256:7004b4b0443758ff0830c39a1af02090430e58890fc1f9e58433844ebd61d4d1
Status: Image is up to date for ocaml/opam:alpine-3.15-ocaml-4.14@sha256:7004b4b0443758ff0830c39a1af02090430e58890fc1f9e58433844ebd61d4d1
 ---> 8c1e5d9fa186
Step 2/18 : COPY --chown=opam ./ocurrentorg.opam /src/ocurrentorg/
 ---> Using cache
 ---> af769253b086
Step 3/18 : RUN cd ~/opam-repository && git fetch origin -q master && git reset --hard a646deef8b76bc41d18d877032ab27d30bb8bc6b && opam update
 ---> Using cache
 ---> 5f141885cb63
Step 4/18 : RUN sudo apk update && sudo apk add gmp-dev graphviz libev-dev libffi-dev sqlite-dev
 ---> Using cache
 ---> ad2ef35a1cb0
Step 5/18 : WORKDIR /src/ocurrentorg
 ---> Using cache
 ---> 02bcbce7ff23
Step 6/18 : RUN opam-2.1 install . -y --deps-only
 ---> Using cache
 ---> bde430449a7f
Step 7/18 : COPY --chown=opam ./bin/* ./dune-project /src/ocurrentorg/
 ---> Using cache
 ---> 9d18181a2867
Step 8/18 : RUN opam-2.1 exec -- dune build _build/install/default/bin/watcher
 ---> Running in 17d1888175ce
File "main.ml", line 21, characters 29-40:
21 |     @--> Gh.webhook ~engine ~get_job_ids ~webhook_secret)
                                  ^^^^^^^^^^^
Error: The function applied to this argument has type
         has_role:(Current_web.User.t option -> Current_web.Role.t -> bool) ->
         < get_raw : Current_web.Site.t ->
                     Cohttp.Request.t ->
                     (Cohttp.Response.t * Cohttp_lwt.Body.t) Lwt.t;
           nav_link : string option;
           post_raw : Current_web.Site.t ->
                      Cohttp.Request.t ->
                      Cohttp_lwt.Body.t ->
                      (Cohttp.Response.t * Cohttp_lwt.Body.t) Lwt.t >
This argument cannot be applied with label ~get_job_ids
The command '/bin/sh -c opam-2.1 exec -- dune build _build/install/default/bin/watcher' returned a non-zero code: 1
docker-build failed with exit-code 1
2023-03-17 14:07.55: Job failed: Failed: Build failed