2024-05-12 08:56.04: New job: test ocaml-community/lambda-term https://github.com/ocaml-community/lambda-term.git#refs/heads/master (fff4390f94094746be8a49ed5af8da9c2ae2cb1f) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
ocamlformat version: none
To reproduce locally:
git clone --recursive "https://github.com/ocaml-community/lambda-term.git" -b "master" && cd "lambda-term" && git reset --hard fff4390f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
USER 1000:1000
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
RUN opam depext -i dune
WORKDIR /src
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-12 08:56.04: Using cache hint "ocaml-community/lambda-term-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-ocamlformat-307e33d08fc4ccc1ea453ab45b0ead8ed574b97b"
2024-05-12 08:56.04: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
(user (uid 1000) (gid 1000))
(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"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i dune"))
(workdir /src)
(copy (src .) (dst /src/))
(run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)
2024-05-12 08:56.04: Waiting for resource in pool OCluster
2024-05-12 08:56.04: Waiting for worker…
2024-05-12 08:59.38: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at fff4390 fix the maintainer field
(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-12 09:20.05 ---> using "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe" from cache
/: (user (uid 1000) (gid 1000))
/: (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..fec8ff50cd master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
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-12 09:20.05 ---> using "7a9e50f2cda6a477fecf9feb19820cff5cf752694490b969013ec5cc497c2763" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i dune"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages
The following actions will be performed:
- install dune 3.15.2
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.15.2] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-12 09:20.05 ---> using "da0ef2a22593619ca89bdb7c851c410681f2b8fe60d8d94466f5cedadddd8593" from cache
/: (workdir /src)
/src: (copy (src .) (dst /src/))
2024-05-12 09:20.05 ---> saved as "6f1ed6634cf1ac157ab1ddcd1df5679f3fe9048cb68b2b8249cb260e15f68b7c"
/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
Error: Program ocamlformat not found in the tree or in PATH
(context: default)
-> required by _build/default/src/config/.formatted/gen.ml
-> required by alias src/config/.formatted/fmt
-> required by alias src/config/fmt
File "man/dune", line 1, characters 0-0:
diff --git a/_build/default/man/dune b/_build/default/man/.formatted/dune
index 123ea6a..ccaac24 100644
--- a/_build/default/man/dune
+++ b/_build/default/man/.formatted/dune
@@ -1,4 +1,3 @@
(install
(section man)
- (files lambda-term-actions.1
- lambda-term-inputrc.5))
+ (files lambda-term-actions.1 lambda-term-inputrc.5))
File "dune", line 1, characters 0-0:
diff --git a/_build/default/dune b/_build/default/.formatted/dune
index e1079d0..0fe9465 100644
--- a/_build/default/dune
+++ b/_build/default/.formatted/dune
@@ -1,7 +1,8 @@
(install
- (section share_root)
- (files lambda-term-inputrc lambda-termrc))
+ (section share_root)
+ (files lambda-term-inputrc lambda-termrc))
(alias
(name examples)
- (deps (alias examples/all)))
+ (deps
+ (alias examples/all)))
File "src/dune", line 1, characters 0-0:
diff --git a/_build/default/src/dune b/_build/default/src/.formatted/dune
index 82edd29..e6c99bc 100644
--- a/_build/default/src/dune
+++ b/_build/default/src/.formatted/dune
@@ -1,24 +1,30 @@
(library
- (name lambda_term)
- (public_name lambda-term)
- (wrapped false)
- (libraries logs logs.lwt lwt lwt.unix lwt_react zed mew_vi uucp)
- (flags (:standard -safe-string))
- (synopsis "Cross-platform library for terminal manipulation")
- (c_library_flags (:standard (:include c_library_flags)))
- (foreign_stubs
- (language c)
- (names lTerm_term_stubs lTerm_unix_stubs lTerm_windows_stubs)
- (flags
- (:standard
- (:include c_flags)))))
+ (name lambda_term)
+ (public_name lambda-term)
+ (wrapped false)
+ (libraries logs logs.lwt lwt lwt.unix lwt_react zed mew_vi uucp)
+ (flags
+ (:standard -safe-string))
+ (synopsis "Cross-platform library for terminal manipulation")
+ (c_library_flags
+ (:standard
+ (:include c_library_flags)))
+ (foreign_stubs
+ (language c)
+ (names lTerm_term_stubs lTerm_unix_stubs lTerm_windows_stubs)
+ (flags
+ (:standard
+ (:include c_flags)))))
(ocamllex lTerm_inputrc lTerm_resource_lexer)
(rule
- (targets c_flags c_library_flags lTerm_config.h)
- (deps ocamlc-config)
- (action (run %{ocaml} %{dep:config/gen.ml})))
+ (targets c_flags c_library_flags lTerm_config.h)
+ (deps ocamlc-config)
+ (action
+ (run %{ocaml} %{dep:config/gen.ml})))
(rule
- (with-stdout-to ocamlc-config (run %{ocamlc} -config)))
+ (with-stdout-to
+ ocamlc-config
+ (run %{ocamlc} -config)))
File "examples/dune", line 1, characters 0-0:
diff --git a/_build/default/examples/dune b/_build/default/examples/.formatted/dune
index 5e7152a..3ff7e7a 100644
--- a/_build/default/examples/dune
+++ b/_build/default/examples/.formatted/dune
@@ -1,31 +1,34 @@
(executables
- (names double_editor
- events
- colors
- colors_256
- rgb
- move
- hello
- clock
- buttons
- focus
- scroll
- scroll_debug
- checkbuttons
- radiobuttons
- shell
- repl
- modal
- read_password
- read_yes_no
- editor)
+ (names
+ double_editor
+ events
+ colors
+ colors_256
+ rgb
+ move
+ hello
+ clock
+ buttons
+ focus
+ scroll
+ scroll_debug
+ checkbuttons
+ radiobuttons
+ shell
+ repl
+ modal
+ read_password
+ read_yes_no
+ editor)
(libraries lambda-term str)
(flags :standard -safe-string))
(alias
(name all)
- (deps (glob_files *.exe)))
+ (deps
+ (glob_files *.exe)))
(alias
(name all.bc)
- (deps (glob_files *.bc)))
+ (deps
+ (glob_files *.bc)))
dune build @fmt failed
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)" failed with exit status 2
2024-05-12 09:20.07: Job failed: Failed: Build failed