2024-05-10 16:15.13: New job: test tmcgilchrist/bondi https://github.com/tmcgilchrist/bondi.git#refs/heads/master (2e09e5d63dd570093921e517411b7118cd618e2a) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/tmcgilchrist/bondi.git" -b "master" && cd "bondi" && git reset --hard 2e09e5d6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
# debian-12-4.08_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bondi.opam ./
RUN opam pin add -yn bondi.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.2.9.1 menhir.20160303 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y bondi.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-05-10 16:15.13: Using cache hint "tmcgilchrist/bondi-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-185b950ef06f472711cc5d5d0fb0669b"
2024-05-10 16:15.13: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
(comment debian-12-4.08_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src bondi.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn bondi.dev './'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.2.9.1 menhir.20160303 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.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 bondi.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-05-10 16:15.13: Waiting for resource in pool OCluster
2024-05-11 09:56.36: Waiting for worker…
2024-05-11 10:01.54: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/bondi.git-844b617f608f1a014c449f1100bda20d8f7742dd/.git/
HEAD is now at 2e09e5d Merge pull request #4 from tmcgilchrist/update-ocamlformat
(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-11 10:01.55 ---> using "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe" from cache
/: (comment debian-12-4.08_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-05-11 10:01.55 ---> using "646bc87e0f57317c5ebf610ed55d499e1a9858c6afbb70f9b3c1442beb0c0bc7" from cache
/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-05-11 10:03.01 ---> saved as "3efe606a65f6fe7269ee6813ddd2fa2c2714f24a04a227ae5fb5c7db864c4c57"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-05-11 10:03.01 ---> saved as "6225fba4323f2de754e24da77b187b22e091a3b5bdd8f66c82092a9cc9863ec9"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 10:03.01 ---> saved as "35c4353ebc362a36ebb5c4ac3584cadf9893526dc08b896ef76d9b395ed9c850"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..2ae169d7d0 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> 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-05-11 10:04.22 ---> saved as "167082e53e3e0b5c6101e17be718ec3e4c289917b8e1d14e9b0bc7b95515b5c7"
/src: (copy (src bondi.opam) (dst ./))
2024-05-11 10:04.22 ---> saved as "bdbcd92ebb8aae87a6d25d096591d046170821c9cee640294877a0bbb63fa0a4"
/src: (run (network host)
(shell "opam pin add -yn bondi.dev './'"))
Package bondi does not exist, create as a NEW package? [Y/n] y
[bondi.dev] synchronised (file:///src)
bondi is now pinned to file:///src (version dev)
2024-05-11 10:04.24 ---> saved as "de7b871401fe8ec8cbffccc5202d00a0c5674ddb03495b3cf597f88bb0387bee"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.2.9.1 menhir.20160303 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.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 bondi.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 [155 kB]
- Fetched 258 kB in 0s (926 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bondi.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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-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-05-11 10:04.46 ---> saved as "3d02659d804488a87a2b6da76f28a42221bcfbfde20c8ad20175bd327301cca6"
/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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-bigarray is already installed (current version is base).
The following actions will be performed:
- install dune 2.9.1
- install ocamlbuild 0.14.0
- install conf-m4 1
- install ocamlfind 1.8.0
- install menhir 20160303
===== 5 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved menhir.20160303 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> installed conf-m4.1
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved dune.2.9.1 (https://github.com/ocaml/dune/releases/download/2.9.1/dune-2.9.1.tbz)
-> installed ocamlfind.1.8.0
-> installed ocamlbuild.0.14.0
-> installed dune.2.9.1
-> installed menhir.20160303
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 10:06.06 ---> saved as "a3f756ea24a89be29a493d2ce0b8030aebf8acb492789232af497f8722f7f0cc"
/src: (copy (src .) (dst /src))
2024-05-11 10:06.06 ---> saved as "62fdd6074e1f9b02b8dcd99e8e7a70562ed5f6032aa9f6989e45433ef4049ed3"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
menhir src/parse__mock.ml.mock (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/menhir src/parse.mly --base src/parse --infer-write-query src/parse__mock.ml.mock)
/home/opam/.opam/4.08/bin/menhir: unknown option '--infer-write-query'.
Usage: /home/opam/.opam/4.08/bin/menhir <options> <filenames>
--base <basename> Specifies a base name for the output file(s)
--canonical Construct a canonical Knuth LR(1) automaton
--comment Include comments in the generated code
--compare-errors <filename> (used twice) Compare two .messages files.
--compile-errors <filename> Compile a .messages file to OCaml code.
--coq Generate a formally verified parser, in Coq
--coq-no-complete Do not generate a proof of completeness
--coq-no-actions Ignore semantic actions in the Coq output
--depend Invoke ocamldep and display dependencies
--dump Describe the automaton in <basename>.automaton
--echo-errors <filename> Echo the sentences in a .messages file
--error-recovery (no longer supported)
--explain Explain conflicts in <basename>.conflicts
--external-tokens <module> Import token type definition from <module>
--fixed-exception Declares Error = Parsing.Parse_error
--follow-construction (undocumented)
--graph Write grammar's dependency graph to <basename>.dot
--infer Invoke ocamlc for ahead of time type inference
--inspection Generate the inspection API (requires --table)
--interpret Interpret the sentences provided on stdin
--interpret-show-cst Show a concrete syntax tree upon acceptance
--interpret-error Interpret one sentence that should end in an error
--lalr Construct an LALR(1) automaton
--list-errors Produce a list of erroneous inputs
--log-automaton <level> Log information about the automaton
--log-code <level> Log information about the generated code
--log-grammar <level> Log information about the grammar
--no-code-inlining (undocumented)
--no-inline Ignore the %inline keyword.
--no-pager (undocumented)
--no-prefix (undocumented)
--no-stdlib Do not load the standard library
--ocamlc <command> Specifies how ocamlc should be invoked
--ocamldep <command> Specifies how ocamldep should be invoked
--only-preprocess Print grammar and exit
--only-preprocess-u Print grammar with unit actions and exit
--only-preprocess-uu Print grammar with unit actions & tokens and exit
--only-tokens Generate token type definition only, no code
--raw-depend Invoke ocamldep and echo its raw output
--stdlib <directory> Specify where the standard library lies
--strict Warnings about the grammar are errors
--suggest-comp-flags Suggest compilation flags for ocaml{c,opt}
--suggest-link-flags-byte Suggest link flags for ocamlc
--suggest-link-flags-opt Suggest link flags for ocamlopt
--suggest-menhirLib Suggest where is MenhirLib
--suggest-ocamlfind Show whether Menhir was installed using ocamlfind
--table Use the table-based back-end
--timings Display internal timings
--trace Include tracing instructions in the generated code
--unused-token <token> Do not warn that <token> is unused
--unused-tokens Do not warn about any unused token
--update-errors <filename> Update auto-comments in a .messages file
--version Show version number and exit
-b <basename> Synonymous with --base <basename>
-lg Synonymous with --log-grammar
-la Synonymous with --log-automaton
-lc Synonymous with --log-code
-t Synonymous with --table
-v Synonymous with --dump --explain
-help Display this list of options
--help Display this list of options
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 10:06.07: Job failed: Failed: Build failed