package owl-symbolic

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

owl-symbolic 0.2.0

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.1-1

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

<><> opam-depext.1.2.1-1 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 owl-symbolic.0.2.0 stdlib-shims.0.3.0 pbrt.3.0.1 owl-base.0.9.0 ocaml-protoc.3.0.1 dune.3.13.0" 

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.13.0).
The following actions will be performed:
  - install stdlib-shims 0.3.0
  - install pbrt         3.0.1
  - install owl-base     0.9.0
  - install ocaml-protoc 3.0.1
  - install owl-symbolic 0.2.0
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15:
Processing  2/15:
Processing  3/15:
-> retrieved ocaml-protoc.3.0.1  (cached)
Processing  4/15:
-> retrieved owl-symbolic.0.2.0  (cached)
Processing  5/15:
-> retrieved pbrt.3.0.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
Processing  6/15: [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing  6/15:
-> installed stdlib-shims.0.3.0
Processing  7/15:
Processing  8/15: [pbrt: dune build]
-> retrieved owl-base.0.9.0  (cached)
Processing  9/15: [owl-base: dune build] [pbrt: dune build]
-> compiled  pbrt.3.0.1
Processing  9/15: [owl-base: dune build]
-> installed pbrt.3.0.1
Processing 10/15: [owl-base: dune build]
Processing 11/15: [ocaml-protoc: dune build] [owl-base: dune build]
-> compiled  ocaml-protoc.3.0.1
Processing 11/15: [owl-base: dune build]
-> installed ocaml-protoc.3.0.1
Processing 12/15: [owl-base: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "owl-base" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/owl-base.0.9.0)
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I src/base/.owl_base.objs/byte -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/base/.owl_base.objs/byte/owl_base_dense_ndarray_generic.cmo -c -impl src/base/owl_base_dense_ndarray_generic.ml)
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 424, characters 20-24:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 424, characters 17-18:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 475, characters 17-18:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 475, characters 14-15:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 501, characters 17-24:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 527, characters 19-24:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 527, characters 15-17:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -safe-string -g -I src/base/.owl_base.objs/byte -I src/base/.owl_base.objs/native -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/base/.owl_base.objs/native/owl_base_dense_ndarray_generic.cmx -c -impl src/base/owl_base_dense_ndarray_generic.ml)
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 424, characters 20-24:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 424, characters 17-18:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 475, characters 17-18:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 475, characters 14-15:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 501, characters 17-24:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 527, characters 19-24:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/base/dense/owl_base_dense_ndarray_generic.ml", line 527, characters 15-17:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
-> compiled  owl-base.0.9.0
-> installed owl-base.0.9.0
Processing 14/15: [owl-symbolic: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "owl-symbolic" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/owl-symbolic.0.2.0)
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.owl_symbolic.objs/byte -I /home/opam/.opam/4.12/lib/ocaml-protoc -I /home/opam/.opam/4.12/lib/owl-base -I /home/opam/.opam/4.12/lib/pbrt -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.owl_symbolic.objs/byte/onnx_pb.cmo -c -impl src/onnx_pb.ml)
- File "src/onnx_specs/onnx_pb.ml", line 1036, characters 21-37:
- Error: This expression has type 'a * 'b
-        but an expression was expected of type int
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -g -I src/.owl_symbolic.objs/byte -I src/.owl_symbolic.objs/native -I /home/opam/.opam/4.12/lib/ocaml-protoc -I /home/opam/.opam/4.12/lib/owl-base -I /home/opam/.opam/4.12/lib/pbrt -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.owl_symbolic.objs/native/onnx_pb.cmx -c -impl src/onnx_pb.ml)
- File "src/onnx_specs/onnx_pb.ml", line 1036, characters 21-37:
- Error: This expression has type 'a * 'b
-        but an expression was expected of type int
[ERROR] The compilation of owl-symbolic.0.2.0 failed at "dune build -p owl-symbolic -j 255".

#=== ERROR while compiling owl-symbolic.0.2.0 =================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/owl-symbolic.0.2.0
# command              ~/.opam/4.12/bin/dune build -p owl-symbolic -j 255
# exit-code            1
# env-file             ~/.opam/log/owl-symbolic-113-662a84.env
# output-file          ~/.opam/log/owl-symbolic-113-662a84.out
### output ###
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.owl_symbolic.objs/byte -I /home/opam/.opam/4.12/lib/ocaml-protoc -I /home/opam/.opam/4.12/lib/owl-base -I /home/opam/.opam/4.12/lib/pbrt -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.owl_symbolic.objs/byte/onnx_pb.cmo -c -impl src/onnx_pb.ml)
# File "src/onnx_specs/onnx_pb.ml", line 1036, characters 21-37:
# Error: This expression has type 'a * 'b
#        but an expression was expected of type int
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -g -I src/.owl_symbolic.objs/byte -I src/.owl_symbolic.objs/native -I /home/opam/.opam/4.12/lib/ocaml-protoc -I /home/opam/.opam/4.12/lib/owl-base -I /home/opam/.opam/4.12/lib/pbrt -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.owl_symbolic.objs/native/onnx_pb.cmx -c -impl src/onnx_pb.ml)
# File "src/onnx_specs/onnx_pb.ml", line 1036, characters 21-37:
# Error: This expression has type 'a * 'b
#        but an expression was expected of type int



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build owl-symbolic 0.2.0
+- 
+- The following changes have been performed
| - install ocaml-protoc 3.0.1
| - install owl-base     0.9.0
| - install pbrt         3.0.1
| - install stdlib-shims 0.3.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.12/.opam-switch/backup/state-20240129191133.export"
'opam --cli=2.1 install owl-symbolic.0.2.0 stdlib-shims.0.3.0 pbrt.3.0.1 owl-base.0.9.0 ocaml-protoc.3.0.1 dune.3.13.0 --verbose --yes --confirm-level=unsafe-yes' failed.