OrganisationsMisterDAwindows-version1994f5 (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-11-03 23:17.11: New job: test MisterDA/windows-version https://github.com/MisterDA/windows-version.git#refs/heads/main (1994f53476c9203ee587ea28e421dc8d1cde74bf) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/MisterDA/windows-version.git" -b "main" && cd "windows-version" && git reset --hard 1994f534
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c
# debian-12-4.04_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 windows-version.opam ./
RUN opam pin add -yn windows-version.dev './'
ENV DEPS="astring.0.8.0 base.v0.12.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dune.2.9.1 fmt.0.7.0 jbuilder.1.0+beta10 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ppx_derivers.1.0 ppx_deriving.3.3 ppx_sexp_conv.v0.12.0 ppx_tools.5.0 ppxlib.0.5.0 result.1.0 sexplib0.v0.12.0 stdio.v0.12.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y windows-version.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-11-03 23:17.11: Using cache hint "MisterDA/windows-version-ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c-debian-12-4.04_opam-2.2-b99a907f0865a35af4c2bb619d5831be"
2024-11-03 23:17.11: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c)
(comment debian-12-4.04_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src windows-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
(env DEPS "astring.0.8.0 base.v0.12.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dune.2.9.1 fmt.0.7.0 jbuilder.1.0+beta10 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ppx_derivers.1.0 ppx_deriving.3.3 ppx_sexp_conv.v0.12.0 ppx_tools.5.0 ppxlib.0.5.0 result.1.0 sexplib0.v0.12.0 stdio.v0.12.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.2 --depext-only -y windows-version.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-11-03 23:17.11: Waiting for resource in pool OCluster
2024-11-03 23:17.12: Waiting for worker…
2024-11-03 23:17.36: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at 1994f53 Initial import from ocaml-dockerfile


(from ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c)
2024-11-03 23:17.36 ---> using "cde1dbc7f05097470c7405ff4e8660d8ad301e5f5ecd15e45006ac1a889e5a5d" from cache


/: (comment debian-12-4.04_opam-2.2)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-11-03 23:17.36 ---> using "5381a38470ba11abec03714fcef09685899a7b005532a91360985fb2ede7072f" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-03 23:18.06 ---> saved as "d450578f5065bc3adebb2180f87ee5087ba0e73a071fa21ad20595d1c21887ce"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.04.2
2.2.1
2024-11-03 23:18.06 ---> saved as "42a6c8cb290c8bfe714bb365ef35ebd2a0decdb70d3e36c0e4d398e378866d72"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-03 23:18.06 ---> saved as "8622795eb9a3d4638a9a21f12adb22404844184a0ac918a7e7a7d625271711d0"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
4ffa00429a..c470931d04  master     -> origin/master
28daeff6f3 Merge pull request #26814 from mtelvers/m4


<><> 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-11-03 23:19.23 ---> saved as "0c177da51ce3c7c1e740f9a17d24e789e0fd10355ff3880bebeef6a8afd74827"


/src: (copy (src windows-version.opam) (dst ./))
2024-11-03 23:19.23 ---> saved as "345f18780f94faaa32d069463253d7e5c66b309fe6b882341f27ffb37c1f1a24"


/src: (run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
Package windows-version does not exist, create as a NEW package? [y/n] y
[windows-version.dev] synchronised (file:///src)
windows-version is now pinned to file:///src (version dev)
2024-11-03 23:19.25 ---> saved as "eae226c834cd557e619a792fb47b9899ca7cfcce581e28f15f520607f0772be7"


/src: (env DEPS "astring.0.8.0 base.v0.12.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dune.2.9.1 fmt.0.7.0 jbuilder.1.0+beta10 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ppx_derivers.1.0 ppx_deriving.3.3 ppx_sexp_conv.v0.12.0 ppx_tools.5.0 ppxlib.0.5.0 result.1.0 sexplib0.v0.12.0 stdio.v0.12.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.2 --depext-only -y windows-version.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 [190 kB]
- Fetched 293 kB in 0s (1155 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[windows-version.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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-11-03 23:19.53 ---> saved as "4f1f400377acbbec618e8d1aee644706d0734409ed4902fea330466a5c007440"


/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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:
=== downgrade 1 package
- downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 22 packages
- install   astring                  0.8.0
- install   base                     v0.12.0
- install   base-bytes               base
- install   conf-m4                  1
- install   cppo                     1.6.0
- install   cppo_ocamlbuild          1.6.0
- install   dune                     2.9.1
- install   fmt                      0.7.0
- install   jbuilder                 1.0+beta10
- install   ocaml-compiler-libs      v0.12.0
- install   ocaml-migrate-parsetree  1.2.0 (deprecated)
- install   ocamlbuild               0.9.1
- install   ocamlfind                1.8.1
- install   ocamlfind-secondary      1.8.1
- install   ppx_derivers             1.0
- install   ppx_deriving             3.3
- install   ppx_sexp_conv            v0.12.0
- install   ppx_tools                5.0
- install   ppxlib                   0.5.0
- install   result                   1.0
- install   sexplib0                 v0.12.0
- install   stdio                    v0.12.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.0  (cached)
-> retrieved base.v0.12.0  (cached)
-> retrieved cppo.1.6.0, cppo_ocamlbuild.1.6.0  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.7.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.0  (cached)
-> retrieved jbuilder.1.0+beta10  (cached)
-> retrieved dune.2.9.1  (cached)
-> retrieved ocaml-migrate-parsetree.1.2.0  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_deriving.3.3  (cached)
-> retrieved ppx_sexp_conv.v0.12.0  (cached)
-> retrieved ppx_tools.5.0  (cached)
-> retrieved ppxlib.0.5.0  (cached)
-> retrieved result.1.0  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdio.v0.12.0  (cached)
-> installed result.1.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed fmt.0.7.0
-> installed ppx_tools.5.0
-> installed astring.0.8.0
-> installed jbuilder.1.0+beta10
-> installed ppx_derivers.1.0
-> installed cppo.1.6.0
-> installed cppo_ocamlbuild.1.6.0
-> installed ppx_deriving.3.3
-> removed   ocaml-secondary-compiler.4.14.2
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.9.1
-> installed sexplib0.v0.12.0
-> installed ocaml-compiler-libs.v0.12.0
-> installed ocaml-migrate-parsetree.1.2.0
-> installed base.v0.12.0
-> installed stdio.v0.12.0
-> installed ppxlib.0.5.0
-> installed ppx_sexp_conv.v0.12.0
Done.


<><> ocaml-migrate-parsetree.1.2.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# Run eval $(opam env) to update the current shell environment
2024-11-03 23:24.17 ---> saved as "da1da6af1ae7200b51f9009276961e5a854fcb31eeeb648542ed63fed3218a16"


/src: (copy (src .) (dst /src))
2024-11-03 23:24.17 ---> saved as "ef5cdae438d5bde46e9bcfdd2089fc7f39406df40e8bb7877f6644727d4703c6"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
ocamlc .windows_version.objs/byte/windows_version.{cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.04/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I .windows_version.objs/byte -I /home/opam/.opam/4.04/lib/astring -I /home/opam/.opam/4.04/lib/bytes -I /home/opam/.opam/4.04/lib/fmt -I /home/opam/.opam/4.04/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.04/lib/sexplib0 -intf-suffix .ml -no-alias-deps -opaque -o .windows_version.objs/byte/windows_version.cmo -c -impl windows_version.pp.ml)
File "windows_version.ml", line 205, characters 10-25:
Error: Unbound value Fmt.invalid_arg
ocamlopt .windows_version.objs/native/windows_version.{cmx,o} (exit 2)
(cd _build/default && /home/opam/.opam/4.04/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I .windows_version.objs/byte -I .windows_version.objs/native -I /home/opam/.opam/4.04/lib/astring -I /home/opam/.opam/4.04/lib/bytes -I /home/opam/.opam/4.04/lib/fmt -I /home/opam/.opam/4.04/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.04/lib/sexplib0 -intf-suffix .ml -no-alias-deps -opaque -o .windows_version.objs/native/windows_version.cmx -c -impl windows_version.pp.ml)
File "windows_version.ml", line 205, characters 10-25:
Error: Unbound value Fmt.invalid_arg
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-11-03 23:24.18: Job failed: Failed: Build failed