Comments (21)
Hi @idkjs!
I am preparing for the release of Spin 0.6.0. The templates are now embedded in the executable and they are defined here: https://github.com/tmattio/spin/tree/next/template.
Will post a release note with more details on this very soon 🙂
from spin.
It's not released yet, so you can clone the repository and install from the source:
git clone -b next [email protected]:tmattio/spin.git spin-next
cd spin-next
make dev
make build
make install
from spin.
You need to upgrade your Opam repository to get the new version of the libraries:
opam update
opam upgrade
make dev
should work after that 🙂
from spin.
Seems like the Spin executable that's found in your system is still the old one (0.5.1). I guess your Homebrew bin directory comes before Opam's one in your PATH.
You can uninstall the version of Spin in your system as a quick workaround.
I took note of the "esy-installer not found" and I removed it from the templates, thanks, very helpful!
from spin.
Random thought. Building your templates takes forever. You might consider a github action that prebuilds the each template and makes them downloadedable. For example, reasonml/reasonml.github.io#639, or https://discordapp.com/channels/235176658175262720/235199119747055616/706875693711097878
from spin.
The template generation on itself is actually pretty fast (a few milliseconds). It takes time because Spin downloads the dependencies and builds the project for you (using the package manager you provided). The same approach is taken by create-react-app
, and the projects are similarly long to build.
Even if I provided pre-built versions of the templates (which I can't really do because they would depend on the configuration you provided, for instance, the name of the project), you would still have to download the dependencies and rebuild the entire thing yourself as soon as you want to start working on your project.
I agree that downloading the dependencies and building the project takes more time than I would like, but I don't think Spin can help with this 😕
from spin.
FWIW, Esy projects will take more time time to build because Esy will create a local sandbox for your project. When using Opam, it will use your current switch, and if you already have the dependencies installed (which is very likely since the templates use common libraries), the projects are generated and built relatively fast:
dune exec spin new bin _generated -- -d 3.67s user 0.61s system 98% cpu 4.328 total
from spin.
ok. just tried running spin new cli. It took a while then errored out on ocaml-base-compiler.4.07.1
.
❯ opam switch
# switch compiler
description
/usr/local/var/imandra ocaml-base-compiler.4.06.1
/usr/local/var/imandra
3.11.0 ocaml-base-compiler.3.11.0
3.11.0
4.02.3+buckle-master
ocaml-variants.4.04.2+statistical-memprof
4.02.3+buckle-master
4.06.1 ocaml-base-compiler.4.06.1
4.06.1
4.07.0 ocaml-base-compiler.4.07.0
4.07.0
4.08.1 ocaml-base-compiler.4.08.1
4.08.1
4.10.0 ocaml-base-compiler.4.10.0
4.10.0
→ default ocaml-base-compiler.4.07.1
default
Dont have the error output, will re-run to get it if you want me to. spin installed via brew
.
from spin.
Interesting... Would you mind trying this with the next
version? There were a lot of things that changed (i.e. everything), and I'd really like to have this kind of feedback before I release!
The CLI template depends on 4.08.0
now.
from spin.
What is the command?
from spin.
The following dependencies couldn't be met:
- spin → inquire >= 0.2.0
no matching version
No solution found, exiting
gmake: *** [Makefile:13: dev] Error 20
Install inquire 0.1
and ran make build
anyway:
~/Downloads/gramps-example/spin-next/spin next 2m 19s
❯ opam install inquire
The following actions will be performed:
∗ install inquire 0.1.0
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
[inquire.0.1.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
∗ installed inquire.0.1.0
Done.
~/Downloads/gramps-example/spin-next/spin next 6s
❯ make build
opam exec -- dune build
File "lib/spin/dune", line 5, characters 12-18:
5 | logs.lwt jingoo fpath)
^^^^^^
Error: Library "jingoo" not found.
Hint: try: dune external-lib-deps --missing @@default
File "test_bin/failure/directory-not-empty/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/failure/empty-spin-file/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/failure/post-cmd-fail/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/generate-from-current-dir/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/generate-from-sudir/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/ignore-files/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/inherit/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/list-official-templates/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/print-version/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/refmt-ocaml/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/refmt-reason/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_bin/success/run-post-cmd/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_template/bin/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_template/bs-react/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_template/cli/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_template/lib/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
File "test_template/ppx/dune", line 10, characters 8-22:
10 | (run ocaml-mdx-test --output - %{md}))))
^^^^^^^^^^^^^^
Error: Program ocaml-mdx-test not found in the tree or in PATH
(context: default)
ocaml-crunch template/bin.ml
Generating bin.ml
Skipping generation of .mli
ocaml-crunch template/bs_react.ml
Generating bs_react.ml
Skipping generation of .mli
ocaml-crunch template/cli.ml
Generating cli.ml
Skipping generation of .mli
ocaml-crunch template/lib.ml
Generating lib.ml
Skipping generation of .mli
ocaml-crunch template/ppx.ml
Generating ppx.ml
Skipping generation of .mli
File "lib/spin_std/spin_std.ml", line 126, characters 13-23:
126 | let open Lwt.Syntax in
^^^^^^^^^^
Error: Unbound module Lwt.Syntax
gmake: *** [Makefile:17: build] Error 1
~/Downloads/gramps-example/spin-next/spin next
❯
from spin.
Also, I just added a lower bound for Lwt, so you can pull the repo if you have a problem with Lwt.
from spin.
That's strange. Did you run this?
opam update
opam upgrade
from spin.
building
from spin.
history
3578 rm -rf spin
3579 opam update
3580 opam upgrade
3588 hub clone tmattio/spin -b next
3590 cd spin
3600 make dev
3601 make build
3602 make install
3604 cd ..
3606 mk test-cli
3607 spin new cli
Same error: All the output I could recover:
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cma
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmxa
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmxs
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_convert.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_convert.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_convert.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_detect.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_detect.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_detect.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.a
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cma
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmxa
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmxs
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Config.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Config.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Config.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Config.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_common.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_common.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_common.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_project.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_project.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_project.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_user_config.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_user_config.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_user_config.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Decoder.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Decoder.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Decoder.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Decoder.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Encoder.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Encoder.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Encoder.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Encoder.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__File_generator.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__File_generator.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__File_generator.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__File_generator.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Git_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Git_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Git_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Helpers.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Helpers.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Helpers.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Local_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Local_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Local_template.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Local_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Official_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Official_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Official_template.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Official_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Pp.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Pp.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Pp.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Spin_error.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Spin_error.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Spin_error.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Spin_error.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_actions.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_actions.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_actions.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_actions.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_expr.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_expr.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_expr.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__User_config.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__User_config.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__User_config.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__User_config.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin_error.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin_error.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/glob.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/glob.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.a
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cma
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmxa
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmxs
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__Glob.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__Glob.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__Glob.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__Glob.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/bin.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/bs_react.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/cli.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/lib.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/ppx.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.a
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cma
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmxa
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmxs
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bin.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bin.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bin.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bs_react.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bs_react.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bs_react.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Cli.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Cli.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Cli.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Lib.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Lib.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Lib.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Ppx.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Ppx.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Ppx.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template_actions.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template_actions.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template_expr.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/user_config.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/user_config.mli
Installing /Users/mandalarian/.opam/4.08.1/bin/spin
Installing /Users/mandalarian/.opam/4.08.1/doc/spin/CHANGES.md
Installing /Users/mandalarian/.opam/4.08.1/doc/spin/LICENSE
Installing /Users/mandalarian/.opam/4.08.1/doc/spin/README.md
~/Downloads/gramps-example/spin-next/spin next
❯ spin new cli
📡 Updating official templates.
Done!
😱 Can't generate the template at this destination: This directory is not empty.
~/Downloads/gramps-example/spin-next/spin next
❯ cd ..
~/Downloads/gramps-example/spin-next
❯ spin new cli
📡 Updating official templates.
Done!
😱 Can't generate the template at this destination: This directory is not empty.
~/Downloads/gramps-example/spin-next
❯ mk test-cli
~/Downloads/gramps-example/spin-next/test-cli
❯ spin new cli
📡 Updating official templates.
Done!
Project name: test-cli
Project slug: [test-cli]
Description: [A short, but powerful statement about your project]
Which syntax do you use?
1 - Reason
2 - OCaml
Choose from (1, 2): 1
Which package manager do you use?
1 - Esy
2 - Opam
Choose from (1, 2): [1] 1
Which test framework do you prefer?
1 - Rely
2 - Alcotest
Choose from (1, 2): [1] 1
Which CI/CD platform do you use
1 - Github
2 - None
Choose from (1, 2): [1] 1
🏗️ Creating a new cli in .
Done!
🎁 Installing packages. This might take a couple minutes.
/var/folders/rt/7lc5vcw16459dszl8djk35fh0000gn/T/fnm-shell-8680008/bin/esy
info install 0.6.4 (using esy.json)
info checking https://github.com/ocaml/opam-repository for updates...
info checking https://github.com/esy-ocaml/esy-opam-override for updates...
info resolving esy packages: done
info solving esy constraints: done
info resolving npm packages: done
info fetching: done
info installing: done
Done!
/var/folders/rt/7lc5vcw16459dszl8djk35fh0000gn/T/fnm-shell-8680008/bin/esy
info building [email protected]@d41d8cd9
error: build failed with exit code: 1
build log:
# esy-build-package: building: [email protected]
# esy-build-package: pwd: /Users/mandalarian/.esy/3/b/refmterr-3.1.7-11cf8b65
# esy-build-package: running: 'make' 'build'
# Creating ocamlBetterErrors.opam so that jbuilder builds.
jbuilder build -j 8
ocamlc src/.berror.eobjs/helpers.{cmi,cmo,cmt}
File "src/helpers.re", line 17, characters 12-26:
17 | let rex = Re_pcre.regexp(sep);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 18, characters 2-15:
18 | Re_pcre.split(~rex, str);
^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 44, characters 18-32:
44 | let doubleUnder = Re_pcre.regexp({|__|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 48, characters 23-37:
48 | let moreThanOneSpace = Re_pcre.regexp({|\s[\s]*|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 56, characters 2-20:
56 | Re_pcre.substitute(~rex=moreThanOneSpace, ~subst=subOneSpace, s);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 63, characters 2-20:
63 | Re_pcre.substitute(~rex=doubleUnder, ~subst=subDot, s);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 231, characters 12-26:
231 | let rex = Re_pcre.regexp(pat);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 232, characters 2-23:
232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 232, characters 24-36:
232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 239, characters 12-26:
239 | let rex = Re_pcre.regexp(pat);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 240, characters 12-33:
240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 240, characters 34-46:
240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 246, characters 12-26:
246 | let rex = Re_pcre.regexp(pat);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 247, characters 12-33:
247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 247, characters 34-46:
247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 253, characters 12-26:
253 | let rex = Re_pcre.regexp(pat);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 254, characters 12-24:
254 | try (Some(Re_pcre.exec(~rex, str))) {
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 260, characters 12-33:
260 | try (Some(Re_pcre.get_substring(result, n))) {
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 265, characters 12-26:
265 | let rex = Re_pcre.regexp(sep);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 266, characters 2-20:
266 | Re_pcre.substitute(~rex, ~subst=cb, str);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 430, characters 12-26:
430 | let rex = Re_pcre.regexp(tokenRegex);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 431, characters 17-35:
431 | let splitted = Re_pcre.full_split(~rex, txt);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 435, characters 8-20:
435 | | Re_pcre.Text(s) => highlight(~dim, ~bold, ~underline, s)
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
ocamlc src/.berror.eobjs/reportWarning.{cmi,cmo,cmt}
File "src/reportWarning.re", line 34, characters 39-56:
34 | Filename.basename(filePath) |> String.capitalize,
^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.capitalize
Use String.capitalize_ascii instead.
ocamlc src/.berror.eobjs/parseError.{cmi,cmo,cmt}
File "src/parseError.re", line 30, characters 28-42:
30 | let nestedFunctionTypeR = Re_pcre.regexp({|\([\s\S]+\)|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 32, characters 4-22:
32 | Re_pcre.substitute(~rex=nestedFunctionTypeR, ~subst=(_) => "|||||", str);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 41, characters 2-16:
41 | Re_pcre.regexp({|([\s\S]*?)is not compatible with type([\s\S]*)|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 43, characters 21-35:
43 | let typeIncompatsR = Re_pcre.regexp({|\s*\s\sType|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 52, characters 17-35:
52 | let splitted = Re_pcre.full_split(~rex=typeIncompatsR, extraWithTwoSpaces);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 55, characters 6-18:
55 | | Re_pcre.Text(str) =>
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 57, characters 8-29:
57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 57, characters 30-42:
57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 58, characters 8-29:
58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 58, characters 30-42:
58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 131, characters 25-38:
131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 131, characters 44-58:
131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 415, characters 13-27:
415 | let allR = Re_pcre.regexp({|Syntax error|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 416, characters 20-34:
416 | let allUnknownR = Re_pcre.regexp({|<UNKNOWN SYNTAX ERROR>|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 418, characters 8-22:
418 | if (! Re_pcre.pmatch(~rex=allR, err)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 419, characters 11-25:
419 | && ! Re_pcre.pmatch(~rex=allUnknownR, err)) {
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 472, characters 20-34:
472 | let goodFileNameR = Re_pcre.regexp({|^[a-zA-Z][a-zA-Z_\d]+\.\S+$|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
ocamlopt src/.berror.eobjs/Atom.{cmx,o}
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/Atom.o' '/tmp/camlasmdaf887.s'
ocamlc src/.berror.eobjs/reportError.{cmi,cmo,cmt}
File "src/reportError.re", line 8, characters 24-38:
8 | let refmttypeNewlineR = Re_pcre.regexp({|\\n|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/reportError.re", line 13, characters 12-26:
13 | let gadtR = Re_pcre.regexp({|\$[a-zA-Z0-9']*|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/reportError.re", line 20, characters 2-20:
20 | Re_pcre.substitute(~rex=gadtR, ~subst=replaceDollar, s);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/reportError.re", line 33, characters 10-28:
33 | Re_pcre.substitute(
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/reportError.re", line 146, characters 18-32:
146 | let doubleUnder = Re_pcre.regexp({|__|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
ocamlopt src/.berror.eobjs/betterErrorsTypes.{cmx,o}
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/betterErrorsTypes.o' '/tmp/camlasm7d146c.s'
ocamlopt src/.berror.eobjs/helpers.{cmx,o}
File "src/helpers.re", line 17, characters 12-26:
17 | let rex = Re_pcre.regexp(sep);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 18, characters 2-15:
18 | Re_pcre.split(~rex, str);
^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 44, characters 18-32:
44 | let doubleUnder = Re_pcre.regexp({|__|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 48, characters 23-37:
48 | let moreThanOneSpace = Re_pcre.regexp({|\s[\s]*|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 56, characters 2-20:
56 | Re_pcre.substitute(~rex=moreThanOneSpace, ~subst=subOneSpace, s);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 63, characters 2-20:
63 | Re_pcre.substitute(~rex=doubleUnder, ~subst=subDot, s);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 231, characters 12-26:
231 | let rex = Re_pcre.regexp(pat);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 232, characters 2-23:
232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 232, characters 24-36:
232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 239, characters 12-26:
239 | let rex = Re_pcre.regexp(pat);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 240, characters 12-33:
240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 240, characters 34-46:
240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 246, characters 12-26:
246 | let rex = Re_pcre.regexp(pat);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 247, characters 12-33:
247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 247, characters 34-46:
247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 253, characters 12-26:
253 | let rex = Re_pcre.regexp(pat);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 254, characters 12-24:
254 | try (Some(Re_pcre.exec(~rex, str))) {
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 260, characters 12-33:
260 | try (Some(Re_pcre.get_substring(result, n))) {
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 265, characters 12-26:
265 | let rex = Re_pcre.regexp(sep);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 266, characters 2-20:
266 | Re_pcre.substitute(~rex, ~subst=cb, str);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 430, characters 12-26:
430 | let rex = Re_pcre.regexp(tokenRegex);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 431, characters 17-35:
431 | let splitted = Re_pcre.full_split(~rex, txt);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/helpers.re", line 435, characters 8-20:
435 | | Re_pcre.Text(s) => highlight(~dim, ~bold, ~underline, s)
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/helpers.o' '/tmp/camlasm8dd405.s'
ocamlc src/.berror.eobjs/index.{cmi,cmo,cmt}
File "src/index.re", line 74, characters 2-9:
74 | Re_pcre.(
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 113, characters 6-13:
113 | Re_pcre.(
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 125, characters 2-16:
125 | Re_pcre.regexp(
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 126, characters 12-19:
126 | ~flags=[Re_pcre.(`MULTILINE)],
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 130, characters 25-39:
130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 130, characters 48-55:
130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 132, characters 22-36:
132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 132, characters 45-52:
132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 141, characters 15-29:
141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 141, characters 38-45:
141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 144, characters 2-16:
144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 144, characters 25-32:
144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 149, characters 2-16:
149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 149, characters 25-32:
149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 154, characters 2-16:
154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 154, characters 25-32:
154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 161, characters 12-30:
161 | switch (Re_pcre.full_split(~rex=fileR, err)) {
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 162, characters 7-20:
162 | | [Re_pcre.Delim(_), Group(_, filePath), Group(_, lineNum), col1, col2, Text(body)] =>
^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 247, characters 6-20:
247 | Re_pcre.pmatch(~rex=fileR, line),
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 248, characters 6-20:
248 | Re_pcre.pmatch(~rex=hasErrorOrWarningR, line),
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 249, characters 6-20:
249 | Re_pcre.pmatch(~rex=hasIndentationR, line)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 287, characters 10-24:
287 | if (Re_pcre.pmatch(~rex=hasHintR, line)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 288, characters 13-27:
288 | || Re_pcre.pmatch(~rex=argCannotBeAppliedWithLabelR, line)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 289, characters 13-27:
289 | || Re_pcre.pmatch(~rex=notVisibleInCurrentScopeR, line)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 290, characters 13-27:
290 | || Re_pcre.pmatch(~rex=theyWillNotBeSelectedR, line)) {
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
ocamlc src/.berror.eobjs/berror.{cmi,cmo,cmt}
File "src/berror.re", line 39, characters 20-34:
39 | let longStorePath = Re_pcre.regexp({|\.esy\/\d[_]+\/|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/berror.re", line 42, characters 2-20:
42 | Re_pcre.substitute(
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
ocamlopt src/.berror.eobjs/parseWarning.{cmx,o}
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/parseWarning.o' '/tmp/camlasm5b36a3.s'
ocamlopt src/.berror.eobjs/reportWarning.{cmx,o}
File "src/reportWarning.re", line 34, characters 39-56:
34 | Filename.basename(filePath) |> String.capitalize,
^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.capitalize
Use String.capitalize_ascii instead.
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/reportWarning.o' '/tmp/camlasm4377e3.s'
ocamlopt src/.berror.eobjs/parseError.{cmx,o}
File "src/parseError.re", line 30, characters 28-42:
30 | let nestedFunctionTypeR = Re_pcre.regexp({|\([\s\S]+\)|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 32, characters 4-22:
32 | Re_pcre.substitute(~rex=nestedFunctionTypeR, ~subst=(_) => "|||||", str);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 41, characters 2-16:
41 | Re_pcre.regexp({|([\s\S]*?)is not compatible with type([\s\S]*)|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 43, characters 21-35:
43 | let typeIncompatsR = Re_pcre.regexp({|\s*\s\sType|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 52, characters 17-35:
52 | let splitted = Re_pcre.full_split(~rex=typeIncompatsR, extraWithTwoSpaces);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 55, characters 6-18:
55 | | Re_pcre.Text(str) =>
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 57, characters 8-29:
57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 57, characters 30-42:
57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 58, characters 8-29:
58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 58, characters 30-42:
58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 131, characters 25-38:
131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 131, characters 44-58:
131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 415, characters 13-27:
415 | let allR = Re_pcre.regexp({|Syntax error|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 416, characters 20-34:
416 | let allUnknownR = Re_pcre.regexp({|<UNKNOWN SYNTAX ERROR>|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 418, characters 8-22:
418 | if (! Re_pcre.pmatch(~rex=allR, err)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 419, characters 11-25:
419 | && ! Re_pcre.pmatch(~rex=allUnknownR, err)) {
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/parseError.re", line 472, characters 20-34:
472 | let goodFileNameR = Re_pcre.regexp({|^[a-zA-Z][a-zA-Z_\d]+\.\S+$|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/parseError.o' '/tmp/camlasm223e01.s'
ocamlopt src/.berror.eobjs/reportError.{cmx,o}
File "src/reportError.re", line 8, characters 24-38:
8 | let refmttypeNewlineR = Re_pcre.regexp({|\\n|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/reportError.re", line 13, characters 12-26:
13 | let gadtR = Re_pcre.regexp({|\$[a-zA-Z0-9']*|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/reportError.re", line 20, characters 2-20:
20 | Re_pcre.substitute(~rex=gadtR, ~subst=replaceDollar, s);
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/reportError.re", line 33, characters 10-28:
33 | Re_pcre.substitute(
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/reportError.re", line 146, characters 18-32:
146 | let doubleUnder = Re_pcre.regexp({|__|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/reportError.o' '/tmp/camlasm17a254.s'
ocamlopt src/.berror.eobjs/terminalReporter.{cmx,o}
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/terminalReporter.o' '/tmp/camlasm37464b.s'
ocamlopt src/.berror.eobjs/index.{cmx,o}
File "src/index.re", line 74, characters 2-9:
74 | Re_pcre.(
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 113, characters 6-13:
113 | Re_pcre.(
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 125, characters 2-16:
125 | Re_pcre.regexp(
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 126, characters 12-19:
126 | ~flags=[Re_pcre.(`MULTILINE)],
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 130, characters 25-39:
130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 130, characters 48-55:
130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 132, characters 22-36:
132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 132, characters 45-52:
132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 141, characters 15-29:
141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 141, characters 38-45:
141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 144, characters 2-16:
144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 144, characters 25-32:
144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 149, characters 2-16:
149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 149, characters 25-32:
149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 154, characters 2-16:
154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 154, characters 25-32:
154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 161, characters 12-30:
161 | switch (Re_pcre.full_split(~rex=fileR, err)) {
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 162, characters 7-20:
162 | | [Re_pcre.Delim(_), Group(_, filePath), Group(_, lineNum), col1, col2, Text(body)] =>
^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 247, characters 6-20:
247 | Re_pcre.pmatch(~rex=fileR, line),
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 248, characters 6-20:
248 | Re_pcre.pmatch(~rex=hasErrorOrWarningR, line),
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 249, characters 6-20:
249 | Re_pcre.pmatch(~rex=hasIndentationR, line)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 287, characters 10-24:
287 | if (Re_pcre.pmatch(~rex=hasHintR, line)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 288, characters 13-27:
288 | || Re_pcre.pmatch(~rex=argCannotBeAppliedWithLabelR, line)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 289, characters 13-27:
289 | || Re_pcre.pmatch(~rex=notVisibleInCurrentScopeR, line)
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/index.re", line 290, characters 13-27:
290 | || Re_pcre.pmatch(~rex=theyWillNotBeSelectedR, line)) {
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/index.o' '/tmp/camlasm1788d2.s'
ocamlopt src/.berror.eobjs/berror.{cmx,o}
File "src/berror.re", line 39, characters 20-34:
39 | let longStorePath = Re_pcre.regexp({|\.esy\/\d[_]+\/|});
^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
File "src/berror.re", line 42, characters 2-20:
42 | Re_pcre.substitute(
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Re_pcre
Use Re.Pcre
+ clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/berror.o' '/tmp/camlasm8b6e84.s'
ocamlopt src/berror.exe
+ clang -arch x86_64 -Wno-trigraphs -c -o '/tmp/camlstartup24c5a6.o' '/tmp/camlstartup3f02e1.s'
+ gcc -O2 -fno-strict-aliasing -fwrapv -Wall -fno-common -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE -Wl,-no_compact_unwind -o 'src/berror.exe' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/pcre' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__seq-opam__c__base-4220c996/lib/seq' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml' '/tmp/camlstartup24c5a6.o' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/std_exit.o' 'src/.berror.eobjs/berror.o' 'src/.berror.eobjs/index.o' 'src/.berror.eobjs/terminalReporter.o' 'src/.berror.eobjs/reportWarning.o' 'src/.berror.eobjs/reportError.o' 'src/.berror.eobjs/parseWarning.o' 'src/.berror.eobjs/parseError.o' 'src/.berror.eobjs/helpers.o' 'src/.berror.eobjs/betterErrorsTypes.o' 'src/.berror.eobjs/Atom.o' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/unix.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/pcre/re_pcre.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/re.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/stdlib.a' '-lunix' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/libasmrun.a' -lm
# esy-build-package: running: 'make' 'install'
# Creating ocamlBetterErrors.opam so that jbuilder builds.
jbuilder build -j 8
esy-installer
make: esy-installer: No such file or directory
make: *** [install] Error 1
error: command failed: 'make' 'install' (exited with 2)
esy-build-package: exiting with errors above...
building [email protected]
esy: exiting due to errors above
😱 This command did not run as expected: esy dune build. It exited with the code 1.
~/Downloads/gramps-example/spin-next/test-cli 28s
from spin.
no spin but the one i just built, still getting the spin new cli
error.
~/Downloads/next-cli 28s
❯ npm -g ls spin
/Users/mandalarian/.fnm/node-versions/v13.11.0/installation/lib
└── (empty)
~/Downloads/next-cli 18s
❯ yarn global list spin
yarn global v1.22.4
info "[email protected]" has binaries:
- create-react-app
✨ Done in 0.48s.
~/Downloads/next-cli
❯ brew list spin
Error: No such keg: /usr/local/Cellar/spin
~/Downloads/next-cli
❯
I built it, then tried with running opam install .
from the build dir.
~/Downloads/next-cli
❯ spin new cli
? Project name cli-test
? Project slug [cli-test]
? Description [A short, but powerful statement about your project]
? Name of the author idkjs
? Github username [idkjs]
? NPM username [idkjs]
? Which syntax do you use?
OCaml
> Reason
? Which package manager do you use?
Opam
> Esy
? Which test framework do you prefer?
Alcotest
> Rely
? Which test framework do you prefer?
> Github
None
🏗️ Creating a new project from cli in .
Done!
🎁 Installing packages. This might take a couple minutes.
spin: [ERROR] stderr of esy: info building [email protected]@d41d8cd9
spin: [ERROR] stderr of esy: error: build failed with exit code: 1
spin: [ERROR] stderr of esy: build log:
spin: [ERROR] stderr of esy: # esy-build-package: building: [email protected]
spin: [ERROR] stderr of esy: # esy-build-package: pwd: /Users/mandalarian/.esy/3/b/refmterr-3.1.7-11cf8b65
spin: [ERROR] stderr of esy: # esy-build-package: running: 'make' 'build'
spin: [ERROR] stderr of esy: # Creating ocamlBetterErrors.opam so that jbuilder builds.
spin: [ERROR] stderr of esy: jbuilder build -j 8
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/helpers.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/helpers.re", line 17, characters 12-26:
spin: [ERROR] stderr of esy: 17 | let rex = Re_pcre.regexp(sep);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 18, characters 2-15:
spin: [ERROR] stderr of esy: 18 | Re_pcre.split(~rex, str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 44, characters 18-32:
spin: [ERROR] stderr of esy: 44 | let doubleUnder = Re_pcre.regexp({|__|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 48, characters 23-37:
spin: [ERROR] stderr of esy: 48 | let moreThanOneSpace = Re_pcre.regexp({|\s[\s]*|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 56, characters 2-20:
spin: [ERROR] stderr of esy: 56 | Re_pcre.substitute(~rex=moreThanOneSpace, ~subst=subOneSpace, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 63, characters 2-20:
spin: [ERROR] stderr of esy: 63 | Re_pcre.substitute(~rex=doubleUnder, ~subst=subDot, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 231, characters 12-26:
spin: [ERROR] stderr of esy: 231 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 232, characters 2-23:
spin: [ERROR] stderr of esy: 232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 232, characters 24-36:
spin: [ERROR] stderr of esy: 232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 239, characters 12-26:
spin: [ERROR] stderr of esy: 239 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 240, characters 12-33:
spin: [ERROR] stderr of esy: 240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 240, characters 34-46:
spin: [ERROR] stderr of esy: 240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 246, characters 12-26:
spin: [ERROR] stderr of esy: 246 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 247, characters 12-33:
spin: [ERROR] stderr of esy: 247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 247, characters 34-46:
spin: [ERROR] stderr of esy: 247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 253, characters 12-26:
spin: [ERROR] stderr of esy: 253 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 254, characters 12-24:
spin: [ERROR] stderr of esy: 254 | try (Some(Re_pcre.exec(~rex, str))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 260, characters 12-33:
spin: [ERROR] stderr of esy: 260 | try (Some(Re_pcre.get_substring(result, n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 265, characters 12-26:
spin: [ERROR] stderr of esy: 265 | let rex = Re_pcre.regexp(sep);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 266, characters 2-20:
spin: [ERROR] stderr of esy: 266 | Re_pcre.substitute(~rex, ~subst=cb, str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 430, characters 12-26:
spin: [ERROR] stderr of esy: 430 | let rex = Re_pcre.regexp(tokenRegex);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 431, characters 17-35:
spin: [ERROR] stderr of esy: 431 | let splitted = Re_pcre.full_split(~rex, txt);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 435, characters 8-20:
spin: [ERROR] stderr of esy: 435 | | Re_pcre.Text(s) => highlight(~dim, ~bold, ~underline, s)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/reportWarning.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/reportWarning.re", line 34, characters 39-56:
spin: [ERROR] stderr of esy: 34 | Filename.basename(filePath) |> String.capitalize,
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: Stdlib.String.capitalize
spin: [ERROR] stderr of esy: Use String.capitalize_ascii instead.
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/parseError.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/parseError.re", line 30, characters 28-42:
spin: [ERROR] stderr of esy: 30 | let nestedFunctionTypeR = Re_pcre.regexp({|\([\s\S]+\)|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 32, characters 4-22:
spin: [ERROR] stderr of esy: 32 | Re_pcre.substitute(~rex=nestedFunctionTypeR, ~subst=(_) => "|||||", str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 41, characters 2-16:
spin: [ERROR] stderr of esy: 41 | Re_pcre.regexp({|([\s\S]*?)is not compatible with type([\s\S]*)|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 43, characters 21-35:
spin: [ERROR] stderr of esy: 43 | let typeIncompatsR = Re_pcre.regexp({|\s*\s\sType|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 52, characters 17-35:
spin: [ERROR] stderr of esy: 52 | let splitted = Re_pcre.full_split(~rex=typeIncompatsR, extraWithTwoSpaces);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 55, characters 6-18:
spin: [ERROR] stderr of esy: 55 | | Re_pcre.Text(str) =>
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 57, characters 8-29:
spin: [ERROR] stderr of esy: 57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 57, characters 30-42:
spin: [ERROR] stderr of esy: 57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 58, characters 8-29:
spin: [ERROR] stderr of esy: 58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 58, characters 30-42:
spin: [ERROR] stderr of esy: 58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 131, characters 25-38:
spin: [ERROR] stderr of esy: 131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 131, characters 44-58:
spin: [ERROR] stderr of esy: 131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 415, characters 13-27:
spin: [ERROR] stderr of esy: 415 | let allR = Re_pcre.regexp({|Syntax error|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 416, characters 20-34:
spin: [ERROR] stderr of esy: 416 | let allUnknownR = Re_pcre.regexp({|<UNKNOWN SYNTAX ERROR>|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 418, characters 8-22:
spin: [ERROR] stderr of esy: 418 | if (! Re_pcre.pmatch(~rex=allR, err)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 419, characters 11-25:
spin: [ERROR] stderr of esy: 419 | && ! Re_pcre.pmatch(~rex=allUnknownR, err)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 472, characters 20-34:
spin: [ERROR] stderr of esy: 472 | let goodFileNameR = Re_pcre.regexp({|^[a-zA-Z][a-zA-Z_\d]+\.\S+$|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/Atom.{cmx,o}
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/Atom.o' '/tmp/camlasm20a649.s'
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/reportError.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/reportError.re", line 8, characters 24-38:
spin: [ERROR] stderr of esy: 8 | let refmttypeNewlineR = Re_pcre.regexp({|\\n|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 13, characters 12-26:
spin: [ERROR] stderr of esy: 13 | let gadtR = Re_pcre.regexp({|\$[a-zA-Z0-9']*|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 20, characters 2-20:
spin: [ERROR] stderr of esy: 20 | Re_pcre.substitute(~rex=gadtR, ~subst=replaceDollar, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 33, characters 10-28:
spin: [ERROR] stderr of esy: 33 | Re_pcre.substitute(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 146, characters 18-32:
spin: [ERROR] stderr of esy: 146 | let doubleUnder = Re_pcre.regexp({|__|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/helpers.{cmx,o}
spin: [ERROR] stderr of esy: File "src/helpers.re", line 17, characters 12-26:
spin: [ERROR] stderr of esy: 17 | let rex = Re_pcre.regexp(sep);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 18, characters 2-15:
spin: [ERROR] stderr of esy: 18 | Re_pcre.split(~rex, str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 44, characters 18-32:
spin: [ERROR] stderr of esy: 44 | let doubleUnder = Re_pcre.regexp({|__|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 48, characters 23-37:
spin: [ERROR] stderr of esy: 48 | let moreThanOneSpace = Re_pcre.regexp({|\s[\s]*|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 56, characters 2-20:
spin: [ERROR] stderr of esy: 56 | Re_pcre.substitute(~rex=moreThanOneSpace, ~subst=subOneSpace, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 63, characters 2-20:
spin: [ERROR] stderr of esy: 63 | Re_pcre.substitute(~rex=doubleUnder, ~subst=subDot, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 231, characters 12-26:
spin: [ERROR] stderr of esy: 231 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 232, characters 2-23:
spin: [ERROR] stderr of esy: 232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 232, characters 24-36:
spin: [ERROR] stderr of esy: 232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 239, characters 12-26:
spin: [ERROR] stderr of esy: 239 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 240, characters 12-33:
spin: [ERROR] stderr of esy: 240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 240, characters 34-46:
spin: [ERROR] stderr of esy: 240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 246, characters 12-26:
spin: [ERROR] stderr of esy: 246 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 247, characters 12-33:
spin: [ERROR] stderr of esy: 247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 247, characters 34-46:
spin: [ERROR] stderr of esy: 247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 253, characters 12-26:
spin: [ERROR] stderr of esy: 253 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 254, characters 12-24:
spin: [ERROR] stderr of esy: 254 | try (Some(Re_pcre.exec(~rex, str))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 260, characters 12-33:
spin: [ERROR] stderr of esy: 260 | try (Some(Re_pcre.get_substring(result, n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 265, characters 12-26:
spin: [ERROR] stderr of esy: 265 | let rex = Re_pcre.regexp(sep);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 266, characters 2-20:
spin: [ERROR] stderr of esy: 266 | Re_pcre.substitute(~rex, ~subst=cb, str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 430, characters 12-26:
spin: [ERROR] stderr of esy: 430 | let rex = Re_pcre.regexp(tokenRegex);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 431, characters 17-35:
spin: [ERROR] stderr of esy: 431 | let splitted = Re_pcre.full_split(~rex, txt);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 435, characters 8-20:
spin: [ERROR] stderr of esy: 435 | | Re_pcre.Text(s) => highlight(~dim, ~bold, ~underline, s)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/helpers.o' '/tmp/camlasm5425c8.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/betterErrorsTypes.{cmx,o}
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/betterErrorsTypes.o' '/tmp/camlasm8105dd.s'
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/index.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/index.re", line 74, characters 2-9:
spin: [ERROR] stderr of esy: 74 | Re_pcre.(
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 113, characters 6-13:
spin: [ERROR] stderr of esy: 113 | Re_pcre.(
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 125, characters 2-16:
spin: [ERROR] stderr of esy: 125 | Re_pcre.regexp(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 126, characters 12-19:
spin: [ERROR] stderr of esy: 126 | ~flags=[Re_pcre.(`MULTILINE)],
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 130, characters 25-39:
spin: [ERROR] stderr of esy: 130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 130, characters 48-55:
spin: [ERROR] stderr of esy: 130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 132, characters 22-36:
spin: [ERROR] stderr of esy: 132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 132, characters 45-52:
spin: [ERROR] stderr of esy: 132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 141, characters 15-29:
spin: [ERROR] stderr of esy: 141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 141, characters 38-45:
spin: [ERROR] stderr of esy: 141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 144, characters 2-16:
spin: [ERROR] stderr of esy: 144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 144, characters 25-32:
spin: [ERROR] stderr of esy: 144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 149, characters 2-16:
spin: [ERROR] stderr of esy: 149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 149, characters 25-32:
spin: [ERROR] stderr of esy: 149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 154, characters 2-16:
spin: [ERROR] stderr of esy: 154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 154, characters 25-32:
spin: [ERROR] stderr of esy: 154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 161, characters 12-30:
spin: [ERROR] stderr of esy: 161 | switch (Re_pcre.full_split(~rex=fileR, err)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 162, characters 7-20:
spin: [ERROR] stderr of esy: 162 | | [Re_pcre.Delim(_), Group(_, filePath), Group(_, lineNum), col1, col2, Text(body)] =>
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 247, characters 6-20:
spin: [ERROR] stderr of esy: 247 | Re_pcre.pmatch(~rex=fileR, line),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 248, characters 6-20:
spin: [ERROR] stderr of esy: 248 | Re_pcre.pmatch(~rex=hasErrorOrWarningR, line),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 249, characters 6-20:
spin: [ERROR] stderr of esy: 249 | Re_pcre.pmatch(~rex=hasIndentationR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 287, characters 10-24:
spin: [ERROR] stderr of esy: 287 | if (Re_pcre.pmatch(~rex=hasHintR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 288, characters 13-27:
spin: [ERROR] stderr of esy: 288 | || Re_pcre.pmatch(~rex=argCannotBeAppliedWithLabelR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 289, characters 13-27:
spin: [ERROR] stderr of esy: 289 | || Re_pcre.pmatch(~rex=notVisibleInCurrentScopeR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 290, characters 13-27:
spin: [ERROR] stderr of esy: 290 | || Re_pcre.pmatch(~rex=theyWillNotBeSelectedR, line)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/berror.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/berror.re", line 39, characters 20-34:
spin: [ERROR] stderr of esy: 39 | let longStorePath = Re_pcre.regexp({|\.esy\/\d[_]+\/|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/berror.re", line 42, characters 2-20:
spin: [ERROR] stderr of esy: 42 | Re_pcre.substitute(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/parseWarning.{cmx,o}
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/parseWarning.o' '/tmp/camlasm7ffcf4.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/reportWarning.{cmx,o}
spin: [ERROR] stderr of esy: File "src/reportWarning.re", line 34, characters 39-56:
spin: [ERROR] stderr of esy: 34 | Filename.basename(filePath) |> String.capitalize,
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: Stdlib.String.capitalize
spin: [ERROR] stderr of esy: Use String.capitalize_ascii instead.
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/reportWarning.o' '/tmp/camlasm2e6cc9.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/parseError.{cmx,o}
spin: [ERROR] stderr of esy: File "src/parseError.re", line 30, characters 28-42:
spin: [ERROR] stderr of esy: 30 | let nestedFunctionTypeR = Re_pcre.regexp({|\([\s\S]+\)|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 32, characters 4-22:
spin: [ERROR] stderr of esy: 32 | Re_pcre.substitute(~rex=nestedFunctionTypeR, ~subst=(_) => "|||||", str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 41, characters 2-16:
spin: [ERROR] stderr of esy: 41 | Re_pcre.regexp({|([\s\S]*?)is not compatible with type([\s\S]*)|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 43, characters 21-35:
spin: [ERROR] stderr of esy: 43 | let typeIncompatsR = Re_pcre.regexp({|\s*\s\sType|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 52, characters 17-35:
spin: [ERROR] stderr of esy: 52 | let splitted = Re_pcre.full_split(~rex=typeIncompatsR, extraWithTwoSpaces);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 55, characters 6-18:
spin: [ERROR] stderr of esy: 55 | | Re_pcre.Text(str) =>
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 57, characters 8-29:
spin: [ERROR] stderr of esy: 57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 57, characters 30-42:
spin: [ERROR] stderr of esy: 57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 58, characters 8-29:
spin: [ERROR] stderr of esy: 58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 58, characters 30-42:
spin: [ERROR] stderr of esy: 58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 131, characters 25-38:
spin: [ERROR] stderr of esy: 131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 131, characters 44-58:
spin: [ERROR] stderr of esy: 131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 415, characters 13-27:
spin: [ERROR] stderr of esy: 415 | let allR = Re_pcre.regexp({|Syntax error|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 416, characters 20-34:
spin: [ERROR] stderr of esy: 416 | let allUnknownR = Re_pcre.regexp({|<UNKNOWN SYNTAX ERROR>|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 418, characters 8-22:
spin: [ERROR] stderr of esy: 418 | if (! Re_pcre.pmatch(~rex=allR, err)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 419, characters 11-25:
spin: [ERROR] stderr of esy: 419 | && ! Re_pcre.pmatch(~rex=allUnknownR, err)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 472, characters 20-34:
spin: [ERROR] stderr of esy: 472 | let goodFileNameR = Re_pcre.regexp({|^[a-zA-Z][a-zA-Z_\d]+\.\S+$|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/parseError.o' '/tmp/camlasm4d0c18.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/reportError.{cmx,o}
spin: [ERROR] stderr of esy: File "src/reportError.re", line 8, characters 24-38:
spin: [ERROR] stderr of esy: 8 | let refmttypeNewlineR = Re_pcre.regexp({|\\n|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 13, characters 12-26:
spin: [ERROR] stderr of esy: 13 | let gadtR = Re_pcre.regexp({|\$[a-zA-Z0-9']*|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 20, characters 2-20:
spin: [ERROR] stderr of esy: 20 | Re_pcre.substitute(~rex=gadtR, ~subst=replaceDollar, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 33, characters 10-28:
spin: [ERROR] stderr of esy: 33 | Re_pcre.substitute(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 146, characters 18-32:
spin: [ERROR] stderr of esy: 146 | let doubleUnder = Re_pcre.regexp({|__|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/reportError.o' '/tmp/camlasm2f3a07.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/terminalReporter.{cmx,o}
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/terminalReporter.o' '/tmp/camlasm1c7513.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/index.{cmx,o}
spin: [ERROR] stderr of esy: File "src/index.re", line 74, characters 2-9:
spin: [ERROR] stderr of esy: 74 | Re_pcre.(
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 113, characters 6-13:
spin: [ERROR] stderr of esy: 113 | Re_pcre.(
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 125, characters 2-16:
spin: [ERROR] stderr of esy: 125 | Re_pcre.regexp(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 126, characters 12-19:
spin: [ERROR] stderr of esy: 126 | ~flags=[Re_pcre.(`MULTILINE)],
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 130, characters 25-39:
spin: [ERROR] stderr of esy: 130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 130, characters 48-55:
spin: [ERROR] stderr of esy: 130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 132, characters 22-36:
spin: [ERROR] stderr of esy: 132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 132, characters 45-52:
spin: [ERROR] stderr of esy: 132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 141, characters 15-29:
spin: [ERROR] stderr of esy: 141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 141, characters 38-45:
spin: [ERROR] stderr of esy: 141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 144, characters 2-16:
spin: [ERROR] stderr of esy: 144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 144, characters 25-32:
spin: [ERROR] stderr of esy: 144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 149, characters 2-16:
spin: [ERROR] stderr of esy: 149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 149, characters 25-32:
spin: [ERROR] stderr of esy: 149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 154, characters 2-16:
spin: [ERROR] stderr of esy: 154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 154, characters 25-32:
spin: [ERROR] stderr of esy: 154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 161, characters 12-30:
spin: [ERROR] stderr of esy: 161 | switch (Re_pcre.full_split(~rex=fileR, err)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 162, characters 7-20:
spin: [ERROR] stderr of esy: 162 | | [Re_pcre.Delim(_), Group(_, filePath), Group(_, lineNum), col1, col2, Text(body)] =>
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 247, characters 6-20:
spin: [ERROR] stderr of esy: 247 | Re_pcre.pmatch(~rex=fileR, line),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 248, characters 6-20:
spin: [ERROR] stderr of esy: 248 | Re_pcre.pmatch(~rex=hasErrorOrWarningR, line),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 249, characters 6-20:
spin: [ERROR] stderr of esy: 249 | Re_pcre.pmatch(~rex=hasIndentationR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 287, characters 10-24:
spin: [ERROR] stderr of esy: 287 | if (Re_pcre.pmatch(~rex=hasHintR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 288, characters 13-27:
spin: [ERROR] stderr of esy: 288 | || Re_pcre.pmatch(~rex=argCannotBeAppliedWithLabelR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 289, characters 13-27:
spin: [ERROR] stderr of esy: 289 | || Re_pcre.pmatch(~rex=notVisibleInCurrentScopeR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 290, characters 13-27:
spin: [ERROR] stderr of esy: 290 | || Re_pcre.pmatch(~rex=theyWillNotBeSelectedR, line)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/index.o' '/tmp/camlasm6bd848.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/berror.{cmx,o}
spin: [ERROR] stderr of esy: File "src/berror.re", line 39, characters 20-34:
spin: [ERROR] stderr of esy: 39 | let longStorePath = Re_pcre.regexp({|\.esy\/\d[_]+\/|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/berror.re", line 42, characters 2-20:
spin: [ERROR] stderr of esy: 42 | Re_pcre.substitute(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/berror.o' '/tmp/camlasmd323ee.s'
spin: [ERROR] stderr of esy: ocamlopt src/berror.exe
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o '/tmp/camlstartup63b2c5.o' '/tmp/camlstartup469e59.s'
spin: [ERROR] stderr of esy: + gcc -O2 -fno-strict-aliasing -fwrapv -Wall -fno-common -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE -Wl,-no_compact_unwind -o 'src/berror.exe' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/pcre' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__seq-opam__c__base-4220c996/lib/seq' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml' '/tmp/camlstartup63b2c5.o' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/std_exit.o' 'src/.berror.eobjs/berror.o' 'src/.berror.eobjs/index.o' 'src/.berror.eobjs/terminalReporter.o' 'src/.berror.eobjs/reportWarning.o' 'src/.berror.eobjs/reportError.o' 'src/.berror.eobjs/parseWarning.o' 'src/.berror.eobjs/parseError.o' 'src/.berror.eobjs/helpers.o' 'src/.berror.eobjs/betterErrorsTypes.o' 'src/.berror.eobjs/Atom.o' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/unix.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/pcre/re_pcre.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/re.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/stdlib.a' '-lunix' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/libasmrun.a' -lm
spin: [ERROR] stderr of esy: # esy-build-package: running: 'make' 'install'
spin: [ERROR] stderr of esy: # Creating ocamlBetterErrors.opam so that jbuilder builds.
spin: [ERROR] stderr of esy: jbuilder build -j 8
spin: [ERROR] stderr of esy: esy-installer
spin: [ERROR] stderr of esy: make: esy-installer: No such file or directory
spin: [ERROR] stderr of esy: make: *** [install] Error 1
spin: [ERROR] stderr of esy: error: command failed: 'make' 'install' (exited with 2)
spin: [ERROR] stderr of esy: esy-build-package: exiting with errors above...
spin: [ERROR] stderr of esy:
spin: [ERROR] stderr of esy: building [email protected]
spin: [ERROR] stderr of esy: esy: exiting due to errors above
spin: [ERROR] The template generation failed:
The command esy did not run successfully.
~/Downloads/next-cli 28s
❯
Just FYI in case anything for you in there. Grind on, brother!
from spin.
Did you pull the changes? I removed all mentions of esy-installer
🤔
from spin.
building from git
~/Downloads
❯ hub clone -b next https://github.com/tmattio/spin.git spin-next
Cloning into 'spin-next'...
remote: Enumerating objects: 529, done.
remote: Counting objects: 100% (529/529), done.
remote: Compressing objects: 100% (386/386), done.
remote: Total 2276 (delta 170), reused 460 (delta 105), pack-reused 1747
Receiving objects: 100% (2276/2276), 684.97 KiB | 3.62 MiB/s, done.
Resolving deltas: 100% (1104/1104), done.
is not a valid attribute name: template/bin/template/.gitattributes:1
%} is not a valid attribute name: template/bin/template/.gitattributes:5
is not a valid attribute name: template/bin/template/.gitattributes:7
%} is not a valid attribute name: template/bin/template/.gitattributes:11
%} is not a valid attribute name: template/bin/template/.gitattributes:15
~/Downloads
❯ spin-next/
~/Downloads/spin-next
❯ make dev
opam install -y dune-release merlin ocamlformat utop
[NOTE] Package utop is already installed (current version is 2.5.0).
[NOTE] Package ocamlformat is already installed (current version is 0.14.2).
[NOTE] Package merlin is already installed (current version is 3.3.4).
[NOTE] Package dune-release is already installed (current version is 1.3.3).
opam install --deps-only --with-test --with-doc -y .
Nothing to do.
~/Downloads/spin-next
❯ make build
opam exec -- dune build
ocaml-crunch template/bin.ml
Generating bin.ml
Skipping generation of .mli
ocaml-crunch template/bs_react.ml
Generating bs_react.ml
Skipping generation of .mli
ocaml-crunch template/cli.ml
Generating cli.ml
Skipping generation of .mli
ocaml-crunch template/lib.ml
Generating lib.ml
Skipping generation of .mli
ocaml-crunch template/ppx.ml
Generating ppx.ml
Skipping generation of .mli
~/Downloads/spin-next 13s
❯ make install
opam exec -- dune install
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/META
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/config.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/config.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/dec_common.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/dec_project.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/dec_template.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/dec_user_config.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/decoder.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/decoder.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/dune-package
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/encoder.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/encoder.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/file_generator.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/file_generator.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/git_template.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/helpers.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/local_template.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/local_template.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/official_template.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/official_template.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/opam
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/pp.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/eol_convert.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/eol_detect.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.a
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cma
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmxa
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.cmxs
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_convert.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_convert.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_convert.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_detect.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_detect.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/refmt/spin_refmt__Eol_detect.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.a
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cma
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmxa
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.cmxs
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Config.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Config.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Config.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Config.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_common.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_common.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_common.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_project.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_project.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_project.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_user_config.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_user_config.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Dec_user_config.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Decoder.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Decoder.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Decoder.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Decoder.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Encoder.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Encoder.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Encoder.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Encoder.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__File_generator.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__File_generator.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__File_generator.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__File_generator.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Git_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Git_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Git_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Helpers.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Helpers.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Helpers.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Local_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Local_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Local_template.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Local_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Official_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Official_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Official_template.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Official_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Pp.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Pp.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Pp.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Spin_error.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Spin_error.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Spin_error.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Spin_error.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_actions.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_actions.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_actions.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_actions.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_expr.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_expr.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__Template_expr.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__User_config.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__User_config.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__User_config.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin__User_config.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin_error.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/spin_error.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/glob.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/glob.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.a
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cma
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmxa
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.cmxs
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__Glob.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__Glob.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__Glob.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/std/spin_std__Glob.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/bin.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/bs_react.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/cli.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/lib.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/ppx.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.a
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cma
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmti
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmxa
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.cmxs
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bin.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bin.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bin.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bs_react.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bs_react.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Bs_react.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Cli.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Cli.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Cli.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Lib.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Lib.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Lib.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Ppx.cmi
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Ppx.cmt
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template/spin_template__Ppx.cmx
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template_actions.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template_actions.mli
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/template_expr.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/user_config.ml
Installing /Users/mandalarian/.opam/4.08.1/lib/spin/user_config.mli
Installing /Users/mandalarian/.opam/4.08.1/bin/spin
Installing /Users/mandalarian/.opam/4.08.1/doc/spin/CHANGES.md
Installing /Users/mandalarian/.opam/4.08.1/doc/spin/LICENSE
Installing /Users/mandalarian/.opam/4.08.1/doc/spin/README.md
~/Downloads/spin-next
❯ spin
Generate Reason and OCaml projects.
Usage:
spin COMMAND
Available Commands:
config Update the current user's configuration
gen Generate a new component in the current project
ls List the official templates
new Generate a new project from a template
Useful options:
--help Show manual page
--v, --verbose Increase verbosity
--version Show spin version
For a complete documentation, refer to the manual with `spin --help`.
Use `spin COMMAND --help` for help on a single command.
And here we try to build
~/Downloads 1m 31s
❯ mk new-cli-test
~/Downloads/new-cli-test
❯ spin new cli
? Project name new-cli-test
? Project slug [new-cli-test]
? Description [A short, but powerful statement about your project]
? Name of the author idkjs
? Github username [idkjs]
? NPM username [idkjs]
? Which syntax do you use?
OCaml
> Reason
? Which package manager do you use?
Opam
> Esy
? Which test framework do you prefer?
Alcotest
> Rely
? Which test framework do you prefer?
> Github
None
🏗️ Creating a new project from cli in .
Done!
🎁 Installing packages. This might take a couple minutes.
spin: [ERROR] stderr of esy: info building [email protected]@d41d8cd9
spin: [ERROR] stderr of esy: error: build failed with exit code: 1
spin: [ERROR] stderr of esy: build log:
spin: [ERROR] stderr of esy: # esy-build-package: building: [email protected]
spin: [ERROR] stderr of esy: # esy-build-package: pwd: /Users/mandalarian/.esy/3/b/refmterr-3.1.7-11cf8b65
spin: [ERROR] stderr of esy: # esy-build-package: running: 'make' 'build'
spin: [ERROR] stderr of esy: # Creating ocamlBetterErrors.opam so that jbuilder builds.
spin: [ERROR] stderr of esy: jbuilder build -j 8
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/helpers.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/helpers.re", line 17, characters 12-26:
spin: [ERROR] stderr of esy: 17 | let rex = Re_pcre.regexp(sep);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 18, characters 2-15:
spin: [ERROR] stderr of esy: 18 | Re_pcre.split(~rex, str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 44, characters 18-32:
spin: [ERROR] stderr of esy: 44 | let doubleUnder = Re_pcre.regexp({|__|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 48, characters 23-37:
spin: [ERROR] stderr of esy: 48 | let moreThanOneSpace = Re_pcre.regexp({|\s[\s]*|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 56, characters 2-20:
spin: [ERROR] stderr of esy: 56 | Re_pcre.substitute(~rex=moreThanOneSpace, ~subst=subOneSpace, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 63, characters 2-20:
spin: [ERROR] stderr of esy: 63 | Re_pcre.substitute(~rex=doubleUnder, ~subst=subDot, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 231, characters 12-26:
spin: [ERROR] stderr of esy: 231 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 232, characters 2-23:
spin: [ERROR] stderr of esy: 232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 232, characters 24-36:
spin: [ERROR] stderr of esy: 232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 239, characters 12-26:
spin: [ERROR] stderr of esy: 239 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 240, characters 12-33:
spin: [ERROR] stderr of esy: 240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 240, characters 34-46:
spin: [ERROR] stderr of esy: 240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 246, characters 12-26:
spin: [ERROR] stderr of esy: 246 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 247, characters 12-33:
spin: [ERROR] stderr of esy: 247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 247, characters 34-46:
spin: [ERROR] stderr of esy: 247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 253, characters 12-26:
spin: [ERROR] stderr of esy: 253 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 254, characters 12-24:
spin: [ERROR] stderr of esy: 254 | try (Some(Re_pcre.exec(~rex, str))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 260, characters 12-33:
spin: [ERROR] stderr of esy: 260 | try (Some(Re_pcre.get_substring(result, n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 265, characters 12-26:
spin: [ERROR] stderr of esy: 265 | let rex = Re_pcre.regexp(sep);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 266, characters 2-20:
spin: [ERROR] stderr of esy: 266 | Re_pcre.substitute(~rex, ~subst=cb, str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 430, characters 12-26:
spin: [ERROR] stderr of esy: 430 | let rex = Re_pcre.regexp(tokenRegex);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 431, characters 17-35:
spin: [ERROR] stderr of esy: 431 | let splitted = Re_pcre.full_split(~rex, txt);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 435, characters 8-20:
spin: [ERROR] stderr of esy: 435 | | Re_pcre.Text(s) => highlight(~dim, ~bold, ~underline, s)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/reportWarning.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/reportWarning.re", line 34, characters 39-56:
spin: [ERROR] stderr of esy: 34 | Filename.basename(filePath) |> String.capitalize,
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: Stdlib.String.capitalize
spin: [ERROR] stderr of esy: Use String.capitalize_ascii instead.
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/Atom.{cmx,o}
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/Atom.o' '/tmp/camlasm96adc6.s'
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/parseError.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/parseError.re", line 30, characters 28-42:
spin: [ERROR] stderr of esy: 30 | let nestedFunctionTypeR = Re_pcre.regexp({|\([\s\S]+\)|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 32, characters 4-22:
spin: [ERROR] stderr of esy: 32 | Re_pcre.substitute(~rex=nestedFunctionTypeR, ~subst=(_) => "|||||", str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 41, characters 2-16:
spin: [ERROR] stderr of esy: 41 | Re_pcre.regexp({|([\s\S]*?)is not compatible with type([\s\S]*)|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 43, characters 21-35:
spin: [ERROR] stderr of esy: 43 | let typeIncompatsR = Re_pcre.regexp({|\s*\s\sType|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 52, characters 17-35:
spin: [ERROR] stderr of esy: 52 | let splitted = Re_pcre.full_split(~rex=typeIncompatsR, extraWithTwoSpaces);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 55, characters 6-18:
spin: [ERROR] stderr of esy: 55 | | Re_pcre.Text(str) =>
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 57, characters 8-29:
spin: [ERROR] stderr of esy: 57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 57, characters 30-42:
spin: [ERROR] stderr of esy: 57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 58, characters 8-29:
spin: [ERROR] stderr of esy: 58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 58, characters 30-42:
spin: [ERROR] stderr of esy: 58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 131, characters 25-38:
spin: [ERROR] stderr of esy: 131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 131, characters 44-58:
spin: [ERROR] stderr of esy: 131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 415, characters 13-27:
spin: [ERROR] stderr of esy: 415 | let allR = Re_pcre.regexp({|Syntax error|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 416, characters 20-34:
spin: [ERROR] stderr of esy: 416 | let allUnknownR = Re_pcre.regexp({|<UNKNOWN SYNTAX ERROR>|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 418, characters 8-22:
spin: [ERROR] stderr of esy: 418 | if (! Re_pcre.pmatch(~rex=allR, err)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 419, characters 11-25:
spin: [ERROR] stderr of esy: 419 | && ! Re_pcre.pmatch(~rex=allUnknownR, err)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 472, characters 20-34:
spin: [ERROR] stderr of esy: 472 | let goodFileNameR = Re_pcre.regexp({|^[a-zA-Z][a-zA-Z_\d]+\.\S+$|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/reportError.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/reportError.re", line 8, characters 24-38:
spin: [ERROR] stderr of esy: 8 | let refmttypeNewlineR = Re_pcre.regexp({|\\n|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 13, characters 12-26:
spin: [ERROR] stderr of esy: 13 | let gadtR = Re_pcre.regexp({|\$[a-zA-Z0-9']*|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 20, characters 2-20:
spin: [ERROR] stderr of esy: 20 | Re_pcre.substitute(~rex=gadtR, ~subst=replaceDollar, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 33, characters 10-28:
spin: [ERROR] stderr of esy: 33 | Re_pcre.substitute(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 146, characters 18-32:
spin: [ERROR] stderr of esy: 146 | let doubleUnder = Re_pcre.regexp({|__|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/betterErrorsTypes.{cmx,o}
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/betterErrorsTypes.o' '/tmp/camlasm00ae4d.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/helpers.{cmx,o}
spin: [ERROR] stderr of esy: File "src/helpers.re", line 17, characters 12-26:
spin: [ERROR] stderr of esy: 17 | let rex = Re_pcre.regexp(sep);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 18, characters 2-15:
spin: [ERROR] stderr of esy: 18 | Re_pcre.split(~rex, str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 44, characters 18-32:
spin: [ERROR] stderr of esy: 44 | let doubleUnder = Re_pcre.regexp({|__|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 48, characters 23-37:
spin: [ERROR] stderr of esy: 48 | let moreThanOneSpace = Re_pcre.regexp({|\s[\s]*|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 56, characters 2-20:
spin: [ERROR] stderr of esy: 56 | Re_pcre.substitute(~rex=moreThanOneSpace, ~subst=subOneSpace, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 63, characters 2-20:
spin: [ERROR] stderr of esy: 63 | Re_pcre.substitute(~rex=doubleUnder, ~subst=subDot, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 231, characters 12-26:
spin: [ERROR] stderr of esy: 231 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 232, characters 2-23:
spin: [ERROR] stderr of esy: 232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 232, characters 24-36:
spin: [ERROR] stderr of esy: 232 | Re_pcre.get_substring(Re_pcre.exec(~rex, str), n);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 239, characters 12-26:
spin: [ERROR] stderr of esy: 239 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 240, characters 12-33:
spin: [ERROR] stderr of esy: 240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 240, characters 34-46:
spin: [ERROR] stderr of esy: 240 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), 1))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 246, characters 12-26:
spin: [ERROR] stderr of esy: 246 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 247, characters 12-33:
spin: [ERROR] stderr of esy: 247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 247, characters 34-46:
spin: [ERROR] stderr of esy: 247 | try (Some(Re_pcre.get_substring(Re_pcre.exec(~rex, str), n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 253, characters 12-26:
spin: [ERROR] stderr of esy: 253 | let rex = Re_pcre.regexp(pat);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 254, characters 12-24:
spin: [ERROR] stderr of esy: 254 | try (Some(Re_pcre.exec(~rex, str))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 260, characters 12-33:
spin: [ERROR] stderr of esy: 260 | try (Some(Re_pcre.get_substring(result, n))) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 265, characters 12-26:
spin: [ERROR] stderr of esy: 265 | let rex = Re_pcre.regexp(sep);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 266, characters 2-20:
spin: [ERROR] stderr of esy: 266 | Re_pcre.substitute(~rex, ~subst=cb, str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 430, characters 12-26:
spin: [ERROR] stderr of esy: 430 | let rex = Re_pcre.regexp(tokenRegex);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 431, characters 17-35:
spin: [ERROR] stderr of esy: 431 | let splitted = Re_pcre.full_split(~rex, txt);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/helpers.re", line 435, characters 8-20:
spin: [ERROR] stderr of esy: 435 | | Re_pcre.Text(s) => highlight(~dim, ~bold, ~underline, s)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/helpers.o' '/tmp/camlasm8170bd.s'
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/index.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/index.re", line 74, characters 2-9:
spin: [ERROR] stderr of esy: 74 | Re_pcre.(
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 113, characters 6-13:
spin: [ERROR] stderr of esy: 113 | Re_pcre.(
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 125, characters 2-16:
spin: [ERROR] stderr of esy: 125 | Re_pcre.regexp(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 126, characters 12-19:
spin: [ERROR] stderr of esy: 126 | ~flags=[Re_pcre.(`MULTILINE)],
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 130, characters 25-39:
spin: [ERROR] stderr of esy: 130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 130, characters 48-55:
spin: [ERROR] stderr of esy: 130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 132, characters 22-36:
spin: [ERROR] stderr of esy: 132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 132, characters 45-52:
spin: [ERROR] stderr of esy: 132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 141, characters 15-29:
spin: [ERROR] stderr of esy: 141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 141, characters 38-45:
spin: [ERROR] stderr of esy: 141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 144, characters 2-16:
spin: [ERROR] stderr of esy: 144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 144, characters 25-32:
spin: [ERROR] stderr of esy: 144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 149, characters 2-16:
spin: [ERROR] stderr of esy: 149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 149, characters 25-32:
spin: [ERROR] stderr of esy: 149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 154, characters 2-16:
spin: [ERROR] stderr of esy: 154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 154, characters 25-32:
spin: [ERROR] stderr of esy: 154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 161, characters 12-30:
spin: [ERROR] stderr of esy: 161 | switch (Re_pcre.full_split(~rex=fileR, err)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 162, characters 7-20:
spin: [ERROR] stderr of esy: 162 | | [Re_pcre.Delim(_), Group(_, filePath), Group(_, lineNum), col1, col2, Text(body)] =>
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 247, characters 6-20:
spin: [ERROR] stderr of esy: 247 | Re_pcre.pmatch(~rex=fileR, line),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 248, characters 6-20:
spin: [ERROR] stderr of esy: 248 | Re_pcre.pmatch(~rex=hasErrorOrWarningR, line),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 249, characters 6-20:
spin: [ERROR] stderr of esy: 249 | Re_pcre.pmatch(~rex=hasIndentationR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 287, characters 10-24:
spin: [ERROR] stderr of esy: 287 | if (Re_pcre.pmatch(~rex=hasHintR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 288, characters 13-27:
spin: [ERROR] stderr of esy: 288 | || Re_pcre.pmatch(~rex=argCannotBeAppliedWithLabelR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 289, characters 13-27:
spin: [ERROR] stderr of esy: 289 | || Re_pcre.pmatch(~rex=notVisibleInCurrentScopeR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 290, characters 13-27:
spin: [ERROR] stderr of esy: 290 | || Re_pcre.pmatch(~rex=theyWillNotBeSelectedR, line)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlc src/.berror.eobjs/berror.{cmi,cmo,cmt}
spin: [ERROR] stderr of esy: File "src/berror.re", line 39, characters 20-34:
spin: [ERROR] stderr of esy: 39 | let longStorePath = Re_pcre.regexp({|\.esy\/\d[_]+\/|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/berror.re", line 42, characters 2-20:
spin: [ERROR] stderr of esy: 42 | Re_pcre.substitute(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/parseWarning.{cmx,o}
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/parseWarning.o' '/tmp/camlasm9ab38d.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/reportWarning.{cmx,o}
spin: [ERROR] stderr of esy: File "src/reportWarning.re", line 34, characters 39-56:
spin: [ERROR] stderr of esy: 34 | Filename.basename(filePath) |> String.capitalize,
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: Stdlib.String.capitalize
spin: [ERROR] stderr of esy: Use String.capitalize_ascii instead.
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/reportWarning.o' '/tmp/camlasm390ce1.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/parseError.{cmx,o}
spin: [ERROR] stderr of esy: File "src/parseError.re", line 30, characters 28-42:
spin: [ERROR] stderr of esy: 30 | let nestedFunctionTypeR = Re_pcre.regexp({|\([\s\S]+\)|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 32, characters 4-22:
spin: [ERROR] stderr of esy: 32 | Re_pcre.substitute(~rex=nestedFunctionTypeR, ~subst=(_) => "|||||", str);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 41, characters 2-16:
spin: [ERROR] stderr of esy: 41 | Re_pcre.regexp({|([\s\S]*?)is not compatible with type([\s\S]*)|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 43, characters 21-35:
spin: [ERROR] stderr of esy: 43 | let typeIncompatsR = Re_pcre.regexp({|\s*\s\sType|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 52, characters 17-35:
spin: [ERROR] stderr of esy: 52 | let splitted = Re_pcre.full_split(~rex=typeIncompatsR, extraWithTwoSpaces);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 55, characters 6-18:
spin: [ERROR] stderr of esy: 55 | | Re_pcre.Text(str) =>
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 57, characters 8-29:
spin: [ERROR] stderr of esy: 57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 57, characters 30-42:
spin: [ERROR] stderr of esy: 57 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 1),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 58, characters 8-29:
spin: [ERROR] stderr of esy: 58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 58, characters 30-42:
spin: [ERROR] stderr of esy: 58 | Re_pcre.get_substring(Re_pcre.exec(~rex=incompatR, str), 2),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 131, characters 25-38:
spin: [ERROR] stderr of esy: 131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 131, characters 44-58:
spin: [ERROR] stderr of esy: 131 | |> Helpers.optionMap(Re_pcre.split(~rex=Re_pcre.regexp({|, | or |})));
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 415, characters 13-27:
spin: [ERROR] stderr of esy: 415 | let allR = Re_pcre.regexp({|Syntax error|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 416, characters 20-34:
spin: [ERROR] stderr of esy: 416 | let allUnknownR = Re_pcre.regexp({|<UNKNOWN SYNTAX ERROR>|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 418, characters 8-22:
spin: [ERROR] stderr of esy: 418 | if (! Re_pcre.pmatch(~rex=allR, err)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 419, characters 11-25:
spin: [ERROR] stderr of esy: 419 | && ! Re_pcre.pmatch(~rex=allUnknownR, err)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/parseError.re", line 472, characters 20-34:
spin: [ERROR] stderr of esy: 472 | let goodFileNameR = Re_pcre.regexp({|^[a-zA-Z][a-zA-Z_\d]+\.\S+$|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/parseError.o' '/tmp/camlasm26d2cf.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/reportError.{cmx,o}
spin: [ERROR] stderr of esy: File "src/reportError.re", line 8, characters 24-38:
spin: [ERROR] stderr of esy: 8 | let refmttypeNewlineR = Re_pcre.regexp({|\\n|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 13, characters 12-26:
spin: [ERROR] stderr of esy: 13 | let gadtR = Re_pcre.regexp({|\$[a-zA-Z0-9']*|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 20, characters 2-20:
spin: [ERROR] stderr of esy: 20 | Re_pcre.substitute(~rex=gadtR, ~subst=replaceDollar, s);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 33, characters 10-28:
spin: [ERROR] stderr of esy: 33 | Re_pcre.substitute(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/reportError.re", line 146, characters 18-32:
spin: [ERROR] stderr of esy: 146 | let doubleUnder = Re_pcre.regexp({|__|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/reportError.o' '/tmp/camlasme19f00.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/terminalReporter.{cmx,o}
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/terminalReporter.o' '/tmp/camlasmb51bc6.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/index.{cmx,o}
spin: [ERROR] stderr of esy: File "src/index.re", line 74, characters 2-9:
spin: [ERROR] stderr of esy: 74 | Re_pcre.(
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 113, characters 6-13:
spin: [ERROR] stderr of esy: 113 | Re_pcre.(
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 125, characters 2-16:
spin: [ERROR] stderr of esy: 125 | Re_pcre.regexp(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 126, characters 12-19:
spin: [ERROR] stderr of esy: 126 | ~flags=[Re_pcre.(`MULTILINE)],
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 130, characters 25-39:
spin: [ERROR] stderr of esy: 130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 130, characters 48-55:
spin: [ERROR] stderr of esy: 130 | let hasErrorOrWarningR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^(Error|Warning \d+): |});
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 132, characters 22-36:
spin: [ERROR] stderr of esy: 132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 132, characters 45-52:
spin: [ERROR] stderr of esy: 132 | let hasIndentationR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], {|^ +|});
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 141, characters 15-29:
spin: [ERROR] stderr of esy: 141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 141, characters 38-45:
spin: [ERROR] stderr of esy: 141 | let hasHintR = Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], hasHintRStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 144, characters 2-16:
spin: [ERROR] stderr of esy: 144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 144, characters 25-32:
spin: [ERROR] stderr of esy: 144 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], argCannotBeAppliedWithLabelRStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 149, characters 2-16:
spin: [ERROR] stderr of esy: 149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 149, characters 25-32:
spin: [ERROR] stderr of esy: 149 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], notVisibleInCurrentScopeStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 154, characters 2-16:
spin: [ERROR] stderr of esy: 154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 154, characters 25-32:
spin: [ERROR] stderr of esy: 154 | Re_pcre.regexp(~flags=[Re_pcre.(`MULTILINE)], theyWillNotBeSelectedStr);
spin: [ERROR] stderr of esy: ^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 161, characters 12-30:
spin: [ERROR] stderr of esy: 161 | switch (Re_pcre.full_split(~rex=fileR, err)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 162, characters 7-20:
spin: [ERROR] stderr of esy: 162 | | [Re_pcre.Delim(_), Group(_, filePath), Group(_, lineNum), col1, col2, Text(body)] =>
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 247, characters 6-20:
spin: [ERROR] stderr of esy: 247 | Re_pcre.pmatch(~rex=fileR, line),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 248, characters 6-20:
spin: [ERROR] stderr of esy: 248 | Re_pcre.pmatch(~rex=hasErrorOrWarningR, line),
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 249, characters 6-20:
spin: [ERROR] stderr of esy: 249 | Re_pcre.pmatch(~rex=hasIndentationR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 287, characters 10-24:
spin: [ERROR] stderr of esy: 287 | if (Re_pcre.pmatch(~rex=hasHintR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 288, characters 13-27:
spin: [ERROR] stderr of esy: 288 | || Re_pcre.pmatch(~rex=argCannotBeAppliedWithLabelR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 289, characters 13-27:
spin: [ERROR] stderr of esy: 289 | || Re_pcre.pmatch(~rex=notVisibleInCurrentScopeR, line)
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/index.re", line 290, characters 13-27:
spin: [ERROR] stderr of esy: 290 | || Re_pcre.pmatch(~rex=theyWillNotBeSelectedR, line)) {
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/index.o' '/tmp/camlasm1ae0a8.s'
spin: [ERROR] stderr of esy: ocamlopt src/.berror.eobjs/berror.{cmx,o}
spin: [ERROR] stderr of esy: File "src/berror.re", line 39, characters 20-34:
spin: [ERROR] stderr of esy: 39 | let longStorePath = Re_pcre.regexp({|\.esy\/\d[_]+\/|});
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: File "src/berror.re", line 42, characters 2-20:
spin: [ERROR] stderr of esy: 42 | Re_pcre.substitute(
spin: [ERROR] stderr of esy: ^^^^^^^^^^^^^^^^^^
spin: [ERROR] stderr of esy: Alert deprecated: module Re_pcre
spin: [ERROR] stderr of esy: Use Re.Pcre
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o 'src/.berror.eobjs/berror.o' '/tmp/camlasm739c18.s'
spin: [ERROR] stderr of esy: ocamlopt src/berror.exe
spin: [ERROR] stderr of esy: + clang -arch x86_64 -Wno-trigraphs -c -o '/tmp/camlstartup83ff70.o' '/tmp/camlstartup05a84f.s'
spin: [ERROR] stderr of esy: + gcc -O2 -fno-strict-aliasing -fwrapv -Wall -fno-common -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE -Wl,-no_compact_unwind -o 'src/berror.exe' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/pcre' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__seq-opam__c__base-4220c996/lib/seq' '-L/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml' '/tmp/camlstartup83ff70.o' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/std_exit.o' 'src/.berror.eobjs/berror.o' 'src/.berror.eobjs/index.o' 'src/.berror.eobjs/terminalReporter.o' 'src/.berror.eobjs/reportWarning.o' 'src/.berror.eobjs/reportError.o' 'src/.berror.eobjs/parseWarning.o' 'src/.berror.eobjs/parseError.o' 'src/.berror.eobjs/helpers.o' 'src/.berror.eobjs/betterErrorsTypes.o' 'src/.berror.eobjs/Atom.o' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/unix.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/pcre/re_pcre.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/opam__s__re-opam__c__1.9.0-69e7bfd2/lib/re/re.a' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/stdlib.a' '-lunix' '/Users/mandalarian/.esy/3_____________________________________________________________/i/ocaml-4.10.0-f28f0ffe/lib/ocaml/libasmrun.a' -lm
spin: [ERROR] stderr of esy: # esy-build-package: running: 'make' 'install'
spin: [ERROR] stderr of esy: # Creating ocamlBetterErrors.opam so that jbuilder builds.
spin: [ERROR] stderr of esy: jbuilder build -j 8
spin: [ERROR] stderr of esy: esy-installer
spin: [ERROR] stderr of esy: make: esy-installer: No such file or directory
spin: [ERROR] stderr of esy: make: *** [install] Error 1
spin: [ERROR] stderr of esy: error: command failed: 'make' 'install' (exited with 2)
spin: [ERROR] stderr of esy: esy-build-package: exiting with errors above...
spin: [ERROR] stderr of esy:
spin: [ERROR] stderr of esy: building [email protected]
spin: [ERROR] stderr of esy: esy: exiting due to errors above
spin: [ERROR] The template generation failed:
The command esy did not run successfully.
~/Downloads/new-cli-test 25s
❯
from spin.
Not sure of what's happening... Could you copy-past the generated esy.json
file here?
from spin.
https://github.com/idkjs/spins
esy.json
from spin.
Thanks! Seems like it was a refmterr
that couldn't be built. I've specified lower bounds for refmterr
and ocaml
and it looks like it fixed the issue. I've pushed the fix if you want to try again.
from spin.
Related Issues (20)
- change default license? HOT 2
- Use dune runtest for rely HOT 2
- Generator documenation HOT 2
- Update template rules for `project_description`
- Cannot spin Dream template with opam 2.0.8
- Improve prompts
- Improve error reporting
- Community templates housekeeping
- Global config `(create_switch false)` ignored
- Update hello project generator's docstrings
- Reading terminal input and escaping characters
- Add a section in the `hello` project generator with how-tos
- Handle short versions of GitHub URLS
- Can not build newly generated "bin" or "hello" project HOT 2
- When the description end with a `.`, text UI is broken.
- "Create switches when generating project" config value is not respected
- Leave traces on the project about the tool (spin) and template used
- Prompts unreadable on light themes HOT 5
- Validate that used variables are defined HOT 1
- Support specifying the files that are actual templates and just copy the rest of the files mode? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spin.