﻿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 : Error: [4044]
所在位置 C:\Users\admin\AppData\Local\Temp\ps-script-266894e7-993e-4ea0-9017-32057d62d6ca.ps1:83 字符: 83
+ ... t sqlc WASM plugin\MoonBit sqlc WASM plugin"; moon check 2>&1 | Out-F ...
+                                                   ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Error: [4044]:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\golden.mbt:232:37 ]
     鈹? 232 鈹?  let result = generate_source(req, { package_name: "testdb", overrides: [], emit_json_tags: false, emit_
db_tags: false, renames: [], emit_sql_as_comment: false, omit_unused_structs: false, emit_empty_slices: false, initiali
sms: "", json_tags_case_style: "snake", emit_exact_table_names: false, emit_methods_with_db_argument: false, column_ove
rrides: col_overrides, nullable_overrides: null_overrides })
     鈹?                                    鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€  
     鈹?                                                                                                                
                                                                                                           鈺扳攢鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
 Record fields strict_types are undefined for type PluginOptions
鈹€鈹€鈹€鈹€鈹€鈺?Error: [4122]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\main.mbt:174:15 ]
     鈹? 174 鈹?  let types = generate_types(adapted.catalog, ir, adapted.queries, opts.emit_json_tags, opts.emit_db_tags
, opts.overrides, opts.column_overrides, opts.nullable_overrides, opts.renames, opts.omit_unused_structs, opts.emit_exa
ct_table_names, opts.json_tags_case_style, opts.initialisms, strict_types=opts.strict_types)
     鈹?              鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€  
     鈹?                                                                                                                
                                                     鈺扳攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€ Function with error can only be used inside a function with error types in its signature. Please fix the return type 
of this function.
鈹€鈹€鈹€鈹€鈹€鈺?Error: [4122]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\main.mbt:176:19 ]
     鈹? 176 鈹?  let query_fns = generate_query_fns(ir, opts.overrides, opts.nullable_overrides, opts.emit_sql_as_commen
t, opts.emit_methods_with_db_argument, opts.emit_empty_slices, parsed_inits, strict_types=opts.strict_types)
     鈹?                  鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€  
     鈹?                                                                                                                
   鈺扳攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ Function with error can only be use
d inside a function with error types in its signature. Please fix the return type of this function.
鈹€鈹€鈹€鈹€鈹€鈺?Error: [4122]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\main.mbt:198:15 ]
     鈹? 198 鈹?  let types = generate_types(adapted.catalog, ir, adapted.queries, opts.emit_json_tags, opts.emit_db_tags
, opts.overrides, opts.column_overrides, opts.nullable_overrides, opts.renames, opts.omit_unused_structs, opts.emit_exa
ct_table_names, opts.json_tags_case_style, opts.initialisms, strict_types=opts.strict_types)
     鈹?              鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€  
     鈹?                                                                                                                
                                                     鈺扳攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€ Function with error can only be used inside a function with error types in its signature. Please fix the return type 
of this function.
鈹€鈹€鈹€鈹€鈹€鈺?Error: [4122]
     鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\plugin\main.mbt:200:19 ]
     鈹? 200 鈹?  let query_fns = generate_query_fns(ir, opts.overrides, opts.nullable_overrides, opts.emit_sql_as_commen
t, opts.emit_methods_with_db_argument, opts.emit_empty_slices, parsed_inits, strict_types=opts.strict_types)
     鈹?                  鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€  
     鈹?                                                                                                                
   鈺扳攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ Function with error can only be use
d inside a function with error types in its signature. Please fix the return type of this function.
鈹€鈹€鈹€鈹€鈹€鈺?Warning: [0027]
    鈺攢[ 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:783:16 ]
     鈹? 783 鈹?  let fn_def = generate_query_fn(q, "db", Named("DB"), [], [], true, false, false, [])
     鈹?               鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€  
     鈹?                                                  鈺扳攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹
€鈹€鈹€鈹€鈹€鈹€鈹€ Function with error can only be used inside a function with error types in its signature. Please fix the 
return type of this function.
鈹€鈹€鈹€鈹€鈹€鈺?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.
鈹€鈹€鈹€鈺?Error: [3001]
   鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\tests\integration\runtime\generated_types.mbt
:4:1 ]
   鈹? 4 鈹?import "Mairzzcllo/moonbit_sqlc_plugin/runtime" @rt
   鈹?鈹€鈹€鈹€鈹攢鈹€  
   鈹?   鈺扳攢鈹€鈹€鈹€ Invalid import declaration here.
      Hint: Add the package path to the `moon.pkg.json` file in the same directory.
      For example: `"import": ["path/to/package1", "path/to/package2"]` or `"test-import": ["path/to/package"]`.
鈹€鈹€鈹€鈺?Error: [3001]
    鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\tests\integration\runtime\main.mbt:20:1 ]
    鈹? 20 鈹?import "Mairzzcllo/moonbit_sqlc_plugin/runtime" @rt
    鈹?鈹€鈹€鈹€鈹攢鈹€  
    鈹?   鈺扳攢鈹€鈹€鈹€ Invalid import declaration here.
      Hint: Add the package path to the `moon.pkg.json` file in the same directory.
      For example: `"import": ["path/to/package1", "path/to/package2"]` or `"test-import": ["path/to/package"]`.
鈹€鈹€鈹€鈹€鈺?Error: [3002]
    鈺攢[ D:\code\project\MoonBit sqlc WASM plugin\MoonBit sqlc WASM plugin\tests\integration\runtime\main.mbt:20:1 ]
    鈹? 20 鈹?import "Mairzzcllo/moonbit_sqlc_plugin/runtime" @rt
    鈹?鈹€鈹€鈹€鈹攢鈹€  
    鈹?   鈺扳攢鈹€鈹€鈹€ Parse error, unexpected token `import`, you may expect `pub`, `priv`, `type`, `suberror`, `extenum`,
 `typealias`, `async`, `fn`, `fnalias`, `struct`, `enum`, `let`, `const`, `extern`, `test`, `impl`, `trait`, `traitalia
s`, `enumview`, `#attribute` or `using`.
鈹€鈹€鈹€鈹€鈺?Failed with 9 warnings, 11 errors.
Error: failed when checking project
