﻿failed: C:\Users\admin\.moon\bin\moonc.exe check -error-format json "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\tests\integration\runtime\generated_types.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\tests\integration\runtime\main.mbt" -o "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\_build\wasm-gc\debug\check\tests\integration\runtime\runtime.mi" -pkg Mairzzcllo/moonbit_sqlc_plugin/tests/integration/runtime -is-main -std-path C:\Users\admin\.moon\lib\core\_build\wasm-gc\release\bundle -i C:\Users\admin\.moon\lib\core\_build\wasm-gc\release\bundle\prelude\prelude.mi:prelude -i "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\_build\wasm-gc\debug\check\runtime\runtime.mi:rt" -pkg-sources "Mairzzcllo/moonbit_sqlc_plugin/tests/integration/runtime:D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\tests\integration\runtime" -target wasm-gc -workspace-path "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin" -all-pkgs "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\_build\wasm-gc\debug\check\all_pkgs.json"
failed: C:\Users\admin\.moon\bin\moonc.exe check -error-format json "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\adapter.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\ast.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\codec.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\emitter.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\golden.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\ir.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\keyword.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\main.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\naming.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\protocol.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\query_codegen.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\type_codegen.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\type_map.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\types.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\wasi_io.mbt" "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\wasm_integration.mbt" -o "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\_build\wasm-gc\debug\check\plugin\plugin.mi" -pkg Mairzzcllo/moonbit_sqlc_plugin/plugin -is-main -std-path C:\Users\admin\.moon\lib\core\_build\wasm-gc\release\bundle -i C:\Users\admin\.moon\lib\core\_build\wasm-gc\release\bundle\json\json.mi:json -i C:\Users\admin\.moon\lib\core\_build\wasm-gc\release\bundle\prelude\prelude.mi:prelude -i C:\Users\admin\.moon\lib\core\_build\wasm-gc\release\bundle\encoding/utf8\utf8.mi:utf8 -pkg-sources "Mairzzcllo/moonbit_sqlc_plugin/plugin:D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin" -target wasm-gc -workspace-path "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin" -all-pkgs "D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\_build\wasm-gc\debug\check\all_pkgs.json"
moon : Warning: [0027]
所在位置 C:\Users\admin\AppData\Local\Temp\ps-script-793746ab-ef01-4109-8321-bdd156be25bf.ps1:83 字符: 83
+ ... t sqlc WASM plugin\MoonBit sqlc WASM plugin"; moon check 2>&1 | Out-F ...
+                                                   ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Warning: [0027]:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
    鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\query_codegen.mbt:48:32 ]
    鈹? 48 鈹?  let value_exprs = params.map(fn(p) { param_to_value_expr(p, overrides, strict_types?) })
    鈹?                               鈹€鈹? 
    鈹?                                鈺扳攢鈹€ Warning (deprecated_syntax): This `fn` may raise error but is not annotated
 with `raise`, this kind of effect inference is deprecated, use arrow function `(..) => ...` instead or add explicit `r
aise` annotation.
鈹€鈹€鈹€鈹€鈺?Warning: [0027]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\query_codegen.mbt:217:39 ]
     鈹? 217 鈹?  let query_params = query.params.map(fn(p) { param_to_param_def(p, overrides, nullable_overrides, strict
_types?) })
     鈹?                                      鈹€鈹? 
     鈹?                                       鈺扳攢鈹€ Warning (deprecated_syntax): This `fn` may raise error but is not a
nnotated with `raise`, this kind of effect inference is deprecated, use arrow function `(..) => ...` instead or add exp
licit `raise` annotation.
鈹€鈹€鈹€鈹€鈹€鈺?Error: [4122]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\query_codegen.mbt:796:16 ]
     鈹? 796 鈹?  let fn_def = generate_query_fn(q, "tx", Named("Transaction"), [], [], true, false, false, [])
     鈹?               鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€  
     鈹?                                                       鈺扳攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ Function with error can only be used inside a function with error types in its signature. Pl
ease fix the return type of this function.
鈹€鈹€鈹€鈹€鈹€鈺?Warning: [0027]
    鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\type_codegen.mbt:36:31 ]
    鈹? 36 鈹?  let field_defs = fields.map(fn(f) {
    鈹?                              鈹€鈹? 
    鈹?                               鈺扳攢鈹€ Warning (deprecated_syntax): This `fn` may raise error but is not annotated 
with `raise`, this kind of effect inference is deprecated, use arrow function `(..) => ...` instead or add explicit `ra
ise` annotation.
鈹€鈹€鈹€鈹€鈺?Warning: [0027]
    鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\type_codegen.mbt:72:28 ]
    鈹? 72 鈹?  let fields = columns.map(fn(c) {
    鈹?                           鈹€鈹? 
    鈹?                            鈺扳攢鈹€ Warning (deprecated_syntax): This `fn` may raise error but is not annotated wit
h `raise`, this kind of effect inference is deprecated, use arrow function `(..) => ...` instead or add explicit `raise
` annotation.
鈹€鈹€鈹€鈹€鈺?Warning: [0027]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\type_codegen.mbt:137:23 ]
     鈹? 137 鈹?  catalog.schemas.map(fn(schema) {
     鈹?                      鈹€鈹? 
     鈹?                       鈺扳攢鈹€ Warning (deprecated_syntax): This `fn` may raise error but is not annotated with `r
aise`, this kind of effect inference is deprecated, use arrow function `(..) => ...` instead or add explicit `raise` an
notation.
鈹€鈹€鈹€鈹€鈹€鈺?Warning: [0027]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\type_codegen.mbt:148:41 ]
     鈹? 148 鈹?    let table_items = tables_to_use.map(fn(table) {
     鈹?                                        鈹€鈹? 
     鈹?                                         鈺扳攢鈹€ Warning (deprecated_syntax): This `fn` may raise error but is not
 annotated with `raise`, this kind of effect inference is deprecated, use arrow function `(..) => ...` instead or add e
xplicit `raise` annotation.
鈹€鈹€鈹€鈹€鈹€鈺?Warning: [0027]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\type_codegen.mbt:165:15 ]
     鈹? 165 鈹?  queries.map(fn(q) {
     鈹?              鈹€鈹? 
     鈹?               鈺扳攢鈹€ Warning (deprecated_syntax): This `fn` may raise error but is not annotated with `raise`, t
his kind of effect inference is deprecated, use arrow function `(..) => ...` instead or add explicit `raise` annotation
.
鈹€鈹€鈹€鈹€鈹€鈺?Warning: [0001]
    鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\wasi_io.mbt:65:4 ]
    鈹? 65 鈹?fn check_bytes_data_ptr() -> Bool {
    鈹?   鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€  
    鈹?             鈺扳攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ Warning (unused_value): Unused function 'check_bytes_data_ptr'
鈹€鈹€鈹€鈹€鈺?Error: [3002]
   鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\tests\integration\runtime\generated_types.mbt
:2:1 ]
   鈹? 2 鈹?package runtime_integration
   鈹?鈹€鈹€鈹€鈹攢鈹€鈹€  
   鈹?   鈺扳攢鈹€鈹€鈹€鈹€ Parse error, unexpected token id (lowercase start), you may expect `pub`, `priv`, `type`, `suberror
`, `extenum`, `typealias`, `async`, `fn`, `fnalias`, `struct`, `enum`, `let`, `const`, `extern`, `test`, `impl`, `trait
`, `traitalias`, `enumview`, `#attribute` or `using`.
鈹€鈹€鈹€鈺?Warning: [0035]
   鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\tests\integration\runtime\generated_types.mbt
:2:1 ]
   鈹? 2 鈹?package runtime_integration
   鈹?鈹€鈹€鈹€鈹攢鈹€鈹€  
   鈹?   鈺扳攢鈹€鈹€鈹€鈹€ Warning (reserved_keyword): The word `package` is reserved for possible future use. Please consider
 using another name.
鈹€鈹€鈹€鈺?Failed with 9 warnings, 2 errors.
Error: failed when checking project
