Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 packages from gitlab.com/nomadic-labs/data-encoding/-/archive/v1.0.0/data-encoding-v1.0.0.tar.gz #23475

Merged

Conversation

raphael-proust
Copy link
Contributor

This pull-request concerns:

  • data-encoding.1.0.0: Library of JSON and binary encoding combinators
  • json-data-encoding.1.0.0: Type-safe encoding to and decoding from JSON
  • json-data-encoding-browser.1.0.0: Type-safe encoding to and decoding from JSON (browser support)
  • json-data-encoding-bson.1.0.0: Type-safe encoding to and decoding from JSON (bson support)


🐫 Pull-request generated by opam-publish v2.2.0

@raphael-proust
Copy link
Contributor Author

The CI errors with tezos*.15* packages (see example below) happen because:

  • They are revdeps of json-data-encoding through the data-encoding
  • json-data-encoding.1.0.0 is not compatible with data-encoding<1.0.0

I've added a commit to mark this incompatibility. I think it'll prevent installing tezos15 with json-data-encoding.1.0.0 completely.

#=== ERROR while compiling tezos-protocol-environment.15.0 ====================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/tezos-protocol-environment.15.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p tezos-protocol-environment -j 127
# exit-code            1
# env-file             ~/.opam/log/tezos-protocol-environment-7-7ad35d.env
# output-file          ~/.opam/log/tezos-protocol-environment-7-7ad35d.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V0_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v0_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v0_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V3_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v3_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v3_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V5_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v5_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v5_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object

@raphael-proust raphael-proust force-pushed the opam-publish-data-encoding.1.0.0 branch 2 times, most recently from 958d2b9 to 92d9868 Compare March 15, 2023 14:56
@raphael-proust raphael-proust force-pushed the opam-publish-data-encoding.1.0.0 branch from 92d9868 to 48ea14b Compare March 17, 2023 16:42
@mseri
Copy link
Member

mseri commented Mar 19, 2023

There is a pervasive test failure:

# (cd _build/default/test/pbt && /usr/bin/node test_sub_string.bc.js)
# Fatal error: exception File "test/pbt/test_sub_string.ml", line 35, characters 2-8: Assertion failed

@hhugo
Copy link
Contributor

hhugo commented Mar 21, 2023

I've updated the tag to include the fix written by @raphael-proust in https://gitlab.com/nomadic-labs/data-encoding/-/merge_requests/124/diffs?commit_id=a025e43339402b05b9a637b0754eaabef5ef0f42, but I can't update this PR.
Would anyone be able to change the hashes to the following values ?

@raphael-proust is out this week.

alternatively I can open a new PR.

md5
d15b03873f0ccc333b60bfcdf0595766  data-encoding-v1.0.0.tar.gz
sha512
0a5355bae421b5d155eeff7ad333cce32cf317b88ac69a07be715ff9a4cd05c8e1715de4917ed8f67789070175654ea3e332a348e586d5005e8772f5672c4a6f  data-encoding-v1.0.0.tar.gz

@kit-ty-kate
Copy link
Member

Will do right away

@mseri
Copy link
Member

mseri commented Mar 22, 2023

There are lots of failures of the type:


#=== ERROR while compiling tezos-protocol-environment.15.1 ====================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/tezos-protocol-environment.15.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p tezos-protocol-environment -j 47
# exit-code            1
# env-file             ~/.opam/log/tezos-protocol-environment-7-853e82.env
# output-file          ~/.opam/log/tezos-protocol-environment-7-853e82.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V0_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v0_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v0_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V3_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v3_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v3_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V5_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v5_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v5_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object

and

#=== ERROR while compiling tezos-protocol-environment.15.0 ====================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/tezos-protocol-environment.15.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p tezos-protocol-environment -j 255
# exit-code            1
# env-file             ~/.opam/log/tezos-protocol-environment-7-1aafbc.env
# output-file          ~/.opam/log/tezos-protocol-environment-7-1aafbc.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V0_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v0_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v0_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V3_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v3_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v3_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bls12-381 -I /home/opam/.opam/4.14/lib/bls12-381-signature -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes_stubs_js -I /home/opam/.opam/4.14/lib/data-encoding -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ezjsonm -I /home/opam/.opam/4.14/lib/ff -I /home/opam/.opam/4.14/lib/ff-sig -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/hacl-star -I /home/opam/.opam/4.14/lib/hacl-star-raw -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/integers_stubs_js -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/json-data-encoding -I /home/opam/.opam/4.14/lib/json-data-encoding-bson -I /home/opam/.opam/4.14/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-canceler -I /home/opam/.opam/4.14/lib/lwt_log/core -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mec -I /home/opam/.opam/4.14/lib/mec/Curve/Utils -I /home/opam/.opam/4.14/lib/mec/CurveSig -I /home/opam/.opam/4.14/lib/mec/curve -I /home/opam/.opam/4.14/lib/mec/digestif -I /home/opam/.opam/4.14/lib/mec/hash -I /home/opam/.opam/4.14/lib/mec/permutation -I /home/opam/.opam/4.14/lib/mec/signature -I /home/opam/.opam/4.14/lib/mec/utils -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/resto -I /home/opam/.opam/4.14/lib/resto-directory -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/ringo -I /home/opam/.opam/4.14/lib/secp256k1-internal -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdint -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/tezos-base -I /home/opam/.opam/4.14/lib/tezos-bls12-381-polynomial -I /home/opam/.opam/4.14/lib/tezos-context/sigs -I /home/opam/.opam/4.14/lib/tezos-crypto -I /home/opam/.opam/4.14/lib/tezos-error-monad -I /home/opam/.opam/4.14/lib/tezos-event-logging -I /home/opam/.opam/4.14/lib/tezos-hacl -I /home/opam/.opam/4.14/lib/tezos-lazy-containers -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/bare/structs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/functor-outputs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/sigs -I /home/opam/.opam/4.14/lib/tezos-lwt-result-stdlib/traced/structs -I /home/opam/.opam/4.14/lib/tezos-micheline -I /home/opam/.opam/4.14/lib/tezos-plompiler -I /home/opam/.opam/4.14/lib/tezos-plonk -I /home/opam/.opam/4.14/lib/tezos-rpc -I /home/opam/.opam/4.14/lib/tezos-scoru-wasm -I /home/opam/.opam/4.14/lib/tezos-stdlib -I /home/opam/.opam/4.14/lib/tezos-tree-encoding -I /home/opam/.opam/4.14/lib/tezos-webassembly-interpreter -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/zarith -I /home/opam/.opam/4.14/lib/zarith_stubs_js -no-alias-deps -open Tezos_protocol_environment_structs__ -o src/lib_protocol_environment/structs/.tezos_protocol_environment_structs.objs/byte/tezos_protocol_environment_structs__V5_data_encoding.cmo -c -impl src/lib_protocol_environment/structs/v5_data_encoding.ml)
# File "src/lib_protocol_environment/structs/v5_data_encoding.ml", line 57, characters 27-40:
# 57 |       repr_agnostic_custom {write; read} ~schema:Json_schema.any
#                                 ^^^^^^^^^^^^^
# Error: Some record fields are undefined: is_object

Can you add the relevant upper bounds?

@raphael-proust
Copy link
Contributor Author

I readded the patch which marks conflicts. It had disappeared probably during the tag update or something.

I've also upstreamed this to our v1 branch so it won't get lost.

@raphael-proust
Copy link
Contributor Author

All remaining errors seem to be during installation of deps or revdeps.

@raphael-proust
Copy link
Contributor Author

Currently fails hard because of gitlab tarballing bug. See #23589 (comment) for some details.

@raphael-proust
Copy link
Contributor Author

The gitlab issue seems to have been resolved. I'm restarting the jobs and retagging the PR.

@hhugo
Copy link
Contributor

hhugo commented Apr 3, 2023

I think this can now be merged. The remaining errors look unrelated.

@raphael-proust raphael-proust merged commit 15b381e into ocaml:master Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants