Building on x86-bm-11.ocamllabs.io (from ocurrent/opam:debian-unstable) WARNING: Error loading config file: .dockercfg: $HOME is not defined 2021-07-05 08:17.53 ---> using "ec5d5faa8619574bfe663422158251f52f4b465bd9d157e348e692194b4f4a2a" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMDEPEXTYES 1) /: (env OPAMUTF8 never) /: (run (network host) (shell "\ \n set -e\ \n git clone -q git://github.com/kit-ty-kate/opam.git /tmp/opam\ \n git -C /tmp/opam checkout -q '72695bfac80dbcd1d2f10287b2626d18d4acc9f2'\ \n opam remote set-url default git://github.com/ocaml/opam-repository.git\ \n opam pin add -yn /tmp/opam > /dev/null\ \n opam install -y opam-devel opam-0install-cudf 'ocamlfind>=1.9'\ \n sudo mv \"$(opam var opam-devel:lib)/opam\" /usr/bin/opam\ \n rm -rf /tmp/opam /tmp/depext.txt ~/.opam\ \n if ! test -d ~/opam-repository; then\ \n git clone -q git://github.com/ocaml/opam-repository.git ~/opam-repository\ \n else\ \n git -C ~/opam-repository pull -q origin master\ \n fi\ \n git -C ~/opam-repository checkout -q '9c3fe9d253394788e95360e5c2bcb22722fae6f5'\ \n ")) [default] Initialised <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [opam-devel.2.1.0~beta4] no changes from git+file:///tmp/opam#HEAD The following actions will be performed: - install ocamlfind 1.9.1 - install seq base [required by re] - install cmdliner 1.0.4 [required by opam-devel] - install dune 2.9.0 [required by opam-0install-cudf, opam-devel] - install ocamlbuild 0.14.0 [required by cudf] - install base-bytes base [required by extlib] - install stdlib-shims 0.3.0 [required by ocamlgraph] - install re 1.9.0 [required by opam-client] - install opam-file-format 2.1.3 [required by opam-format] - install cppo 1.6.7 [required by extlib] - install 0install-solver 2.17 [required by opam-0install-cudf] - install ocamlgraph 2.0.0 [required by dose3] - install extlib 1.7.7-1 [required by cudf, opam-client] - install opam-core 2.1.0~beta4* [required by opam-format] - install cudf 0.9-1 [required by opam-0install-cudf] - install opam-format 2.1.0~beta4* [required by opam-repository, opam-solver] - install opam-0install-cudf 0.4.2 - install mccs 1.1+13 [required by opam-solver] - install dose3 5.0.1-1 [required by opam-solver] - install opam-repository 2.1.0~beta4* [required by opam-client] - install opam-solver 2.1.0~beta4* [required by opam-client] - install opam-state 2.1.0~beta4* [required by opam-client] - install opam-client 2.1.0~beta4* [required by opam-devel] - install opam-devel 2.1.0~beta4* ===== 24 to install ===== <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [cmdliner.1.0.4] downloaded from http://erratique.ch/software/cmdliner/releases/cmdliner-1.0.4.tbz [0install-solver.2.17] downloaded from https://github.com/0install/0install/releases/download/v2.17/0install-v2.17.tbz [cppo.1.6.7] downloaded from https://github.com/ocaml-community/cppo/releases/download/v1.6.7/cppo-v1.6.7.tbz [cudf.0.9-1] downloaded from https://gforge.inria.fr/frs/download.php/36602/cudf-0.9.tar.gz [dose3.5.0.1-1] downloaded from https://gforge.inria.fr/frs/download.php/file/36063/dose3-5.0.1.tar.gz [dune.2.9.0] downloaded from https://github.com/ocaml/dune/releases/download/2.9.0/dune-2.9.0.tbz [extlib.1.7.7-1] downloaded from https://ygrek.org/p/release/ocaml-extlib/extlib-1.7.7.tar.gz [mccs.1.1+13] downloaded from https://github.com/AltGr/ocaml-mccs/archive/1.1+13.tar.gz [ocamlbuild.0.14.0] downloaded from https://github.com/ocaml/ocamlbuild/archive/0.14.0.tar.gz [ocamlfind.1.9.1] downloaded from http://download.camlcity.org/download/findlib-1.9.1.tar.gz [ocamlgraph.2.0.0] downloaded from https://github.com/backtracking/ocamlgraph/releases/download/2.0.0/ocamlgraph-2.0.0.tbz [opam-0install-cudf.0.4.2] downloaded from https://github.com/ocaml-opam/opam-0install-solver/releases/download/v0.4.2/opam-0install-cudf-v0.4.2.tbz [opam-file-format.2.1.3] downloaded from https://github.com/ocaml/opam-file-format/archive/2.1.3.tar.gz [re.1.9.0] downloaded from https://github.com/ocaml/ocaml-re/releases/download/1.9.0/re-1.9.0.tbz [stdlib-shims.0.3.0] downloaded from https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed seq.base -> installed cmdliner.1.0.4 -> installed ocamlfind.1.9.1 -> installed base-bytes.base -> installed ocamlbuild.0.14.0 -> installed dune.2.9.0 -> installed stdlib-shims.0.3.0 -> installed 0install-solver.2.17 -> installed cppo.1.6.7 -> installed opam-file-format.2.1.3 -> installed re.1.9.0 -> installed ocamlgraph.2.0.0 -> installed extlib.1.7.7-1 -> installed opam-core.2.1.0~beta4 -> installed cudf.0.9-1 -> installed opam-0install-cudf.0.4.2 -> installed mccs.1.1+13 -> installed opam-format.2.1.0~beta4 -> installed opam-repository.2.1.0~beta4 -> installed dose3.5.0.1-1 -> installed opam-solver.2.1.0~beta4 -> installed opam-state.2.1.0~beta4 -> installed opam-client.2.1.0~beta4 -> installed opam-devel.2.1.0~beta4 Done. <><> opam-devel.2.1.0~beta4 installed successfully ><><><><><><><><><><><><><><> => The development version of opam has been successfully compiled into /home/opam/.opam/4.11/lib/opam-devel. You should not run it from there, please install the binaries to your PATH, e.g. with sudo cp /home/opam/.opam/4.11/lib/opam-devel/opam /usr/local/bin If you just want to give it a try without altering your current installation, you could use instead: alias opam2="OPAMROOT=~/.opam2 /home/opam/.opam/4.11/lib/opam-devel/opam" # Run eval $(opam env) to update the current shell environment Updating files: 97% (11933/12211) Updating files: 98% (11967/12211) Updating files: 99% (12089/12211) Updating files: 100% (12211/12211) Updating files: 100% (12211/12211), done. 2021-07-05 08:17.53 ---> using "307be9aa5cdafafceded4bdc6f1d2d6cc6421661c3851f395cf39dd0065265a9" from cache /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (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: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2021-07-05 08:17.53 ---> using "f9d18559158c26cb0236b11f8c3f1aca1927d54f77b8b978800f7461ab605d60" 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-07-05 08:17.53 ---> using "0123e084a7b7841fc01d674ea3cc62b640a19885601c401c0149be13108a5da4" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-07-05 08:17.53 ---> using "4382217c65ee8c899c1e38e76fe879b949ffb708f73e6e0a95f0a3814d01dd54" 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-07-05 08:17.53 ---> using "2c8838f3a92b240b5a581e6313d8481bd7a38de0f7f7394be371bbc7550604d8" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 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 [8640 kB] - Fetched 8865 kB in 2s (4966 kB/s) - Reading package lists... - 2021-07-05 08:17.53 ---> using "46fc310bd923a57fb188b01a0371b97a5919f17635856c4dfb32e488af2ee0cb" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"zmq.5.1.3\"\ \nopam install -vy \"zmq.5.1.3\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"zmq.5.1.3\" | 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")) Nothing to do. [NOTE] zmq.5.1.3 is not installed. The following actions will be performed: - install dune 2.9.0 [required by zmq] - install conf-zmq 0.1 [required by zmq] - install stdint 0.7.0 [required by zmq] - install result 1.5 [required by dune-configurator] - install csexp 1.5.1 [required by dune-configurator] - install dune-configurator 2.9.0 [required by zmq] - install zmq 5.1.3 ===== 7 to install ===== The following system packages will first need to be installed: libzmq3-dev <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? [Y/n] y + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libzmq3-dev" - debconf: delaying package configuration, since apt-utils is not installed - (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 ... 17845 files and directories currently installed.) - Preparing to unpack .../00-libcom-err2_1.46.2-2_amd64.deb ... - Unpacking libcom-err2:amd64 (1.46.2-2) over (1.45.6-1) ... - Selecting previously unselected package comerr-dev:amd64. - Preparing to unpack .../01-comerr-dev_2.1-1.46.2-2_amd64.deb ... - Unpacking comerr-dev:amd64 (2.1-1.46.2-2) ... - 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 icu-devtools. - Preparing to unpack .../03-icu-devtools_67.1-7_amd64.deb ... - Unpacking icu-devtools (67.1-7) ... - Preparing to unpack .../04-libgssapi-krb5-2_1.18.3-5_amd64.deb ... - Unpacking libgssapi-krb5-2:amd64 (1.18.3-5) over (1.17-10) ... - Preparing to unpack .../05-libkrb5-3_1.18.3-5_amd64.deb ... - Unpacking libkrb5-3:amd64 (1.18.3-5) over (1.17-10) ... - Preparing to unpack .../06-libk5crypto3_1.18.3-5_amd64.deb ... - Unpacking libk5crypto3:amd64 (1.18.3-5) over (1.17-10) ... - Preparing to unpack .../07-libkrb5support0_1.18.3-5_amd64.deb ... - Unpacking libkrb5support0:amd64 (1.18.3-5) over (1.17-10) ... - Selecting previously unselected package libgssrpc4:amd64. - Preparing to unpack .../08-libgssrpc4_1.18.3-5_amd64.deb ... - Unpacking libgssrpc4:amd64 (1.18.3-5) ... - Selecting previously unselected package libkdb5-10:amd64. - Preparing to unpack .../09-libkdb5-10_1.18.3-5_amd64.deb ... - Unpacking libkdb5-10:amd64 (1.18.3-5) ... - Selecting previously unselected package libkadm5srv-mit12:amd64. - Preparing to unpack .../10-libkadm5srv-mit12_1.18.3-5_amd64.deb ... - Unpacking libkadm5srv-mit12:amd64 (1.18.3-5) ... - Selecting previously unselected package libkadm5clnt-mit12:amd64. - Preparing to unpack .../11-libkadm5clnt-mit12_1.18.3-5_amd64.deb ... - Unpacking libkadm5clnt-mit12:amd64 (1.18.3-5) ... - Selecting previously unselected package krb5-multidev:amd64. - Preparing to unpack .../12-krb5-multidev_1.18.3-5_amd64.deb ... - Unpacking krb5-multidev:amd64 (1.18.3-5) ... - Selecting previously unselected package libmd0:amd64. - Preparing to unpack .../13-libmd0_1.0.3-3_amd64.deb ... - Unpacking libmd0:amd64 (1.0.3-3) ... - Preparing to unpack .../14-libbsd0_0.11.3-1_amd64.deb ... - Unpacking libbsd0:amd64 (0.11.3-1) over (0.10.0-1) ... - Selecting previously unselected package libmd-dev:amd64. - Preparing to unpack .../15-libmd-dev_1.0.3-3_amd64.deb ... - Unpacking libmd-dev:amd64 (1.0.3-3) ... - Selecting previously unselected package libbsd-dev:amd64. - Preparing to unpack .../16-libbsd-dev_0.11.3-1_amd64.deb ... - Unpacking libbsd-dev:amd64 (0.11.3-1) ... - Selecting previously unselected package libicu-dev:amd64. - Preparing to unpack .../17-libicu-dev_67.1-7_amd64.deb ... - Unpacking libicu-dev:amd64 (67.1-7) ... - Selecting previously unselected package libkrb5-dev:amd64. - Preparing to unpack .../18-libkrb5-dev_1.18.3-5_amd64.deb ... - Unpacking libkrb5-dev:amd64 (1.18.3-5) ... - Selecting previously unselected package libnorm1:amd64. - Preparing to unpack .../19-libnorm1_1.5.9+dfsg-2_amd64.deb ... - Unpacking libnorm1:amd64 (1.5.9+dfsg-2) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../20-libxml2_2.9.10+dfsg-6.7_amd64.deb ... - Unpacking libxml2:amd64 (2.9.10+dfsg-6.7) ... - Selecting previously unselected package libxml2-dev:amd64. - Preparing to unpack .../21-libxml2-dev_2.9.10+dfsg-6.7_amd64.deb ... - Unpacking libxml2-dev:amd64 (2.9.10+dfsg-6.7) ... - Selecting previously unselected package libnorm-dev:amd64. - Preparing to unpack .../22-libnorm-dev_1.5.9+dfsg-2_amd64.deb ... - Unpacking libnorm-dev:amd64 (1.5.9+dfsg-2) ... - Selecting previously unselected package libpgm-5.3-0:amd64. - Preparing to unpack .../23-libpgm-5.3-0_5.3.128~dfsg-2_amd64.deb ... - Unpacking libpgm-5.3-0:amd64 (5.3.128~dfsg-2) ... - Selecting previously unselected package libpgm-dev:amd64. - Preparing to unpack .../24-libpgm-dev_5.3.128~dfsg-2_amd64.deb ... - Unpacking libpgm-dev:amd64 (5.3.128~dfsg-2) ... - Selecting previously unselected package libsodium23:amd64. - Preparing to unpack .../25-libsodium23_1.0.18-1_amd64.deb ... - Unpacking libsodium23:amd64 (1.0.18-1) ... - Selecting previously unselected package libsodium-dev:amd64. - Preparing to unpack .../26-libsodium-dev_1.0.18-1_amd64.deb ... - Unpacking libsodium-dev:amd64 (1.0.18-1) ... - Selecting previously unselected package libzmq5:amd64. - Preparing to unpack .../27-libzmq5_4.3.4-1_amd64.deb ... - Unpacking libzmq5:amd64 (4.3.4-1) ... - Selecting previously unselected package libzmq3-dev:amd64. - Preparing to unpack .../28-libzmq3-dev_4.3.4-1_amd64.deb ... - Unpacking libzmq3-dev:amd64 (4.3.4-1) ... - Setting up libsodium23:amd64 (1.0.18-1) ... - Setting up libicu67:amd64 (67.1-7) ... - Setting up libpgm-5.3-0:amd64 (5.3.128~dfsg-2) ... - Setting up libnorm1:amd64 (1.5.9+dfsg-2) ... - Setting up libcom-err2:amd64 (1.46.2-2) ... - Setting up libkrb5support0:amd64 (1.18.3-5) ... - Setting up libpgm-dev:amd64 (5.3.128~dfsg-2) ... - Setting up comerr-dev:amd64 (2.1-1.46.2-2) ... - Setting up icu-devtools (67.1-7) ... - Setting up libsodium-dev:amd64 (1.0.18-1) ... - Setting up libk5crypto3:amd64 (1.18.3-5) ... - Setting up libmd0:amd64 (1.0.3-3) ... - Setting up libmd-dev:amd64 (1.0.3-3) ... - Setting up libkrb5-3:amd64 (1.18.3-5) ... - Setting up libbsd0:amd64 (0.11.3-1) ... - Setting up libicu-dev:amd64 (67.1-7) ... - Setting up libxml2:amd64 (2.9.10+dfsg-6.7) ... - Setting up libbsd-dev:amd64 (0.11.3-1) ... - Setting up libxml2-dev:amd64 (2.9.10+dfsg-6.7) ... - Setting up libgssapi-krb5-2:amd64 (1.18.3-5) ... - Setting up libzmq5:amd64 (4.3.4-1) ... - Setting up libnorm-dev:amd64 (1.5.9+dfsg-2) ... - Setting up libgssrpc4:amd64 (1.18.3-5) ... - Setting up libkadm5clnt-mit12:amd64 (1.18.3-5) ... - Setting up libkdb5-10:amd64 (1.18.3-5) ... - Setting up libkadm5srv-mit12:amd64 (1.18.3-5) ... - Setting up krb5-multidev:amd64 (1.18.3-5) ... - Setting up libkrb5-dev:amd64 (1.18.3-5) ... - Setting up libzmq3-dev:amd64 (4.3.4-1) ... - Processing triggers for libc-bin (2.31-4) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/21: Processing 3/21: Processing 4/21: Processing 5/21: [conf-zmq: cc test.c] -> retrieved csexp.1.5.1 (cached) Processing 6/21: [conf-zmq: cc test.c] -> retrieved dune.2.9.0 (cached) Processing 7/21: [conf-zmq: cc test.c] Processing 8/21: [conf-zmq: cc test.c] [dune: ocaml bootstrap.ml] -> retrieved dune-configurator.2.9.0 (cached) Processing 9/21: [conf-zmq: cc test.c] [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "cc" "test.c" "-I/usr/local/include" "-L/usr/local/lib" "-lzmq" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/conf-zmq.0.1) -> compiled conf-zmq.0.1 Processing 9/21: [dune: ocaml bootstrap.ml] -> installed conf-zmq.0.1 Processing 10/21: [dune: ocaml bootstrap.ml] -> retrieved result.1.5 (cached) -> retrieved stdint.0.7.0 (cached) -> retrieved zmq.5.1.3 (cached) + /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 10/21: [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 12/21: [csexp: dune build] Processing 13/21: [csexp: dune build] [result: dune build] Processing 14/21: [csexp: dune build] [result: dune build] [stdint: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "31" "@install" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/csexp.1.5.1) -> compiled csexp.1.5.1 Processing 14/21: [result: dune build] [stdint: dune build] -> installed csexp.1.5.1 Processing 15/21: [result: dune build] [stdint: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "result" "-j" "31" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/result.1.5) -> compiled result.1.5 Processing 15/21: [stdint: dune build] -> installed result.1.5 Processing 16/21: [stdint: dune build] Processing 17/21: [dune-configurator: dune build] [stdint: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdint" "-j" "31" "@install" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/stdint.0.7.0) -> compiled stdint.0.7.0 Processing 17/21: [dune-configurator: dune build] -> installed stdint.0.7.0 Processing 18/21: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/dune-configurator.2.9.0) -> compiled dune-configurator.2.9.0 -> installed dune-configurator.2.9.0 Processing 20/21: [zmq: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "zmq" "-j" "31" (CWD=/home/opam/.opam/4.11.2/.opam-switch/build/zmq.5.1.3) - gcc zmq/src/caml_zmq_stubs.o - In file included from caml_zmq_stubs.c:12: - caml_zmq_stubs.c: In function 'caml_zmq_set_string_option': - /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)) - | ^ - caml_zmq_stubs.c:222:26: note: in expansion of macro 'String_val' - 222 | char *option_value = String_val(socket_option); - | ^~~~~~~~~~ - caml_zmq_stubs.c: In function 'caml_zmq_recv': - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - caml_zmq_stubs.c:476:13: note: in expansion of macro 'String_val' - 476 | memcpy (String_val(message), zmq_msg_data (&msg), size); - | ^~~~~~~~~~ - In file included from caml_zmq_stubs.c:7: - /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 caml_zmq_stubs.c:12: - caml_zmq_stubs.c: In function 'caml_z85_encode': - /home/opam/.opam/4.11.2/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'zmq_z85_encode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - caml_zmq_stubs.c:800:24: note: in expansion of macro 'String_val' - 800 | if (zmq_z85_encode(String_val(result), (uint8_t*) String_val(source), length) == NULL) - | ^~~~~~~~~~ - In file included from caml_zmq_stubs.c:32: - /usr/include/zmq.h:570:23: note: expected 'char *' but argument is of type 'const char *' - 570 | zmq_z85_encode (char *dest_, const uint8_t *data_, size_t size_); - | ~~~~~~^~~~~ - In file included from caml_zmq_stubs.c:12: - caml_zmq_stubs.c: In function 'caml_curve_keypair': - /home/opam/.opam/4.11.2/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'zmq_curve_keypair' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - caml_zmq_stubs.c:828:36: note: in expansion of macro 'String_val' - 828 | int result = zmq_curve_keypair(String_val(public), String_val(secret)); - | ^~~~~~~~~~ - In file included from caml_zmq_stubs.c:32: - /usr/include/zmq.h:577:41: note: expected 'char *' but argument is of type 'const char *' - 577 | ZMQ_EXPORT int zmq_curve_keypair (char *z85_public_key_, char *z85_secret_key_); - | ~~~~~~^~~~~~~~~~~~~~~ - In file included from caml_zmq_stubs.c:12: - /home/opam/.opam/4.11.2/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'zmq_curve_keypair' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - caml_zmq_stubs.c:828:56: note: in expansion of macro 'String_val' - 828 | int result = zmq_curve_keypair(String_val(public), String_val(secret)); - | ^~~~~~~~~~ - In file included from caml_zmq_stubs.c:32: - /usr/include/zmq.h:577:64: note: expected 'char *' but argument is of type 'const char *' - 577 | ZMQ_EXPORT int zmq_curve_keypair (char *z85_public_key_, char *z85_secret_key_); - | ~~~~~~^~~~~~~~~~~~~~~ -> compiled zmq.5.1.3 -> installed zmq.5.1.3 Done. # Run eval $(opam env) to update the current shell environment 2021-07-05 08:18.38 ---> saved as "7e41dd45fef0a3a484885683cd415709563716cace559b841fe3908f567f0134" Job succeeded