Skip to content

feat: reduce todo! in term validation #48

feat: reduce todo! in term validation

feat: reduce todo! in term validation #48

Triggered via push February 16, 2024 23:38
Status Success
Total duration 23s
Artifacts
security_audit
12s
security_audit
Fit to window
Zoom out
Zoom in

Annotations

526 errors and 6 warnings
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 245 | / test_examples! { 246 | | union => ( 247 | | union_empty, 248 | | union_rename_variant, 249 | | union_variants 250 | | ) 251 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 233 | / test_examples! { 234 | | type_class => ( 235 | | type_class_empty, 236 | | type_class_methods, 237 | | type_class_subtype 238 | | ) 239 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 220 | / test_examples! { 221 | | structure => ( 222 | | structure_empty, 223 | | structure_mapping_type, ... | 226 | | ) 227 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 208 | / test_examples! { 209 | | property => ( 210 | | property_def_empty, 211 | | property_def_some, 212 | | property_def_used 213 | | ) 214 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 198 | / test_examples! { 199 | | event => ( 200 | | event_empty 201 | | ) 202 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 198 | / test_examples! { 199 | | event => ( 200 | | event_empty 201 | | ) 202 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 198 | / test_examples! { 199 | | event => ( 200 | | event_empty 201 | | ) 202 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 198 | / test_examples! { 199 | | event => ( 200 | | event_empty 201 | | ) 202 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 198 | / test_examples! { 199 | | event => ( 200 | | event_empty 201 | | ) 202 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 198 | / test_examples! { 199 | | event => ( 200 | | event_empty 201 | | ) 202 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 198 | / test_examples! { 199 | | event => ( 200 | | event_empty 201 | | ) 202 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 187 | / test_examples! { 188 | | r#enum => ( 189 | | enum_empty, 190 | | enum_variants 191 | | ) 192 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 173 | / test_examples! { 174 | | entity => ( 175 | | entity_empty, 176 | | entity_with_constraints, ... | 180 | | ) 181 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-generate/tests/test_deps.rs#L57
error[E0746]: return type cannot have an unboxed trait object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 57 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: sdml-generate/tests/test_deps.rs#L65
error[E0308]: mismatched types --> sdml-generate/tests/test_deps.rs:65:64 | 65 | let result_string = $transform(module, &cache, &loader); | ^^^^^^^ expected `&FsModuleLoader`, found `&dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( | | ------------------------ arguments to this function are incorrect 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: expected reference `&sdml_parse::load::FsModuleLoader` found reference `&dyn sdml_core::load::ModuleLoader` note: function defined here --> sdml-generate/tests/test_deps.rs:83:4 | 83 | fn generate_dependency_tree(module: &Module, cache: &ModuleCache, _: &FsModuleLoader) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:21 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-generate/tests/test_deps.rs#L58
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-generate/tests/test_deps.rs:58:37 | 58 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-generate/tests/test_deps.rs#L57
error[E0782]: trait objects must include the `dyn` keyword --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-generate/tests/test_deps.rs#L57
error[E0746]: return type cannot have an unboxed trait object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 57 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
mismatched types: sdml-generate/tests/test_deps.rs#L65
error[E0308]: mismatched types --> sdml-generate/tests/test_deps.rs:65:64 | 65 | let result_string = $transform(module, &cache, &loader); | ^^^^^^^ expected `&FsModuleLoader`, found `&dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( | | ------------------------ arguments to this function are incorrect 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: expected reference `&sdml_parse::load::FsModuleLoader` found reference `&dyn sdml_core::load::ModuleLoader` note: function defined here --> sdml-generate/tests/test_deps.rs:83:4 | 83 | fn generate_dependency_tree(module: &Module, cache: &ModuleCache, _: &FsModuleLoader) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:21 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-generate/tests/test_deps.rs#L58
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-generate/tests/test_deps.rs:58:37 | 58 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 161 | / test_examples! { 162 | | datatype => ( 163 | | datatype_empty, 164 | | datatype_from_string, 165 | | datatype_with_restrictions 166 | | ) 167 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-generate/tests/test_deps.rs#L57
error[E0782]: trait objects must include the `dyn` keyword --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-generate/tests/test_deps.rs#L57
error[E0746]: return type cannot have an unboxed trait object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 57 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
mismatched types: sdml-generate/tests/test_deps.rs#L65
error[E0308]: mismatched types --> sdml-generate/tests/test_deps.rs:65:64 | 65 | let result_string = $transform(module, &cache, &loader); | ^^^^^^^ expected `&FsModuleLoader`, found `&dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( | | ------------------------ arguments to this function are incorrect 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: expected reference `&sdml_parse::load::FsModuleLoader` found reference `&dyn sdml_core::load::ModuleLoader` note: function defined here --> sdml-generate/tests/test_deps.rs:83:4 | 83 | fn generate_dependency_tree(module: &Module, cache: &ModuleCache, _: &FsModuleLoader) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:21 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-generate/tests/test_deps.rs#L58
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-generate/tests/test_deps.rs:58:37 | 58 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-generate/tests/test_deps.rs#L57
error[E0782]: trait objects must include the `dyn` keyword --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-generate/tests/test_deps.rs#L57
error[E0746]: return type cannot have an unboxed trait object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 57 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: sdml-generate/tests/test_deps.rs#L65
error[E0308]: mismatched types --> sdml-generate/tests/test_deps.rs:65:64 | 65 | let result_string = $transform(module, &cache, &loader); | ^^^^^^^ expected `&FsModuleLoader`, found `&dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( | | ------------------------ arguments to this function are incorrect 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: expected reference `&sdml_parse::load::FsModuleLoader` found reference `&dyn sdml_core::load::ModuleLoader` note: function defined here --> sdml-generate/tests/test_deps.rs:83:4 | 83 | fn generate_dependency_tree(module: &Module, cache: &ModuleCache, _: &FsModuleLoader) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:21 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-generate/tests/test_deps.rs#L58
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-generate/tests/test_deps.rs:58:37 | 58 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 149 | / test_examples! { 150 | | informal_constraint => ( 151 | | constraint_informal, 152 | | constraint_informal_language, 153 | | constraint_informal_language_controlled 154 | | ) 155 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 139 | / test_examples! { 140 | | rdf => ( 141 | | rdf_definitions 142 | | ) 143 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 139 | / test_examples! { 140 | | rdf => ( 141 | | rdf_definitions 142 | | ) 143 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 139 | / test_examples! { 140 | | rdf => ( 141 | | rdf_definitions 142 | | ) 143 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-generate/tests/test_deps.rs#L57
error[E0782]: trait objects must include the `dyn` keyword --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-generate/tests/test_deps.rs#L57
error[E0746]: return type cannot have an unboxed trait object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 57 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
mismatched types: sdml-generate/tests/test_deps.rs#L65
error[E0308]: mismatched types --> sdml-generate/tests/test_deps.rs:65:64 | 65 | let result_string = $transform(module, &cache, &loader); | ^^^^^^^ expected `&FsModuleLoader`, found `&dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( | | ------------------------ arguments to this function are incorrect 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: expected reference `&sdml_parse::load::FsModuleLoader` found reference `&dyn sdml_core::load::ModuleLoader` note: function defined here --> sdml-generate/tests/test_deps.rs:83:4 | 83 | fn generate_dependency_tree(module: &Module, cache: &ModuleCache, _: &FsModuleLoader) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 139 | / test_examples! { 140 | | rdf => ( 141 | | rdf_definitions 142 | | ) 143 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 139 | / test_examples! { 140 | | rdf => ( 141 | | rdf_definitions 142 | | ) 143 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 139 | / test_examples! { 140 | | rdf => ( 141 | | rdf_definitions 142 | | ) 143 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:21 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-generate/tests/test_deps.rs#L58
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-generate/tests/test_deps.rs:58:37 | 58 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 139 | / test_examples! { 140 | | rdf => ( 141 | | rdf_definitions 142 | | ) 143 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-generate/tests/test_deps.rs#L57
error[E0782]: trait objects must include the `dyn` keyword --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-generate/tests/test_deps.rs#L57
error[E0746]: return type cannot have an unboxed trait object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 57 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
mismatched types: sdml-generate/tests/test_deps.rs#L65
error[E0308]: mismatched types --> sdml-generate/tests/test_deps.rs:65:64 | 65 | let result_string = $transform(module, &cache, &loader); | ^^^^^^^ expected `&FsModuleLoader`, found `&dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( | | ------------------------ arguments to this function are incorrect 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: expected reference `&sdml_parse::load::FsModuleLoader` found reference `&dyn sdml_core::load::ModuleLoader` note: function defined here --> sdml-generate/tests/test_deps.rs:83:4 | 83 | fn generate_dependency_tree(module: &Module, cache: &ModuleCache, _: &FsModuleLoader) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:21 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-generate/tests/test_deps.rs#L58
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-generate/tests/test_deps.rs:58:37 | 58 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-generate/tests/test_deps.rs#L57
error[E0782]: trait objects must include the `dyn` keyword --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
return type cannot have an unboxed trait object: sdml-generate/tests/test_deps.rs#L57
error[E0746]: return type cannot have an unboxed trait object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 57 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
mismatched types: sdml-generate/tests/test_deps.rs#L65
error[E0308]: mismatched types --> sdml-generate/tests/test_deps.rs:65:64 | 65 | let result_string = $transform(module, &cache, &loader); | ^^^^^^^ expected `&FsModuleLoader`, found `&dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( | | ------------------------ arguments to this function are incorrect 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: expected reference `&sdml_parse::load::FsModuleLoader` found reference `&dyn sdml_core::load::ModuleLoader` note: function defined here --> sdml-generate/tests/test_deps.rs:83:4 | 83 | fn generate_dependency_tree(module: &Module, cache: &ModuleCache, _: &FsModuleLoader) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:21 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-generate/tests/test_deps.rs#L58
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-generate/tests/test_deps.rs:58:37 | 58 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-generate/tests/test_deps.rs#L57
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-generate/tests/test_deps.rs#L57
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-generate/tests/test_deps.rs#L57
error[E0782]: trait objects must include the `dyn` keyword --> sdml-generate/tests/test_deps.rs:57:34 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 99 | / test_examples! { 100 | | import_dep_tree, "deps", generate_dependency_tree => ( 101 | | import_member_only, 102 | | import_module_only, ... | 108 | | ) 109 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait `ModuleLoader` is private: sdml-generate/tests/test_deps.rs#L57
error[E0603]: trait `ModuleLoader` is private --> sdml-generate/tests/test_deps.rs:57:54 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 57 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 57 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-generate/tests/test_deps.rs#L57
error[E0603]: trait `ModuleLoader` is private --> sdml-generate/tests/test_deps.rs:57:54 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 57 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 57 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait `ModuleLoader` is private: sdml-generate/tests/test_deps.rs#L57
error[E0603]: trait `ModuleLoader` is private --> sdml-generate/tests/test_deps.rs:57:54 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 57 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 57 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-generate/tests/test_deps.rs#L57
error[E0603]: trait `ModuleLoader` is private --> sdml-generate/tests/test_deps.rs:57:54 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 57 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 57 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-generate/tests/test_deps.rs#L57
error[E0603]: trait `ModuleLoader` is private --> sdml-generate/tests/test_deps.rs:57:54 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 57 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 57 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait `ModuleLoader` is private: sdml-generate/tests/test_deps.rs#L57
error[E0603]: trait `ModuleLoader` is private --> sdml-generate/tests/test_deps.rs:57:54 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 57 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 57 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-generate/tests/test_deps.rs#L57
error[E0603]: trait `ModuleLoader` is private --> sdml-generate/tests/test_deps.rs:57:54 | 57 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 57 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 57 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 113 | / test_examples! { 114 | | annotation_property => ( 115 | | annotation_single_binary, 116 | | annotation_single_boolean, ... | 132 | | ) 133 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 97 | / test_examples! { 98 | | import => ( 99 | | import_member_only, 100 | | import_module_only, ... | 106 | | ) 107 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
return type cannot have an unboxed trait object: sdml-parse/tests/test_examples.rs#L52
error[E0746]: return type cannot have an unboxed trait object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info) help: box the return type, and wrap all of the returned values in `Box::new` | 52 | let mut loader = Box<::sdml_parse::load::ModuleLoader::default>(); | ++++ +
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:21 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope: sdml-parse/tests/test_examples.rs#L53
error[E0599]: no method named `load_from_file` found for trait object `dyn sdml_core::load::ModuleLoader` in the current scope --> sdml-parse/tests/test_examples.rs:53:37 | 53 | let module = loader.load_from_file(input, &mut cache, false); | ^^^^^^^^^^^^^^ method not found in `dyn ModuleLoader` ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time: sdml-parse/tests/test_examples.rs#L52
error[E0277]: the size for values of type `dyn sdml_core::load::ModuleLoader` cannot be known at compilation time --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = help: the trait `std::marker::Sized` is not implemented for `dyn sdml_core::load::ModuleLoader` note: required by a bound in `std::default::Default::default` --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/default.rs:134:5 = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait `sdml_core::load::ModuleLoader` cannot be made into an object: sdml-parse/tests/test_examples.rs#L52
error[E0038]: the trait `sdml_core::load::ModuleLoader` cannot be made into an object --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sdml_core::load::ModuleLoader` cannot be made into an object ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: the trait cannot be made into an object because it requires `Self: Sized` = note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> = help: only type `sdml_parse::load::FsModuleLoader` implements the trait, consider using it directly instead = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait objects must include the `dyn` keyword: sdml-parse/tests/test_examples.rs#L52
error[E0782]: trait objects must include the `dyn` keyword --> sdml-parse/tests/test_examples.rs:52:34 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 82 | / test_examples! { 83 | | module => ( 84 | | module_annotations, 85 | | module_empty, ... | 90 | | ) 91 | | } | |_- in this macro invocation | = note: this error originates in the macro `test_example` which comes from the expansion of the macro `test_examples` (in Nightly builds, run with -Z macro-backtrace for more info)
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait `ModuleLoader` is private: sdml-parse/tests/test_examples.rs#L52
error[E0603]: trait `ModuleLoader` is private --> sdml-parse/tests/test_examples.rs:52:54 | 52 | let mut loader = ::sdml_parse::load::ModuleLoader::default(); | ^^^^^^^^^^^^ private trait | note: the trait `ModuleLoader` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-parse/src/load.rs:8:23 | 8 | use sdml_core::load::{ModuleLoader, ModuleResolver}; | ^^^^^^^^^^^^ help: consider importing this trait instead | 52 | let mut loader = sdml_core::load::ModuleLoader::default(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: import `ModuleLoader` directly | 52 | let mut loader = sdml_core::load::ModuleLoader(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
security_audit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/audit-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
security_audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
security_audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
security_audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
security_audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/