2024-04-14 13:02.38: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/123/head (f6300036beaa4172576f5e52c584b2892c98a191) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/123/head" && git reset --hard f6300036
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
# debian-12-4.03_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqlgg.opam ./
RUN opam pin add -yn sqlgg.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.03+1 conf-m4.1 conf-which.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dune.2.0.1 extlib.1.5.3 jbuilder.1.0+beta10 menhir.20120123 mybuild.1 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_deriving.3.3 ppx_tools.4.03.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y sqlgg.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-04-14 13:02.38: Using cache hint "ygrek/sqlgg-ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea-debian-12-4.03_opam-2.1-c99128c8fcef7859de44811b38b210ae"
2024-04-14 13:02.38: Using OBuilder spec:
((from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
(comment debian-12-4.03_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sqlgg.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sqlgg.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.03+1 conf-m4.1 conf-which.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dune.2.0.1 extlib.1.5.3 jbuilder.1.0+beta10 menhir.20120123 mybuild.1 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_deriving.3.3 ppx_tools.4.03.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y sqlgg.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-04-14 13:02.38: Waiting for resource in pool OCluster
2024-04-14 13:02.42: Waiting for worker…
2024-04-14 13:02.42: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at f630003 Make tests failure
(from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
Unable to find image 'ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea' locally
docker.io/ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea: Pulling from ocaml/opam
21f5e8b9f232: Pulling fs layer
21f5e8b9f232: Verifying Checksum
21f5e8b9f232: Download complete
21f5e8b9f232: Pull complete
Digest: sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Status: Downloaded newer image for ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
2024-04-14 13:04.31 ---> saved as "5e746ce75e4437cb8305c3242b0b72bc201345168ee5141ebd6738538e1ece83"
/: (comment debian-12-4.03_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-14 13:04.31 ---> saved as "17730712d481f6de6d87f039733a29f54bc236fb415a7ed1b4487ab1828fae07"
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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 /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-14 13:05.49 ---> saved as "0daf33aedad7fb282aaac6c7833940bdb15b54d88d76fff8c6981e24105988f0"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-102-generic
The OCaml toplevel, version 4.03.0
2.1.5
2024-04-14 13:05.49 ---> saved as "8ba57746c1588e360057937b5f9571685bd8a781186d299d6c3ac306404d108c"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-14 13:05.49 ---> saved as "8a972db9ab987a0f7ac5a95a1c0017fef21f56ba02eb320ff0446f680f19bec7"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u"))
58906d6837 conf-m4: add FreeBSD comment
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
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-14 13:06.54 ---> saved as "d397ee377ed232d771410c53b796875964778faaf257d33b4fc440061c79c813"
/src: (copy (src sqlgg.opam) (dst ./))
2024-04-14 13:06.54 ---> saved as "9f99458a89490d701fa92f0a891b0e93f0bf8da1c3619f522071fef5dcecd314"
/src: (run (network host)
(shell "opam pin add -yn sqlgg.dev './'"))
[sqlgg.dev] synchronised (file:///src)
sqlgg is now pinned to file:///src (version dev)
2024-04-14 13:06.56 ---> saved as "faf76af61aa71bc4ffd023a4bebfce8d3eb105a31370c9c70c5082e762671f43"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.03+1 conf-m4.1 conf-which.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dune.2.0.1 extlib.1.5.3 jbuilder.1.0+beta10 menhir.20120123 mybuild.1 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_deriving.3.3 ppx_tools.4.03.0")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y sqlgg.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [151 kB]
- Fetched 255 kB in 0s (1055 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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 system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
2024-04-14 13:07.13 ---> saved as "6e2e7e089fdba4b13e0690291b5b5cdff478d8e8e32b695528b6293d4b4cc59f"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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 conf-m4 1
- install ocamlbuild 0.9.0
- install conf-which 1
- downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
- install ocamlfind 1.8.1
- install camlp4 4.03+1
- install ppx_tools 4.03.0
- install ocamlfind-secondary 1.8.1
- install mybuild 1
- install menhir 20120123
- install jbuilder 1.0+beta10
- install base-bytes base
- install ounit 1.1.2
- install extlib 1.5.3
- install dune 2.0.1
- install cppo 1.6.0
- install cppo_ocamlbuild 1.6.0
- install ppx_deriving 3.3
===== 17 to install | 1 to downgrade =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved cppo.1.6.0 (https://github.com/mjambon/cppo/archive/v1.6.0.tar.gz)
-> retrieved camlp4.4.03+1 (https://github.com/ocaml/camlp4/archive/4.03+1.tar.gz)
-> retrieved cppo_ocamlbuild.1.6.0 (https://github.com/mjambon/cppo/archive/v1.6.0.tar.gz)
-> retrieved extlib.1.5.3 (http://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ocaml-extlib/extlib-1.5.3.tar.gz)
-> retrieved dune.2.0.1 (cached)
-> retrieved menhir.20120123 (http://cristal.inria.fr/~fpottier/menhir/menhir-20120123.tar.gz)
-> retrieved ocaml-secondary-compiler.4.08.1 (cached)
-> retrieved ocamlbuild.0.9.0 (cached)
-> retrieved jbuilder.1.0+beta10 (https://github.com/janestreet/jbuilder/releases/download/1.0+beta10/jbuilder-1.0.beta10.tbz)
-> retrieved mybuild.1 (https://github.com/ygrek/mybuild/archive/v1.tar.gz)
-> retrieved ocamlfind.1.8.1 (cached)
-> retrieved ocamlfind-secondary.1.8.1 (cached)
-> retrieved ounit.1.1.2 (cached)
-> retrieved ppx_tools.4.03.0 (https://github.com/alainfrisch/ppx_tools/archive/v4.03.0.tar.gz)
-> retrieved ppx_deriving.3.3 (https://github.com/whitequark/ppx_deriving/archive/v3.3.tar.gz)
-> installed ocamlbuild.0.9.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed menhir.20120123
-> installed jbuilder.1.0+beta10
-> installed mybuild.1
-> installed ppx_tools.4.03.0
-> installed cppo.1.6.0
-> installed cppo_ocamlbuild.1.6.0
-> installed ppx_deriving.3.3
-> installed camlp4.4.03+1
-> installed ounit.1.1.2
-> installed extlib.1.5.3
-> removed ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.0.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-14 13:11.10 ---> saved as "e538770e6e07a1ae5696277a76cfdb795d31d6907530607443e224a1bcf8850d"
/src: (copy (src .) (dst /src))
2024-04-14 13:11.11 ---> saved as "7ba4ce1a0d980c40d59a160d03a791b74a099fa46d28ba239bb55e853018d071"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "lib/dune", line 8, characters 14-36:
8 | (preprocess (pps ppx_deriving.std))
^^^^^^^^^^^^^^^^^^^^^^
Error: No ppx driver were found. It seems that ppx_deriving.std is not
compatible with Dune. Examples of ppx rewriters that are compatible with Dune
are ones using ocaml-migrate-parsetree, ppxlib or ppx_driver.
File "src/dune", line 22, characters 14-36:
22 | (preprocess (pps ppx_deriving.std))
^^^^^^^^^^^^^^^^^^^^^^
Error: No ppx driver were found. It seems that ppx_deriving.std is not
compatible with Dune. Examples of ppx rewriters that are compatible with Dune
are ones using ocaml-migrate-parsetree, ppxlib or ppx_driver.
File "src/dune", line 5, characters 13-35:
5 | (preprocess (pps ppx_deriving.std)))
^^^^^^^^^^^^^^^^^^^^^^
Error: No ppx driver were found. It seems that ppx_deriving.std is not
compatible with Dune. Examples of ppx rewriters that are compatible with Dune
are ones using ocaml-migrate-parsetree, ppxlib or ppx_driver.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-14 13:11.12: Job failed: Failed: Build failed