Organisationsocamlcamlp-streamsfa2ca9 (trunk)debian-12-4.12_opam-2.1

debian-12-4.12_opam-2.1

Logs

Show full logs
2024-05-29 14:37.56: New job: test ocaml/camlp-streams https://github.com/ocaml/camlp-streams.git#refs/heads/trunk (fa2ca92ed08d1c05c65bc78c31b98c3fee12afe4) (linux-x86_64:debian-12-4.12_opam-2.1)
Base: ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml/camlp-streams.git" -b "trunk" && cd "camlp-streams" && git reset --hard fa2ca92e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955
# debian-12-4.12_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 76eb35c8a78a891c7e5e27b5c32316d7add1f52d || git fetch origin master) && git reset -q --hard 76eb35c8a78a891c7e5e27b5c32316d7add1f52d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 camlp-streams.opam ./
RUN opam pin add -yn camlp-streams.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.15.3 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y camlp-streams.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-05-29 14:37.56: Using cache hint "ocaml/camlp-streams-ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955-debian-12-4.12_opam-2.1-9e616ad55b65616740e38eccc6b66a5e"
2024-05-29 14:37.56: Using OBuilder spec:
((from ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955)
 (comment debian-12-4.12_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 76eb35c8a78a891c7e5e27b5c32316d7add1f52d || git fetch origin master) && git reset -q --hard 76eb35c8a78a891c7e5e27b5c32316d7add1f52d && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src camlp-streams.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn camlp-streams.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.15.3 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1")
 (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 camlp-streams.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-05-29 14:37.56: Waiting for resource in pool OCluster
2024-05-30 02:20.37: Waiting for worker…
2024-05-30 02:28.50: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at fa2ca92 Add license information to the opam file

(from ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955)
2024-05-30 02:28.50 ---> using "7691599c3842a186f32c96bd3f64e2958205364d660afeca8f960ca438908d43" from cache

/: (comment debian-12-4.12_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-05-30 02:28.50 ---> using "5377e64c1dc39ca1a43c8ae5a941f55df6714685285df7bdeaf7f34fcb274434" 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 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.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-30 02:28.50 ---> using "ad3f804af701dcea352ca9aded800a725e18f9ac799fb4a1d5bfb6bb52a7d9ed" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.12.1
2.1.5
2024-05-30 02:28.50 ---> using "e355ea3d9b294d1e727ee9241d9217b5458bf1b3b9ce57a201f41e13c4db65b5" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-05-30 02:28.50 ---> using "8d0600802d9765bf6213fb7c5e04c1b69cf95977c0060c9e97adf2a7f53bcd78" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 76eb35c8a78a891c7e5e27b5c32316d7add1f52d || git fetch origin master) && git reset -q --hard 76eb35c8a78a891c7e5e27b5c32316d7add1f52d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..0b9453aa60  master     -> origin/master
76eb35c8a7 extra-files are now extra-source

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


The following actions will be performed:
  - recompile ocaml-base-compiler 4.12.1* [upstream or system changes]
  - recompile ocaml-config        2       [upstream or system changes]
  - recompile ocaml               4.12.1  [uses ocaml-base-compiler, ocaml-config]
  - recompile opam-depext         1.2.1-1 [uses ocaml]
===== 4 to recompile =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.4.12.1  (cached)
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.4.12.1
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.12.1
-> installed ocaml-base-compiler.4.12.1
-> installed ocaml-config.2
-> installed ocaml.4.12.1
-> installed opam-depext.1.2.1-1
Done.

<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-05-30 02:28.50 ---> using "99cf6e7f766bbf3c34100a1e891fb0a3c640ca2d16a3da4787aa436e4e95b347" from cache

/src: (copy (src camlp-streams.opam) (dst ./))
2024-05-30 02:28.51 ---> saved as "0d336a101e181d700e01e1ea577f8c42efe70baab8325f25367af77a9e67b627"

/src: (run (network host)
           (shell "opam pin add -yn camlp-streams.dev './'"))
[camlp-streams.dev] synchronised (file:///src)
camlp-streams is now pinned to file:///src (version dev)
2024-05-30 02:28.53 ---> saved as "5f50d0e20efb2704e52c610fb9db538f513547ce758e581743605411c52ff310"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.15.3 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1")

/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 camlp-streams.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 [157 kB]
- Fetched 261 kB in 0s (986 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[camlp-streams.dev] synchronised (no changes)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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).
2024-05-30 02:29.13 ---> saved as "36ef72af0f78c9ae36c3155b39ae9d74fe02dfc4817b32e520cdc734245cce8b"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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 dune 3.15.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.3  (cached)
-> installed dune.3.15.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-30 02:30.10 ---> saved as "b990e4625ee99b19b06879a21380568146951def84b893a2968b93d926749c10"

/src: (copy (src .) (dst /src))
2024-05-30 02:30.10 ---> saved as "dd589ee0587660e677ffc678f93685bfc62c4ba417846021de7cc5d5c5e75441"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-05-30 02:30.10 ---> saved as "56c9c53bc98a64fbef3478f24878e2d2dde63caaceb5f1b318ababbc237b0670"
Job succeeded
2024-05-30 02:30.11: Job succeeded