Skip to content

build: updated core #51

build: updated core

build: updated core #51

Triggered via push February 20, 2024 23:14
Status Success
Total duration 21s
Artifacts
security_audit
11s
security_audit
Fit to window
Zoom out
Zoom in

Annotations

82 errors and 6 warnings
unused import: `HasName`: sdml-generate/tests/test_deps.rs#L6
error: unused import: `HasName` --> sdml-generate/tests/test_deps.rs:6:30 | 6 | model::{modules::Module, HasName}, | ^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
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)
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-generate/tests/test_deps.rs#L62
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-generate/tests/test_deps.rs:62:36 | 62 | let module = cache.get(&module.unwrap()).unwrap(); | ^^^ method not found in `ModuleCache` ... 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 | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope = note: this error originates in the 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: the following trait is implemented but not in scope; perhaps add a `use` for it: | 22 + use sdml_core::cache::ModuleStore; |
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-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)
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-generate/tests/test_deps.rs#L62
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-generate/tests/test_deps.rs:62:36 | 62 | let module = cache.get(&module.unwrap()).unwrap(); | ^^^ method not found in `ModuleCache` ... 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 | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope = note: this error originates in the 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: the following trait is implemented but not in scope; perhaps add a `use` for it: | 22 + use sdml_core::cache::ModuleStore; |
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-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)
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-generate/tests/test_deps.rs#L62
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-generate/tests/test_deps.rs:62:36 | 62 | let module = cache.get(&module.unwrap()).unwrap(); | ^^^ method not found in `ModuleCache` ... 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 | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope = note: this error originates in the 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: the following trait is implemented but not in scope; perhaps add a `use` for it: | 22 + use sdml_core::cache::ModuleStore; |
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-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)
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-generate/tests/test_deps.rs#L62
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-generate/tests/test_deps.rs:62:36 | 62 | let module = cache.get(&module.unwrap()).unwrap(); | ^^^ method not found in `ModuleCache` ... 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 | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope = note: this error originates in the 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: the following trait is implemented but not in scope; perhaps add a `use` for it: | 22 + use sdml_core::cache::ModuleStore; |
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-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)
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-generate/tests/test_deps.rs#L62
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-generate/tests/test_deps.rs:62:36 | 62 | let module = cache.get(&module.unwrap()).unwrap(); | ^^^ method not found in `ModuleCache` ... 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 | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope = note: this error originates in the 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: the following trait is implemented but not in scope; perhaps add a `use` for it: | 22 + use sdml_core::cache::ModuleStore; |
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-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)
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-generate/tests/test_deps.rs#L62
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-generate/tests/test_deps.rs:62:36 | 62 | let module = cache.get(&module.unwrap()).unwrap(); | ^^^ method not found in `ModuleCache` ... 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 | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope = note: this error originates in the 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: the following trait is implemented but not in scope; perhaps add a `use` for it: | 22 + use sdml_core::cache::ModuleStore; |
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)
unused import: `HasNameReference`: sdml-parse/tests/test_api.rs#L6
error: unused import: `HasNameReference` --> sdml-parse/tests/test_api.rs:6:42 | 6 | use sdml_core::model::{HasBody, HasName, HasNameReference}; | ^^^^^^^^^^^^^^^^
unused import: `HasAnnotations`: sdml-parse/tests/test_api.rs#L2
error: unused import: `HasAnnotations` --> sdml-parse/tests/test_api.rs:2:57 | 2 | use sdml_core::model::annotations::{AnnotationProperty, HasAnnotations}; | ^^^^^^^^^^^^^^
unused import: `HasBody`: sdml-parse/tests/test_api.rs#L6
error: unused import: `HasBody` --> sdml-parse/tests/test_api.rs:6:24 | 6 | use sdml_core::model::{HasBody, HasName, HasNameReference}; | ^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-parse/tests/test_api.rs#L161
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-parse/tests/test_api.rs:161:24 | 161 | let module = cache.get(&module.unwrap()); | ^^^ method not found in `ModuleCache` | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 1 + use sdml_core::cache::ModuleStore; |
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>(); | ++++ +
type `i64` cannot be dereferenced: sdml-parse/tests/test_api.rs#L107
error[E0614]: type `i64` cannot be dereferenced --> sdml-parse/tests/test_api.rs:107:20 | 107 | assert_eq!(*value, 2); | ^^^^^^
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)
mismatched types: sdml-parse/tests/test_api.rs#L96
error[E0308]: mismatched types --> sdml-parse/tests/test_api.rs:96:27 | 96 | assert_eq!(value, &Url::from_str("https://example.org/").unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Url`, found `&Url` | help: consider removing the borrow | 96 - assert_eq!(value, &Url::from_str("https://example.org/").unwrap()); 96 + assert_eq!(value, Url::from_str("https://example.org/").unwrap()); |
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-parse/tests/test_api.rs#L86
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-parse/tests/test_api.rs:86:24 | 86 | let module = cache.get(&module.unwrap()); | ^^^ method not found in `ModuleCache` | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 1 + use sdml_core::cache::ModuleStore; |
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-parse/tests/test_api.rs#L48
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-parse/tests/test_api.rs:48:24 | 48 | let module = cache.get(&module.unwrap()); | ^^^ method not found in `ModuleCache` | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 1 + use sdml_core::cache::ModuleStore; |
no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-generate/tests/test_deps.rs#L62
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-generate/tests/test_deps.rs:62:36 | 62 | let module = cache.get(&module.unwrap()).unwrap(); | ^^^ method not found in `ModuleCache` ... 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 | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope = note: this error originates in the 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: the following trait is implemented but not in scope; perhaps add a `use` for it: | 22 + use sdml_core::cache::ModuleStore; |
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 `get` found for struct `sdml_core::cache::ModuleCache` in the current scope: sdml-parse/tests/test_api.rs#L20
error[E0599]: no method named `get` found for struct `sdml_core::cache::ModuleCache` in the current scope --> sdml-parse/tests/test_api.rs:20:24 | 20 | let module = cache.get(&module.unwrap()); | ^^^ method not found in `ModuleCache` | ::: /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/cache.rs:43:8 | 43 | fn get(&self, name: &Identifier) -> Option<&Module>; | --- the method is available for `sdml_core::cache::ModuleCache` here | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 1 + use sdml_core::cache::ModuleStore; |
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)
enum `UseColor` is private: sdml-generate/tests/test_source.rs#L5
error[E0603]: enum `UseColor` is private --> sdml-generate/tests/test_source.rs:5:42 | 5 | use sdml_generate::color::{set_colorize, UseColor}; | ^^^^^^^^ private enum | note: the enum `UseColor` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-generate/src/color/mod.rs:6:5 | 6 | use sdml_error::diagnostics::UseColor; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: import `UseColor` directly | 5 | use sdml_generate::color::{set_colorize, sdml_error::diagnostics::color::UseColor}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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)
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(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
enum `UseColor` is private: sdml-generate/tests/test_deps.rs#L9
error[E0603]: enum `UseColor` is private --> sdml-generate/tests/test_deps.rs:9:27 | 9 | color::{set_colorize, UseColor}, | ^^^^^^^^ private enum | note: the enum `UseColor` is defined here --> /home/runner/work/rust-sdml/rust-sdml/sdml-generate/src/color/mod.rs:6:5 | 6 | use sdml_error::diagnostics::UseColor; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: import `UseColor` directly | 9 | color::{set_colorize, sdml_error::diagnostics::color::UseColor}, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/