Organisationsmiragemirage-random5da4b2 (main)macos-homebrew-4.14_arm64_opam-2.1

macos-homebrew-4.14_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 13:14.15: New job: test mirage/mirage-random https://github.com/mirage/mirage-random.git#refs/heads/main (5da4b2852b73baf28d2077bb4599947a72a1ec7e) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.1)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-random.git" -b "main" && cd "mirage-random" && git reset --hard 5da4b285
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.1 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 mirage-random.opam ./src/./
RUN opam pin add -yn mirage-random.dev './src/./'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-arm64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 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 mirage-random.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-06-17 13:14.15: Using cache hint "mirage/mirage-random-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.1-2f1c3111f76193fc95366b505d626dd8"
2024-06-17 13:14.15: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_arm64_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (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 mirage-random.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn mirage-random.dev './src/./'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-arm64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-random.dev $DEPS"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst ./src))
 (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-06-17 13:14.15: Waiting for resource in pool OCluster
2024-06-17 18:36.49: Waiting for worker…
2024-06-17 20:18.54: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at 5da4b28 changes for 4.0.0


(from macos-homebrew-ocaml-4.14)
2024-06-17 20:18.54 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_arm64_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
2024-06-17 20:18.54 ---> using "25b9bb92388ede51fae89d4de3a3dbc7bf0716456eef41b1ea8636995a3eeab7" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-06-17 20:18.55 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-06-17 20:18.55 ---> using "f4908fd0e5799798bb14c138897a7b0cd12737558237c57b6cfe71feb61d52ba" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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
   0dc68a8b92..e06bf2b8c3  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


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


default (at git+file:///Users/mac1000/opam-repository): 
    [WARNING] please ensure to have GNU patch installed as `patch`. Otherwise update may fail silently (since it can't remove files).


Constructing initial basis...
The following actions will be performed:
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1      [upstream or system changes]
  - recompile ocaml-base-compiler   4.14.2 [upstream or system changes]
  - install   host-arch-arm64       1
  - recompile ocaml-config          2      [upstream or system changes]
  - recompile ocaml                 4.14.2 [uses ocaml-base-compiler, ocaml-config]
===== 2 to install | 4 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-arm64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.14.2  (cached)
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.2
-> installed ocaml.4.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-17 20:18.55 ---> using "c8892a8dc034757fd755e78fd8a062509867cd46b19d740b1eea9f67853d4a1b" from cache


/: (copy (src mirage-random.opam) (dst ./src/./))
2024-06-17 20:18.56 ---> saved as "075f442b0483d92dddcc2ca16f7f0bd1348a4f9b292b35d7ebd4af40822845cd"


/: (run (network host)
        (shell "opam pin add -yn mirage-random.dev './src/./'"))
[mirage-random.dev] synchronised (file:///Users/mac1000/src)
mirage-random is now pinned to file:///Users/mac1000/src (version dev)
2024-06-17 20:19.05 ---> saved as "6acd83e81bb2a75cad4f34a032aa25486da9a9755ef62258262d1e8c4ed32c6f"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-arm64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-random.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-random.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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 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-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 2
Constructing conflict graph...
Conflict graph has 2 + 1 = 3 vertices
2024-06-17 20:19.21 ---> saved as "5b515f476d3d1d6fb3300ea817232e13259500b647748daeb641c3d1f1c0eec3"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 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-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 2
Constructing conflict graph...
Conflict graph has 2 + 1 = 3 vertices
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-17 20:20.01 ---> saved as "80d7a237587fb86a7d01fc655c0b992b3b75bd22892ad15b2d52c991608f73cf"


/: (copy (src .) (dst ./src))
2024-06-17 20:20.03 ---> saved as "766d2775fa4bdafe35aebd8b5db161b761f12157cf5dd23a05a6e1f4656144ee"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-06-17 20:20.04 ---> saved as "a397f020689cdc1ba5e649f7530c1991ca3a5dbc9fa9d92a48e99e9421a9266d"
Job succeeded
2024-06-17 20:20.09: Job succeeded