From 5583b8a622b969c95cd648949962e8876a7a2ca2 Mon Sep 17 00:00:00 2001 From: Cassandra de la Cruz-Munoz Date: Sat, 30 Dec 2023 09:38:19 -0500 Subject: [PATCH] add first few vmc messages --- src/error.txt | 2101 +++++++++++++++++++++++++++++++++++++++++++++++++ src/lib.rs | 310 +++++++- 2 files changed, 2402 insertions(+), 9 deletions(-) create mode 100644 src/error.txt diff --git a/src/error.txt b/src/error.txt new file mode 100644 index 0000000..52f38ea --- /dev/null +++ b/src/error.txt @@ -0,0 +1,2101 @@ + Compiling godot-codegen v0.1.0 (https://github.com/godot-rust/gdext?branch=master#5e18af87) +error[E0463]: can't find crate for `proc_macro2` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/context.rs:11:5 + | +11 | use proc_macro2::{Ident, TokenStream}; + | ^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/context.rs:12:5 + | +12 | use quote::{format_ident, ToTokens}; + | ^^^^^ can't find crate + +error[E0463]: can't find crate for `proc_macro2` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/interface_generator.rs:10:5 + | +10 | use proc_macro2::{Ident, Literal, TokenStream}; + | ^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/interface_generator.rs:11:5 + | +11 | use quote::quote; + | ^^^^^ can't find crate + +error[E0463]: can't find crate for `regex` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/interface_generator.rs:12:5 + | +12 | use regex::Regex; + | ^^^^^ can't find crate + +error[E0463]: can't find crate for `proc_macro2` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:14:5 + | +14 | use proc_macro2::{Ident, Literal, TokenStream}; + | ^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:15:5 + | +15 | use quote::{format_ident, quote, ToTokens}; + | ^^^^^ can't find crate + +error[E0463]: can't find crate for `proc_macro2` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:39:5 + | +39 | use proc_macro2::{Ident, TokenStream}; + | ^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:40:5 + | +40 | use quote::{quote, ToTokens}; + | ^^^^^ can't find crate + +error[E0463]: can't find crate for `nanoserde` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:12:5 + | +12 | use nanoserde::DeJson; + | ^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `proc_macro2` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:8:5 + | +8 | use proc_macro2::{Ident, Literal, TokenStream}; + | ^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:9:5 + | +9 | use quote::{format_ident, quote, ToTokens, TokenStreamExt}; + | ^^^^^ can't find crate + +error[E0463]: can't find crate for `proc_macro2` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:10:5 + | +10 | use proc_macro2::{Ident, TokenStream}; + | ^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:11:5 + | +11 | use quote::{format_ident, quote}; + | ^^^^^ can't find crate + +error[E0463]: can't find crate for `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/utilities_generator.rs:10:5 + | +10 | use quote::quote; + | ^^^^^ can't find crate + +error[E0432]: unresolved imports `quote::format_ident`, `quote::ToTokens`, `quote::TokenStreamExt`, `quote::format_ident`, `quote::format_ident`, `quote::ToTokens`, `quote::ToTokens` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:40:20 + | +40 | use quote::{quote, ToTokens}; + | ^^^^^^^^ + | + ::: /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:9:13 + | +9 | use quote::{format_ident, quote, ToTokens, TokenStreamExt}; + | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ + | + ::: /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:11:13 + | +11 | use quote::{format_ident, quote}; + | ^^^^^^^^^^^^ + | + ::: /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:15:13 + | +15 | use quote::{format_ident, quote, ToTokens}; + | ^^^^^^^^^^^^ ^^^^^^^^ + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:17:10 + | +17 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:29:10 + | +29 | #[derive(DeJson, Clone, Debug)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:39:10 + | +39 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:45:10 + | +45 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:51:10 + | +51 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:65:10 + | +65 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:79:10 + | +79 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:85:10 + | +85 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:93:10 + | +93 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:100:10 + | +100 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:116:10 + | +116 | #[derive(DeJson, Clone)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:171:10 + | +171 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:178:10 + | +178 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot find attribute `nserde` in this scope + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:181:7 + | +181 | #[nserde(rename = "type")] + | ^^^^^^ + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:185:10 + | +185 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot find attribute `nserde` in this scope + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:187:7 + | +187 | #[nserde(rename = "type")] + | ^^^^^^ + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:195:10 + | +195 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:201:10 + | +201 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:207:10 + | +207 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:217:10 + | +217 | #[derive(DeJson)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:228:10 + | +228 | #[derive(DeJson, Clone)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:243:10 + | +243 | #[derive(DeJson, Clone)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot find attribute `nserde` in this scope + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:246:7 + | +246 | #[nserde(rename = "type")] + | ^^^^^^ + +error: cannot determine resolution for the derive macro `DeJson` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:253:10 + | +253 | #[derive(DeJson, Clone)] + | ^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot find attribute `nserde` in this scope + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:255:7 + | +255 | #[nserde(rename = "type")] + | ^^^^^^ + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:95:22 + | +95 | Some(quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:105:9 + | +105 | format_ident!("load_{}_methods", self.class_name) + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:226:18 + | +226 | imports: quote! {}, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:227:26 + | +227 | ctor_parameters: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:231:24 + | +231 | pre_init_code: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:250:33 + | +250 | table.method_decls.push(quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:254:33 + | +254 | table.method_inits.push(quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:281:5 + | +281 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:324:51 + | +324 | let unused_attr = (method_count == 0).then(|| quote! { #[allow(unused_variables)] }); + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:350:9 + | +350 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:360:9 + | +360 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:377:5 + | +377 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:514:16 + | +514 | let code = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:553:5 + | +553 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:639:5 + | +639 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:714:5 + | +714 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:841:18 + | +841 | imports: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:847:26 + | +847 | ctor_parameters: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:850:24 + | +850 | pre_init_code: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:889:26 + | +889 | ctor_parameters: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:894:20 + | +894 | fptr_type: quote! { crate::ClassMethodBind }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:895:26 + | +895 | fetch_fptr_type: quote! { crate::GDExtensionInterfaceClassdbGetMethodBind }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:897:24 + | +897 | lazy_key_type: quote! { crate::lazy_keys::ClassMethodKey }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:898:27 + | +898 | lazy_method_init: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:926:27 + | +926 | table.pre_init_code = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:945:13 + | +945 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:952:13 + | +952 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:973:26 + | +973 | ctor_parameters: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:977:24 + | +977 | pre_init_code: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:980:20 + | +980 | fptr_type: quote! { crate::BuiltinMethodBind }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:981:26 + | +981 | fetch_fptr_type: quote! { crate::GDExtensionInterfaceVariantGetPtrBuiltinMethod }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:983:24 + | +983 | lazy_key_type: quote! { crate::lazy_keys::BuiltinMethodKey }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:984:27 + | +984 | lazy_method_init: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1020:21 + | +1020 | let class_var = format_ident!("sname_{}", &class.name); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1048:27 + | +1048 | lazy_key: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1110:27 + | +1110 | lazy_key: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1146:5 + | +1146 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1176:5 + | +1176 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1252:31 + | +1252 | sys_variant_type: format_ident!("GDEXTENSION_VARIANT_TYPE_{}", shout_case), + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1301:17 + | +1301 | let ident = format_ident!("Opaque{}{}", first.to_ascii_uppercase(), rest); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1302:5 + | +1302 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1320:22 + | +1320 | let to_variant = format_ident!("{}_to_variant", type_names.snake_case); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1321:24 + | +1321 | let from_variant = format_ident!("{}_from_variant", type_names.snake_case); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1327:24 + | +1327 | let variant_type = quote! { crate::#variant_type }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1333:16 + | +1333 | let decl = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1343:16 + | +1343 | let init = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1399:29 + | +1399 | let construct_default = format_ident!("{}_construct_default", type_names.snake_case); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1400:26 + | +1400 | let construct_copy = format_ident!("{}_construct_copy", type_names.snake_case); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1414:17 + | +1414 | let decls = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1422:17 + | +1422 | let inits = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1456:17 + | +1456 | format_ident!("{type_name}_from_{arg_type}") + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1464:17 + | +1464 | format_ident!("{type_name}_from_{arg_names}") + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1468:30 + | +1468 | extra_decls.push(quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1473:30 + | +1473 | extra_inits.push(quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1490:19 + | +1490 | let destroy = format_ident!("{}_destroy", type_names.snake_case); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1494:17 + | +1494 | let decls = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1498:17 + | +1498 | let inits = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1521:20 + | +1521 | let operator = format_ident!( + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1529:24 + | +1529 | let variant_type = quote! { crate::#variant_type }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1530:21 + | +1530 | let sys_ident = format_ident!("GDEXTENSION_VARIANT_OP_{}", sys_name); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1533:16 + | +1533 | let decl = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:1538:16 + | +1538 | let init = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:130:17 + | +130 | quote! { Option<#tokens> } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:133:17 + | +133 | quote! { #ty } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:136:17 + | +136 | quote! { () } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:231:24 + | +231 | functions: quote! { #( #functions )* }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:232:23 + | +232 | builders: quote! { #( #structs )* }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:462:23 + | +462 | constructor = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:478:23 + | +478 | constructor = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:487:30 + | +487 | godot_default_impl = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:496:23 + | +496 | constructor = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:522:14 + | +522 | (quote! { crate::engine::#base }, Some(base)) + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:524:18 + | +524 | None => (quote! { () }, None), + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:538:26 + | +538 | let inherits_macro = format_ident!("inherits_transitive_{}", class_name.rust_ty); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:542:13 + | +542 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:545:13 + | +545 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:555:9 + | +555 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:603:28 + | +603 | let internal_methods = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:622:18 + | +622 | let tokens = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:726:5 + | +726 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:785:16 + | +785 | let code = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:839:46 + | +839 | all_constants[index_of_draw].0 = format_ident!("{first}OrNodeRecacheRequested"); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:880:16 + | +880 | let code = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:919:18 + | +919 | let tokens = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:974:5 + | +974 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:986:5 + | +986 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1017:36 + | +1017 | let vis = is_pub.then_some(quote! { pub }); + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1019:26 + | +1019 | let class_decl = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1027:31 + | +1027 | let notify_decl = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1043:9 + | +1043 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1048:5 + | +1048 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1071:9 + | +1071 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1077:5 + | +1077 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1113:5 + | +1113 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1125:5 + | +1125 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1133:9 + | +1133 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1184:9 + | +1184 | quote! { self.object_ptr }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1194:9 + | +1194 | quote! { None } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1196:9 + | +1196 | quote! { self.__checked_id() } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1201:9 + | +1201 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1209:9 + | +1209 | quote! { fptr_by_index(#table_index) } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1213:30 + | +1213 | let ptrcall_invocation = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1225:30 + | +1225 | let varcall_invocation = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1275:28 + | +1275 | let variant_type = quote! { sys::VariantType::#builtin_name }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1279:9 + | +1279 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1292:9 + | +1292 | quote! { fptr_by_index(#table_index) } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1295:69 + | +1295 | let receiver = make_receiver(method.is_static, method.is_const, quote! { self.sys_ptr }); + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1298:30 + | +1298 | let ptrcall_invocation = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1310:30 + | +1310 | let varcall_invocation = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1358:30 + | +1358 | let ptrcall_invocation = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1368:30 + | +1368 | let varcall_invocation = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1403:9 + | +1403 | quote! { pub(crate) } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1405:9 + | +1405 | quote! { pub } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1414:9 + | +1414 | quote! { pub(crate) } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1421:13 + | +1421 | quote! { unsafe }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1422:13 + | +1422 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1436:9 + | +1436 | format_ident!("{}_full", safe_ident(godot_fn_name_str)) + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1448:20 + | +1448 | let call_sig = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1458:9 + | +1458 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1474:9 + | +1474 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1499:57 + | +1499 | Some(RustTy::EngineClass { tokens, .. }) => quote! { PtrcallReturnOptionGdT<#tokens> }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1500:32 + | +1500 | Some(return_ty) => quote! { PtrcallReturnT<#return_ty> }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1501:21 + | +1501 | None => quote! { PtrcallReturnUnit }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1504:9 + | +1504 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1523:20 + | +1523 | functions: quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1542:28 + | +1542 | let extended_fn_name = format_ident!("{}_ex", simple_fn_name); + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1576:20 + | +1576 | let builders = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1606:21 + | +1606 | let functions = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1640:37 + | +1640 | surround_class_prefix = quote! { re_export::#rust_ty:: }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1663:9 + | +1663 | quote! {} + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1665:9 + | +1665 | quote! { mut } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1679:33 + | +1679 | tokens: quote! { &'a #builder_mut re_export::#class }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1684:31 + | +1684 | object_param: quote! { surround_object: &'a #builder_mut re_export::#class, }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1685:29 + | +1685 | object_arg: quote! { self, }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1723:10 + | +1723 | (quote! { <'a> }, quote! { <'_> }) + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1723:27 + | +1723 | (quote! { <'a> }, quote! { <'_> }) + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1730:21 + | +1730 | builder_ty: format_ident!("Ex{}", to_pascal_case(sig.function_name)), + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1748:13 + | +1748 | quote! { #name: #value } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1750:13 + | +1750 | quote! { #name } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1753:36 + | +1753 | result.builder_fields.push(quote! { #name: #type_ }); + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1754:34 + | +1754 | result.builder_args.push(quote! { self.#name }); + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1761:22 + | +1761 | let method = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1782:9 + | +1782 | quote! {} + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1784:9 + | +1784 | quote! { &self, } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1786:9 + | +1786 | quote! { &mut self, } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1790:9 + | +1790 | quote! { std::ptr::null_mut() } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1796:9 + | +1796 | quote! { Self:: } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1798:9 + | +1798 | quote! { self. } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1817:21 + | +1817 | params.push(quote! { #param_name: #param_ty }); + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1818:26 + | +1818 | param_types.push(quote! { #param_ty }); + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1819:24 + | +1819 | arg_names.push(quote! { #param_name }); + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1832:14 + | +1832 | (quote! { #param_name: #param_ty }, quote! { #param_name }) + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1832:49 + | +1832 | (quote! { #param_name: #param_ty }, quote! { #param_name }) + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1852:5 + | +1852 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/class_generator.rs:1864:5 + | +1864 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/context.rs:298:19 + | +298 | name: format_ident!("{}Notification", class_name.rust_ty), + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/interface_generator.rs:31:9 + | +31 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/interface_generator.rs:60:20 + | +60 | let decl = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/interface_generator.rs:67:20 + | +67 | let init = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/interface_generator.rs:79:16 + | +79 | let code = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:39:9 + | +39 | format_ident!("class_{}_api", self.lower()) + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:47:9 + | +47 | format_ident!("Class{}MethodTable", self.upper()) + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:68:30 + | +68 | Self::Servers => quote! { Some(crate::init::InitLevel::Servers) }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:69:28 + | +69 | Self::Scene => quote! { Some(crate::init::InitLevel::Scene) }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:70:29 + | +70 | Self::Editor => quote! { Some(crate::init::InitLevel::Editor) }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:153:5 + | +153 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:166:5 + | +166 | format_ident!("{}__{}", to_snake_case(&class_ty.godot_ty), method.name) + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:173:5 + | +173 | format_ident!("{}__{}", to_snake_case(&builtin_ty.godot_ty), method.name) + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:183:5 + | +183 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:195:5 + | +195 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:248:26 + | +248 | enumerators.push(quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:267:13 + | +267 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:283:24 + | +283 | bitfield_ops = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:295:25 + | +295 | enum_ord_type = quote! { u64 }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:296:25 + | +296 | self_as_trait = quote! { }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:297:23 + | +297 | engine_impl = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:314:25 + | +314 | enum_ord_type = quote! { i32 }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:315:25 + | +315 | self_as_trait = quote! { }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:316:23 + | +316 | engine_impl = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:335:5 + | +335 | quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:373:9 + | +373 | quote! { pub(crate) } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:375:9 + | +375 | quote! { pub } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:379:35 + | +379 | ConstValue::I32(value) => quote! { #vis const #name: i32 = #value; }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:380:35 + | +380 | ConstValue::I64(value) => quote! { #vis const #name: i64 = #value; }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:499:5 + | +499 | format_ident!("{}", s) + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `format_ident` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:523:15 + | +523 | => format_ident!("{}_", s), + | ^^^^^^^^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:697:25 + | +697 | tokens: quote! { crate::engine::#module::#bitfield_ty}, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:705:25 + | +705 | tokens: quote! { crate::engine::global::#bitfield_ty }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:718:25 + | +718 | tokens: quote! { crate::engine::#module::#enum_ty }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:726:25 + | +726 | tokens: quote! { crate::engine::global::#enum_ty }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:738:34 + | +738 | RustTy::BuiltinArray(quote! { Array<#rust_elem_ty> }) + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:741:25 + | +741 | tokens: quote! { Array<#rust_elem_ty> }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:754:21 + | +754 | tokens: quote! { Gd }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:817:26 + | +817 | "true" => return quote! { true }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:818:27 + | +818 | "false" => return quote! { false }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:819:43 + | +819 | "[]" | "{}" if is_inner => return quote! {}, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:820:24 + | +820 | "[]" => return quote! { Array::new() }, // VariantArray or Array + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:821:24 + | +821 | "{}" => return quote! { Dictionary::new() }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:824:70 + | +824 | RustTy::BuiltinIdent(ident) if ident == "Variant" => quote! { Variant::nil() }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:825:47 + | +825 | RustTy::EngineClass { .. } => quote! { unimplemented!("see #156") }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:832:66 + | +832 | RustTy::BuiltinIdent(ident) if ident == "Rid" => quote! { Rid::Invalid }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:834:21 + | +834 | quote! { Callable::invalid() } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:846:46 + | +846 | RustTy::EngineBitfield { .. } => quote! { crate::obj::EngineBitfield::from_ord(#lit) }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:847:42 + | +847 | RustTy::EngineEnum { .. } => quote! { crate::obj::EngineEnum::from_ord(#lit) }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:848:66 + | +848 | RustTy::BuiltinIdent(ident) if ident == "Variant" => quote! { Variant::from(#lit) }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:854:30 + | +854 | _ if is_inner => quote! { #lit as _ }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:868:17 + | +868 | quote! { #lit as _ } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:878:13 + | +878 | quote! { #expr } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:884:21 + | +884 | quote! { #ident::from(#expr) } + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:886:22 + | +886 | _ => quote! { GString::from(#expr) }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:895:16 + | +895 | return quote! { StringName::from(#expr) }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:901:16 + | +901 | return quote! { NodePath::from(#expr) }; + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:943:17 + | +943 | quote! {} + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:951:16 + | +951 | return quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/utilities_generator.rs:30:18 + | +30 | let tokens = quote! { + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:209:49 + | +209 | Self::EngineClass { tokens, .. } => quote! { -> Option<#tokens> }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:210:22 + | +210 | other => quote! { -> #other }, + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:223:18 + | +223 | } => quote! { *const #inner }.to_tokens(tokens), + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the macro `quote` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:227:18 + | +227 | } => quote! { *mut #inner }.to_tokens(tokens), + | ^^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error[E0463]: can't find crate for `godot_bindings` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:273:17 + | +273 | watch: &mut godot_bindings::StopWatch, + | ^^^^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `godot_bindings` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/api_parser.rs:291:16 + | +291 | let json = godot_bindings::load_gdextension_json(watch); + | ^^^^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `godot_bindings` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/central_generator.rs:205:17 + | +205 | watch: &mut godot_bindings::StopWatch, + | ^^^^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `proc_macro2` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/util.rs:182:15 + | +182 | let lit = proc_macro2::Literal::byte_string(format!("{identifier}\0").as_bytes()); + | ^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `godot_fmt` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:55:23 + | +55 | write_file(&path, godot_fmt::format_tokens(tokens)); + | ^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `godot_bindings` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:66:17 + | +66 | watch: &mut godot_bindings::StopWatch, + | ^^^^^^^^^^^^^^ can't find crate + +error[E0463]: can't find crate for `godot_bindings` + --> /home/cass/.cargo/git/checkouts/gdext-76630c89719e160c/5e18af8/godot-codegen/src/lib.rs:94:21 + | +94 | let mut watch = godot_bindings::StopWatch::start(); + | ^^^^^^^^^^^^^^ can't find crate + +Some errors have detailed explanations: E0432, E0463. +For more information about an error, try `rustc --explain E0432`. +error: could not compile `godot-codegen` (lib) due to 267 previous errors diff --git a/src/lib.rs b/src/lib.rs index 7d12d9a..b6afd85 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,14 +1,306 @@ -pub fn add(left: usize, right: usize) -> usize { - left + right +use godot::{ + builtin::{Basis, Quaternion}, + prelude::{Transform3D, Vector3}, +}; +use rosc::{OscMessage, OscType}; + +pub trait MessageBehavior { + fn to_sendable_osc_message(&self) -> OscMessage; + fn parse_from_osc_message(msg: OscMessage) -> Result + where + Self: Sized; } -#[cfg(test)] -mod tests { - use super::*; +struct VmcExtOk { + loaded: i32, + calibration_state: Option, + calibration_mode: Option, + tracking_status: Option, +} - #[test] - fn it_works() { - let result = add(2, 2); - assert_eq!(result, 4); +impl MessageBehavior for VmcExtOk { + fn to_sendable_osc_message(&self) -> OscMessage { + let addr = String::from("/VMC/Ext/OK"); + let mut args: Vec = vec![OscType::from(self.loaded)]; + if self.calibration_state.is_some() { + args.append(&mut vec![ + OscType::from(self.calibration_state.unwrap()), + OscType::from(self.calibration_mode.unwrap()), + ]); + } + if self.tracking_status.is_some() { + args.push(OscType::from(self.tracking_status.unwrap())); + } + return OscMessage { addr, args }; + } + fn parse_from_osc_message(msg: OscMessage) -> Result { + let mut result = VmcExtOk { + loaded: -1, + calibration_state: None, + calibration_mode: None, + tracking_status: None, + }; + if msg.args.len() == 1 || msg.args.len() == 3 || msg.args.len() == 4 { + match msg.args[0] { + OscType::Int(i) => { + result.loaded = i; + } + _ => { + return Err(String::from("arg type invalid")); + } + } + } else { + return Err(String::from("arg count invalid")); + } + if msg.args.len() == 3 || msg.args.len() == 4 { + match msg.args[1] { + OscType::Int(i) => { + result.calibration_state = Some(i); + } + _ => { + return Err(String::from("arg type invalid")); + } + } + match msg.args[2] { + OscType::Int(i) => { + result.calibration_mode = Some(i); + } + _ => { + return Err(String::from("arg type invalid")); + } + } + } + if msg.args.len() == 4 { + match msg.args[3] { + OscType::Int(i) => { + result.tracking_status = Some(i); + } + _ => { + return Err(String::from("arg type invalid")); + } + } + } + return Ok(result); + } +} + +struct VmcExtT { + time: f32, +} + +impl MessageBehavior for VmcExtT { + fn to_sendable_osc_message(&self) -> OscMessage { + return OscMessage { + addr: String::from("/VMC/Ext/T"), + args: vec![OscType::from(self.time)], + }; + } + fn parse_from_osc_message(msg: OscMessage) -> Result { + if msg.args.len() != 1 { + return Err(String::from("arg count invalid")); + } + match msg.args[0] { + OscType::Float(f) => return Ok(VmcExtT { time: f }), + _ => return Err(String::from("arg type invalid")), + } + } +} + +struct VmcExtRootPos { + name: String, + transform: Transform3D, + mr_scale: Option, + mr_offset: Option, +} + +impl MessageBehavior for VmcExtRootPos { + fn to_sendable_osc_message(&self) -> OscMessage { + let addr = String::from("/VMC/Ext/Root/Pos"); + let quat = self.transform.basis.to_quat(); + let mut args: Vec = vec![ + OscType::from(self.name.to_owned()), + OscType::from(self.transform.origin.x), + OscType::from(self.transform.origin.y), + OscType::from(self.transform.origin.z), + OscType::from(quat.x), + OscType::from(quat.y), + OscType::from(quat.z), + OscType::from(quat.w), + ]; + if self.mr_offset.is_some() { + args.append(&mut vec![ + OscType::from(self.mr_scale.unwrap().x), + OscType::from(self.mr_scale.unwrap().y), + OscType::from(self.mr_scale.unwrap().z), + OscType::from(self.mr_offset.unwrap().x), + OscType::from(self.mr_offset.unwrap().y), + OscType::from(self.mr_offset.unwrap().z), + ]); + } + return OscMessage { addr, args }; + } + fn parse_from_osc_message(msg: OscMessage) -> Result { + let mut result: VmcExtRootPos; + if msg.args.len() == 8 || msg.args.len() == 14 { + let mut origin = Vector3::new(0.0, 0.0, 0.0); + let name: String; + match &msg.args[0] { + OscType::String(s) => name = s.to_owned(), + _ => return Err(String::from("arg type invalid")), + } + match msg.args[1] { + OscType::Float(f) => origin.x = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[2] { + OscType::Float(f) => origin.y = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[3] { + OscType::Float(f) => origin.z = f, + _ => return Err(String::from("arg type invalid")), + } + let mut quat = Quaternion { + x: 0.0, + y: 0.0, + z: 0.0, + w: 0.0, + }; + match msg.args[4] { + OscType::Float(f) => quat.x = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[5] { + OscType::Float(f) => quat.y = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[6] { + OscType::Float(f) => quat.z = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[7] { + OscType::Float(f) => quat.w = f, + _ => return Err(String::from("arg type invalid")), + } + result = VmcExtRootPos { + name, + transform: Transform3D::new(Basis::from_quat(quat), origin), + mr_scale: None, + mr_offset: None, + }; + } else { + return Err(String::from("arg count invalid")); + } + if msg.args.len() == 14 { + result.mr_scale = Some(Vector3 { + x: 0.0, + y: 0.0, + z: 0.0, + }); + result.mr_offset = Some(Vector3 { + x: 0.0, + y: 0.0, + z: 0.0, + }); + match msg.args[8] { + OscType::Float(f) => result.mr_scale.unwrap().x = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[9] { + OscType::Float(f) => result.mr_scale.unwrap().y = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[10] { + OscType::Float(f) => result.mr_scale.unwrap().z = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[11] { + OscType::Float(f) => result.mr_offset.unwrap().x = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[12] { + OscType::Float(f) => result.mr_offset.unwrap().y = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[13] { + OscType::Float(f) => result.mr_offset.unwrap().z = f, + _ => return Err(String::from("arg type invalid")), + } + } + return Ok(result); + } +} + +struct VmcExtBonePos { + name: String, + transform: Transform3D, +} + +impl MessageBehavior for VmcExtBonePos { + fn to_sendable_osc_message(&self) -> OscMessage { + let addr = String::from("/VMC/Ext/Bone/Pos"); + let quat = self.transform.basis.to_quat(); + return OscMessage { + addr, + args: vec![ + OscType::from(self.name.to_owned()), + OscType::from(self.transform.origin.x), + OscType::from(self.transform.origin.y), + OscType::from(self.transform.origin.z), + OscType::from(quat.x), + OscType::from(quat.y), + OscType::from(quat.z), + OscType::from(quat.w), + ], + }; + } + fn parse_from_osc_message(msg: OscMessage) -> Result { + let name: String; + let mut origin = Vector3::new(0.0, 0.0, 0.0); + if msg.args.len() != 8 { + return Err(String::from("arg count invalid")); + } + match &msg.args[0] { + OscType::String(s) => name = s.to_owned(), + _ => return Err(String::from("arg type invalid")), + } + match msg.args[1] { + OscType::Float(f) => origin.x = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[2] { + OscType::Float(f) => origin.y = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[3] { + OscType::Float(f) => origin.z = f, + _ => return Err(String::from("arg type invalid")), + } + let mut quat = Quaternion { + x: 0.0, + y: 0.0, + z: 0.0, + w: 0.0, + }; + match msg.args[4] { + OscType::Float(f) => quat.x = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[5] { + OscType::Float(f) => quat.y = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[6] { + OscType::Float(f) => quat.z = f, + _ => return Err(String::from("arg type invalid")), + } + match msg.args[7] { + OscType::Float(f) => quat.w = f, + _ => return Err(String::from("arg type invalid")), + } + return Ok(VmcExtBonePos { + name, + transform: Transform3D::new(Basis::from_quat(quat), origin), + }); } }