Organisationsnomadic-labsocaml-secp256k1-internal208f16 ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-11-15 21:02.51: New job: test nomadic-labs/ocaml-secp256k1-internal https://gitlab.com/nomadic-labs/ocaml-secp256k1-internal.git#refs/heads/master (208f167fd87140ab282bca93d23d84884e0d531b) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24
ocamlformat version: version 0.18.0 (from opam)


To reproduce locally:


git clone --recursive "https://gitlab.com/nomadic-labs/ocaml-secp256k1-internal.git" -b "master" && cd "ocaml-secp256k1-internal" && git reset --hard 208f167f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 || git fetch origin master) && git reset -q --hard ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 && git log --no-decorate -n1 --oneline && opam update -u
RUN opam depext -i dune
WORKDIR /src
RUN opam depext -i ocamlformat=0.18.0
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-11-15 21:02.51: Using cache hint "nomadic-labs/ocaml-secp256k1-internal-ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24-debian-12-4.08_opam-2.2-ocamlformat-ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3"
2024-11-15 21:02.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24)
(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 ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 || git fetch origin master) && git reset -q --hard ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 && 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)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i ocamlformat=0.18.0"))
(copy (src .) (dst /src/))
(run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)


2024-11-15 21:02.51: Waiting for resource in pool OCluster
2024-11-15 21:02.51: Waiting for worker…
2024-11-15 21:02.51: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at 208f167 change ci


(from ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24' locally
docker.io/ocaml/opam@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24: Pulling from ocaml/opam
597f968e1a3d: Pulling fs layer
597f968e1a3d: Waiting
597f968e1a3d: Verifying Checksum
597f968e1a3d: Download complete
597f968e1a3d: Pull complete
Digest: sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24
Status: Downloaded newer image for ocaml/opam@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24
2024-11-15 21:06.47 ---> saved as "f627723f0567fbe859aaa83b4e57117dd6ce518904a3cabd0bb5de9ad710168b"


/: (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 ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 || git fetch origin master) && git reset -q --hard ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 && git log --no-decorate -n1 --oneline && opam update -u"))
ed8a57d12c Merge pull request #26441 from fpottier/opam-publish-cppo.1.7.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security 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-11-15 21:07.45 ---> saved as "916e4f74157d0cfa1a516c5161bd12781c3007c64a91b22867b7c4a6b422dd24"


/: (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.16.0


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.16.0] found in cache


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-15 21:08.51 ---> saved as "f09380a78a740064c6fd604602b8467276b0e2abbdda51541b69c306589a5890"


/: (workdir /src)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i ocamlformat=0.18.0"))
# 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:
- downgrade dune                    3.16.0 to 2.9.3 [required by ocamlformat]
- install   ocamlbuild              0.15.0          [required by fpath, uuseg]
- install   ocamlfind               1.9.6           [required by fpath, uuseg]
- install   seq                     base            [required by tyxml]
- install   cmdliner                1.3.0           [required by ocamlformat]
- install   stdlib-shims            0.3.0           [required by ppxlib]
- install   sexplib0                v0.14.0         [required by base, ppxlib]
- install   result                  1.5             [required by odoc]
- install   ppx_derivers            1.2.1           [required by ppxlib]
- install   ocaml-version           3.5.0           [required by ocamlformat]
- install   ocaml-migrate-parsetree 2.4.0           [required by ppxlib]
- install   ocaml-compiler-libs     v0.12.4         [required by ppxlib]
- install   menhirSdk               20240715        [required by ocamlformat]
- install   menhirLib               20240715        [required by ocamlformat]
- install   menhirCST               20240715        [required by menhir]
- install   fix                     20230505        [required by ocamlformat]
- install   dune-build-info         2.9.3           [required by ocamlformat]
- install   csexp                   1.5.1           [required by dune-configurator]
- install   cppo                    1.7.0           [required by odoc]
- install   topkg                   1.0.7           [required by fpath, uuseg]
- install   re                      1.11.0          [required by ocamlformat]
- install   ppxlib                  0.22.2          [required by ocamlformat]
- install   menhir                  20240715        [required by ocamlformat]
- install   dune-configurator       2.9.3           [required by base]
- install   uutf                    1.0.3           [required by ocamlformat]
- install   astring                 0.8.5           [required by fpath, odoc]
- install   base                    v0.14.3         [required by ocamlformat]
- install   uucp                    15.0.0          [required by uuseg]
- install   tyxml                   4.6.0           [required by odoc]
- install   fpath                   0.7.3           [required by ocamlformat]
- install   stdio                   v0.14.0         [required by ocamlformat]
- install   uuseg                   15.0.0          [required by ocamlformat]
- install   odoc                    1.5.3           [required by ocamlformat]
- install   ocamlformat             0.18.0
===== 33 to install | 1 to downgrade =====


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[base.v0.14.3] found in cache
[cmdliner.1.3.0] found in cache
[cppo.1.7.0] found in cache
[csexp.1.5.1] found in cache
[dune.2.9.3] found in cache
[dune-build-info.2.9.3] found in cache
[dune-configurator.2.9.3] found in cache
[fix.20230505] found in cache
[fpath.0.7.3] found in cache
[menhir.20240715] found in cache
[menhirCST.20240715] found in cache
[menhirLib.20240715] found in cache
[menhirSdk.20240715] found in cache
[ocaml-compiler-libs.v0.12.4] found in cache
[ocaml-migrate-parsetree.2.4.0] found in cache
[ocaml-version.3.5.0] found in cache
[ocamlbuild.0.15.0] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlformat.0.18.0] found in cache
[odoc.1.5.3] found in cache
[ppx_derivers.1.2.1] found in cache
[ppxlib.0.22.2] found in cache
[re.1.11.0] found in cache
[result.1.5] found in cache
[sexplib0.v0.14.0] found in cache
[stdio.v0.14.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.0.7] found in cache
[tyxml.4.6.0] found in cache
[uucp.15.0.0] found in cache
[uuseg.15.0.0] found in cache
[uutf.1.0.3] found in cache


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> removed   dune.3.16.0
-> installed dune.2.9.3
-> installed topkg.1.0.7
-> installed csexp.1.5.1
-> installed dune-build-info.2.9.3
-> installed fix.20230505
-> installed cppo.1.7.0
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-migrate-parsetree.2.4.0
-> installed ocaml-version.3.5.0
-> installed ppx_derivers.1.2.1
-> installed re.1.11.0
-> installed result.1.5
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> installed astring.0.8.5
-> installed uutf.1.0.3
-> installed dune-configurator.2.9.3
-> installed fpath.0.7.3
-> installed tyxml.4.6.0
-> installed base.v0.14.3
-> installed odoc.1.5.3
-> installed stdio.v0.14.0
-> installed menhir.20240715
-> installed ppxlib.0.22.2
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed ocamlformat.0.18.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-15 21:10.15 ---> saved as "fb0e48c5ec2eb094e4627d6a97b21fcd9e7951452e151f440351839df5d99273"


/src: (copy (src .) (dst /src/))
2024-11-15 21:10.15 ---> saved as "47e62035cc2cdbc93990afb16b28ed39445484aa64475ffdb4f7a44fca0625a0"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-11-15 21:10.16 ---> saved as "dc292b5c0344affeadcbfea836d1224885046250cf09c9003ca35a27e00e60b1"
Job succeeded
2024-11-15 21:10.17: Job succeeded