Build:
  1. 0
2021-05-04 08:48.06: New job: Build using linux-arm64 in
                                [https://github.com/mirage/mirage-skeleton.git#refs/heads/mirage-4 (5a82cfcbffe78d8c62c2f1eab3bcbe4b7af79afc)]

OBuilder spec:

((from ocaml/opam:debian-10-ocaml-4.11)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo chown opam:opam /home/opam"))
 (run (network host)
      (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#efcb921bb8845a6e3eb27c6be3ba43ffba88dd1d"))
 (run (network host)
      (shell "opam repo add overlays https://github.com/dune-universe/opam-overlays.git#6b1862effa4450e9cca95a34754e109fcb179928"))
 (run (network host)
      (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#b43f1d3a43792df502e323ca6b43b854baf81aac"))
 (run (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i ocaml-freestanding"))
 (run (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i dune mirage opam-monorepo"))
 (copy (src ./device-usage/console/config.ml)
       (dst /src/device-usage/console/))
 (workdir /src/device-usage/console)
 (run (shell "sudo chown -R opam:opam ."))
 (run (shell "opam exec -- mirage configure -t unix"))
 (run (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam exec -- make depends"))
 (copy (src ./device-usage/console/) (dst /src/device-usage/console))
 (run (shell "opam exec -- mirage build"))
)

2021-05-04 08:48.06: Using cache hint "mirage-ci-skeleton-debian-10-ocaml-4.11"
2021-05-04 08:48.06: Waiting for resource in pool OCluster
2021-05-04 08:48.06: Waiting for worker...
2021-05-04 08:49.23: Got resource from pool OCluster
Building on ampere1.ocamllabs.io
All commits already cached
HEAD is now at 5a82cfc fix git unikernel

(from ocaml/opam:debian-10-ocaml-4.11)
Unable to find image 'ocaml/opam:debian-10-ocaml-4.11' locally
debian-10-ocaml-4.11: Pulling from ocaml/opam
Digest: sha256:01a52e3674dc4560f9b203d7e97587b8a2918b209584587c18348f076b45cae1
Status: Downloaded newer image for ocaml/opam:debian-10-ocaml-4.11
2021-05-04 08:49.23 ---> using "55046a382be6522c2019f2d87f47a2f13f20b07c881552d8874b0b62ca04c220" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2021-05-04 08:49.23 ---> using "553e426c2c55667c0defbebd0246a6a329d5be6b30d4e101d33666fe06b4eeb4" from cache

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#efcb921bb8845a6e3eb27c6be3ba43ffba88dd1d"))
[opam] Initialised
[NOTE] Repository opam has been added to the selections of switch 4.11 only.
       Run `opam repository add opam --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2021-05-04 08:49.23 ---> using "c773ee7e1e9f98887cf16391c028558ee1b4a3bf9ef17eaef298994921e3cba8" from cache

/home/opam: (run (network host)
                 (shell "opam repo add overlays https://github.com/dune-universe/opam-overlays.git#6b1862effa4450e9cca95a34754e109fcb179928"))
[overlays] Initialised
[NOTE] Repository overlays has been added to the selections of switch 4.11 only.
       Run `opam repository add overlays --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2021-05-04 08:49.23 ---> using "8641bff91a96d76ec30cd53aa558424cab7bcc4c58fa6fae7067464e375b118f" from cache

/home/opam: (run (network host)
                 (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#b43f1d3a43792df502e323ca6b43b854baf81aac"))
[mirage-dev] Initialised
[NOTE] Repository mirage-dev has been added to the selections of switch 4.11 only.
       Run `opam repository add mirage-dev --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2021-05-04 08:49.23 ---> using "6c42564233dd178d3f539c75b0c545d4393b4155b45e9c04fa350e6768c0e648" from cache

/home/opam: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell "opam depext -i ocaml-freestanding"))
# Detecting depexts using vars: arch=arm64, os=linux, os-distribution=debian, os-family=debian
libseccomp-dev
linux-libc-dev
pkg-config
# The following system packages are needed:
The following command needs to be run through "sudo":
    apt-get install -qq -yy libseccomp-dev linux-libc-dev pkg-config
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libglib2.0-0:arm64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 17363 files and directories currently installed.)
Preparing to unpack .../0-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ...
Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../1-libglib2.0-data_2.58.3-2+deb10u2_all.deb ...
Unpacking libglib2.0-data (2.58.3-2+deb10u2) ...
Selecting previously unselected package libicu63:arm64.
Preparing to unpack .../2-libicu63_63.1-6+deb10u1_arm64.deb ...
Unpacking libicu63:arm64 (63.1-6+deb10u1) ...
Selecting previously unselected package libseccomp-dev:arm64.
Preparing to unpack .../3-libseccomp-dev_2.3.3-4_arm64.deb ...
Unpacking libseccomp-dev:arm64 (2.3.3-4) ...
Selecting previously unselected package libxml2:arm64.
Preparing to unpack .../4-libxml2_2.9.4+dfsg1-7+deb10u1_arm64.deb ...
Unpacking libxml2:arm64 (2.9.4+dfsg1-7+deb10u1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../5-pkg-config_0.29-6_arm64.deb ...
Unpacking pkg-config (0.29-6) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../6-shared-mime-info_1.10-1_arm64.deb ...
Unpacking shared-mime-info (1.10-1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../7-xdg-user-dirs_0.17-2_arm64.deb ...
Unpacking xdg-user-dirs (0.17-2) ...
Setting up libseccomp-dev:arm64 (2.3.3-4) ...
Setting up xdg-user-dirs (0.17-2) ...
Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ...
No schema files found: doing nothing.
Setting up libicu63:arm64 (63.1-6+deb10u1) ...
Setting up libglib2.0-data (2.58.3-2+deb10u2) ...
Setting up pkg-config (0.29-6) ...
Setting up libxml2:arm64 (2.9.4+dfsg1-7+deb10u1) ...
Setting up shared-mime-info (1.10-1) ...
Processing triggers for libc-bin (2.28-10) ...
# OS packages installation successful
# Now letting OPAM install the packages
The following actions will be performed:
  - install conf-pkg-config    2      [required by solo5]
  - install ocaml-src          4.11.2 [required by ocaml-freestanding]
  - install ocamlfind          1.9.1  [required by ocaml-freestanding]
  - install conf-libseccomp    1      [required by solo5]
  - install solo5              0.7.0  [required by ocaml-freestanding]
  - install ocaml-freestanding 0.7.0
===== 6 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-src.4.11.2] found in cache
[ocamlfind.1.9.1] found in cache
[ocaml-freestanding.0.7.0] synchronised from git+https://github.com/TheLortex/ocaml-freestanding.git#cross-compiler
[solo5.0.7.0] synchronised from git+https://github.com/TheLortex/solo5.git#77db27433ccd5b1ec13735e8ef1c92e141969a5c

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocaml-src.4.11.2
-> installed conf-pkg-config.2
-> installed conf-libseccomp.1
-> installed ocamlfind.1.9.1
-> installed solo5.0.7.0
-> installed ocaml-freestanding.0.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2021-05-04 08:49.23 ---> using "059b606fd708039f37cbf3c0bde128c64203df090b1460f16dd2164b8a3f8d52" from cache

/home/opam: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell "opam depext -i dune mirage opam-monorepo"))
# Detecting depexts using vars: arch=arm64, os=linux, os-distribution=debian, os-family=debian
pkg-config
# The following system packages are needed:
# All required OS packages found.
# Now letting OPAM install the packages
The following actions will be performed:
  - install dune              2.8.5
  - install base-bytes        base       [required by astring]
  - install stdlib-shims      0.3.0      [required by mirage]
  - install seq               base+dune  [required by lwt]
  - install result            1.5        [required by fpath, rresult]
  - install opam-monorepo     0.2.2
  - install mmap              1.1.0      [required by lwt]
  - install macaddr           5.0.1      [required by ipaddr]
  - install csexp             1.5.1      [required by dune-configurator]
  - install cppo              1.6.7      [required by lwt]
  - install cmdliner          1.0.4+dune [required by functoria]
  - install astring           0.8.5+dune [required by mirage]
  - install ocamlgraph        2.0.0      [required by functoria]
  - install rresult           0.6.0+dune [required by bos, functoria]
  - install dune-configurator 2.8.5      [required by lwt]
  - install ocplib-endian     1.1        [required by lwt]
  - install fmt               0.8.9+dune [required by functoria, bos, mirage-runtime]
  - install fpath             0.7.3+dune [required by bos, functoria]
  - install lwt               5.4.0      [required by mirage-runtime]
  - install domain-name       0.3.0      [required by ipaddr]
  - install logs              0.7.0+dune [required by mirage]
  - install ipaddr            5.0.1      [required by mirage]
  - install bos               0.2.0+dune [required by mirage]
  - install functoria-runtime 4.0.0      [required by mirage-runtime]
  - install functoria         4.0.0      [required by mirage]
  - install mirage-runtime    4.0.0      [required by mirage]
  - install mirage            4.0.0
===== 27 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5+dune] found in cache
[bos.0.2.0+dune] found in cache
[cmdliner.1.0.4+dune] found in cache
[cppo.1.6.7] found in cache
[csexp.1.5.1] found in cache
[domain-name.0.3.0] found in cache
[dune.2.8.5] found in cache
[dune-configurator.2.8.5] found in cache
[fmt.0.8.9+dune] found in cache
[fpath.0.7.3+dune] found in cache
[ipaddr.5.0.1] found in cache
[logs.0.7.0+dune] found in cache
[lwt.5.4.0] found in cache
[macaddr.5.0.1] found in cache
[functoria.4.0.0] synchronised from git+https://github.com/TheLortex/mirage.git#338f18736422a034530936a3cc75d461a2629191
[functoria-runtime.4.0.0] synchronised from git+https://github.com/TheLortex/mirage.git#338f18736422a034530936a3cc75d461a2629191
[mmap.1.1.0] found in cache
[ocamlgraph.2.0.0] found in cache
[mirage.4.0.0] synchronised from git+https://github.com/TheLortex/mirage.git#338f18736422a034530936a3cc75d461a2629191
[ocplib-endian.1.1] found in cache
[result.1.5] found in cache
[rresult.0.6.0+dune] found in cache
[seq.base+dune] found in cache
[stdlib-shims.0.3.0] found in cache
[mirage-runtime.4.0.0] synchronised from git+https://github.com/TheLortex/mirage.git#338f18736422a034530936a3cc75d461a2629191
[opam-monorepo.0.2.2] synchronised from git+https://github.com/TheLortex/duniverse.git#7c53f189cc7521ab5c62aac3ac82c73dd023638c

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> installed dune.2.8.5
-> installed astring.0.8.5+dune
-> installed cmdliner.1.0.4+dune
-> installed cppo.1.6.7
-> installed csexp.1.5.1
-> installed macaddr.5.0.1
-> installed mmap.1.1.0
-> installed result.1.5
-> installed seq.base+dune
-> installed stdlib-shims.0.3.0
-> installed opam-monorepo.0.2.2
-> installed ocplib-endian.1.1
-> installed dune-configurator.2.8.5
-> installed fpath.0.7.3+dune
-> installed rresult.0.6.0+dune
-> installed fmt.0.8.9+dune
-> installed ocamlgraph.2.0.0
-> installed domain-name.0.3.0
-> installed ipaddr.5.0.1
-> installed lwt.5.4.0
-> installed logs.0.7.0+dune
-> installed bos.0.2.0+dune
-> installed functoria-runtime.4.0.0
-> installed functoria.4.0.0
-> installed mirage-runtime.4.0.0
-> installed mirage.4.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2021-05-04 08:49.23 ---> using "830d9c8e529534e131d1e6204aa2c6fdef8df1ad5457c9ab1c838a3d39a41173" from cache

/home/opam: (copy (src ./device-usage/console/config.ml)
                  (dst /src/device-usage/console/))
2021-05-04 08:49.25 ---> saved as "0d78ce39726e57cb2f31e387ad039239bfffd0714ae0ca5338c9a7019c358a11"

/home/opam: (workdir /src/device-usage/console)

/src/device-usage/console: (run (shell "sudo chown -R opam:opam ."))
2021-05-04 08:49.26 ---> saved as "6b296dde4c171129d475f10b29afb999034c3c5060ef8ec01913a9c14ef4f07d"

/src/device-usage/console: (run (shell "opam exec -- mirage configure -t unix"))
2021-05-04 08:49.31 ---> saved as "cc9e20a1cf380f7638eaa752604c409e8cd2987f8fcd2ebe8102706e614272ad"

/src/device-usage/console: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
                                (network host)
                                (shell "opam exec -- make depends"))
 ↳ opam depexts
Package console-unix-install does not exist, create as a NEW package? [Y/n] y
[console-unix-install.~dev: rsync]
[console-unix-install.~dev] synchronised from file:///src/device-usage/console/mirage
console-unix-install is now pinned to file:///src/device-usage/console/mirage (version ~dev)
# Detecting depexts using vars: arch=arm64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
Ok, console-unix-install is no longer pinned to file:///src/device-usage/console/mirage (version ~dev)
 ↳ opam install global dependencies
Nothing to do.
-e using overlay repository mirage-tmp: https://github.com/mirage/opam-overlays.git 
[mirage-tmp] Initialised
[NOTE] Repository mirage-tmp has been added to the selections of switch 4.11 only.
       Run `opam repository add mirage-tmp --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

 ↳ opam-monorepo lock
==> Using locally scanned package 'console-unix' as the root.
opam-monorepo: [WARNING] The dune-universe opam-repository isn't set in the current switch. It contains dune ports for some opam packages. Note that opam monorepo lock will fail if not all of the project dependencies use dune as their build system. Adding this opam-repository to your current switch will help with that. If you wish to do so, run the following command:
opam repository add dune-universe git+https://github.com/dune-universe/opam-overlays.git
==> Found 61 opam dependencies for console-unix.
==> Querying opam database for their metadata and Dune compatibility.
==> Calculating exact pins for each of them.
opam-monorepo: [WARNING] Ref '338f18736422a034530936a3cc75d461a2629191' looks like a commit but hasn't been found in the remote.
==> Wrote lockfile with 44 entries to mirage/console-unix.opam.locked. You can now run opam monorepo pull to fetch their sources.
 ↳ lockfile depexts
Package console-unix does not exist, create as a NEW package? [Y/n] y
[console-unix.~dev: rsync]
[console-unix.~dev] synchronised from file:///src/device-usage/console/mirage
[WARNING] Failed checks on console-unix package definition from source at file:///src/device-usage/console/mirage:
           warning 25: Missing field 'authors'
           warning 35: Missing field 'homepage'
           warning 36: Missing field 'bug-reports'
           warning 47: Synopsis (or description first line) should start with a capital and not end with a dot
console-unix is now pinned to file:///src/device-usage/console/mirage (version ~dev)
# Detecting depexts using vars: arch=arm64, os=linux, os-distribution=debian, os-family=debian
pkg-config
# The following system packages are needed:
# All required OS packages found.
Ok, console-unix is no longer pinned to file:///src/device-usage/console/mirage (version ~dev)
-e removing overlay repository mirage-tmp
Repositories removed from the selections of switch 4.11. Use '--all' to forget about them altogether.
 ↳ opam-monorepo pull
Successfully pulled 44/44 repositories
2021-05-04 08:52.25 ---> saved as "5c6e89edd99e3ea4b4a9475eab8eabf4122a2f2e23849aa7e4eb82f29628ebc0"

/src/device-usage/console: (copy (src ./device-usage/console/)
                                 (dst /src/device-usage/console))
2021-05-04 08:52.31 ---> saved as "314d37fd0f5241e2a7a4df0e6f42008e755419e48cf3b28542beccb46c308b07"

/src/device-usage/console: (run (shell "opam exec -- mirage build"))
         gcc duniverse/ocaml-cstruct/lib/cstruct_stubs.o
cstruct_stubs.c: In function 'caml_blit_bigstring_to_string':
cstruct_stubs.c:29:31: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   memcpy(String_val(val_buf2) + Long_val(val_ofs2),
In file included from cstruct_stubs.c:18:
/usr/include/string.h:42:14: note: expected 'void * restrict' but argument is of type 'const char *'
 extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
              ^~~~~~
2021-05-04 08:54.02 ---> saved as "fbabbd99a79b79efb65586dce4dca8e29d5891e84491f105f42d256dcff34cac"
Job succeeded
2021-05-04 08:54.03: Job succeeded