Organisationsocaml-ppxocaml-syntax-shims38a6dd (master)debian-12-4.10_opam-2.2

debian-12-4.10_opam-2.2

Link Copied
Code Copied

Logs

2024-09-01 14:13.47: New job: test ocaml-ppx/ocaml-syntax-shims https://github.com/ocaml-ppx/ocaml-syntax-shims.git#refs/heads/master (38a6dd23543d9c4c3678fc6741962832fd539877) (linux-x86_64:debian-12-4.10_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ocaml-syntax-shims.git" -b "master" && cd "ocaml-syntax-shims" && git reset --hard 38a6dd23
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452
# debian-12-4.10_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 3cf30a1f05a1256914dd9182c534718dab6cf30c || git fetch origin master) && git reset -q --hard 3cf30a1f05a1256914dd9182c534718dab6cf30c && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-syntax-shims.opam ./
RUN opam pin add -yn ocaml-syntax-shims.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.16.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ocaml-syntax-shims.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-09-01 14:13.47: Using cache hint "ocaml-ppx/ocaml-syntax-shims-ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452-debian-12-4.10_opam-2.2-e0475a3935bfe6b2c232386d8e29b390"
2024-09-01 14:13.47: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452)
 (comment debian-12-4.10_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 3cf30a1f05a1256914dd9182c534718dab6cf30c || git fetch origin master) && git reset -q --hard 3cf30a1f05a1256914dd9182c534718dab6cf30c && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocaml-syntax-shims.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ocaml-syntax-shims.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.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.2 --depext-only -y ocaml-syntax-shims.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-09-01 14:13.47: Waiting for resource in pool OCluster
2024-09-01 17:05.04: Waiting for worker…
2024-09-01 17:06.14: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-syntax-shims.git-d0577a3c78d1f8f6aa71522ebc72007002f98a8b/.git/
HEAD is now at 38a6dd2 update changelog


(from ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452)
2024-09-01 17:06.15 ---> using "1171274062e138f4d83d3503b81ae1a38569e1bd12aa4ea9aae9c1899d407bf8" from cache


/: (comment debian-12-4.10_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-09-01 17:06.15 ---> using "23c3ce6f6a9471e22e964e0919404a9a2f9eac94be800f1acc78ab45d7bb1ecc" 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-09-01 17:06.15 ---> using "d4b8a094d7a75d0f7cd503c39f273adf4855881abc386e237400daf9817ed3d5" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.10.2
2.2.1
2024-09-01 17:06.15 ---> using "e87de53e2a6a7c4beb17d49b5a8efda86f6fb980c856d2dc8f15fb6924fb5827" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-09-01 17:06.15 ---> using "784b3019b43cb147dea0a0a5b01c95928aaec5b901fa106a31119fbf80bf0992" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 3cf30a1f05a1256914dd9182c534718dab6cf30c || git fetch origin master) && git reset -q --hard 3cf30a1f05a1256914dd9182c534718dab6cf30c && git log --no-decorate -n1 --oneline && opam update -u"))
3cf30a1f05 Merge pull request #26101 from emillon/release-dune-3.16.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


The following actions will be performed:
=== downgrade 1 package
  - downgrade opam-depext 1.2.3 to 1.2.1-1 [no longer available]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.3
-> 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-09-01 17:06.15 ---> using "86106dbd34fb2940635b0a64fc75a1d6f810e03ecbcdb755cd62613291415f1e" from cache


/src: (copy (src ocaml-syntax-shims.opam) (dst ./))
2024-09-01 17:06.15 ---> saved as "7f141a383bc6a3290c72cb058aa5a4dee3edc4239e94d4912ee980c4796d2960"


/src: (run (network host)
           (shell "opam pin add -yn ocaml-syntax-shims.dev './'"))
[ocaml-syntax-shims.dev] synchronised (file:///src)
ocaml-syntax-shims is now pinned to file:///src (version dev)
2024-09-01 17:06.17 ---> saved as "aaff279848ca5e1ec7084307294a5756608d08b9de214b19662d7601a77b2862"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.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.2 --depext-only -y ocaml-syntax-shims.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 [8787 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 9221 kB in 2s (5930 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-syntax-shims.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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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).
2024-09-01 17:06.38 ---> saved as "339143c7d16360f6acd6a2c55b5e10fc225d038ad15dc718c9f9c2e50d36e560"


/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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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:
=== install 1 package
  - install dune 3.16.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.16.0  (cached)
-> installed dune.3.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-01 17:07.43 ---> saved as "2a68df4b293ab4f2c87f6b2f5d97320a99064d25f4483a710148e988801fe94f"


/src: (copy (src .) (dst /src))
2024-09-01 17:07.43 ---> saved as "21605864d7c82b4b1d0eab3cf8fbbbd4c3a1c8bd096b6d49c40d963d6c80d105"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-09-01 17:07.44 ---> saved as "934098d0c8506e76450c1a74cda4b0b72402feb7d45f3bbeab7e74d9e1ee9f48"
Job succeeded
2024-09-01 17:07.45: Job succeeded