Organisationsocurrentocaml-version7a8d86 ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-04-18 14:04.01: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (7a8d86e1fc66329b189a155136147970e03a3a54) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 7a8d86e1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
# debian-12-4.07_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 0d269faa45d7a07cdd53bb713f56d453cf648218 || git fetch origin master) && git reset -q --hard 0d269faa45d7a07cdd53bb713f56d453cf648218 && 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.1 --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-04-18 14:04.01: Using cache hint "ocurrent/ocaml-version-ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7-debian-12-4.07_opam-2.1-f6e4d8e06c0f711d05ef2238535060a7"
2024-04-18 14:04.01: Using OBuilder spec:
((from ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7)
 (comment debian-12-4.07_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 0d269faa45d7a07cdd53bb713f56d453cf648218 || git fetch origin master) && git reset -q --hard 0d269faa45d7a07cdd53bb713f56d453cf648218 && 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.1 --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-04-18 14:04.01: Waiting for resource in pool OCluster
2024-04-18 14:04.01: Waiting for worker…
2024-04-18 14:04.29: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at 7a8d86e Update changes.md


(from ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7)
2024-04-18 14:04.29 ---> using "806ee51389d0d0b27276ea06607814da90a34f50afdb3fb2005ff5fcd3467b54" from cache


/: (comment debian-12-4.07_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-04-18 14:04.29 ---> using "09c04342bf31ec923ba053d573e6ff2d412202553c52b25881635a4b123865ee" 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.


Continue? [Y/n] y
Format upgrade done.
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-18 14:04.29 ---> using "b6841472aef4c9a63ba325bbb235525d9affaa827e5eb82cf487b5efeff5877d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-102-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-04-18 14:04.29 ---> using "82ce05af440115d77785080055cbe3b5fd6625c715cb9f8db0de1449a9c839a0" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-18 14:04.29 ---> using "8aea573edecf398a34c5e749ffcf6e9f35856fbce9ec6ab868e2cc250ad11fa7" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 0d269faa45d7a07cdd53bb713f56d453cf648218 || git fetch origin master) && git reset -q --hard 0d269faa45d7a07cdd53bb713f56d453cf648218 && git log --no-decorate -n1 --oneline && opam update -u"))
0d269faa45 Revert #25484 and #25536


<><> 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-04-18 14:05.53 ---> saved as "4f82666d0dc8e4f36af600c8adb3ecdac9489f5ff396756cd1c73f7252601169"


/src: (copy (src ocaml-version.opam) (dst ./))
2024-04-18 14:05.53 ---> saved as "ede0b85cae0fb0a5a20474caced4299144975c4c13a373000fb40f6536095bcc"


/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-04-18 14:05.56 ---> saved as "af89ac4343cb0dc2d10789c9a4117bd7385e7aa3c88483cda887597b8eb7e559"


/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.1 --depext-only -y ocaml-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 [154 kB]
- Fetched 257 kB in 0s (556 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


2024-04-18 14:06.18 ---> saved as "a017371ecd6e9c719c8a8ae934b07f5ff4218b816108e19e06cabe062f18dc60"


/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:
  - install   result                   1.0
  - downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
  - install   cmdliner                 1.0.3
  - install   ocamlbuild               0.9.1
  - install   conf-m4                  1
  - install   ocamlfind                1.8.1
  - install   topkg                    0.7.5
  - install   ocamlfind-secondary      1.8.1
  - install   jbuilder                 1.0+beta10
  - install   base-bytes               base
  - install   fmt                      0.8.0
  - install   dune                     3.6.0
  - install   astring                  0.8.2
  - install   alcotest                 0.8.0
===== 13 to install | 1 to downgrade =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.0  (cached)
-> retrieved astring.0.8.2  (cached)
-> retrieved cmdliner.1.0.3  (cached)
-> retrieved dune.3.6.0  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.0  (cached)
-> retrieved jbuilder.1.0+beta10  (cached)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ocamlfind-secondary.1.8.1  (cached)
-> retrieved result.1.0  (cached)
-> retrieved topkg.0.7.5  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> installed result.1.0
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed topkg.0.7.5
-> installed jbuilder.1.0+beta10
-> installed fmt.0.8.0
-> installed astring.0.8.2
-> installed alcotest.0.8.0
-> removed   ocaml-secondary-compiler.4.08.1-1
-> 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-04-18 14:10.18 ---> saved as "785fd5cc605ff0a65c41d0c9f1d0f2d377edc2be008d01944903238b1d746086"


/src: (copy (src .) (dst /src))
2024-04-18 14:10.18 ---> saved as "f8b54191f71329c3c116b49876e84f3b9739a1df6ad6a9c09bd0a1ba02fbfd7a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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.
[OK]                Compiler_variants          0   Multicore not on 4.12 x86-64.
[OK]                Compiler_variants          1   Multicore not on 4.10 i386.
[OK]                Compiler_variants          2   Multicore not on 4.12 xi386.
[OK]                Configure_options          0   FP on last 4.07.
[OK]                Configure_options          1   FP on first 4.08.
[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.
2024-04-18 14:10.19 ---> saved as "eba76a05213292038c8c7a39b6dcc482fcbc088284fd7755126a582190f02046"
Job succeeded
2024-04-18 14:10.20: Job succeeded