Build:
  1. 0
2021-04-07 09:02.24: 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#ee5558b81962a6689943a8e46d610323e21334cc"))
 (run (network host)
      (shell "opam repo add overlays https://github.com/dune-universe/opam-overlays.git#65df55a4c2de834c69c32d11fbc221aed42723ec"))
 (run (network host)
      (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#dcc79014e10006b1b84fe5ed45c5ef067dc4caf7"))
 (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/network/config.ml)
       (dst /src/device-usage/network/))
 (workdir /src/device-usage/network)
 (run (shell "sudo chown -R opam:opam ."))
 (run (shell "opam exec -- mirage configure -t hvt"))
 (run (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam exec -- make depends"))
 (copy (src ./device-usage/network/) (dst /src/device-usage/network))
 (run (shell "opam exec -- mirage build"))
)

2021-04-07 09:02.24: Using cache hint "mirage-ci-skeleton-debian-10-ocaml-4.11"
2021-04-07 09:02.24: Connecting to build cluster...
2021-04-07 09:02.24: Waiting for resource in pool OCluster
2021-04-07 09:02.24: Waiting for worker...
2021-04-07 09:02.25: Got resource from pool OCluster
Building on arm64-build-2.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
---> using "55046a382be6522c2019f2d87f47a2f13f20b07c881552d8874b0b62ca04c220" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
---> using "553e426c2c55667c0defbebd0246a6a329d5be6b30d4e101d33666fe06b4eeb4" from cache

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#ee5558b81962a6689943a8e46d610323e21334cc"))
[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.

---> using "8e8df8c49e90e1fb50c61f6a9661371436eccd0e09ce7120b522d26777336131" from cache

/home/opam: (run (network host)
                 (shell "opam repo add overlays https://github.com/dune-universe/opam-overlays.git#65df55a4c2de834c69c32d11fbc221aed42723ec"))
[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.

---> using "92d5f6e6a1ef1a28732c035421cc9b7d3fee93df69e471cdc490937a07da0585" from cache

/home/opam: (run (network host)
                 (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#dcc79014e10006b1b84fe5ed45c5ef067dc4caf7"))
[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.

---> using "acf2e8a3450b32264f3b719370e2f7540a526313e4dec6c90e78ea24b813c41f" 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
# The following system packages are needed:
libseccomp-dev
linux-libc-dev
pkg-config
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#new-toolchain+pkgconfig

<><> 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
---> using "8d8e73579455f6cb5f22339c4082461fac545cd742454da02fc6c6f7370bcb5f" 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
# The following system packages are needed:
pkg-config
# 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 ocamlbuild        0.14.0     [required by fpath]
  - install stdlib-shims      0.3.0      [required by mirage]
  - install seq               base+dune  [required by lwt]
  - install result            1.5        [required by 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 topkg             1.0.3      [required by fpath]
  - 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      [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
===== 29 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] 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-runtime.4.0.0] synchronised from git+https://github.com/TheLortex/mirage.git#13384dd0eaa6ab2b61da4c0426d2d395d4953f2e
[functoria.4.0.0] synchronised from git+https://github.com/TheLortex/mirage.git#13384dd0eaa6ab2b61da4c0426d2d395d4953f2e
[mmap.1.1.0] found in cache
[mirage.4.0.0] synchronised from git+https://github.com/TheLortex/mirage.git#13384dd0eaa6ab2b61da4c0426d2d395d4953f2e
[ocamlbuild.0.14.0] found in cache
[ocamlgraph.2.0.0] found in cache
[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
[topkg.1.0.3] found in cache
[mirage-runtime.4.0.0] synchronised from git+https://github.com/TheLortex/mirage.git#13384dd0eaa6ab2b61da4c0426d2d395d4953f2e
[opam-monorepo.0.2.2] synchronised from git+https://github.com/TheLortex/duniverse.git#7995f7d864b3fc7139c56478c5b0688fa0713dc6

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> installed dune.2.8.5
-> installed ocamlbuild.0.14.0
-> 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 topkg.1.0.3
-> installed ocplib-endian.1.1
-> installed dune-configurator.2.8.5
-> installed rresult.0.6.0+dune
-> installed fmt.0.8.9+dune
-> installed ocamlgraph.2.0.0
-> installed fpath.0.7.3
-> 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
---> using "41102b077ff1a83ea4d4b8ef2ed5037a1e2c090e1e078f9f4676df49d232e076" from cache

/home/opam: (copy (src ./device-usage/network/config.ml)
                  (dst /src/device-usage/network/))
---> using "08cf6bb122f73525ab0a6b45e15f2bd79b518d5c548afecf1eb371d17b0d5c68" from cache

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

/src/device-usage/network: (run (shell "sudo chown -R opam:opam ."))
---> using "1d5e7c7523964d9a4c1c581c70a52c519a581c2e7d3c16a332aa5e2d8bfa8a89" from cache

/src/device-usage/network: (run (shell "opam exec -- mirage configure -t hvt"))
Info: Creating file dune-project with this contents:
| (lang dune 2.8)
File "mirage/config.ml", line 7, characters 26-38:
7 | let main = foreign ~keys:[Key.abstract port] "Unikernel.Main" (stackv4 @-> job)
                              ^^^^^^^^^^^^
Alert deprecated: Mirage.Key.abstract
Use Mirage.Key.v.
File "mirage/config.ml", line 7, characters 26-38:
7 | let main = foreign ~keys:[Key.abstract port] "Unikernel.Main" (stackv4 @-> job)
                              ^^^^^^^^^^^^
Alert deprecated: Mirage.Key.abstract
Use Mirage.Key.v.
---> saved as "b303509bc597ea97104312db1892a3969a5e778371350ec4871c542db0eb2f60"

/src/device-usage/network: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
                                (network host)
                                (shell "opam exec -- make depends"))
make depext
make[1]: Entering directory '/src/device-usage/network'
opam pin add -k path --no-action --yes network-hvt-install ./mirage
Package network-hvt-install does not exist, create as a NEW package? [Y/n] y
[network-hvt-install.~dev: rsync]
[network-hvt-install.~dev] synchronised from file:///src/device-usage/network/mirage
network-hvt-install is now pinned to file:///src/device-usage/network/mirage (version ~dev)
opam depext --yes --update network-hvt-install
# Detecting depexts using vars: arch=arm64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libseccomp-dev
linux-libc-dev
pkg-config
# All required OS packages found.
opam pin remove --no-action network-hvt-install
Ok, network-hvt-install is no longer pinned to file:///src/device-usage/network/mirage (version ~dev)
make[1]: Leaving directory '/src/device-usage/network'
opam install ./mirage/network-hvt-install.opam --deps-only --yes
Nothing to do.
make repo-add
make[1]: Entering directory '/src/device-usage/network'
opam repo add mirage-tmp https://github.com/mirage/opam-overlays.git ||\
opam repo set-url 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.

make[1]: Leaving directory '/src/device-usage/network'
opam monorepo lock --build-only network-hvt -l ./mirage/network-hvt.opam.locked --ocaml-version 4.11.2  || (ret=$?; make repo-rm && exit $ret)
==> Using locally scanned package 'network-hvt' 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 80 opam dependencies for network-hvt.
==> Querying opam database for their metadata and Dune compatibility.
==> Calculating exact pins for each of them.
opam-monorepo: [WARNING] Ref '13384dd0eaa6ab2b61da4c0426d2d395d4953f2e' looks like a commit but hasn't been found in the remote.
==> Wrote lockfile with 61 entries to mirage/network-hvt.opam.locked. You can now run opam monorepo pull to fetch their sources.
make depext-lockfile && make repo-rm || (ret=$?; make repo-rm && exit $ret)
make[1]: Entering directory '/src/device-usage/network'
opam pin add -k path --no-action --yes network-hvt ./mirage --locked --ignore-pin-depends
Package network-hvt does not exist, create as a NEW package? [Y/n] y
[network-hvt.~dev: rsync]
[network-hvt.~dev] synchronised from file:///src/device-usage/network/mirage
[WARNING] Failed checks on network-hvt package definition from source at file:///src/device-usage/network/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
network-hvt is now pinned to file:///src/device-usage/network/mirage (version ~dev)
opam depext --yes --update network-hvt
# Detecting depexts using vars: arch=arm64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
pkg-config
# All required OS packages found.
opam pin remove --no-action network-hvt
Ok, network-hvt is no longer pinned to file:///src/device-usage/network/mirage (version ~dev)
make[1]: Leaving directory '/src/device-usage/network'
make[1]: Entering directory '/src/device-usage/network'
opam repo remove mirage-tmp
Repositories removed from the selections of switch 4.11. Use '--all' to forget about them altogether.
make[1]: Leaving directory '/src/device-usage/network'
cd mirage && opam monorepo pull -l network-hvt.opam.locked
Successfully pulled 60/60 repositories
---> saved as "caf0550659fa73ba9226d18fe2b27b8bf3db02718afa3e4c5380e6a76e72d8c9"

/src/device-usage/network: (copy (src ./device-usage/network/)
                                 (dst /src/device-usage/network))
---> saved as "fe46b70b8271636424eb2ff44eb023d25c886bd45c250dbaa4f9391717f23f7e"

/src/device-usage/network: (run (shell "opam exec -- mirage build"))
aarch64-solo5-none-static-cc mirage/duniverse/ocaml-cstruct/lib/cstruct_stubs.o [mirage-hvt]
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:
/home/opam/.opam/4.11/freestanding-sysroot/include/nolibc/string.h:8:7: note: expected 'void *' but argument is of type 'const char *'
 void *memcpy(void *, const void *, size_t);
       ^~~~~~
---> saved as "eee8b72acaaa6ee3f7e7f447996187eeac470264685713884c391f2dd5e31f32"
Job succeeded
2021-04-07 09:04.05: Job succeeded