Building on x86-bm-c9.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 63563b31af74: Pulling fs layer 63563b31af74: Verifying Checksum 63563b31af74: Download complete 63563b31af74: Pull complete Digest: sha256:8f6038a9795a3c7cc61b90b742e29558b247d69f92f73dea67cb146602ff83f6 Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-02-26 19:45.32 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-02-26 19:45.32 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 1d1ea2841b231665859c831a77400c2a4deca6f4")) 2025-02-26 19:45.32 ---> using "26edb71e033f6c021f6aed95c1cf22939c08a231a2cfa0c24b2281bd33145e5b" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2025-02-26 19:45.32 ---> using "7efb7ea393cd4e7ff32d44e82f396eb5cc6c9809cf13925aba37e1c16f0b7883" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam switch create --repositories=default '5.3' '5.3.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-compiler.5.3.0 (cached) -> installed ocaml-compiler.5.3.0 -> installed ocaml-base-compiler.5.3.0 -> installed ocaml-config.3 -> installed ocaml.5.3.0 -> installed base-domains.base -> installed base-effects.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.3) 2025-02-26 19:45.32 ---> using "6f34e16995c41c70096e87e00a56b840c5bd411732eaed9a31d1d27d4aa092b7" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-26-1409.51-F-2025-02-16-2015.54.pdiff [736 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-26-1409.51-F-2025-02-16-2015.54.pdiff [736 kB] - Fetched 1005 kB in 3s (315 kB/s) - Reading package lists... 2025-02-26 19:45.32 ---> using "aefe02236694bbca29d5399b52c171b3e709ce4000a4b1d337be35d95012d1d1" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam pin add -k version dune $(opam show -f version dune)")) dune is now pinned to version 3.17.2 The following actions will be performed: === install 1 package - install dune 3.17.2 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.17.2 (cached) -> installed dune.3.17.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-02-26 19:45.32 ---> using "6e7e7e53f3fd027e0377dd6c15485e2e927e9622397364a79382a99c5a5ff57c" from cache /: (env DUNE_CACHE enabled) /: (env DUNE_CACHE_TRANSPORT direct) /: (env DUNE_CACHE_DUPLICATION copy) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "curl -fsSL https://get.dune.build/install | sh")) #=#=# ##O#-# 0.1% # 1.4% #### 6.2% ################### 26.9% ################################################################### 94.2% ######################################################################## 100.0% dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune To use dune you will need to source the file "$HOME/.local/share/dune/env/env.bash" (or similar as appropriate for your shell) export PATH="/home/opam/.local/bin:$PATH" To get started, run: dune --help 2025-02-26 19:45.32 ---> using "42012678825dcbc35f93596017a63769cc3f22691b6a4c401224c56525dc9509" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "PLACE=$(mktemp -d) && cd $PLACE && echo '(lang dune 3.17)\ \n(package\ \n (name dummy)\ \n (allow_empty true)\ \n (depends (ocaml (= 5.3.0))))' > dune-project && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build")) Solution for dune.lock: - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-config.3 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 2025-02-26 19:45.32 ---> using "ca7d82ed485937696c077530c449dd14f7d61c86c045c2da95c88f2a973713c4" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "cd $HOME && opam source reactjs-jsx-ppx.1.0.0 && cd reactjs-jsx-ppx.1.0.0 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)\ \n(lock_dir\ \n (repositories overlay default ))\ \n\ \n(repository\ \n (name default)\ \n (url \"git+https://github.com/ocaml/opam-repository.git\"))\ \n\ \n\ \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build")) Successfully extracted to /home/opam/reactjs-jsx-ppx.1.0.0 Solution for dune.lock: - base-unix.base - base64.3.5.1 - cmdliner.1.3.0 - cppo.1.8.0 - dune-build-info.3.17.2 - fix.20230505 - menhir.20240715 - menhirCST.20240715 - menhirLib.20240715 - menhirSdk.20240715 - merlin-extend.0.6.2 - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-compiler-libs.v0.17.0 - ocaml-config.3 - ocamlfind.1.9.8+dune - ounit.2.2.7 - ounit2.2.2.7 - ppx_derivers.1.2.1 - ppxlib.0.35.0 - reason.3.15.0 - seq.base - sexplib0.v0.17.0 - stdlib-shims.0.3.0 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 Building base-unix.base Building ocaml-config.3 Building ocaml.5.3.0 Downloading fix.20230505 Building fix.20230505 Downloading menhirLib.20240715 Downloading menhirSdk.20240715 Downloading menhirCST.20240715 Building menhirLib.20240715 Building menhirSdk.20240715 Building menhirCST.20240715 Downloading cppo.1.8.0 Downloading ppx_derivers.1.2.1 Building cppo.1.8.0 Downloading sexplib0.v0.17.0 Building ppx_derivers.1.2.1 Downloading ocaml-compiler-libs.v0.17.0 Building sexplib0.v0.17.0 Building ocaml-compiler-libs.v0.17.0 Downloading ocamlfind.1.9.8+dune Downloading stdlib-shims.0.3.0 Building stdlib-shims.0.3.0 Building ocamlfind.1.9.8+dune Downloading dune-build-info.3.17.2 Downloading menhir.20240715 Building menhir.20240715 Building dune-build-info.3.17.2 Downloading merlin-extend.0.6.2 Building merlin-extend.0.6.2 Downloading ppxlib.0.35.0 Building ppxlib.0.35.0 Downloading reason.3.15.0 Building reason.3.15.0 Building seq.base Downloading ounit2.2.2.7 Building ounit2.2.2.7 Downloading ounit.2.2.7 Building ounit.2.2.7 Downloading cmdliner.1.3.0 Building cmdliner.1.3.0 Downloading base64.3.5.1 Building base64.3.5.1 (cd _build/default/jscomp/common && /usr/bin/bash -e -u -o pipefail -c 'echo let version = \"$(git rev-parse --verify HEAD)\"') > _build/default/jscomp/common/git_commit.ml fatal: not a git repository (or any of the parent directories): .git (cd _build/default/jscomp/common && /usr/bin/bash -e -u -o pipefail -c 'echo let short_version = \"$(git rev-parse --short HEAD)\"') > _build/default/jscomp/common/git_commit.ml fatal: not a git repository (or any of the parent directories): .git (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamldep.opt -modules -impl jscomp/core/js_cmj_format.pp.ml) > _build/default/jscomp/core/.core.objs/js_cmj_format.impl.d File "jscomp/core/js_cmj_format.ml", line 36, characters 5-11: Error: Syntax error (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamldep.opt -modules -impl jscomp/core/lam_compile_main.pp.ml) > _build/default/jscomp/core/.core.objs/lam_compile_main.impl.d File "jscomp/core/lam_compile_main.ml", line 268, characters 8-14: Error: Syntax error (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamldep.opt -modules -impl jscomp/core/lam_stats_export.pp.ml) > _build/default/jscomp/core/.core.objs/lam_stats_export.impl.d File "jscomp/core/lam_stats_export.ml", line 132, characters 29-35: Error: Syntax error (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamldep.opt -modules -intf jscomp/core/js_cmj_format.pp.mli) > _build/default/jscomp/core/.core.objs/js_cmj_format.intf.d File "jscomp/core/js_cmj_format.mli", line 56, characters 5-11: Error: Syntax error (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamldep.opt -modules -intf jscomp/core/lam_stats_export.pp.mli) > _build/default/jscomp/core/.core.objs/lam_stats_export.intf.d File "jscomp/core/lam_stats_export.mli", line 31, characters 16-22: Error: Syntax error (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamlc.opt -w -9 -g -bin-annot -bin-annot-occurrences -I vendor/melange-compiler-libs/parsing0/.parsing0.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/compiler-libs -I vendor/melange-compiler-libs/wrapper/.melange_wrapper.objs/byte -no-alias-deps -opaque -open Parsing0 -o vendor/melange-compiler-libs/parsing0/.parsing0.objs/byte/parsing0__Misc.cmi -c -intf vendor/melange-compiler-libs/parsing0/misc.mli) File "vendor/melange-compiler-libs/utils/misc.mli", line 365, characters 15-47: Error: Unbound type constructor "Melange_wrapper.Misc.Color.color" (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamlc.opt -w -9 -g -bin-annot -bin-annot-occurrences -I vendor/melange-compiler-libs/parsing0/.parsing0.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/compiler-libs -I vendor/melange-compiler-libs/wrapper/.melange_wrapper.objs/byte -no-alias-deps -opaque -open Parsing0 -o vendor/melange-compiler-libs/parsing0/.parsing0.objs/byte/parsing0__Location.cmi -c -intf vendor/melange-compiler-libs/parsing0/location.mli) File "vendor/melange-compiler-libs/parsing0/location.mli", lines 135-139, characters 0-1: 135 | type report = Melange_wrapper.Location.report = { 136 | kind : report_kind; 137 | main : msg; 138 | sub : msg list; 139 | } Error: This variant or record definition does not match that of type "Melange_wrapper.Location.report" 2. Fields do not match: "main : Melange_wrapper.Location.msg;" is not the same as: "main : msg;" The type "Melange_wrapper.Location.msg" = "Format_doc.t Location.loc" is not equal to the type "msg" = "(Format.formatter -> unit) Location.loc" Type "Format_doc.t" = "Format_doc.Doc.t" is not equal to type "Format.formatter -> unit" 3. Fields do not match: "sub : Melange_wrapper.Location.msg list;" is not the same as: "sub : msg list;" The type "Melange_wrapper.Location.msg list" is not equal to the type "msg list" Type "Melange_wrapper.Location.msg" = "Format_doc.t Location.loc" is not equal to type "msg" = "(Format.formatter -> unit) Location.loc" Type "Format_doc.t" = "Format_doc.Doc.t" is not equal to type "Format.formatter -> unit" 4. An extra field, "footnote", is provided in the original definition. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -69 -g -bin-annot -bin-annot-occurrences -I jscomp/js_parser/.js_parser.objs/byte -no-alias-deps -opaque -open Js_parser -o jscomp/js_parser/.js_parser.objs/byte/js_parser__Flow_ast_mapper.cmo -c -impl jscomp/js_parser/flow_ast_mapper.ml) File "jscomp/js_parser/flow_ast_mapper.ml", line 1507, characters 7-12: 1507 | [@@alert deprecated "Use either function_expression or class_method"] ^^^^^ Error (warning 53 [misplaced-attribute]): the "alert" attribute cannot appear in this context "/usr/bin/env" "bash" "-c" "cd $HOME && opam source reactjs-jsx-ppx.1.0.0 && cd reactjs-jsx-ppx.1.0.0 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17) (lock_dir (repositories overlay default )) (repository (name default) (url "git+https://github.com/ocaml/opam-repository.git")) ' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build" failed with exit status 1 Failed: Build failed