Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error: Failed to create on-demand ppx rewriter for ppx_tools_versioned.metaquot_402; no ppx driver were found #32

Open
barracuda156 opened this issue Oct 19, 2023 · 0 comments

Comments

@barracuda156
Copy link

--->  Building ocaml-ppx_tools_versioned
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ocaml_ocaml-ppx_tools_versioned/ocaml-ppx_tools_versioned/work/ppx_tools_versioned-5.4.0" && /opt/local/bin/dune build -j 1 --root=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ocaml_ocaml-ppx_tools_versioned/ocaml-ppx_tools_versioned/work/ppx_tools_versioned-5.4.0 --profile=release --ignore-promoted-rules --no-config --only-packages=ppx_tools_versioned --default-target=@install @install 
File "_build/default/.ppx/73487dcb941205edf74f2e100263ab34/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_402; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/36533d68ee0d57d81042b29befb0d7d2/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_403; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/0bbdd721ebb21a32a84293bef96165ed/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_404; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/3ce0973c99949c779116c5da18349a77/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_405; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/dd11100c797c09e431a422cf99fadd88/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_406; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/0cd594947bc0757de2f47517d5380269/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_407; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/20949cd780f10310076bc9e1616abc33/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_408; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/344604af5ef56e11f45ae295381bcce7/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_409; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/e10923bb30af948ac635e2a3d061f59f/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_410; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "_build/default/.ppx/77a9d304c5a05a4b593d31f310b49354/ppx.exe", line 1, characters 0-0:
Error: Failed to create on-demand ppx rewriter for
ppx_tools_versioned.metaquot_411; no ppx driver were found.
Hint: Try upgrading or reinstalling ocaml-migrate-parsetree.
File "ast_lifter_402.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_lifter_403.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_lifter_404.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_lifter_405.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_lifter_406.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_lifter_407.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_lifter_408.ml", line 1535, characters 30-68:
1535 |     method lift_Longident_t : Migrate_parsetree__Ast_408.Longident.t -> 'res=
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Migrate_parsetree__Ast_408.Longident
File "ast_lifter_409.ml", line 1535, characters 30-68:
1535 |     method lift_Longident_t : Migrate_parsetree__Ast_409.Longident.t -> 'res=
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Migrate_parsetree__Ast_409.Longident
File "ast_lifter_410.ml", line 1543, characters 30-68:
1543 |     method lift_Longident_t : Migrate_parsetree__Ast_410.Longident.t -> 'res=
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Migrate_parsetree__Ast_410.Longident
File "ast_lifter_411.ml", line 1545, characters 30-68:
1545 |     method lift_Longident_t : Migrate_parsetree__Ast_411.Longident.t -> 'res=
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Migrate_parsetree__Ast_411.Longident
File "ast_convenience_402.ml", line 81, characters 41-56:
81 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_402.ml", line 91, characters 50-62:
91 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Const_string (s, None))
                                                       ^^^^^^^^^^^^
Error: This variant expression is expected to have type Parsetree.constant
       There is no constructor Const_string within type Parsetree.constant
Hint: Did you mean Pconst_string?
File "ast_convenience_403.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_403.ml", line 58, characters 50-63:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                       ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_403.ml", line 58, characters 49-74:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pconst_string expects 3 argument(s),
       but is applied here to 2 argument(s)
File "ast_convenience_404.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_404.ml", line 58, characters 50-63:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                       ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_404.ml", line 58, characters 49-74:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pconst_string expects 3 argument(s),
       but is applied here to 2 argument(s)
File "ast_convenience_405.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_405.ml", line 58, characters 50-63:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                       ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_405.ml", line 58, characters 49-74:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pconst_string expects 3 argument(s),
       but is applied here to 2 argument(s)
File "ast_convenience_406.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_406.ml", line 58, characters 50-63:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                       ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_406.ml", line 58, characters 49-74:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pconst_string expects 3 argument(s),
       but is applied here to 2 argument(s)
File "ast_convenience_407.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_407.ml", line 58, characters 50-63:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                       ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_407.ml", line 58, characters 49-74:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pconst_string expects 3 argument(s),
       but is applied here to 2 argument(s)
File "ast_convenience_408.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_408.ml", line 58, characters 50-63:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                       ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_408.ml", line 58, characters 49-74:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pconst_string expects 3 argument(s),
       but is applied here to 2 argument(s)
File "ast_convenience_409.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_409.ml", line 58, characters 50-63:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                       ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_409.ml", line 58, characters 49-74:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pconst_string expects 3 argument(s),
       but is applied here to 2 argument(s)
File "ast_convenience_410.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_410.ml", line 58, characters 50-63:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                       ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_410.ml", line 58, characters 49-74:
58 | let str ?loc ?attrs s = Exp.constant ?loc ?attrs (Pconst_string (s, None))
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pconst_string expects 3 argument(s),
       but is applied here to 2 argument(s)
File "ast_convenience_411.ml", line 48, characters 41-56:
48 | let lid ?(loc = !default_loc) s = mkloc (Longident.parse s) loc
                                              ^^^^^^^^^^^^^^^
Alert deprecated: Longident.parse
this function may misparse its input,
use "Parse.longident" or "Longident.unflatten"
File "ast_convenience_411.ml", line 64, characters 28-41:
64 |   Exp.constant ?loc ?attrs (Pconst_string (s, inner_loc, None))
                                 ^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_string was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_411.ml", line 65, characters 50-64:
65 | let int ?loc ?attrs x = Exp.constant ?loc ?attrs (Pconst_integer (string_of_int x, None))
                                                       ^^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_integer was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_411.ml", line 66, characters 52-66:
66 | let int32 ?loc ?attrs x = Exp.constant ?loc ?attrs (Pconst_integer (Int32.to_string x, Some 'l'))
                                                         ^^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_integer was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_411.ml", line 67, characters 52-66:
67 | let int64 ?loc ?attrs x = Exp.constant ?loc ?attrs (Pconst_integer (Int64.to_string x, Some 'L'))
                                                         ^^^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_integer was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_411.ml", line 68, characters 51-62:
68 | let char ?loc ?attrs x = Exp.constant ?loc ?attrs (Pconst_char x)
                                                        ^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_char was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_411.ml", line 69, characters 52-64:
69 | let float ?loc ?attrs x = Exp.constant ?loc ?attrs (Pconst_float (string_of_float x, None))
                                                         ^^^^^^^^^^^^
Warning 40 [name-out-of-scope]: Pconst_float was selected from type Parsetree.constant.
It is not visible in the current scope, and will not 
be selected if the type becomes unknown.
File "ast_convenience_411.ml", line 71, characters 25-80:
71 |   Exp.record ?loc ?attrs (List.map (fun (s, e) -> (lid ~loc:e.pexp_loc s, e)) l) over
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type
         (Ast_helper.lid * Migrate_parsetree.Ast_411.Parsetree.expression)
         list
       but an expression was expected of type
         (Ast_helper.lid * Parsetree.expression) list
       Type Migrate_parsetree.Ast_411.Parsetree.expression
       is not compatible with type Parsetree.expression 
File "ast_mapper_class_402.ml", line 37, characters 26-29:
37 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type
         Migrate_parsetree.Ast_402.Asttypes.label = string
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_402.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_403.ml", line 37, characters 26-29:
37 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_403.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_403.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_404.ml", line 37, characters 26-29:
37 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_404.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_404.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_405.ml", line 37, characters 26-29:
37 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_405.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_405.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_406.ml", line 41, characters 26-29:
41 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_406.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_406.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_407.ml", line 41, characters 26-29:
41 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_407.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_407.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_408.ml", line 52, characters 26-29:
52 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_408.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_408.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_409.ml", line 52, characters 26-29:
52 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_409.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_409.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_410.ml", line 56, characters 26-29:
56 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_410.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_410.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "ast_mapper_class_411.ml", line 56, characters 26-29:
56 |         arrow ~loc ~attrs lab (sub # typ t1) (sub # typ t2)
                               ^^^
Error: This expression has type Migrate_parsetree.Ast_411.Asttypes.arg_label
       but an expression was expected of type Asttypes.arg_label
File "ppx_tools_411.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ocaml_ocaml-ppx_tools_versioned/ocaml-ppx_tools_versioned/work/ppx_tools_versioned-5.4.0" && /opt/local/bin/dune build -j 1 --root=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ocaml_ocaml-ppx_tools_versioned/ocaml-ppx_tools_versioned/work/ppx_tools_versioned-5.4.0 --profile=release --ignore-promoted-rules --no-config --only-packages=ppx_tools_versioned --default-target=@install @install 
Exit code: 1

While it complains about ocaml-migrate-parsetree, I have the latest 2.4.0 version of it. dune is at 3.11.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant