package owl-symbolic

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

owl-symbolic 0.1.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.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 owl-symbolic.0.1.0 stdlib-shims.0.3.0 pbrt.3.1.1 owl-base.0.9.0 ocaml-protoc.3.1.1 dune.3.16.0" 

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
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.16.0).
The following actions will be performed:
  - install stdlib-shims 0.3.0
  - install pbrt         3.1.1
  - install owl-base     0.9.0
  - install ocaml-protoc 3.1.1
  - install owl-symbolic 0.1.0
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15:
Processing  2/15:
Processing  3/15: [owl-symbolic.0.1.0: http]
-> retrieved ocaml-protoc.3.1.1  (cached)
Processing  4/15: [owl-symbolic.0.1.0: http]
-> retrieved pbrt.3.1.1  (cached)
Processing  5/15: [owl-symbolic.0.1.0: http]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing  6/15: [owl-symbolic.0.1.0: http] [stdlib-shims: dune build]
-> retrieved owl-base.0.9.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: [owl-base: dune build]
Processing  9/15: [owl-base: dune build] [pbrt: dune build]
-> retrieved owl-symbolic.0.1.0  (https://github.com/owlbarn/owl_symbolic/releases/download/0.1.0/owl-symbolic-0.1.0.tbz)
-> compiled  pbrt.3.1.1
Processing  9/15: [owl-base: dune build]
-> installed pbrt.3.1.1
Processing 10/15: [owl-base: dune build]
Processing 11/15: [ocaml-protoc: dune build] [owl-base: dune build]
-> compiled  ocaml-protoc.3.1.1
Processing 11/15: [owl-base: dune build]
-> installed ocaml-protoc.3.1.1
Processing 12/15: [owl-base: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "owl-base" "-j" "39" (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" "39" (CWD=/home/opam/.opam/4.12/.opam-switch/build/owl-symbolic.0.1.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.1.0 failed at "dune build -p owl-symbolic -j 39".

#=== ERROR while compiling owl-symbolic.0.1.0 =================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/owl-symbolic.0.1.0
# command              ~/.opam/4.12/bin/dune build -p owl-symbolic -j 39
# exit-code            1
# env-file             ~/.opam/log/owl-symbolic-115-cac611.env
# output-file          ~/.opam/log/owl-symbolic-115-cac611.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.1.0
+- 
+- The following changes have been performed
| - install ocaml-protoc 3.1.1
| - install owl-base     0.9.0
| - install pbrt         3.1.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-20240912205618.export"
'opam --cli=2.1 install owl-symbolic.0.1.0 stdlib-shims.0.3.0 pbrt.3.1.1 owl-base.0.9.0 ocaml-protoc.3.1.1 dune.3.16.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.