Organisationsocaml-ppxocaml-syntax-shims38a6dd (master)fedora-40-5.2_opam-2.1

fedora-40-5.2_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 13:49.58: New job: test ocaml-ppx/ocaml-syntax-shims https://github.com/ocaml-ppx/ocaml-syntax-shims.git#refs/heads/master (38a6dd23543d9c4c3678fc6741962832fd539877) (linux-x86_64:fedora-40-5.2_opam-2.1)
Base: ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741
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@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741
# fedora-40-5.2_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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-domains.base base-nnp.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --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-06-17 13:49.58: Using cache hint "ocaml-ppx/ocaml-syntax-shims-ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741-fedora-40-5.2_opam-2.1-b11c32ccf8a3d937bc21dfeb5756bfe4"
2024-06-17 13:49.58: Using OBuilder spec:
((from ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741)
 (comment fedora-40-5.2_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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-domains.base base-nnp.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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 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-06-17 13:49.58: Waiting for resource in pool OCluster
2024-06-19 17:09.38: Waiting for worker…
2024-06-19 17:13.30: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 38a6dd2 update changelog


(from ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741)
Unable to find image 'ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741' locally
docker.io/ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741: Pulling from ocaml/opam
d6b3e7188b97: Pulling fs layer
d6b3e7188b97: Waiting
d6b3e7188b97: Verifying Checksum
d6b3e7188b97: Download complete
d6b3e7188b97: Pull complete
Digest: sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741
Status: Downloaded newer image for ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741
2024-06-19 17:13.30 ---> using "311387f967779057c05de4de657662b862318d14c58f755fb66ab2496a86363f" from cache


/: (comment fedora-40-5.2_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64                              238 kB/s |  30 kB     00:00    
Fedora 40 openh264 (From Cisco) - x86_64         10 kB/s | 989  B     00:00    
Fedora 40 - x86_64 - Updates                    130 kB/s |  15 kB     00:00    
Fedora 40 - x86_64 - Updates                    3.8 MB/s | 4.8 MB     00:01    
Package findutils-1:4.9.0-8.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-06-19 17:13.30 ---> using "1746941a6f6864c7597e15ebc01977cc59abd58bfe956254a62b8b1e30fbfae0" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-19 17:13.30 ---> using "92f51ce143781513f6adcc1fc86ff80eda50e4c86e429c2c8a742a38ddc0c208" 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-06-19 17:13.30 ---> using "3020a76352a3df088fa068fdff6bf7a31bc8d99972b6ae7d96bedbf07e167d34" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-06-19 17:13.30 ---> using "ed58a90787e2009ee616547808ef0c2b2acb00b14827634504f45a0e31327b9e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 17:13.30 ---> using "312ac7c2fe140f841d4a444e87e5710c47dc69a5275a3cb78e8a8cb198f0504f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..5d6f1cf035  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


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


The following actions will be performed:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile ocaml-base-compiler   5.2.0*  [upstream or system changes]
  - recompile ocaml-config          3       [uses ocaml-base-compiler]
  - recompile ocaml                 5.2.0   [uses ocaml-base-compiler]
  - recompile opam-depext           1.2.1-1 [uses ocaml]
  - recompile base-domains          base    [uses ocaml]
  - recompile base-nnp              base    [uses base-domains]
===== 2 to install | 7 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.5.2.0  (cached)
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.5.2.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.2.0
-> installed ocaml-base-compiler.5.2.0
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
-> 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-06-19 17:13.30 ---> using "5e22af72f3e226aa89197cdb41fa65149b28fa8292c8924bb90215b2b59d06a1" from cache


/src: (copy (src ocaml-syntax-shims.opam) (dst ./))
2024-06-19 17:13.30 ---> saved as "f76ed2ccbec6621e7d335e54ac5ee329a34e60c7112781703850a8a0355e2b75"


/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-06-19 17:13.31 ---> saved as "67b31721b29b724effcf7773f5f521159912c5d774118a426308875f3a39ad7c"


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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 ocaml-syntax-shims.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              239 kB/s |  30 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64        9.8 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    228 kB/s |  27 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-syntax-shims.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-06-19 17:13.42 ---> saved as "943802202fbaca96367d7db93dd79f1573d457a4a44c04a0dc85b63cac631ba2"


/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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.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-06-19 17:14.22 ---> saved as "28138001f43659be20e0c6826047c5b8a742969f7709d6294ccf6ca8545b34cc"


/src: (copy (src .) (dst /src))
2024-06-19 17:14.22 ---> saved as "907ac6d943c7f46ed7a601fa23c1312fbc6732d465d485801f65f3b036af9f21"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && /home/opam/.opam/5.2/bin/ocaml select-impl 5.2.0) > _build/default/src/impl
File "_none_", line 1:
Alert ocaml_deprecated_cli: 
Running ocaml where the first argument is an implicit basename with no
extension (e.g. ocaml script-file) is deprecated. Either rename the script
(ocaml script-file.ml) or qualify the basename (ocaml ./script-file)
(cd _build/default/src && /home/opam/.opam/5.2/bin/ocaml select-shims 5.2.0) > _build/default/src/shims
File "_none_", line 1:
Alert ocaml_deprecated_cli: 
Running ocaml where the first argument is an implicit basename with no
extension (e.g. ocaml script-file) is deprecated. Either rename the script
(ocaml script-file.ml) or qualify the basename (ocaml ./script-file)
2024-06-19 17:14.23 ---> saved as "1b31bd2cee1344232ac16dec8178fe9bfec65a92ec164588ccfb08859a6b02a4"
Job succeeded
2024-06-19 17:14.24: Job succeeded