OCamllabs icon Home|Differences with the last checks|Previous runs


Building on x86-bm-11.ocamllabs.io

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
76d3fc461301: Already exists
4ef6d20bd5d7: Already exists
f5ab1124984a: Pulling fs layer
f5ab1124984a: Verifying Checksum
f5ab1124984a: Download complete
f5ab1124984a: Pull complete
Digest: sha256:8e32e0d09a8f957267511ce7ffcb86567614efb6d6bb72b6aea9be9dac1bf3e7
Status: Downloaded newer image for ocaml/opam:debian-unstable
2021-09-04 02:56.44 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

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

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2021-09-04 02:56.44 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'git://github.com/ocaml/opam-repository.git' ~/opam-repository && git -C ~/opam-repository checkout -q 8fc7af65ccb8f3b3709bf02b749ac492e6700b59"))
2021-09-04 02:56.44 ---> using "eb095db6df41eeadc708604343f7b0ce0892db9136dac67a38046f57271c5802" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

  ~/.profile is already up-to-date.
2021-09-04 02:56.44 ---> using "d245c9af6f86b2b97434d338a3fbb8270425ab7dc6ad1b5451665adc9698eabf" from cache

/: (run (network host)
        (shell "git clone -q 'git://github.com/ocaml/ocaml-beta-repository.git' ~/'beta' && git -C ~/'beta' checkout -q 79aeeadd813bdae424ab53f882f08bee0a4e0b89"))
2021-09-04 02:56.44 ---> using "20d9850dcecd0523d6eddecad814e9bbd93882334348605bfa6e15ffd8f5ced5" from cache

/: (run (shell "opam repository add --dont-select 'beta' ~/'beta'"))
[beta] Initialised
2021-09-04 02:56.44 ---> using "6f8879c5099d2146b69bdcec3874fd111cad6c5c42ac63d5f9aa72a228fd8ee8" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=beta,default 4.11.2"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.11.2"} | "ocaml-system" {= "4.11.2"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-base-compiler.4.11.2  (cached)
-> installed ocaml-base-compiler.4.11.2
-> installed ocaml-config.1
-> installed ocaml.4.11.2
Done.
# Run eval $(opam env --switch=4.11.2) to update the current shell environment
2021-09-04 02:56.44 ---> using "02a105aeb299ad931aed2945f016f8166bc1f7e878243889fb755113c09b1667" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [165 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8766 kB]
- Fetched 8994 kB in 3s (2884 kB/s)
- Reading package lists...
- 
2021-09-04 02:56.44 ---> using "8048fa6c82a0969e44a210039fa920031a2f110ed38f8762e8da9ac3d158cc4b" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"kafka.0.5\"\
               \nopam install -vy \"kafka.0.5\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"kafka.0.5\" | grep -q '\"debian-unstable\"'; then\
               \n        echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
               \n        exit 69\
               \n    fi\
               \nfi\
               \n\
               \n\
               \nexit $res\
               \n"))
[NOTE] kafka.0.5 is not installed.

Nothing to do.
The following actions will be performed:
  - install dune            2.9.0 [required by kafka]
  - install conf-pkg-config 2     [required by conf-zlib]
  - install conf-zlib       1     [required by kafka]
  - install kafka           0.5
===== 4 to install =====

The following system packages will first need to be installed:
    librdkafka-dev pkg-config zlib1g-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "librdkafka-dev" "pkg-config" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (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 ... 18039 files and directories currently installed.)
- Preparing to unpack .../00-libglib2.0-0_2.68.4-1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.68.4-1) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../01-libglib2.0-data_2.68.4-1_all.deb ...
- Unpacking libglib2.0-data (2.68.4-1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../02-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package librdkafka1:amd64.
- Preparing to unpack .../03-librdkafka1_1.6.0-1_amd64.deb ...
- Unpacking librdkafka1:amd64 (1.6.0-1) ...
- Selecting previously unselected package librdkafka++1:amd64.
- Preparing to unpack .../04-librdkafka++1_1.6.0-1_amd64.deb ...
- Unpacking librdkafka++1:amd64 (1.6.0-1) ...
- Selecting previously unselected package librdkafka-dev:amd64.
- Preparing to unpack .../05-librdkafka-dev_1.6.0-1_amd64.deb ...
- Unpacking librdkafka-dev:amd64 (1.6.0-1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../06-libxml2_2.9.12+dfsg-3_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.12+dfsg-3) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../07-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../08-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../09-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../10-zlib1g-dev_1%3a1.2.11.dfsg-2_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.68.4-1) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.68.4-1) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up librdkafka1:amd64 (1.6.0-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ...
- Setting up libxml2:amd64 (2.9.12+dfsg-3) ...
- Setting up librdkafka++1:amd64 (1.6.0-1) ...
- Setting up shared-mime-info (2.0-1) ...
- Setting up librdkafka-dev:amd64 (1.6.0-1) ...
- Processing triggers for libc-bin (2.31-15) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  3/12:
Processing  4/12:
Processing  5/12: [conf-pkg-config: pkg-config]
-> retrieved dune.2.9.0  (cached)
Processing  6/12: [conf-pkg-config: pkg-config] [dune: ocaml bootstrap.ml]
-> retrieved kafka.0.5  (cached)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/conf-pkg-config.2)
- Usage:
-   pkg-config [OPTION?]
- 
- Help Options:
-   -h, --help                              Show help options
- 
- Application Options:
-   --version                               output version of pkg-config
-   --modversion                            output version for package
-   --atleast-pkgconfig-version=VERSION     require given version of pkg-config
-   --libs                                  output all linker flags
-   --static                                output linker flags for static linking
-   --short-errors                          print short errors
-   --libs-only-l                           output -l flags
-   --libs-only-other                       output other libs (e.g. -pthread)
-   --libs-only-L                           output -L flags
-   --cflags                                output all pre-processor and compiler flags
-   --cflags-only-I                         output -I flags
-   --cflags-only-other                     output cflags not covered by the cflags-only-I option
-   --variable=NAME                         get the value of variable named NAME
-   --define-variable=NAME=VALUE            set variable NAME to VALUE
-   --exists                                return 0 if the module(s) exist
-   --print-variables                       output list of variables defined by the module
-   --uninstalled                           return 0 if the uninstalled version of one or more module(s) or their dependencies will be used
-   --atleast-version=VERSION               return 0 if the module is at least version VERSION
-   --exact-version=VERSION                 return 0 if the module is at exactly version VERSION
-   --max-version=VERSION                   return 0 if the module is at no newer than version VERSION
-   --list-all                              list all known packages
-   --debug                                 show verbose debug information
-   --print-errors                          show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line)
-   --silence-errors                        be silent about errors (default when --exists or --atleast/exact/max-version given on the command line)
-   --errors-to-stdout                      print errors from --print-errors to stdout not stderr
-   --print-provides                        print which packages the package provides
-   --print-requires                        print which packages the package requires
-   --print-requires-private                print which packages the package requires for static linking
-   --validate                              validate a package's .pc file
-   --define-prefix                         try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --dont-define-prefix                    don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --prefix-variable=PREFIX                set the name of the variable that pkg-config automatically sets
- 
- Usage:
-   pkg-config [OPTION?]
- 
- Help Options:
-   -h, --help                              Show help options
- 
- Application Options:
-   --version                               output version of pkg-config
-   --modversion                            output version for package
-   --atleast-pkgconfig-version=VERSION     require given version of pkg-config
-   --libs                                  output all linker flags
-   --static                                output linker flags for static linking
-   --short-errors                          print short errors
-   --libs-only-l                           output -l flags
-   --libs-only-other                       output other libs (e.g. -pthread)
-   --libs-only-L                           output -L flags
-   --cflags                                output all pre-processor and compiler flags
-   --cflags-only-I                         output -I flags
-   --cflags-only-other                     output cflags not covered by the cflags-only-I option
-   --variable=NAME                         get the value of variable named NAME
-   --define-variable=NAME=VALUE            set variable NAME to VALUE
-   --exists                                return 0 if the module(s) exist
-   --print-variables                       output list of variables defined by the module
-   --uninstalled                           return 0 if the uninstalled version of one or more module(s) or their dependencies will be used
-   --atleast-version=VERSION               return 0 if the module is at least version VERSION
-   --exact-version=VERSION                 return 0 if the module is at exactly version VERSION
-   --max-version=VERSION                   return 0 if the module is at no newer than version VERSION
-   --list-all                              list all known packages
-   --debug                                 show verbose debug information
-   --print-errors                          show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line)
-   --silence-errors                        be silent about errors (default when --exists or --atleast/exact/max-version given on the command line)
-   --errors-to-stdout                      print errors from --print-errors to stdout not stderr
-   --print-provides                        print which packages the package provides
-   --print-requires                        print which packages the package requires
-   --print-requires-private                print which packages the package requires for static linking
-   --validate                              validate a package's .pc file
-   --define-prefix                         try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --dont-define-prefix                    don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --prefix-variable=PREFIX                set the name of the variable that pkg-config automatically sets
- 
-> compiled  conf-pkg-config.2
Processing  6/12: [dune: ocaml bootstrap.ml]
Processing  7/12: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.11.2/lib/pkgconfig" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/conf-pkg-config.2)
-> installed conf-pkg-config.2
Processing  7/12: [dune: ocaml bootstrap.ml]
Processing  8/12: [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "zlib" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/conf-zlib.1)
-> compiled  conf-zlib.1
Processing  8/12: [dune: ocaml bootstrap.ml]
-> installed conf-zlib.1
Processing  9/12: [dune: ocaml bootstrap.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/dune.2.9.0)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 31
- 

Processing  9/12: [dune: ./dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/dune.2.9.0)
-> compiled  dune.2.9.0
-> installed dune.2.9.0
Processing 11/12: [kafka: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "kafka" "-j" "31" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/kafka.0.5)
-          gcc lib/ocaml_kafka.o
- In file included from /home/opam/.opam/4.11.2/lib/ocaml/caml/memory.h:31,
-                  from ocaml_kafka.c:1:
- ocaml_kafka.c: In function 'ocaml_kafka_handler_name':
- /home/opam/.opam/4.11.2/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ocaml_kafka.c:298:10: note: in expansion of macro 'String_val'
-   298 |   memcpy(String_val(caml_name), name, len);
-       |          ^~~~~~~~~~
- In file included from ocaml_kafka.c:8:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- In file included from /home/opam/.opam/4.11.2/lib/ocaml/caml/memory.h:31,
-                  from ocaml_kafka.c:1:
- ocaml_kafka.c: In function 'ocaml_kafka_partitioner_callback':
- /home/opam/.opam/4.11.2/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ocaml_kafka.c:312:10: note: in expansion of macro 'String_val'
-   312 |   memcpy(String_val(caml_key), key, keylen);
-       |          ^~~~~~~~~~
- In file included from ocaml_kafka.c:8:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- In file included from /home/opam/.opam/4.11.2/lib/ocaml/caml/memory.h:31,
-                  from ocaml_kafka.c:1:
- ocaml_kafka.c: In function 'ocaml_kafka_extract_topic_message':
- /home/opam/.opam/4.11.2/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ocaml_kafka.c:421:12: note: in expansion of macro 'String_val'
-   421 |     memcpy(String_val(caml_msg_payload), message->payload, message->len);
-       |            ^~~~~~~~~~
- In file included from ocaml_kafka.c:8:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- In file included from /home/opam/.opam/4.11.2/lib/ocaml/caml/memory.h:31,
-                  from ocaml_kafka.c:1:
- /home/opam/.opam/4.11.2/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ocaml_kafka.c:426:14: note: in expansion of macro 'String_val'
-   426 |       memcpy(String_val(caml_key_payload), message->key, message->key_len);
-       |              ^~~~~~~~~~
- In file included from ocaml_kafka.c:8:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- In file included from /home/opam/.opam/4.11.2/lib/ocaml/caml/memory.h:31,
-                  from ocaml_kafka.c:1:
- ocaml_kafka.c: In function 'ocaml_kafka_produce':
- /home/opam/.opam/4.11.2/lib/ocaml/caml/mlvalues.h:265:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- ocaml_kafka.c:556:19: note: in expansion of macro 'String_val'
-   556 |   void* payload = String_val(caml_msg);
-       |                   ^~~~~~~~~~
- ocaml_kafka.c:563:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   563 |      key = String_val(caml_key);
-       |          ^
-> compiled  kafka.0.5
-> installed kafka.0.5
Done.
# Run eval $(opam env) to update the current shell environment
2021-09-04 02:58.07 ---> saved as "a17a09d11b915db2bc250da2d565b1c76f2721f9d90a06a0c5840362b78a5d1a"
Job succeeded