feat: add core to stdlib #34
Annotations
18 errors and 6 warnings
unused import: `HasBody`:
sdml-parse/src/parse/definitions/rdf.rs#L6
error: unused import: `HasBody`
--> sdml-parse/src/parse/definitions/rdf.rs:6:24
|
6 | use sdml_core::model::{HasBody, HasSourceSpan};
| ^^^^^^^
|
unused import: `HasBody`:
sdml-parse/src/parse/definitions/rdf.rs#L6
error: unused import: `HasBody`
--> sdml-parse/src/parse/definitions/rdf.rs:6:24
|
6 | use sdml_core::model::{HasBody, HasSourceSpan};
| ^^^^^^^
|
unused import: `HasSourceSpan`:
sdml-parse/src/parse/definitions/rdf.rs#L6
error: unused import: `HasSourceSpan`
--> sdml-parse/src/parse/definitions/rdf.rs:6:33
|
6 | use sdml_core::model::{HasBody, HasSourceSpan};
| ^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
unused import: `HasSourceSpan`:
sdml-parse/src/parse/definitions/rdf.rs#L6
error: unused import: `HasSourceSpan`
--> sdml-parse/src/parse/definitions/rdf.rs:6:33
|
6 | use sdml_core::model::{HasBody, HasSourceSpan};
| ^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
no associated item named `Property` found for struct `sdml_core::model::definitions::RdfDef` in the current scope:
sdml-parse/src/parse/definitions/rdf.rs#L39
error[E0599]: no associated item named `Property` found for struct `sdml_core::model::definitions::RdfDef` in the current scope
--> sdml-parse/src/parse/definitions/rdf.rs:39:51
|
39 | NODE_KIND_RDF_TYPE_PROPERTY => Ok(RdfDef::Property(rdf_def)),
| ^^^^^^^^
| |
| associated item not found in `RdfDef`
| help: there is an associated function with a similar name: `property`
|
note: if you're trying to build a new `sdml_core::model::definitions::RdfDef` consider using one of the following associated functions:
sdml_core::model::definitions::RdfDef::new
sdml_core::model::definitions::RdfDef::class
sdml_core::model::definitions::RdfDef::datatype
sdml_core::model::definitions::RdfDef::property
sdml_core::model::definitions::RdfDef::individual
--> /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/model/definitions/rdf.rs:77:5
|
77 | fn new(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
85 | pub fn class(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
93 | pub fn datatype(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
101 | pub fn property(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
109 | pub fn individual(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
no associated item named `Class` found for struct `sdml_core::model::definitions::RdfDef` in the current scope:
sdml-parse/src/parse/definitions/rdf.rs#L38
error[E0599]: no associated item named `Class` found for struct `sdml_core::model::definitions::RdfDef` in the current scope
--> sdml-parse/src/parse/definitions/rdf.rs:38:48
|
38 | NODE_KIND_RDF_TYPE_CLASS => Ok(RdfDef::Class(rdf_def)),
| ^^^^^
| |
| associated item not found in `RdfDef`
| help: there is an associated function with a similar name (notice the capitalization): `class`
|
note: if you're trying to build a new `sdml_core::model::definitions::RdfDef` consider using one of the following associated functions:
sdml_core::model::definitions::RdfDef::new
sdml_core::model::definitions::RdfDef::class
sdml_core::model::definitions::RdfDef::datatype
sdml_core::model::definitions::RdfDef::property
sdml_core::model::definitions::RdfDef::individual
--> /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/model/definitions/rdf.rs:77:5
|
77 | fn new(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
85 | pub fn class(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
93 | pub fn datatype(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
101 | pub fn property(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
109 | pub fn individual(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
no associated item named `Property` found for struct `sdml_core::model::definitions::RdfDef` in the current scope:
sdml-parse/src/parse/definitions/rdf.rs#L39
error[E0599]: no associated item named `Property` found for struct `sdml_core::model::definitions::RdfDef` in the current scope
--> sdml-parse/src/parse/definitions/rdf.rs:39:51
|
39 | NODE_KIND_RDF_TYPE_PROPERTY => Ok(RdfDef::Property(rdf_def)),
| ^^^^^^^^
| |
| associated item not found in `RdfDef`
| help: there is an associated function with a similar name: `property`
|
note: if you're trying to build a new `sdml_core::model::definitions::RdfDef` consider using one of the following associated functions:
sdml_core::model::definitions::RdfDef::new
sdml_core::model::definitions::RdfDef::class
sdml_core::model::definitions::RdfDef::datatype
sdml_core::model::definitions::RdfDef::property
sdml_core::model::definitions::RdfDef::individual
--> /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/model/definitions/rdf.rs:77:5
|
77 | fn new(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
85 | pub fn class(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
93 | pub fn datatype(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
101 | pub fn property(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
109 | pub fn individual(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
no associated item named `Class` found for struct `sdml_core::model::definitions::RdfDef` in the current scope:
sdml-parse/src/parse/definitions/rdf.rs#L38
error[E0599]: no associated item named `Class` found for struct `sdml_core::model::definitions::RdfDef` in the current scope
--> sdml-parse/src/parse/definitions/rdf.rs:38:48
|
38 | NODE_KIND_RDF_TYPE_CLASS => Ok(RdfDef::Class(rdf_def)),
| ^^^^^
| |
| associated item not found in `RdfDef`
| help: there is an associated function with a similar name (notice the capitalization): `class`
|
note: if you're trying to build a new `sdml_core::model::definitions::RdfDef` consider using one of the following associated functions:
sdml_core::model::definitions::RdfDef::new
sdml_core::model::definitions::RdfDef::class
sdml_core::model::definitions::RdfDef::datatype
sdml_core::model::definitions::RdfDef::property
sdml_core::model::definitions::RdfDef::individual
--> /home/runner/work/rust-sdml/rust-sdml/sdml-core/src/model/definitions/rdf.rs:77:5
|
77 | fn new(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
85 | pub fn class(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
93 | pub fn datatype(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
101 | pub fn property(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
109 | pub fn individual(name: Identifier) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
no associated item named `Property` found for struct `sdml_core::model::definitions::RdfDef` in the current scope:
sdml-generate/src/convert/sexpr.rs#L1438
error[E0599]: no associated item named `Property` found for struct `sdml_core::model::definitions::RdfDef` in the current scope
--> sdml-generate/src/convert/sexpr.rs:1438:17
|
1438 | RdfDef::Property(v) => {
| ^^^^^^^^
| |
| associated item not found in `RdfDef`
| help: there is an associated function with a similar name: `property`
|
no associated item named `Property` found for struct `sdml_core::model::definitions::RdfDef` in the current scope:
sdml-generate/src/convert/sexpr.rs#L1438
error[E0599]: no associated item named `Property` found for struct `sdml_core::model::definitions::RdfDef` in the current scope
--> sdml-generate/src/convert/sexpr.rs:1438:17
|
1438 | RdfDef::Property(v) => {
| ^^^^^^^^
| |
| associated item not found in `RdfDef`
| help: there is an associated function with a similar name: `property`
|
no associated item named `Class` found for struct `sdml_core::model::definitions::RdfDef` in the current scope:
sdml-generate/src/convert/sexpr.rs#L1433
error[E0599]: no associated item named `Class` found for struct `sdml_core::model::definitions::RdfDef` in the current scope
--> sdml-generate/src/convert/sexpr.rs:1433:17
|
1433 | RdfDef::Class(v) => {
| ^^^^^
| |
| associated item not found in `RdfDef`
| help: there is an associated function with a similar name (notice the capitalization): `class`
|
no associated item named `Class` found for struct `sdml_core::model::definitions::RdfDef` in the current scope:
sdml-generate/src/convert/sexpr.rs#L1433
error[E0599]: no associated item named `Class` found for struct `sdml_core::model::definitions::RdfDef` in the current scope
--> sdml-generate/src/convert/sexpr.rs:1433:17
|
1433 | RdfDef::Class(v) => {
| ^^^^^
| |
| associated item not found in `RdfDef`
| help: there is an associated function with a similar name (notice the capitalization): `class`
|
unresolved imports `sdml_core::syntax::NODE_KIND_RDF_TYPE_CLASS`, `sdml_core::syntax::NODE_KIND_RDF_TYPE_PROPERTY`:
sdml-parse/src/parse/definitions/rdf.rs#L8
error[E0432]: unresolved imports `sdml_core::syntax::NODE_KIND_RDF_TYPE_CLASS`, `sdml_core::syntax::NODE_KIND_RDF_TYPE_PROPERTY`
--> sdml-parse/src/parse/definitions/rdf.rs:8:56
|
8 | FIELD_NAME_BODY, FIELD_NAME_NAME, FIELD_NAME_TYPE, NODE_KIND_RDF_TYPE_CLASS,
| ^^^^^^^^^^^^^^^^^^^^^^^^ no `NODE_KIND_RDF_TYPE_CLASS` in `syntax`
9 | NODE_KIND_RDF_TYPE_PROPERTY,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `NODE_KIND_RDF_TYPE_PROPERTY` in `syntax`
|
help: a similar name exists in the module
|
8 | FIELD_NAME_BODY, FIELD_NAME_NAME, FIELD_NAME_TYPE, NODE_KIND_RDF_TYPES,
| ~~~~~~~~~~~~~~~~~~~
help: a similar name exists in the module
|
9 | NODE_KIND_ANNOTATION_PROPERTY,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
unresolved import `sdml_core::model::definitions::RdfDefBody`:
sdml-parse/src/parse/definitions/rdf.rs#L5
error[E0432]: unresolved import `sdml_core::model::definitions::RdfDefBody`
--> sdml-parse/src/parse/definitions/rdf.rs:5:45
|
5 | use sdml_core::model::definitions::{RdfDef, RdfDefBody};
| ^^^^^^^^^^ no `RdfDefBody` in `model::definitions`
|
unresolved imports `sdml_core::syntax::NODE_KIND_RDF_TYPE_CLASS`, `sdml_core::syntax::NODE_KIND_RDF_TYPE_PROPERTY`:
sdml-parse/src/parse/definitions/rdf.rs#L8
error[E0432]: unresolved imports `sdml_core::syntax::NODE_KIND_RDF_TYPE_CLASS`, `sdml_core::syntax::NODE_KIND_RDF_TYPE_PROPERTY`
--> sdml-parse/src/parse/definitions/rdf.rs:8:56
|
8 | FIELD_NAME_BODY, FIELD_NAME_NAME, FIELD_NAME_TYPE, NODE_KIND_RDF_TYPE_CLASS,
| ^^^^^^^^^^^^^^^^^^^^^^^^ no `NODE_KIND_RDF_TYPE_CLASS` in `syntax`
9 | NODE_KIND_RDF_TYPE_PROPERTY,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `NODE_KIND_RDF_TYPE_PROPERTY` in `syntax`
|
help: a similar name exists in the module
|
8 | FIELD_NAME_BODY, FIELD_NAME_NAME, FIELD_NAME_TYPE, NODE_KIND_RDF_TYPES,
| ~~~~~~~~~~~~~~~~~~~
help: a similar name exists in the module
|
9 | NODE_KIND_ANNOTATION_PROPERTY,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
unresolved import `sdml_core::model::definitions::RdfDefBody`:
sdml-parse/src/parse/definitions/rdf.rs#L5
error[E0432]: unresolved import `sdml_core::model::definitions::RdfDefBody`
--> sdml-parse/src/parse/definitions/rdf.rs:5:45
|
5 | use sdml_core::model::definitions::{RdfDef, RdfDefBody};
| ^^^^^^^^^^ no `RdfDefBody` in `model::definitions`
|
unresolved imports `sdml_core::syntax::NODE_KIND_RDF_TYPE_CLASS`, `sdml_core::syntax::NODE_KIND_RDF_TYPE_PROPERTY`:
sdml-generate/src/convert/sexpr.rs#L74
error[E0432]: unresolved imports `sdml_core::syntax::NODE_KIND_RDF_TYPE_CLASS`, `sdml_core::syntax::NODE_KIND_RDF_TYPE_PROPERTY`
--> sdml-generate/src/convert/sexpr.rs:74:118
|
74 | ...ODE_KIND_RDF_DEF, NODE_KIND_RDF_TYPE_CLASS, NODE_KIND_RDF_TYPE_PROPERTY,
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `NODE_KIND_RDF_TYPE_PROPERTY` in `syntax`
| |
| no `NODE_KIND_RDF_TYPE_CLASS` in `syntax`
|
help: a similar name exists in the module
|
74 | NODE_KIND_VALUE_VARIANT, NODE_KIND_WILDCARD, FIELD_NAME_VERSION_INFO, FIELD_NAME_VERSION_URI, NODE_KIND_RDF_DEF, NODE_KIND_RDF_TYPES, NODE_KIND_RDF_TYPE_PROPERTY,
| ~~~~~~~~~~~~~~~~~~~
help: a similar name exists in the module
|
74 | NODE_KIND_VALUE_VARIANT, NODE_KIND_WILDCARD, FIELD_NAME_VERSION_INFO, FIELD_NAME_VERSION_URI, NODE_KIND_RDF_DEF, NODE_KIND_RDF_TYPE_CLASS, NODE_KIND_ANNOTATION_PROPERTY,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
unresolved imports `sdml_core::syntax::NODE_KIND_RDF_TYPE_CLASS`, `sdml_core::syntax::NODE_KIND_RDF_TYPE_PROPERTY`:
sdml-generate/src/convert/sexpr.rs#L74
error[E0432]: unresolved imports `sdml_core::syntax::NODE_KIND_RDF_TYPE_CLASS`, `sdml_core::syntax::NODE_KIND_RDF_TYPE_PROPERTY`
--> sdml-generate/src/convert/sexpr.rs:74:118
|
74 | ...ODE_KIND_RDF_DEF, NODE_KIND_RDF_TYPE_CLASS, NODE_KIND_RDF_TYPE_PROPERTY,
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `NODE_KIND_RDF_TYPE_PROPERTY` in `syntax`
| |
| no `NODE_KIND_RDF_TYPE_CLASS` in `syntax`
|
help: a similar name exists in the module
|
74 | NODE_KIND_VALUE_VARIANT, NODE_KIND_WILDCARD, FIELD_NAME_VERSION_INFO, FIELD_NAME_VERSION_URI, NODE_KIND_RDF_DEF, NODE_KIND_RDF_TYPES, NODE_KIND_RDF_TYPE_PROPERTY,
| ~~~~~~~~~~~~~~~~~~~
help: a similar name exists in the module
|
74 | NODE_KIND_VALUE_VARIANT, NODE_KIND_WILDCARD, FIELD_NAME_VERSION_INFO, FIELD_NAME_VERSION_URI, NODE_KIND_RDF_DEF, NODE_KIND_RDF_TYPE_CLASS, NODE_KIND_ANNOTATION_PROPERTY,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
security_audit
1 warnings found!
|
security_audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
security_audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
security_audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
security_audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|