refactor: major overhaul #45
Annotations
166 errors and 2 warnings
type annotations needed:
rdftk_io/src/xml/writer.rs#L292
error[E0282]: type annotations needed
--> rdftk_io/src/xml/writer.rs:292:26
|
292 | .language()
| ^^^^^^^^ cannot infer type for type parameter `L`
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L283
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:283:30
|
283 | self.write_subject(
| ^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
no method named `statement_factory` found for reference `&std::cell::Ref<'_, dyn rdftk_core::model::graph::Graph>` in the current scope:
rdftk_io/src/xml/writer.rs#L286
error[E0599]: no method named `statement_factory` found for reference `&std::cell::Ref<'_, dyn rdftk_core::model::graph::Graph>` in the current scope
--> rdftk_io/src/xml/writer.rs:286:36
|
286 | ... &graph.statement_factory().blank_subject(blank.clone()),
| ^^^^^^^^^^^^^^^^^
|
help: there is a method `statements` with a similar name
|
286 | &graph.statements().blank_subject(blank.clone()),
| ~~~~~~~~~~
|
no method named `as_iri` found for reference `&rdftk_core::model::statement::ObjectNode<_, _>` in the current scope:
rdftk_io/src/xml/writer.rs#L273
error[E0599]: no method named `as_iri` found for reference `&rdftk_core::model::statement::ObjectNode<_, _>` in the current scope
--> rdftk_io/src/xml/writer.rs:273:43
|
273 | if let Some(iri) = object.as_iri() {
| ^^^^^^ method not found in `&ObjectNode<_, _>`
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L265
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:265:27
|
265 | for object in graph.objects_for(subject, predicate) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L265
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:265:33
|
265 | for object in graph.objects_for(subject, predicate) {
| ^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L262
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:262:26
|
262 | for predicate in graph.predicates_for(subject) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L262
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:262:32
|
262 | for predicate in graph.predicates_for(subject) {
| ^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L173
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:173:22
|
173 | self.write_subject(&mut writer, &graph, subject, false)?;
| ^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L169
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:169:22
|
169 | self.write_subject(&mut writer, &graph, subject, true)?;
| ^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
type annotations needed:
rdftk_io/src/xml/writer.rs#L292
error[E0282]: type annotations needed
--> rdftk_io/src/xml/writer.rs:292:26
|
292 | .language()
| ^^^^^^^^ cannot infer type for type parameter `L`
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L283
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:283:30
|
283 | self.write_subject(
| ^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
no method named `statement_factory` found for reference `&std::cell::Ref<'_, dyn rdftk_core::model::graph::Graph>` in the current scope:
rdftk_io/src/xml/writer.rs#L286
error[E0599]: no method named `statement_factory` found for reference `&std::cell::Ref<'_, dyn rdftk_core::model::graph::Graph>` in the current scope
--> rdftk_io/src/xml/writer.rs:286:36
|
286 | ... &graph.statement_factory().blank_subject(blank.clone()),
| ^^^^^^^^^^^^^^^^^
|
help: there is a method `statements` with a similar name
|
286 | &graph.statements().blank_subject(blank.clone()),
| ~~~~~~~~~~
|
no method named `as_iri` found for reference `&rdftk_core::model::statement::ObjectNode<_, _>` in the current scope:
rdftk_io/src/xml/writer.rs#L273
error[E0599]: no method named `as_iri` found for reference `&rdftk_core::model::statement::ObjectNode<_, _>` in the current scope
--> rdftk_io/src/xml/writer.rs:273:43
|
273 | if let Some(iri) = object.as_iri() {
| ^^^^^^ method not found in `&ObjectNode<_, _>`
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L265
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:265:27
|
265 | for object in graph.objects_for(subject, predicate) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L265
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:265:33
|
265 | for object in graph.objects_for(subject, predicate) {
| ^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L262
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:262:26
|
262 | for predicate in graph.predicates_for(subject) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L262
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:262:32
|
262 | for predicate in graph.predicates_for(subject) {
| ^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L173
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:173:22
|
173 | self.write_subject(&mut writer, &graph, subject, false)?;
| ^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/turtle_writer.rs#L27
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/turtle_writer.rs:27:13
|
27 | Rc::from(graph.deref().borrow()),
| ^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/turtle_writer.rs#L27
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/turtle_writer.rs:27:13
|
27 | Rc::from(graph.deref().borrow()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/turtle_writer.rs#L27
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/turtle_writer.rs:27:13
|
27 | Rc::from(graph.deref().borrow()),
| ^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/turtle_writer.rs#L27
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/turtle_writer.rs:27:13
|
27 | Rc::from(graph.deref().borrow()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
type annotations needed:
rdftk_io/src/turtle/writer/cursor.rs#L377
error[E0282]: type annotations needed
--> rdftk_io/src/turtle/writer/cursor.rs:377:57
|
377 | let target_id_base = convert_to_id_base.to_string();
| ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
|
type annotations needed:
rdftk_io/src/turtle/writer/cursor.rs#L377
error[E0282]: type annotations needed
--> rdftk_io/src/turtle/writer/cursor.rs:377:57
|
377 | let target_id_base = convert_to_id_base.to_string();
| ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
|
type annotations needed:
rdftk_io/src/turtle/writer/cursor.rs#L268
error[E0282]: type annotations needed
--> rdftk_io/src/turtle/writer/cursor.rs:268:19
|
268 | preds.sort_by_cached_key(|iri| self.predicate_iri_as_string(iri).unwrap());
| ^^^^^^^^^^^^^^^^^^ cannot infer type
|
type annotations needed:
rdftk_io/src/turtle/writer/cursor.rs#L268
error[E0282]: type annotations needed
--> rdftk_io/src/turtle/writer/cursor.rs:268:19
|
268 | preds.sort_by_cached_key(|iri| self.predicate_iri_as_string(iri).unwrap());
| ^^^^^^^^^^^^^^^^^^ cannot infer type
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/cursor.rs#L69
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/cursor.rs:69:13
|
69 | / graph
70 | | .deref()
71 | | .blank_node_subjects()
| |______________________________________^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/cursor.rs#L71
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/cursor.rs:71:18
|
71 | .blank_node_subjects()
| ^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/cursor.rs#L69
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/cursor.rs:69:13
|
69 | / graph
70 | | .deref()
| |________________________^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
no method named `write` found for reference `&trig::writer::TrigWriter` in the current scope:
rdftk_io/src/trig/writer.rs#L70
error[E0599]: no method named `write` found for reference `&trig::writer::TrigWriter` in the current scope
--> rdftk_io/src/trig/writer.rs:70:18
|
70 | self.write(w, graph)?;
| ^^^^^
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `write`, perhaps you need to implement one of them:
candidate #1: `itoa::private::Sealed`
candidate #2: `objio::ObjectWriter`
candidate #3: `std::hash::Hasher`
candidate #4: `std::io::Write`
help: there is a method `white` with a similar name, but with different arguments
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yansi-1.0.1/src/paint.rs:130:5
|
130 | properties!(signature(&Self) -> Painted<&Self>);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `signature` which comes from the expansion of the macro `properties` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/cursor.rs#L69
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/cursor.rs:69:13
|
69 | / graph
70 | | .deref()
71 | | .blank_node_subjects()
| |______________________________________^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/cursor.rs#L71
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/cursor.rs:71:18
|
71 | .blank_node_subjects()
| ^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/cursor.rs#L69
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/cursor.rs:69:13
|
69 | / graph
70 | | .deref()
| |________________________^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
no method named `write` found for reference `&trig::writer::TrigWriter` in the current scope:
rdftk_io/src/trig/writer.rs#L70
error[E0599]: no method named `write` found for reference `&trig::writer::TrigWriter` in the current scope
--> rdftk_io/src/trig/writer.rs:70:18
|
70 | self.write(w, graph)?;
| ^^^^^ method not found in `&TrigWriter`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `write`, perhaps you need to implement one of them:
candidate #1: `itoa::private::Sealed`
candidate #2: `objio::ObjectWriter`
candidate #3: `std::hash::Hasher`
candidate #4: `std::io::Write`
|
no method named `write` found for reference `&nq::writer::NQuadWriter` in the current scope:
rdftk_io/src/nq/writer.rs#L30
error[E0599]: no method named `write` found for reference `&nq::writer::NQuadWriter` in the current scope
--> rdftk_io/src/nq/writer.rs:30:18
|
30 | self.write(w, graph)?;
| ^^^^^
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `write`, perhaps you need to implement one of them:
candidate #1: `itoa::private::Sealed`
candidate #2: `objio::ObjectWriter`
candidate #3: `std::hash::Hasher`
candidate #4: `std::io::Write`
help: there is a method `white` with a similar name, but with different arguments
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yansi-1.0.1/src/paint.rs:130:5
|
130 | properties!(signature(&Self) -> Painted<&Self>);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `signature` which comes from the expansion of the macro `properties` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L86
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:86:13
|
86 | data_set.graph_mut(&None).unwrap()
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L86
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:86:22
|
86 | data_set.graph_mut(&None).unwrap()
| ^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L86
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:86:22
|
86 | data_set.graph_mut(&None).unwrap()
| ^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L85
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:85:13
|
85 | data_set.insert(graphs.named_graph(None));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L85
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:85:13
|
85 | data_set.insert(graphs.named_graph(None));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L85
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:85:22
|
85 | data_set.insert(graphs.named_graph(None));
| ^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L82
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:82:37
|
82 | } else if let Some(graph) = data_set.graph_mut(&None) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L82
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:82:46
|
82 | } else if let Some(graph) = data_set.graph_mut(&None) {
| ^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L85
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:85:22
|
85 | data_set.insert(graphs.named_graph(None));
| ^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L82
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:82:37
|
82 | } else if let Some(graph) = data_set.graph_mut(&None) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L82
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:82:46
|
82 | } else if let Some(graph) = data_set.graph_mut(&None) {
| ^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L80
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:80:26
|
80 | data_set.graph_mut(&Some(graph_name)).unwrap()
| ^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L80
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:80:17
|
80 | data_set.graph_mut(&Some(graph_name)).unwrap()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L79
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:79:26
|
79 | data_set.insert(graphs.named_graph(Some(graph_name.clone())));
| ^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L80
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:80:26
|
80 | data_set.graph_mut(&Some(graph_name)).unwrap()
| ^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L76
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:76:34
|
76 | if let Some(graph) = data_set.graph_mut(&Some(graph_name.clone())) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L76
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:76:43
|
76 | if let Some(graph) = data_set.graph_mut(&Some(graph_name.clone())) {
| ^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L79
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:79:26
|
79 | data_set.insert(graphs.named_graph(Some(graph_name.clone())));
| ^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L76
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:76:34
|
76 | if let Some(graph) = data_set.graph_mut(&Some(graph_name.clone())) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L76
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:76:43
|
76 | if let Some(graph) = data_set.graph_mut(&Some(graph_name.clone())) {
| ^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
no method named `graph_factory` found for struct `std::cell::RefMut<'_, dyn rdftk_core::model::data_set::DataSet>` in the current scope:
rdftk_io/src/common/parser/nquads.rs#L64
error[E0599]: no method named `graph_factory` found for struct `std::cell::RefMut<'_, dyn rdftk_core::model::data_set::DataSet>` in the current scope
--> rdftk_io/src/common/parser/nquads.rs:64:27
|
64 | let graphs = data_set.graph_factory();
| ^^^^^^^^^^^^^
|
help: there is a method `graph_mut` with a similar name, but with different arguments
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:99:5
|
99 | fn graph_mut(&mut self, name: &Option<GraphName>) -> Option<&mut Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
no method named `graph_factory` found for struct `std::cell::RefMut<'_, dyn rdftk_core::model::data_set::DataSet>` in the current scope:
rdftk_io/src/common/parser/nquads.rs#L64
error[E0599]: no method named `graph_factory` found for struct `std::cell::RefMut<'_, dyn rdftk_core::model::data_set::DataSet>` in the current scope
--> rdftk_io/src/common/parser/nquads.rs:64:27
|
64 | let graphs = data_set.graph_factory();
| ^^^^^^^^^^^^^
|
help: there is a method `graph_mut` with a similar name, but with different arguments
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:99:5
|
99 | fn graph_mut(&mut self, name: &Option<GraphName>) -> Option<&mut Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L31
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:31:39
|
31 | nquad(inner_pair, data_set.borrow_mut())?;
| ^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L31
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:31:39
|
31 | nquad(inner_pair, data_set.borrow_mut())?;
| ^^^^^^^^^^^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L234
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:234:25
|
234 | graph: &Ref<'_, dyn Graph>,
| ^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/xml/writer.rs#L234
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/xml/writer.rs:234:25
|
234 | graph: &Ref<'_, dyn Graph>,
| ^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified:
rdftk_io/src/xml/writer.rs#L234
error[E0191]: the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified
--> rdftk_io/src/xml/writer.rs:234:29
|
234 | graph: &Ref<'_, dyn Graph>,
| ^^^^^ help: specify the associated types: `Graph<Literal = Type, Statement = Type>`
|
the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified:
rdftk_io/src/xml/writer.rs#L234
error[E0191]: the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified
--> rdftk_io/src/xml/writer.rs:234:29
|
234 | graph: &Ref<'_, dyn Graph>,
| ^^^^^ help: specify the associated types: `Graph<Literal = Type, Statement = Type>`
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/cursor.rs#L64
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/cursor.rs:64:28
|
64 | graph: Rc<Ref<'a, (dyn Graph + 'a)>>,
| ^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the trait `rdftk_core::model::graph::Graph` cannot be made into an object:
rdftk_io/src/turtle/writer/cursor.rs#L64
error[E0038]: the trait `rdftk_core::model::graph::Graph` cannot be made into an object
--> rdftk_io/src/turtle/writer/cursor.rs:64:28
|
64 | graph: Rc<Ref<'a, (dyn Graph + 'a)>>,
| ^^^^^^^^^^^^^^ `rdftk_core::model::graph::Graph` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/graph/mod.rs:151:29
|
151 | fn statements(&self) -> impl Iterator<Item = &Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements` references an `impl Trait` type in its return type
...
231 | fn statements_mut(&mut self) -> impl Iterator<Item = &mut Self::Statement>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `statements_mut` references an `impl Trait` type in its return type
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `rdftk_core::model::graph::Graph` for this new enum and using it instead:
rdftk_core::simple::graph::SimpleGraph
rdftk_core::simple::indexed::IndexedSimpleGraph
|
the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified:
rdftk_io/src/turtle/writer/cursor.rs#L64
error[E0191]: the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified
--> rdftk_io/src/turtle/writer/cursor.rs:64:32
|
64 | graph: Rc<Ref<'a, (dyn Graph + 'a)>>,
| ^^^^^ help: specify the associated types: `Graph<Literal = Type, Statement = Type>`
|
the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified:
rdftk_io/src/turtle/writer/cursor.rs#L64
error[E0191]: the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified
--> rdftk_io/src/turtle/writer/cursor.rs:64:32
|
64 | graph: Rc<Ref<'a, (dyn Graph + 'a)>>,
| ^^^^^ help: specify the associated types: `Graph<Literal = Type, Statement = Type>`
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L59
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:59:59
|
59 | fn nquad(input_pair: Pair<'_, Rule>, data_set: RefMut<'_, dyn DataSet>) -> Result<(), Error> {
| ^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object:
rdftk_io/src/common/parser/nquads.rs#L59
error[E0038]: the trait `rdftk_core::model::data_set::DataSet` cannot be made into an object
--> rdftk_io/src/common/parser/nquads.rs:59:59
|
59 | fn nquad(input_pair: Pair<'_, Rule>, data_set: RefMut<'_, dyn DataSet>) -> Result<(), Error> {
| ^^^^^^^^^^^ `rdftk_core::model::data_set::DataSet` cannot be made into an object
|
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>
--> /home/runner/work/rust-rdftk/rust-rdftk/rdftk_core/src/model/data_set/mod.rs:104:25
|
104 | fn graphs(&self) -> impl Iterator<Item = &Self::Graph>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because method `graphs` references an `impl Trait` type in its return type
= help: only type `rdftk_core::simple::data_set::SimpleDataSet` implements the trait, consider using it directly instead
|
the value of the associated type `Graph` in `rdftk_core::model::data_set::DataSet` must be specified:
rdftk_io/src/common/parser/nquads.rs#L59
error[E0191]: the value of the associated type `Graph` in `rdftk_core::model::data_set::DataSet` must be specified
--> rdftk_io/src/common/parser/nquads.rs:59:63
|
59 | fn nquad(input_pair: Pair<'_, Rule>, data_set: RefMut<'_, dyn DataSet>) -> Result<(), Error> {
| ^^^^^^^ help: specify the associated type: `DataSet<Graph = Type>`
|
the value of the associated type `Graph` in `rdftk_core::model::data_set::DataSet` must be specified:
rdftk_io/src/common/parser/nquads.rs#L59
error[E0191]: the value of the associated type `Graph` in `rdftk_core::model::data_set::DataSet` must be specified
--> rdftk_io/src/common/parser/nquads.rs:59:63
|
59 | fn nquad(input_pair: Pair<'_, Rule>, data_set: RefMut<'_, dyn DataSet>) -> Result<(), Error> {
| ^^^^^^^ help: specify the associated type: `DataSet<Graph = Type>`
|
the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified:
rdftk_io/src/turtle/writer/cursor.rs#L54
error[E0191]: the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified
--> rdftk_io/src/turtle/writer/cursor.rs:54:27
|
54 | graph: Rc<Ref<'a, dyn Graph>>,
| ^^^^^ help: specify the associated types: `Graph<Literal = Type, Statement = Type>`
|
the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified:
rdftk_io/src/turtle/writer/cursor.rs#L54
error[E0191]: the value of the associated types `Literal` and `Statement` in `rdftk_core::model::graph::Graph` must be specified
--> rdftk_io/src/turtle/writer/cursor.rs:54:27
|
54 | graph: Rc<Ref<'a, dyn Graph>>,
| ^^^^^ help: specify the associated types: `Graph<Literal = Type, Statement = Type>`
|
expected trait, found enum `ObjectNode`:
rdftk_io/src/turtle/writer/cursor.rs#L565
error[E0404]: expected trait, found enum `ObjectNode`
--> rdftk_io/src/turtle/writer/cursor.rs:565:41
|
565 | .object_as_subject(<&Rc<dyn ObjectNode>>::clone(&object).clone())
| ^^^^^^^^^^ not a trait
|
expected trait, found enum `ObjectNode`:
rdftk_io/src/turtle/writer/cursor.rs#L565
error[E0404]: expected trait, found enum `ObjectNode`
--> rdftk_io/src/turtle/writer/cursor.rs:565:41
|
565 | .object_as_subject(<&Rc<dyn ObjectNode>>::clone(&object).clone())
| ^^^^^^^^^^ not a trait
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/xml/writer.rs#L10
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/xml/writer.rs:10:5
|
10 | use rdftk_iri::IriRef;
| ^^^^^^^^^^^^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/xml/writer.rs#L9
error[E0432]: unresolved import `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/xml/writer.rs:9:5
|
9 | use rdftk_core::model::statement::SubjectNodeRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------
| | |
| | help: a similar name exists in the module: `SubjectNode`
| no `SubjectNodeRef` in `model::statement`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/xml/writer.rs#L8
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/xml/writer.rs:8:39
|
8 | use rdftk_core::model::graph::{Graph, GraphRef};
| ^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/xml/reader.rs#L12
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/xml/reader.rs:12:22
|
12 | use rdftk_iri::{Iri, IriRef};
| ^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/xml/reader.rs#L11
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/xml/reader.rs:11:5
|
11 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved import `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/xml/reader.rs#L10
error[E0432]: unresolved import `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/xml/reader.rs:10:5
|
10 | use rdftk_core::model::statement::SubjectNodeRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------
| | |
| | help: a similar name exists in the module: `SubjectNode`
| no `SubjectNodeRef` in `model::statement`
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/xml/reader.rs#L8
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/xml/reader.rs:8:32
|
8 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/xml/writer.rs#L10
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/xml/writer.rs:10:5
|
10 | use rdftk_iri::IriRef;
| ^^^^^^^^^^^^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/xml/writer.rs#L9
error[E0432]: unresolved import `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/xml/writer.rs:9:5
|
9 | use rdftk_core::model::statement::SubjectNodeRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------
| | |
| | help: a similar name exists in the module: `SubjectNode`
| no `SubjectNodeRef` in `model::statement`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/xml/writer.rs#L8
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/xml/writer.rs:8:39
|
8 | use rdftk_core::model::graph::{Graph, GraphRef};
| ^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/turtle/writer/turtle_writer.rs#L5
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/turtle/writer/turtle_writer.rs:5:5
|
5 | use rdftk_core::model::graph::GraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/turtle/writer/triple_type.rs#L2
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/turtle/writer/triple_type.rs:2:5
|
2 | use rdftk_iri::IriRef;
| ^^^^^^^^^^^^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/xml/reader.rs#L12
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/xml/reader.rs:12:22
|
12 | use rdftk_iri::{Iri, IriRef};
| ^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/turtle/writer/options.rs#L1
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/turtle/writer/options.rs:1:5
|
1 | use rdftk_iri::IriRef;
| ^^^^^^^^^^^^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/xml/reader.rs#L11
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/xml/reader.rs:11:5
|
11 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/turtle/writer/cursor.rs#L11
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/turtle/writer/cursor.rs:11:22
|
11 | use rdftk_iri::{Iri, IriRef};
| ^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/xml/reader.rs#L10
error[E0432]: unresolved import `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/xml/reader.rs:10:5
|
10 | use rdftk_core::model::statement::SubjectNodeRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------
| | |
| | help: a similar name exists in the module: `SubjectNode`
| no `SubjectNodeRef` in `model::statement`
|
unresolved imports `rdftk_core::model::qname`, `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/turtle/writer/cursor.rs#L8
error[E0432]: unresolved imports `rdftk_core::model::qname`, `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/turtle/writer/cursor.rs:8:5
|
8 | qname::QName,
| ^^^^^ could not find `qname` in `model`
9 | statement::{ObjectNode, ObjectNodeRef, SubjectNodeRef},
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SubjectNodeRef` in `model::statement`
| |
| no `ObjectNodeRef` in `model::statement`
|
help: a similar name exists in the module
|
9 | statement::{ObjectNode, ObjectNode, SubjectNodeRef},
| ~~~~~~~~~~
help: a similar name exists in the module
|
9 | statement::{ObjectNode, ObjectNodeRef, SubjectNode},
| ~~~~~~~~~~~
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/xml/reader.rs#L8
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/xml/reader.rs:8:32
|
8 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/turtle/writer/turtle_writer.rs#L5
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/turtle/writer/turtle_writer.rs:5:5
|
5 | use rdftk_core::model::graph::GraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/turtle/writer/triple_type.rs#L2
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/turtle/writer/triple_type.rs:2:5
|
2 | use rdftk_iri::IriRef;
| ^^^^^^^^^^^^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/turtle/reader.rs#L6
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/turtle/reader.rs:6:5
|
6 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/turtle/reader.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/turtle/reader.rs:5:32
|
5 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/turtle/writer/options.rs#L1
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/turtle/writer/options.rs:1:5
|
1 | use rdftk_iri::IriRef;
| ^^^^^^^^^^^^^^^^^ no `IriRef` in the root
|
unresolved imports `rdftk_core::model::data_set::DataSetRef`, `rdftk_core::model::graph::NamedGraphRef`:
rdftk_io/src/trig/writer.rs#L4
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetRef`, `rdftk_core::model::graph::NamedGraphRef`
--> rdftk_io/src/trig/writer.rs:4:25
|
4 | use rdftk_core::model::{data_set::DataSetRef, graph::NamedGraphRef};
| ^^^^^^^^^^---------- ^^^^^^^^^^^^^^^^^^^^ no `NamedGraphRef` in `model::graph`
| | |
| | help: a similar name exists in the module: `DataSet`
| no `DataSetRef` in `model::data_set`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/turtle/writer/cursor.rs#L11
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/turtle/writer/cursor.rs:11:22
|
11 | use rdftk_iri::{Iri, IriRef};
| ^^^^^^ no `IriRef` in the root
|
unresolved imports `rdftk_core::model::qname`, `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/turtle/writer/cursor.rs#L8
error[E0432]: unresolved imports `rdftk_core::model::qname`, `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/turtle/writer/cursor.rs:8:5
|
8 | qname::QName,
| ^^^^^ could not find `qname` in `model`
9 | statement::{ObjectNode, ObjectNodeRef, SubjectNodeRef},
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SubjectNodeRef` in `model::statement`
| |
| no `ObjectNodeRef` in `model::statement`
|
help: a similar name exists in the module
|
9 | statement::{ObjectNode, ObjectNode, SubjectNodeRef},
| ~~~~~~~~~~
help: a similar name exists in the module
|
9 | statement::{ObjectNode, ObjectNodeRef, SubjectNode},
| ~~~~~~~~~~~
|
unresolved import `rdftk_core::simple::data_set_factory`:
rdftk_io/src/trig/reader.rs#L6
error[E0432]: unresolved import `rdftk_core::simple::data_set_factory`
--> rdftk_io/src/trig/reader.rs:6:5
|
6 | use rdftk_core::simple::data_set_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `data_set_factory` in `simple`
|
unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/trig/reader.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/trig/reader.rs:5:35
|
5 | use rdftk_core::model::data_set::{DataSetFactoryRef, DataSetRef};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `DataSetRef` in `model::data_set`
| |
| no `DataSetFactoryRef` in `model::data_set`
|
help: a similar name exists in the module
|
5 | use rdftk_core::model::data_set::{DataSetFactory, DataSetRef};
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
5 | use rdftk_core::model::data_set::{DataSetFactoryRef, DataSet};
| ~~~~~~~
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/turtle/reader.rs#L6
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/turtle/reader.rs:6:5
|
6 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/turtle/reader.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/turtle/reader.rs:5:32
|
5 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved imports `rdftk_core::model::data_set::DataSetRef`, `rdftk_core::model::graph::NamedGraphRef`:
rdftk_io/src/trig/writer.rs#L4
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetRef`, `rdftk_core::model::graph::NamedGraphRef`
--> rdftk_io/src/trig/writer.rs:4:25
|
4 | use rdftk_core::model::{data_set::DataSetRef, graph::NamedGraphRef};
| ^^^^^^^^^^---------- ^^^^^^^^^^^^^^^^^^^^ no `NamedGraphRef` in `model::graph`
| | |
| | help: a similar name exists in the module: `DataSet`
| no `DataSetRef` in `model::data_set`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/nt/writer.rs#L3
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/nt/writer.rs:3:5
|
3 | use rdftk_core::model::graph::GraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/nt/reader.rs#L6
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/nt/reader.rs:6:5
|
6 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved import `rdftk_core::simple::data_set_factory`:
rdftk_io/src/trig/reader.rs#L6
error[E0432]: unresolved import `rdftk_core::simple::data_set_factory`
--> rdftk_io/src/trig/reader.rs:6:5
|
6 | use rdftk_core::simple::data_set_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `data_set_factory` in `simple`
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/nt/reader.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/nt/reader.rs:5:32
|
5 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/trig/reader.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/trig/reader.rs:5:35
|
5 | use rdftk_core::model::data_set::{DataSetFactoryRef, DataSetRef};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `DataSetRef` in `model::data_set`
| |
| no `DataSetFactoryRef` in `model::data_set`
|
help: a similar name exists in the module
|
5 | use rdftk_core::model::data_set::{DataSetFactory, DataSetRef};
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
5 | use rdftk_core::model::data_set::{DataSetFactoryRef, DataSet};
| ~~~~~~~
|
unresolved import `rdftk_core::model::graph::named`:
rdftk_io/src/nq/writer.rs#L4
error[E0432]: unresolved import `rdftk_core::model::graph::named`
--> rdftk_io/src/nq/writer.rs:4:31
|
4 | use rdftk_core::model::graph::named::NamedGraphRef;
| ^^^^^ could not find `named` in `graph`
|
unresolved import `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/nq/writer.rs#L3
error[E0432]: unresolved import `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/nq/writer.rs:3:5
|
3 | use rdftk_core::model::data_set::DataSetRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------
| | |
| | help: a similar name exists in the module: `DataSet`
| no `DataSetRef` in `model::data_set`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/nt/writer.rs#L3
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/nt/writer.rs:3:5
|
3 | use rdftk_core::model::graph::GraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/nq/reader.rs#L7
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/nq/reader.rs:7:23
|
7 | model::data_set::{DataSetFactoryRef, DataSetRef},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `DataSetRef` in `model::data_set`
| |
| no `DataSetFactoryRef` in `model::data_set`
|
help: a similar name exists in the module
|
7 | model::data_set::{DataSetFactory, DataSetRef},
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
7 | model::data_set::{DataSetFactoryRef, DataSet},
| ~~~~~~~
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/nt/reader.rs#L6
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/nt/reader.rs:6:5
|
6 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/nt/reader.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/nt/reader.rs:5:32
|
5 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved import `rdftk_core::simple::data_set_factory`:
rdftk_io/src/nq/reader.rs#L4
error[E0432]: unresolved import `rdftk_core::simple::data_set_factory`
--> rdftk_io/src/nq/reader.rs:4:5
|
4 | use rdftk_core::simple::data_set_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `data_set_factory` in `simple`
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/n3/reader.rs#L6
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/n3/reader.rs:6:5
|
6 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved import `rdftk_core::model::graph::named`:
rdftk_io/src/nq/writer.rs#L4
error[E0432]: unresolved import `rdftk_core::model::graph::named`
--> rdftk_io/src/nq/writer.rs:4:31
|
4 | use rdftk_core::model::graph::named::NamedGraphRef;
| ^^^^^ could not find `named` in `graph`
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/n3/reader.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/n3/reader.rs:5:32
|
5 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved import `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/nq/writer.rs#L3
error[E0432]: unresolved import `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/nq/writer.rs:3:5
|
3 | use rdftk_core::model::data_set::DataSetRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------
| | |
| | help: a similar name exists in the module: `DataSet`
| no `DataSetRef` in `model::data_set`
|
unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/nq/reader.rs#L7
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/nq/reader.rs:7:23
|
7 | model::data_set::{DataSetFactoryRef, DataSetRef},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `DataSetRef` in `model::data_set`
| |
| no `DataSetFactoryRef` in `model::data_set`
|
help: a similar name exists in the module
|
7 | model::data_set::{DataSetFactory, DataSetRef},
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
7 | model::data_set::{DataSetFactoryRef, DataSet},
| ~~~~~~~
|
unresolved import `rdftk_core::simple::data_set_factory`:
rdftk_io/src/nq/reader.rs#L4
error[E0432]: unresolved import `rdftk_core::simple::data_set_factory`
--> rdftk_io/src/nq/reader.rs:4:5
|
4 | use rdftk_core::simple::data_set_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `data_set_factory` in `simple`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/json/writer.rs#L8
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/json/writer.rs:8:5
|
8 | use rdftk_core::model::graph::GraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/n3/reader.rs#L6
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/n3/reader.rs:6:5
|
6 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/json/reader.rs#L13
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/json/reader.rs:13:22
|
13 | use rdftk_iri::{Iri, IriRef};
| ^^^^^^ no `IriRef` in the root
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/n3/reader.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/n3/reader.rs:5:32
|
5 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved import `rdftk_core::simple::statement::statement_factory`:
rdftk_io/src/json/reader.rs#L12
error[E0432]: unresolved import `rdftk_core::simple::statement::statement_factory`
--> rdftk_io/src/json/reader.rs:12:5
|
12 | use rdftk_core::simple::statement::statement_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------
| | |
| | help: a similar name exists in the module: `StatementFactory`
| no `statement_factory` in `simple::statement`
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/json/reader.rs#L11
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/json/reader.rs:11:5
|
11 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved import `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/json/reader.rs#L10
error[E0432]: unresolved import `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/json/reader.rs:10:5
|
10 | use rdftk_core::model::statement::SubjectNodeRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------
| | |
| | help: a similar name exists in the module: `SubjectNode`
| no `SubjectNodeRef` in `model::statement`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/json/writer.rs#L8
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/json/writer.rs:8:5
|
8 | use rdftk_core::model::graph::GraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/json/reader.rs#L13
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/json/reader.rs:13:22
|
13 | use rdftk_iri::{Iri, IriRef};
| ^^^^^^ no `IriRef` in the root
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/json/reader.rs#L8
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/json/reader.rs:8:32
|
8 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved import `rdftk_core::simple::statement::statement_factory`:
rdftk_io/src/json/reader.rs#L12
error[E0432]: unresolved import `rdftk_core::simple::statement::statement_factory`
--> rdftk_io/src/json/reader.rs:12:5
|
12 | use rdftk_core::simple::statement::statement_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------
| | |
| | help: a similar name exists in the module: `StatementFactory`
| no `statement_factory` in `simple::statement`
|
unresolved import `rdftk_core::simple::graph_factory`:
rdftk_io/src/json/reader.rs#L11
error[E0432]: unresolved import `rdftk_core::simple::graph_factory`
--> rdftk_io/src/json/reader.rs:11:5
|
11 | use rdftk_core::simple::graph_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `graph_factory` in `simple`
|
unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/dot/writer.rs#L4
error[E0432]: unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/dot/writer.rs:4:36
|
4 | use rdftk_core::model::statement::{ObjectNodeRef, SubjectNodeRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SubjectNodeRef` in `model::statement`
| |
| no `ObjectNodeRef` in `model::statement`
|
help: a similar name exists in the module
|
4 | use rdftk_core::model::statement::{ObjectNode, SubjectNodeRef};
| ~~~~~~~~~~
help: a similar name exists in the module
|
4 | use rdftk_core::model::statement::{ObjectNodeRef, SubjectNode};
| ~~~~~~~~~~~
|
unresolved import `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/json/reader.rs#L10
error[E0432]: unresolved import `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/json/reader.rs:10:5
|
10 | use rdftk_core::model::statement::SubjectNodeRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------
| | |
| | help: a similar name exists in the module: `SubjectNode`
| no `SubjectNodeRef` in `model::statement`
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/json/reader.rs#L8
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/json/reader.rs:8:32
|
8 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/dot/writer.rs#L3
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/dot/writer.rs:3:5
|
3 | use rdftk_core::model::graph::GraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/common/parser/nquads.rs#L12
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/common/parser/nquads.rs:12:5
|
12 | use rdftk_iri::IriRef;
| ^^^^^^^^^^^^^^^^^ no `IriRef` in the root
|
unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/dot/writer.rs#L4
error[E0432]: unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/dot/writer.rs:4:36
|
4 | use rdftk_core::model::statement::{ObjectNodeRef, SubjectNodeRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SubjectNodeRef` in `model::statement`
| |
| no `ObjectNodeRef` in `model::statement`
|
help: a similar name exists in the module
|
4 | use rdftk_core::model::statement::{ObjectNode, SubjectNodeRef};
| ~~~~~~~~~~
help: a similar name exists in the module
|
4 | use rdftk_core::model::statement::{ObjectNodeRef, SubjectNode};
| ~~~~~~~~~~~
|
unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/common/parser/nquads.rs#L10
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/common/parser/nquads.rs:10:23
|
10 | model::data_set::{DataSetFactoryRef, DataSetRef},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `DataSetRef` in `model::data_set`
| |
| no `DataSetFactoryRef` in `model::data_set`
|
= help: consider importing this unresolved item through its public re-export instead:
crate::common::parser::DataSetFactoryRef
= help: consider importing this unresolved item through its public re-export instead:
crate::common::parser::DataSetRef
help: a similar name exists in the module
|
10 | model::data_set::{DataSetFactory, DataSetRef},
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
10 | model::data_set::{DataSetFactoryRef, DataSet},
| ~~~~~~~
|
unresolved import `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/dot/writer.rs#L3
error[E0432]: unresolved import `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/dot/writer.rs:3:5
|
3 | use rdftk_core::model::graph::GraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphRef` in `model::graph`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/common/parser/nquads.rs#L12
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/common/parser/nquads.rs:12:5
|
12 | use rdftk_iri::IriRef;
| ^^^^^^^^^^^^^^^^^ no `IriRef` in the root
|
unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::StatementRef`, `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/common/parser/nquads.rs#L7
error[E0432]: unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::StatementRef`, `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/common/parser/nquads.rs:7:36
|
7 | use rdftk_core::model::statement::{ObjectNodeRef, StatementRef, SubjectNodeRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SubjectNodeRef` in `model::statement`
| | |
| | no `StatementRef` in `model::statement`
| no `ObjectNodeRef` in `model::statement`
|
help: a similar name exists in the module
|
7 | use rdftk_core::model::statement::{ObjectNode, StatementRef, SubjectNodeRef};
| ~~~~~~~~~~
help: a similar name exists in the module
|
7 | use rdftk_core::model::statement::{ObjectNodeRef, Statement, SubjectNodeRef};
| ~~~~~~~~~
help: a similar name exists in the module
|
7 | use rdftk_core::model::statement::{ObjectNodeRef, StatementRef, SubjectNode};
| ~~~~~~~~~~~
|
unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/common/parser/nquads.rs#L10
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/common/parser/nquads.rs:10:23
|
10 | model::data_set::{DataSetFactoryRef, DataSetRef},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `DataSetRef` in `model::data_set`
| |
| no `DataSetFactoryRef` in `model::data_set`
|
= help: consider importing this unresolved item through its public re-export instead:
crate::common::parser::DataSetFactoryRef
= help: consider importing this unresolved item through its public re-export instead:
crate::common::parser::DataSetRef
help: a similar name exists in the module
|
10 | model::data_set::{DataSetFactory, DataSetRef},
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
10 | model::data_set::{DataSetFactoryRef, DataSet},
| ~~~~~~~
|
unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::StatementRef`, `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/common/parser/nquads.rs#L7
error[E0432]: unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::StatementRef`, `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/common/parser/nquads.rs:7:36
|
7 | use rdftk_core::model::statement::{ObjectNodeRef, StatementRef, SubjectNodeRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SubjectNodeRef` in `model::statement`
| | |
| | no `StatementRef` in `model::statement`
| no `ObjectNodeRef` in `model::statement`
|
help: a similar name exists in the module
|
7 | use rdftk_core::model::statement::{ObjectNode, StatementRef, SubjectNodeRef};
| ~~~~~~~~~~
help: a similar name exists in the module
|
7 | use rdftk_core::model::statement::{ObjectNodeRef, Statement, SubjectNodeRef};
| ~~~~~~~~~
help: a similar name exists in the module
|
7 | use rdftk_core::model::statement::{ObjectNodeRef, StatementRef, SubjectNode};
| ~~~~~~~~~~~
|
unresolved import `rdftk_core::model::graph::NamedGraphRef`:
rdftk_io/src/common/parser/nquads.rs#L6
error[E0432]: unresolved import `rdftk_core::model::graph::NamedGraphRef`
--> rdftk_io/src/common/parser/nquads.rs:6:5
|
6 | use rdftk_core::model::graph::NamedGraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `NamedGraphRef` in `model::graph`
|
unresolved import `rdftk_core::model::graph::named`:
rdftk_io/src/common/parser/nquads.rs#L5
error[E0432]: unresolved import `rdftk_core::model::graph::named`
--> rdftk_io/src/common/parser/nquads.rs:5:31
|
5 | use rdftk_core::model::graph::named::{GraphName, GraphNameRef};
| ^^^^^ could not find `named` in `graph`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/common/parser/ntriples.rs#L9
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/common/parser/ntriples.rs:9:22
|
9 | use rdftk_iri::{Iri, IriRef};
| ^^^^^^ no `IriRef` in the root
|
unresolved import `rdftk_core::model::graph::NamedGraphRef`:
rdftk_io/src/common/parser/nquads.rs#L6
error[E0432]: unresolved import `rdftk_core::model::graph::NamedGraphRef`
--> rdftk_io/src/common/parser/nquads.rs:6:5
|
6 | use rdftk_core::model::graph::NamedGraphRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `NamedGraphRef` in `model::graph`
|
unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::StatementFactoryRef`, `rdftk_core::model::statement::StatementRef`, `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/common/parser/ntriples.rs#L7
error[E0432]: unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::StatementFactoryRef`, `rdftk_core::model::statement::StatementRef`, `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/common/parser/ntriples.rs:7:5
|
7 | ObjectNodeRef, StatementFactoryRef, StatementRef, SubjectNodeRef,
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SubjectNodeRef` in `model::statement`
| | | |
| | | no `StatementRef` in `model::statement`
| | no `StatementFactoryRef` in `model::statement`
| no `ObjectNodeRef` in `model::statement`
|
help: a similar name exists in the module
|
7 | ObjectNode, StatementFactoryRef, StatementRef, SubjectNodeRef,
| ~~~~~~~~~~
help: a similar name exists in the module
|
7 | ObjectNodeRef, StatementFactory, StatementRef, SubjectNodeRef,
| ~~~~~~~~~~~~~~~~
help: a similar name exists in the module
|
7 | ObjectNodeRef, StatementFactoryRef, Statement, SubjectNodeRef,
| ~~~~~~~~~
help: a similar name exists in the module
|
7 | ObjectNodeRef, StatementFactoryRef, StatementRef, SubjectNode,
| ~~~~~~~~~~~
|
unresolved import `rdftk_core::model::graph::named`:
rdftk_io/src/common/parser/nquads.rs#L5
error[E0432]: unresolved import `rdftk_core::model::graph::named`
--> rdftk_io/src/common/parser/nquads.rs:5:31
|
5 | use rdftk_core::model::graph::named::{GraphName, GraphNameRef};
| ^^^^^ could not find `named` in `graph`
|
unresolved import `rdftk_iri::IriRef`:
rdftk_io/src/common/parser/ntriples.rs#L9
error[E0432]: unresolved import `rdftk_iri::IriRef`
--> rdftk_io/src/common/parser/ntriples.rs:9:22
|
9 | use rdftk_iri::{Iri, IriRef};
| ^^^^^^ no `IriRef` in the root
|
unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::StatementFactoryRef`, `rdftk_core::model::statement::StatementRef`, `rdftk_core::model::statement::SubjectNodeRef`:
rdftk_io/src/common/parser/ntriples.rs#L7
error[E0432]: unresolved imports `rdftk_core::model::statement::ObjectNodeRef`, `rdftk_core::model::statement::StatementFactoryRef`, `rdftk_core::model::statement::StatementRef`, `rdftk_core::model::statement::SubjectNodeRef`
--> rdftk_io/src/common/parser/ntriples.rs:7:5
|
7 | ObjectNodeRef, StatementFactoryRef, StatementRef, SubjectNodeRef,
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `SubjectNodeRef` in `model::statement`
| | | |
| | | no `StatementRef` in `model::statement`
| | no `StatementFactoryRef` in `model::statement`
| no `ObjectNodeRef` in `model::statement`
|
help: a similar name exists in the module
|
7 | ObjectNode, StatementFactoryRef, StatementRef, SubjectNodeRef,
| ~~~~~~~~~~
help: a similar name exists in the module
|
7 | ObjectNodeRef, StatementFactory, StatementRef, SubjectNodeRef,
| ~~~~~~~~~~~~~~~~
help: a similar name exists in the module
|
7 | ObjectNodeRef, StatementFactoryRef, Statement, SubjectNodeRef,
| ~~~~~~~~~
help: a similar name exists in the module
|
7 | ObjectNodeRef, StatementFactoryRef, StatementRef, SubjectNode,
| ~~~~~~~~~~~
|
unresolved imports `rdftk_core::model::literal::LiteralFactoryRef`, `rdftk_core::model::literal::LiteralRef`:
rdftk_io/src/common/parser/ntriples.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::literal::LiteralFactoryRef`, `rdftk_core::model::literal::LiteralRef`
--> rdftk_io/src/common/parser/ntriples.rs:5:57
|
5 | use rdftk_core::model::literal::{DataType, LanguageTag, LiteralFactoryRef, LiteralRef};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `LiteralRef` in `model::literal`
| |
| no `LiteralFactoryRef` in `model::literal`
|
help: a similar name exists in the module
|
5 | use rdftk_core::model::literal::{DataType, LanguageTag, LiteralFactory, LiteralRef};
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
5 | use rdftk_core::model::literal::{DataType, LanguageTag, LiteralFactoryRef, Literal};
| ~~~~~~~
|
unresolved imports `rdftk_core::model::literal::LiteralFactoryRef`, `rdftk_core::model::literal::LiteralRef`:
rdftk_io/src/common/parser/ntriples.rs#L5
error[E0432]: unresolved imports `rdftk_core::model::literal::LiteralFactoryRef`, `rdftk_core::model::literal::LiteralRef`
--> rdftk_io/src/common/parser/ntriples.rs:5:57
|
5 | use rdftk_core::model::literal::{DataType, LanguageTag, LiteralFactoryRef, LiteralRef};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `LiteralRef` in `model::literal`
| |
| no `LiteralFactoryRef` in `model::literal`
|
help: a similar name exists in the module
|
5 | use rdftk_core::model::literal::{DataType, LanguageTag, LiteralFactory, LiteralRef};
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
5 | use rdftk_core::model::literal::{DataType, LanguageTag, LiteralFactoryRef, Literal};
| ~~~~~~~
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/common/parser/ntriples.rs#L4
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/common/parser/ntriples.rs:4:32
|
4 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
= help: consider importing this unresolved item through its public re-export instead:
crate::common::parser::GraphFactoryRef
= help: consider importing this unresolved item through its public re-export instead:
crate::common::parser::GraphRef
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/common/parser/ntriples.rs#L4
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/common/parser/ntriples.rs:4:32
|
4 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
= help: consider importing this unresolved item through its public re-export instead:
crate::common::parser::GraphFactoryRef
= help: consider importing this unresolved item through its public re-export instead:
crate::common::parser::GraphRef
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/common/parser/mod.rs#L7
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/common/parser/mod.rs:7:32
|
7 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`:
rdftk_io/src/common/parser/mod.rs#L7
error[E0432]: unresolved imports `rdftk_core::model::graph::GraphFactoryRef`, `rdftk_core::model::graph::GraphRef`
--> rdftk_io/src/common/parser/mod.rs:7:32
|
7 | use rdftk_core::model::graph::{GraphFactoryRef, GraphRef};
| ^^^^^^^^^^^^^^^ ^^^^^^^^ no `GraphRef` in `model::graph`
| |
| no `GraphFactoryRef` in `model::graph`
| help: a similar name exists in the module: `GraphFactory`
|
unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/common/parser/mod.rs#L6
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/common/parser/mod.rs:6:35
|
6 | use rdftk_core::model::data_set::{DataSetFactoryRef, DataSetRef};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `DataSetRef` in `model::data_set`
| |
| no `DataSetFactoryRef` in `model::data_set`
|
help: a similar name exists in the module
|
6 | use rdftk_core::model::data_set::{DataSetFactory, DataSetRef};
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
6 | use rdftk_core::model::data_set::{DataSetFactoryRef, DataSet};
| ~~~~~~~
|
unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`:
rdftk_io/src/common/parser/mod.rs#L6
error[E0432]: unresolved imports `rdftk_core::model::data_set::DataSetFactoryRef`, `rdftk_core::model::data_set::DataSetRef`
--> rdftk_io/src/common/parser/mod.rs:6:35
|
6 | use rdftk_core::model::data_set::{DataSetFactoryRef, DataSetRef};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `DataSetRef` in `model::data_set`
| |
| no `DataSetFactoryRef` in `model::data_set`
|
help: a similar name exists in the module
|
6 | use rdftk_core::model::data_set::{DataSetFactory, DataSetRef};
| ~~~~~~~~~~~~~~
help: a similar name exists in the module
|
6 | use rdftk_core::model::data_set::{DataSetFactoryRef, DataSet};
| ~~~~~~~
|
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: 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 following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|