package ocaml-protoc-plugin

  1. Overview
  2. Docs
On This Page
  1. Error log

ocaml-protoc-plugin 0.9

Error log

The package failed to build. The error log from opam follows.

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy ocaml-protoc-plugin.0.9 variantslib.v0.13.0 stdlib-shims.0.3.0 stdio.v0.13.0 sexplib0.v0.13.0 seq.base result.1.5 re.1.11.0 ppxlib.0.13.0 ppx_variants_conv.v0.13.0 ppx_sexp_conv.v0.13.0 ppx_let.v0.13.0 ppx_inline_test.v0.13.1 ppx_here.v0.13.0 ppx_fields_conv.v0.13.0 ppx_expect.v0.13.1 ppx_deriving.5.0 ppx_derivers.1.2.1 ppx_custom_printf.v0.13.0 ppx_compare.v0.13.0 ppx_cold.v0.13.0 ppx_assert.v0.13.0 pbrt.3.1.1 ocplib-endian.1.2 ocamlfind.1.9.6 ocaml-protoc.3.1.1 ocaml-migrate-parsetree.1.8.0 ocaml-compiler-libs.v0.12.4 fieldslib.v0.13.0 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 cppo.1.7.0 conf-protoc.4.4.0 base-bytes.base base.v0.13.2" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libprotobuf-dev
protobuf-compiler
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install ppx_derivers            1.2.1
  - install sexplib0                v0.13.0
  - install seq                     base
  - install ocaml-compiler-libs     v0.12.4
  - install base-bytes              base
  - install conf-protoc             4.4.0
  - install stdlib-shims            0.3.0
  - install result                  1.5
  - install csexp                   1.5.2
  - install cppo                    1.7.0
  - install re                      1.11.0
  - install pbrt                    3.1.1
  - install ocaml-migrate-parsetree 1.8.0
  - install dune-configurator       3.16.0
  - install ocplib-endian           1.2
  - install ocaml-protoc            3.1.1
  - install base                    v0.13.2
  - install variantslib             v0.13.0
  - install stdio                   v0.13.0
  - install fieldslib               v0.13.0
  - install ppxlib                  0.13.0
  - install ppx_variants_conv       v0.13.0
  - install ppx_sexp_conv           v0.13.0
  - install ppx_let                 v0.13.0
  - install ppx_inline_test         v0.13.1
  - install ppx_here                v0.13.0
  - install ppx_fields_conv         v0.13.0
  - install ppx_deriving            5.0
  - install ppx_compare             v0.13.0
  - install ppx_cold                v0.13.0
  - install ppx_custom_printf       v0.13.0
  - install ppx_assert              v0.13.0
  - install ppx_expect              v0.13.1
  - install ocaml-protoc-plugin     0.9
===== 34 to install =====

The following system packages will first need to be installed:
    libprotobuf-dev protobuf-compiler

<><> 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" "libprotobuf-dev" "protobuf-compiler"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package zlib1g-dev: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 ... 18733 files and directories currently installed.)
- Preparing to unpack .../0-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package libprotobuf32:amd64.
- Preparing to unpack .../1-libprotobuf32_3.21.12-3_amd64.deb ...
- Unpacking libprotobuf32:amd64 (3.21.12-3) ...
- Selecting previously unselected package libprotobuf-lite32:amd64.
- Preparing to unpack .../2-libprotobuf-lite32_3.21.12-3_amd64.deb ...
- Unpacking libprotobuf-lite32:amd64 (3.21.12-3) ...
- Selecting previously unselected package libprotobuf-dev:amd64.
- Preparing to unpack .../3-libprotobuf-dev_3.21.12-3_amd64.deb ...
- Unpacking libprotobuf-dev:amd64 (3.21.12-3) ...
- Selecting previously unselected package libprotoc32:amd64.
- Preparing to unpack .../4-libprotoc32_3.21.12-3_amd64.deb ...
- Unpacking libprotoc32:amd64 (3.21.12-3) ...
- Selecting previously unselected package protobuf-compiler.
- Preparing to unpack .../5-protobuf-compiler_3.21.12-3_amd64.deb ...
- Unpacking protobuf-compiler (3.21.12-3) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libprotobuf32:amd64 (3.21.12-3) ...
- Setting up libprotobuf-lite32:amd64 (3.21.12-3) ...
- Setting up libprotoc32:amd64 (3.21.12-3) ...
- Setting up protobuf-compiler (3.21.12-3) ...
- Setting up libprotobuf-dev:amd64 (3.21.12-3) ...
- Processing triggers for libc-bin (2.36-9+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/102:
Processing  2/102:
Processing  3/102:
Processing  4/102:
Processing  5/102:
Processing  6/102:
Processing  7/102: [conf-protoc: protoc]
-> installed base-bytes.base
Processing  8/102: [conf-protoc: protoc]
-> retrieved base.v0.13.2  (cached)
Processing  9/102: [conf-protoc: protoc]
-> retrieved cppo.1.7.0  (cached)
Processing 10/102: [conf-protoc: protoc]
Processing 11/102: [conf-protoc: protoc] [cppo: dune build]
-> retrieved csexp.1.5.2  (cached)
Processing 12/102: [conf-protoc: protoc] [cppo: dune build]
Processing 13/102: [conf-protoc: protoc] [cppo: dune build] [csexp: dune build]
- libprotoc 3.21.12
-> compiled  conf-protoc.4.4.0
Processing 13/102: [cppo: dune build] [csexp: dune build]
-> installed conf-protoc.4.4.0
Processing 14/102: [cppo: dune build] [csexp: dune build]
-> retrieved fieldslib.v0.13.0  (cached)
Processing 15/102: [cppo: dune build] [csexp: dune build]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing 16/102: [cppo: dune build] [csexp: dune build]
Processing 17/102: [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ocaml-protoc.3.1.1  (cached)
Processing 18/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
Processing 19/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ocplib-endian.1.2  (cached)
Processing 20/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build]
-> retrieved pbrt.3.1.1  (cached)
Processing 21/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ppx_assert.v0.13.0  (cached)
Processing 22/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build]
-> compiled  csexp.1.5.2
Processing 22/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> installed csexp.1.5.2
Processing 23/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ppx_cold.v0.13.0  (cached)
Processing 24/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ppx_compare.v0.13.0  (cached)
Processing 25/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ppx_custom_printf.v0.13.0  (cached)
Processing 26/102: [ocaml-protoc-plugin.0.9: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 27/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
Processing 28/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> compiled  ppx_derivers.1.2.1
Processing 28/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> installed ppx_derivers.1.2.1
Processing 29/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> retrieved dune-configurator.3.16.0  (cached)
Processing 30/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
Processing 31/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [cppo: dune build] [dune-configurator: rm] [ocaml-compiler-libs: dune build]
-> compiled  cppo.1.7.0
Processing 31/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [dune-configurator: rm] [ocaml-compiler-libs: dune build]
-> installed cppo.1.7.0
Processing 32/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [dune-configurator: rm] [ocaml-compiler-libs: dune build]
Processing 33/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [dune-configurator: rm] [ocaml-compiler-libs: dune build] [ocplib-endian: dune build]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 33/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [dune-configurator: rm] [ocplib-endian: dune build]
-> installed ocaml-compiler-libs.v0.12.4
Processing 34/102: [ocaml-protoc-plugin.0.9: http] [ppx_deriving.5.0: http] [dune-configurator: rm] [ocplib-endian: dune build]
Processing 34/102: [ppx_deriving.5.0: http] [dune-configurator: rm] [ocplib-endian: dune build]
Processing 34/102: [dune-configurator: rm] [ocplib-endian: dune build]
-> retrieved ppx_expect.v0.13.1  (cached)
Processing 35/102: [dune-configurator: rm] [ocplib-endian: dune build]
-> retrieved ocaml-protoc-plugin.0.9  (https://github.com/issuu/ocaml-protoc-plugin/archive/0.9.tar.gz)
Processing 36/102: [dune-configurator: rm] [ocplib-endian: dune build]
-> retrieved ppx_deriving.5.0  (https://github.com/ocaml-ppx/ppx_deriving/releases/download/v5.0/ppx_deriving-v5.0.tbz)
Processing 37/102: [dune-configurator: rm] [ocplib-endian: dune build]
-> retrieved ppx_fields_conv.v0.13.0  (cached)
Processing 38/102: [dune-configurator: rm] [ocplib-endian: dune build]
Processing 38/102: [dune-configurator: dune build] [ocplib-endian: dune build]
-> retrieved ppx_here.v0.13.0  (cached)
Processing 39/102: [dune-configurator: dune build] [ocplib-endian: dune build]
-> retrieved ppx_inline_test.v0.13.1  (cached)
Processing 40/102: [dune-configurator: dune build] [ocplib-endian: dune build]
-> retrieved ppx_let.v0.13.0  (cached)
Processing 41/102: [dune-configurator: dune build] [ocplib-endian: dune build]
-> retrieved ppx_sexp_conv.v0.13.0  (cached)
Processing 42/102: [dune-configurator: dune build] [ocplib-endian: dune build]
-> retrieved ppx_variants_conv.v0.13.0  (cached)
Processing 43/102: [dune-configurator: dune build] [ocplib-endian: dune build]
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
Processing 44/102: [dune-configurator: dune build] [ocplib-endian: dune build]
Processing 45/102: [dune-configurator: dune build] [ocplib-endian: dune build]
Processing 46/102: [dune-configurator: dune build] [ocplib-endian: dune build] [result: dune build]
Processing 47/102: [dune-configurator: dune build] [ocplib-endian: dune build] [result: dune build]
-> installed seq.base
Processing 48/102: [dune-configurator: dune build] [ocplib-endian: dune build] [result: dune build]
-> retrieved ppxlib.0.13.0  (cached)
Processing 49/102: [dune-configurator: dune build] [ocplib-endian: dune build] [result: dune build]
-> retrieved re.1.11.0  (cached)
Processing 50/102: [dune-configurator: dune build] [ocplib-endian: dune build] [result: dune build]
Processing 51/102: [dune-configurator: dune build] [ocplib-endian: dune build] [re: dune build] [result: dune build]
-> retrieved sexplib0.v0.13.0  (cached)
Processing 52/102: [dune-configurator: dune build] [ocplib-endian: dune build] [re: dune build] [result: dune build]
Processing 53/102: [dune-configurator: dune build] [ocplib-endian: dune build] [re: dune build] [result: dune build] [sexplib0: dune build]
-> retrieved stdio.v0.13.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 54/102: [dune-configurator: dune build] [ocplib-endian: dune build] [re: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> retrieved variantslib.v0.13.0  (cached)
-> compiled  ocplib-endian.1.2
Processing 54/102: [dune-configurator: dune build] [re: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ocplib-endian.1.2
Processing 55/102: [dune-configurator: dune build] [re: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  result.1.5
Processing 55/102: [dune-configurator: dune build] [re: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed result.1.5
Processing 56/102: [dune-configurator: dune build] [re: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
Processing 57/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [re: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 57/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [re: dune build] [sexplib0: dune build]
-> installed stdlib-shims.0.3.0
Processing 58/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [re: dune build] [sexplib0: dune build]
Processing 59/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [pbrt: dune build] [re: dune build] [sexplib0: dune build]
-> compiled  sexplib0.v0.13.0
Processing 59/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [pbrt: dune build] [re: dune build]
-> installed sexplib0.v0.13.0
Processing 60/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [pbrt: dune build] [re: dune build]
-> compiled  pbrt.3.1.1
Processing 60/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [re: dune build]
-> installed pbrt.3.1.1
Processing 61/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [re: dune build]
Processing 62/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [ocaml-protoc: dune build] [re: dune build]
-> compiled  re.1.11.0
Processing 62/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [ocaml-protoc: dune build]
-> installed re.1.11.0
Processing 63/102: [dune-configurator: dune build] [ocaml-migrate-parsetree: dune build] [ocaml-protoc: dune build]
-> compiled  dune-configurator.3.16.0
Processing 63/102: [ocaml-migrate-parsetree: dune build] [ocaml-protoc: dune build]
-> installed dune-configurator.3.16.0
Processing 64/102: [ocaml-migrate-parsetree: dune build] [ocaml-protoc: dune build]
Processing 65/102: [base: dune build] [ocaml-migrate-parsetree: dune build] [ocaml-protoc: dune build]
-> compiled  ocaml-protoc.3.1.1
Processing 65/102: [base: dune build] [ocaml-migrate-parsetree: dune build]
-> installed ocaml-protoc.3.1.1
Processing 66/102: [base: dune build] [ocaml-migrate-parsetree: dune build]
-> compiled  ocaml-migrate-parsetree.1.8.0
Processing 66/102: [base: dune build]
-> installed ocaml-migrate-parsetree.1.8.0
Processing 67/102: [base: dune build]
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "base" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/base.v0.13.2)
-> compiled  base.v0.13.2
-> installed base.v0.13.2
Processing 69/102: [fieldslib: dune build]
Processing 70/102: [fieldslib: dune build] [stdio: dune build]
Processing 71/102: [fieldslib: dune build] [stdio: dune build] [variantslib: dune build]
-> compiled  variantslib.v0.13.0
Processing 71/102: [fieldslib: dune build] [stdio: dune build]
-> installed variantslib.v0.13.0
Processing 72/102: [fieldslib: dune build] [stdio: dune build]
-> compiled  fieldslib.v0.13.0
Processing 72/102: [stdio: dune build]
-> installed fieldslib.v0.13.0
Processing 73/102: [stdio: dune build]
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "stdio" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/stdio.v0.13.0)
-> compiled  stdio.v0.13.0
-> installed stdio.v0.13.0
Processing 75/102: [ppxlib: dune build]
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "ppxlib" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/ppxlib.0.13.0)
- (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I src/gen/.gen_ast_pattern.eobjs/byte -I /home/opam/.opam/4.11/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.11/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.11/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.11/lib/ocaml/compiler-libs -I /home/opam/.opam/4.11/lib/ppx_derivers -I /home/opam/.opam/4.11/lib/result -I ast/.ppxlib_ast.objs/byte -I traverse_builtins/.ppxlib_traverse_builtins.objs/byte -no-alias-deps -o src/gen/.gen_ast_pattern.eobjs/byte/import.cmo -c -impl src/gen/import.ml)
- File "src/gen/import.ml", line 14, characters 21-36:
- 14 |   let lident x = mk (Longident.parse x)
-                           ^^^^^^^^^^^^^^^
- Alert deprecated: Longident.parse
- this function may misparse its input,
- use "Parse.longident" or "Longident.unflatten"
- (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -safe-string -g -I src/gen/.gen_ast_pattern.eobjs/byte -I src/gen/.gen_ast_pattern.eobjs/native -I /home/opam/.opam/4.11/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.11/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.11/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.11/lib/ocaml/compiler-libs -I /home/opam/.opam/4.11/lib/ppx_derivers -I /home/opam/.opam/4.11/lib/result -I ast/.ppxlib_ast.objs/byte -I ast/.ppxlib_ast.objs/native -I traverse_builtins/.ppxlib_traverse_builtins.objs/byte -I traverse_builtins/.ppxlib_traverse_builtins.objs/native -intf-suffix .ml -no-alias-deps -o src/gen/.gen_ast_pattern.eobjs/native/import.cmx -c -impl src/gen/import.ml)
- File "src/gen/import.ml", line 14, characters 21-36:
- 14 |   let lident x = mk (Longident.parse x)
-                           ^^^^^^^^^^^^^^^
- Alert deprecated: Longident.parse
- this function may misparse its input,
- use "Parse.longident" or "Longident.unflatten"
-> compiled  ppxlib.0.13.0
-> installed ppxlib.0.13.0
Processing 77/102: [ppx_cold: dune build]
Processing 78/102: [ppx_cold: dune build] [ppx_compare: dune build]
Processing 79/102: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_deriving: dune build]
Processing 80/102: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build]
Processing 81/102: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_here: dune build]
Processing 82/102: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_here: dune build] [ppx_inline_test: dune build]
Processing 83/102: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_here: dune build] [ppx_inline_test: dune build] [ppx_let: dune build]
Processing 84/102: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_here: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build]
Processing 85/102: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_here: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build] [ppx_variants_conv: dune build]
-> compiled  ppx_cold.v0.13.0
Processing 85/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_here: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build] [ppx_variants_conv: dune build]
-> installed ppx_cold.v0.13.0
Processing 86/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_here: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build] [ppx_variants_conv: dune build]
-> compiled  ppx_here.v0.13.0
Processing 86/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build] [ppx_variants_conv: dune build]
-> installed ppx_here.v0.13.0
Processing 87/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build] [ppx_variants_conv: dune build]
-> compiled  ppx_variants_conv.v0.13.0
Processing 87/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_variants_conv.v0.13.0
Processing 88/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_fields_conv: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_fields_conv.v0.13.0
Processing 88/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_fields_conv.v0.13.0
Processing 89/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_inline_test: dune build] [ppx_let: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_let.v0.13.0
Processing 89/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_inline_test: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_let.v0.13.0
Processing 90/102: [ppx_compare: dune build] [ppx_deriving: dune build] [ppx_inline_test: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_compare.v0.13.0
Processing 90/102: [ppx_deriving: dune build] [ppx_inline_test: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_compare.v0.13.0
Processing 91/102: [ppx_deriving: dune build] [ppx_inline_test: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_sexp_conv.v0.13.0
Processing 91/102: [ppx_deriving: dune build] [ppx_inline_test: dune build]
-> installed ppx_sexp_conv.v0.13.0
Processing 92/102: [ppx_deriving: dune build] [ppx_inline_test: dune build]
Processing 93/102: [ppx_assert: dune build] [ppx_deriving: dune build] [ppx_inline_test: dune build]
Processing 94/102: [ppx_assert: dune build] [ppx_custom_printf: dune build] [ppx_deriving: dune build] [ppx_inline_test: dune build]
-> compiled  ppx_inline_test.v0.13.1
Processing 94/102: [ppx_assert: dune build] [ppx_custom_printf: dune build] [ppx_deriving: dune build]
-> installed ppx_inline_test.v0.13.1
Processing 95/102: [ppx_assert: dune build] [ppx_custom_printf: dune build] [ppx_deriving: dune build]
-> compiled  ppx_deriving.5.0
Processing 95/102: [ppx_assert: dune build] [ppx_custom_printf: dune build]
-> installed ppx_deriving.5.0
Processing 96/102: [ppx_assert: dune build] [ppx_custom_printf: dune build]
-> compiled  ppx_assert.v0.13.0
Processing 96/102: [ppx_custom_printf: dune build]
-> installed ppx_assert.v0.13.0
Processing 97/102: [ppx_custom_printf: dune build]
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "ppx_custom_printf" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/ppx_custom_printf.v0.13.0)
-> compiled  ppx_custom_printf.v0.13.0
-> installed ppx_custom_printf.v0.13.0
Processing 99/102: [ppx_expect: dune build]
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "ppx_expect" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/ppx_expect.v0.13.1)
-> compiled  ppx_expect.v0.13.1
-> installed ppx_expect.v0.13.1
Processing 101/102: [ocaml-protoc-plugin: dune build]
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "ocaml-protoc-plugin" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/ocaml-protoc-plugin.0.9)
- (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -g -I src/spec/.spec.objs/byte -I src/spec/.spec.objs/native -I /home/opam/.opam/4.11/lib/ocaml-protoc -I /home/opam/.opam/4.11/lib/pbrt -intf-suffix .ml -no-alias-deps -open Spec__ -o src/spec/.spec.objs/native/spec__Descriptor_pb.cmx -c -impl src/spec/descriptor_pb.ml)
- File "src/spec/descriptor_pb.ml", line 1619, characters 19-34:
- 1619 |   Pbrt.Encoder.key (1, Pbrt.Bytes) encoder; 
-                           ^^^^^^^^^^^^^^^
- Error: This expression has type 'a * 'b
-        but an expression was expected of type int
- (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I src/protobuf/.protobuf.objs/byte -I /home/opam/.opam/4.11/lib/base -I /home/opam/.opam/4.11/lib/base/base_internalhash_types -I /home/opam/.opam/4.11/lib/base/caml -I /home/opam/.opam/4.11/lib/base/shadow_stdlib -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/fieldslib -I /home/opam/.opam/4.11/lib/ocplib-endian -I /home/opam/.opam/4.11/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_deriving/runtime -I /home/opam/.opam/4.11/lib/ppx_expect/collector -I /home/opam/.opam/4.11/lib/ppx_expect/common -I /home/opam/.opam/4.11/lib/ppx_expect/config -I /home/opam/.opam/4.11/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_inline_test/config -I /home/opam/.opam/4.11/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.11/lib/result -I /home/opam/.opam/4.11/lib/sexplib0 -no-alias-deps -open Protobuf__ -o src/protobuf/.protobuf.objs/byte/protobuf__Reader.cmo -c -impl src/protobuf/reader.pp.ml)
- File "src/protobuf/reader.ml", line 32, characters 12-26:
- 32 |   | true -> Result.ok_unit
-                  ^^^^^^^^^^^^^^
- Alert deprecated: Base.Result.ok_unit
- [since 2019-04] Use [Ok ()], which is also statically allocated, instead.
- (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -g -I src/protobuf/.protobuf.objs/byte -I src/protobuf/.protobuf.objs/native -I /home/opam/.opam/4.11/lib/base -I /home/opam/.opam/4.11/lib/base/base_internalhash_types -I /home/opam/.opam/4.11/lib/base/caml -I /home/opam/.opam/4.11/lib/base/shadow_stdlib -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/fieldslib -I /home/opam/.opam/4.11/lib/ocplib-endian -I /home/opam/.opam/4.11/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_deriving/runtime -I /home/opam/.opam/4.11/lib/ppx_expect/collector -I /home/opam/.opam/4.11/lib/ppx_expect/common -I /home/opam/.opam/4.11/lib/ppx_expect/config -I /home/opam/.opam/4.11/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_inline_test/config -I /home/opam/.opam/4.11/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.11/lib/result -I /home/opam/.opam/4.11/lib/sexplib0 -intf-suffix .ml -no-alias-deps -open Protobuf__ -o src/protobuf/.protobuf.objs/native/protobuf__Reader.cmx -c -impl src/protobuf/reader.pp.ml)
- File "src/protobuf/reader.ml", line 32, characters 12-26:
- 32 |   | true -> Result.ok_unit
-                  ^^^^^^^^^^^^^^
- Alert deprecated: Base.Result.ok_unit
- [since 2019-04] Use [Ok ()], which is also statically allocated, instead.
[ERROR] The compilation of ocaml-protoc-plugin.0.9 failed at "dune build -p ocaml-protoc-plugin -j 39".

#=== ERROR while compiling ocaml-protoc-plugin.0.9 ============================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/ocaml-protoc-plugin.0.9
# command              ~/.opam/4.11/bin/dune build -p ocaml-protoc-plugin -j 39
# exit-code            1
# env-file             ~/.opam/log/ocaml-protoc-plugin-116-3a728f.env
# output-file          ~/.opam/log/ocaml-protoc-plugin-116-3a728f.out
### output ###
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -g -I src/spec/.spec.objs/byte -I src/spec/.spec.objs/native -I /home/opam/.opam/4.11/lib/ocaml-protoc -I /home/opam/.opam/4.11/lib/pbrt -intf-suffix .ml -no-alias-deps -open Spec__ -o src/spec/.spec.objs/native/spec__Descriptor_pb.cmx -c -impl src/spec/descriptor_pb.ml)
# File "src/spec/descriptor_pb.ml", line 1619, characters 19-34:
# 1619 |   Pbrt.Encoder.key (1, Pbrt.Bytes) encoder; 
#                           ^^^^^^^^^^^^^^^
# Error: This expression has type 'a * 'b
#        but an expression was expected of type int
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I src/protobuf/.protobuf.objs/byte -I /home/opam/.opam/4.11/lib/base -I /home/opam/.opam/4.11/lib/base/base_internalhash_types -I /home/opam/.opam/4.11/lib/base/caml -I /home/opam/.opam/4.11/lib/base/shadow_stdlib -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/fieldslib -I /home/opam/.opam/4.11/lib/ocplib-endian -I /home/opam/.opam/4.11/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_deriving/runtime -I /home/opam/.opam/4.11/lib/ppx_expect/collector -I /home/opam/.opam/4.11/lib/ppx_expect/common -I /home/opam/.opam/4.11/lib/ppx_expect/config -I /home/opam/.opam/4.11/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_inline_test/config -I /home/opam/.opam/4.11/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.11/lib/result -I /home/opam/.opam/4.11/lib/sexplib0 -no-alias-deps -open Protobuf__ -o src/protobuf/.protobuf.objs/byte/protobuf__Reader.cmo -c -impl src/protobuf/reader.pp.ml)
# File "src/protobuf/reader.ml", line 32, characters 12-26:
# 32 |   | true -> Result.ok_unit
#                  ^^^^^^^^^^^^^^
# Alert deprecated: Base.Result.ok_unit
# [since 2019-04] Use [Ok ()], which is also statically allocated, instead.
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -g -I src/protobuf/.protobuf.objs/byte -I src/protobuf/.protobuf.objs/native -I /home/opam/.opam/4.11/lib/base -I /home/opam/.opam/4.11/lib/base/base_internalhash_types -I /home/opam/.opam/4.11/lib/base/caml -I /home/opam/.opam/4.11/lib/base/shadow_stdlib -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/fieldslib -I /home/opam/.opam/4.11/lib/ocplib-endian -I /home/opam/.opam/4.11/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_deriving/runtime -I /home/opam/.opam/4.11/lib/ppx_expect/collector -I /home/opam/.opam/4.11/lib/ppx_expect/common -I /home/opam/.opam/4.11/lib/ppx_expect/config -I /home/opam/.opam/4.11/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_inline_test/config -I /home/opam/.opam/4.11/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.11/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.11/lib/result -I /home/opam/.opam/4.11/lib/sexplib0 -intf-suffix .ml -no-alias-deps -open Protobuf__ -o src/protobuf/.protobuf.objs/native/protobuf__Reader.cmx -c -impl src/protobuf/reader.pp.ml)
# File "src/protobuf/reader.ml", line 32, characters 12-26:
# 32 |   | true -> Result.ok_unit
#                  ^^^^^^^^^^^^^^
# Alert deprecated: Base.Result.ok_unit
# [since 2019-04] Use [Ok ()], which is also statically allocated, instead.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-protoc-plugin 0.9
+- 
+- The following changes have been performed
| - install base                    v0.13.2
| - install base-bytes              base
| - install conf-protoc             4.4.0
| - install cppo                    1.7.0
| - install csexp                   1.5.2
| - install dune-configurator       3.16.0
| - install fieldslib               v0.13.0
| - install ocaml-compiler-libs     v0.12.4
| - install ocaml-migrate-parsetree 1.8.0
| - install ocaml-protoc            3.1.1
| - install ocplib-endian           1.2
| - install pbrt                    3.1.1
| - install ppx_assert              v0.13.0
| - install ppx_cold                v0.13.0
| - install ppx_compare             v0.13.0
| - install ppx_custom_printf       v0.13.0
| - install ppx_derivers            1.2.1
| - install ppx_deriving            5.0
| - install ppx_expect              v0.13.1
| - install ppx_fields_conv         v0.13.0
| - install ppx_here                v0.13.0
| - install ppx_inline_test         v0.13.1
| - install ppx_let                 v0.13.0
| - install ppx_sexp_conv           v0.13.0
| - install ppx_variants_conv       v0.13.0
| - install ppxlib                  0.13.0
| - install re                      1.11.0
| - install result                  1.5
| - install seq                     base
| - install sexplib0                v0.13.0
| - install stdio                   v0.13.0
| - install stdlib-shims            0.3.0
| - install variantslib             v0.13.0
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20240912192151.export"
'opam --cli=2.1 install ocaml-protoc-plugin.0.9 variantslib.v0.13.0 stdlib-shims.0.3.0 stdio.v0.13.0 sexplib0.v0.13.0 seq.base result.1.5 re.1.11.0 ppxlib.0.13.0 ppx_variants_conv.v0.13.0 ppx_sexp_conv.v0.13.0 ppx_let.v0.13.0 ppx_inline_test.v0.13.1 ppx_here.v0.13.0 ppx_fields_conv.v0.13.0 ppx_expect.v0.13.1 ppx_deriving.5.0 ppx_derivers.1.2.1 ppx_custom_printf.v0.13.0 ppx_compare.v0.13.0 ppx_cold.v0.13.0 ppx_assert.v0.13.0 pbrt.3.1.1 ocplib-endian.1.2 ocamlfind.1.9.6 ocaml-protoc.3.1.1 ocaml-migrate-parsetree.1.8.0 ocaml-compiler-libs.v0.12.4 fieldslib.v0.13.0 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 cppo.1.7.0 conf-protoc.4.4.0 base-bytes.base base.v0.13.2 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.