Organisationsocurrentocaml-version6d8d50 ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-11-18 14:00.51: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (6d8d50aa32ad0e6e994454377e618e41d87f7bea) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 6d8d50aa
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6
# debian-12-4.07_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 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
ENV DEPS="alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 dune.3.6.0 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 result.1.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ocaml-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-18 14:00.51: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6-debian-12-4.07_opam-2.2-f6e4d8e06c0f711d05ef2238535060a7"
2024-11-18 14:00.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6)
(comment debian-12-4.07_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 ocaml-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
(env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 dune.3.6.0 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 result.1.0 topkg.0.7.5")
(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 ocaml-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-18 14:00.51: Waiting for resource in pool OCluster
2024-11-18 14:00.51: Waiting for worker…
2024-11-18 14:01.18: Got resource from pool OCluster
Building on x86-bm-c11.sw.ocaml.org
All commits already cached
HEAD is now at 6d8d50a Merge pull request #77 from Octachron/ocaml-5.2.1


(from ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6)
2024-11-18 14:01.18 ---> using "f3c3a7c12e18aaf677f155f25c9548793c715f95e5ec72ca254027fddaf0c3b0" from cache


/: (comment debian-12-4.07_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-18 14:01.18 ---> using "d8b6da73efb94b6a11202d53b42ef44bc0eea3baf8d40fb0e15f7ac9d4cd77da" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-18 14:01.18 ---> using "7d8b91cee4d90044ccabad4f171e829c99f1656f5a735f6f3c84eff4f23191f2" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.07.1
2.2.1
2024-11-18 14:01.18 ---> using "bea79cf8072a89b3e444cb98b17bf7b46dcffa7023059fd379f573f05eef378f" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-18 14:01.18 ---> using "30c4bbc8160d2d69c7c13e83aca92bd56811ee48388c38e787744a0ca56b0681" from cache


/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..a6cd5e9297  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-18 14:01.18 ---> using "724784ea3f9132d9a003da9ef52b28987d7cc0433fe1e3b171c19ffcb74cf88c" from cache


/src: (copy (src ocaml-version.opam) (dst ./))
2024-11-18 14:01.18 ---> using "2e23113c0e0431eb22e8b33b91cb3440a4832246081d76e5b8ef48d87699d974" from cache


/src: (run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2024-11-18 14:01.18 ---> using "a7ad815cbf3fd48fb843398c78db6fbee626deb3b5b169a20ef11f2e234817b5" from cache


/src: (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 dune.3.6.0 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 result.1.0 topkg.0.7.5")


/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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8789 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [204 kB]
- Fetched 9247 kB in 1s (6707 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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
- 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-18 14:01.18 ---> using "de5c12cd737d79f49719ebaa4f4ca799403b4a9624acbbdbd5cd4f5cbc3fb824" from cache


/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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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:
=== downgrade 1 package
- downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 13 packages
- install   alcotest                 0.8.0
- install   astring                  0.8.2
- install   base-bytes               base
- install   cmdliner                 1.0.3
- install   conf-m4                  1
- install   dune                     3.6.0
- install   fmt                      0.8.0
- install   jbuilder                 1.0+beta10
- install   ocamlbuild               0.9.1
- install   ocamlfind                1.8.1
- install   ocamlfind-secondary      1.8.1
- install   result                   1.0
- install   topkg                    0.7.5


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.2  (cached)
-> installed conf-m4.1
-> retrieved cmdliner.1.0.3  (http://erratique.ch/software/cmdliner/releases/cmdliner-1.0.3.tbz)
-> retrieved fmt.0.8.0  (cached)
-> retrieved alcotest.0.8.0  (https://github.com/mirage/alcotest/releases/download/0.8.0/alcotest-0.8.0.tbz)
-> retrieved jbuilder.1.0+beta10  (https://github.com/janestreet/jbuilder/releases/download/1.0+beta10/jbuilder-1.0.beta10.tbz)
-> retrieved dune.3.6.0  (https://github.com/ocaml/dune/releases/download/3.6.0/dune-3.6.0.tbz)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1  (cached)
-> retrieved ocamlbuild.0.9.1  (https://github.com/ocaml/ocamlbuild/archive/0.9.1.tar.gz)
-> retrieved result.1.0  (cached)
-> installed cmdliner.1.0.3
-> retrieved topkg.0.7.5  (cached)
-> installed result.1.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> retrieved ocaml-secondary-compiler.4.08.1  (https://github.com/ocaml/ocaml/archive/4.08.1.tar.gz)
-> installed ocamlbuild.0.9.1
-> installed jbuilder.1.0+beta10
-> installed topkg.0.7.5
-> installed fmt.0.8.0
-> installed astring.0.8.2
-> installed alcotest.0.8.0
-> removed   ocaml-secondary-compiler.4.14.2
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.3.6.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-18 14:01.18 ---> using "8fd982e14c43381a1e37cb1f9f03d34218910705b01ec675d9a9c7e9987a4089" from cache


/src: (copy (src .) (dst /src))
2024-11-18 14:01.18 ---> using "c627b54107c0822ede467e696d7d850a283d88d759bc33424efd59a2652d2b47" from cache


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
Done: 100% (2/2, 0 left) (jobs: 0)
                                  
Done: 57% (4/7, 3 left) (jobs: 0)
                                 
Done: 36% (4/11, 7 left) (jobs: 0)
                                  
Done: 36% (4/11, 7 left) (jobs: 0)
                                  
Done: 36% (4/11, 7 left) (jobs: 0)
                                  
Done: 63% (7/11, 4 left) (jobs: 1)
                                  
Done: 63% (7/11, 4 left) (jobs: 1)
                                  
Done: 63% (7/11, 4 left) (jobs: 1)
                                  
Done: 50% (9/18, 9 left) (jobs: 0)
                                  
Done: 61% (11/18, 7 left) (jobs: 1)
                                   
Done: 68% (28/41, 13 left) (jobs: 4)
                                    
Done: 75% (31/41, 10 left) (jobs: 2)
                                    
Done: 78% (32/41, 9 left) (jobs: 1)
                                   
Done: 78% (32/41, 9 left) (jobs: 1)
                                   
Done: 78% (32/41, 9 left) (jobs: 1)
                                   
Done: 78% (32/41, 9 left) (jobs: 1)
                                   
Done: 78% (32/41, 9 left) (jobs: 1)
                                   
Done: 78% (32/41, 9 left) (jobs: 1)
                                   
Done: 82% (34/41, 7 left) (jobs: 1)
                                   
Done: 90% (37/41, 4 left) (jobs: 2)
                                   
Done: 90% (37/41, 4 left) (jobs: 2)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
(cd _build/default/test && ./test_unit.exe)
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing ocaml-version.
...                Compiler_variants          0   Multicore not on 4.12 x86-64.
[OK]                Compiler_variants          0   Multicore not on 4.12 x86-64.
...                Compiler_variants          1   Multicore not on 4.10 i386.
[OK]                Compiler_variants          1   Multicore not on 4.10 i386.
...                Compiler_variants          2   Multicore not on 4.12 xi386.
[OK]                Compiler_variants          2   Multicore not on 4.12 xi386.
...                Configure_options          0   FP on last 4.07.
[OK]                Configure_options          0   FP on last 4.07.
...                Configure_options          1   FP on first 4.08.
[OK]                Configure_options          1   FP on first 4.08.
...                Configure_options          2   FP on 3.12.
[OK]                Configure_options          2   FP on 3.12.
The full test results are available in `_build/_tests`.
Test Successful in 0.000s. 6 tests run.
Done: 97% (40/41, 1 left) (jobs: 1)
                                   
2024-11-18 14:01.18 ---> using "1e50da1dcddcb39b00c9bce267fd52f7635f20486dd81c15a61c7a7ec2f45504" from cache
Job succeeded
2024-11-18 14:01.19: Job succeeded