Version bump to v0.15.0 #674
Annotations
73 warnings
build (macos-latest)
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/
|
build (macos-latest)
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/
|
build (macos-latest)
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/
|
build (macos-latest)
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/
|
build (macos-latest)
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
build (macos-latest)
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
build (macos-latest):
ion-schema/src/isl/isl_type_reference.rs#L1
unused import: `crate::ion_extension::ElementExtensions`
|
build (macos-latest)
`ion-schema` (lib) generated 1 warning
|
build (macos-latest)
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
build (macos-latest)
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
build (macos-latest):
ion-schema/src/isl/isl_type_reference.rs#L1
unused import: `crate::ion_extension::ElementExtensions`
|
build (macos-latest)
`ion-schema` (lib) generated 1 warning
|
build (macos-latest):
ion-schema/src/isl/mod.rs#L895
unused `Result` that must be used
|
build (macos-latest):
ion-schema/src/isl/mod.rs#L895
unused `Result` that must be used
|
build (macos-latest):
ion-schema/src/isl/mod.rs#L894
unused `Result` that must be used
|
build (macos-latest)
`ion-schema` (lib test) generated 331 warnings (328 duplicates)
|
build (macos-latest)
the following packages contain code that will be rejected by a future version of Rust: rstest v0.9.0
|
empty line after outer attribute:
ion-schema/src/violation.rs#L213
warning: empty line after outer attribute
--> ion-schema/src/violation.rs:213:1
|
213 | / #[macro_export]
214 | |
| |_
...
217 | macro_rules! assert_non_equivalent_violations {
| --------------------------------------------- the attribute applies to this macro
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
= note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default
= help: if the empty line is unintentional remove it
|
unneeded `return` statement:
ion-schema/src/system.rs#L176
warning: unneeded `return` statement
--> ion-schema/src/system.rs:176:9
|
176 | / return match self.ids_by_name.get(import_type_name) {
177 | | Some(id) => self.types_by_id[*id]
178 | | .to_owned()
179 | | .map(|type_def| match type_def {
... |
213 | | }
214 | | };
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
176 ~ match self.ids_by_name.get(import_type_name) {
177 + Some(id) => self.types_by_id[*id]
178 + .to_owned()
179 + .map(|type_def| match type_def {
180 + TypeDefinitionKind::Named(named_type_def) => Ok(named_type_def),
181 + TypeDefinitionKind::Anonymous(_) => {
182 + unreachable!(
183 + "The TypeDefinition for the imported type '{}' was Anonymous.",
184 + import_type_name
185 + )
186 + }
187 + TypeDefinitionKind::BuiltIn(_) => {
188 + unreachable!(
189 + "The TypeDefinition for the imported type '{}' was a builtin type.",
190 + import_type_name
191 + )
192 + }
193 + }),
194 + None => {
195 + match type_store.get_defined_type_id_or_imported_type_id_by_name(import_type_name) {
196 + Some(id) => match type_store.types_by_id[*id].to_owned() {
197 + TypeDefinitionKind::Named(named_type_def) => Some(Ok(named_type_def)),
198 + TypeDefinitionKind::Anonymous(_) => {
199 + unreachable!(
200 + "The TypeDefinition for the imported type '{}' was Anonymous.",
201 + import_type_name
202 + )
203 + }
204 + TypeDefinitionKind::BuiltIn(_) => {
205 + unreachable!(
206 + "The TypeDefinition for the imported type '{}' was a builtin type.",
207 + import_type_name
208 + )
209 + }
210 + },
211 + None => None,
212 + }
213 + }
214 ~ }
|
|
doc list item without indentation:
ion-schema/src/system.rs#L96
warning: doc list item without indentation
--> ion-schema/src/system.rs:96:9
|
96 | /// Otherwise, returns false if this update is for an isl import type and it is not yet added to the type_store.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
96 | /// Otherwise, returns false if this update is for an isl import type and it is not yet added to the type_store.
| ++
|
doc list item without indentation:
ion-schema/src/system.rs#L95
warning: doc list item without indentation
--> ion-schema/src/system.rs:95:9
|
95 | /// Returns true, if this update is not for an isl import type or it is for an isl import type but it is added to the type_store
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
95 | /// Returns true, if this update is not for an isl import type or it is for an isl import type but it is added to the type_store
| ++
|
doc list item without indentation:
ion-schema/src/system.rs#L55
warning: doc list item without indentation
--> ion-schema/src/system.rs:55:5
|
55 | /// [`PendingTypes`] can be promoted the [`TypeStore`].
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
55 | /// [`PendingTypes`] can be promoted the [`TypeStore`].
| ++
|
doc list item without indentation:
ion-schema/src/system.rs#L54
warning: doc list item without indentation
--> ion-schema/src/system.rs:54:5
|
54 | /// [`SchemaSystem`] finishes loading these types, the type definitions in
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
54 | /// [`SchemaSystem`] finishes loading these types, the type definitions in
| ++
|
doc list item without indentation:
ion-schema/src/system.rs#L53
warning: doc list item without indentation
--> ion-schema/src/system.rs:53:5
|
53 | /// that we do not have a complete definition for yet. When the
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
53 | /// that we do not have a complete definition for yet. When the
| ++
|
doc list item without indentation:
ion-schema/src/system.rs#L52
warning: doc list item without indentation
--> ion-schema/src/system.rs:52:5
|
52 | /// An instance of [`PendingTypes`] is used to track information about types
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
52 | /// An instance of [`PendingTypes`] is used to track information about types
| ++
|
doc list item without indentation:
ion-schema/src/system.rs#L51
warning: doc list item without indentation
--> ion-schema/src/system.rs:51:5
|
51 | /// of these types, it cannot find them in the [`TypeStore`].
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
51 | /// of these types, it cannot find them in the [`TypeStore`].
| ++
|
doc list item without indentation:
ion-schema/src/system.rs#L50
warning: doc list item without indentation
--> ion-schema/src/system.rs:50:5
|
50 | /// Because the [`SchemaSystem`] does not yet know the complete definition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
50 | /// Because the [`SchemaSystem`] does not yet know the complete definition
| ++
|
doc list item without indentation:
ion-schema/src/schema.rs#L6
warning: doc list item without indentation
--> ion-schema/src/schema.rs:6:5
|
6 | //! It returns the [`TypeDefinition`] if it is defined in the [`Schema`] otherwise returns [`None`].
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
6 | //! It returns the [`TypeDefinition`] if it is defined in the [`Schema`] otherwise returns [`None`].
| ++
|
all variants have the same prefix: `Cannot`:
ion-schema/src/ordered_elements_nfa.rs#L426
warning: all variants have the same prefix: `Cannot`
--> ion-schema/src/ordered_elements_nfa.rs:426:1
|
426 | / enum TraversalError {
427 | | CannotEnterState(StateId, Violation),
428 | | CannotExitState(StateId),
429 | | CannotReEnterState(StateId),
430 | | }
| |_^
|
= help: remove the prefixes and use full paths to the variants instead of glob imports
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
doc list item without indentation:
ion-schema/src/isl/mod.rs#L15
warning: doc list item without indentation
--> ion-schema/src/isl/mod.rs:15:5
|
15 | //! The type reference grammar is defined in the [Ion Schema Specification]
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | //! The type reference grammar is defined in the [Ion Schema Specification]
| ++
|
doc list item without indentation:
ion-schema/src/isl/mod.rs#L12
warning: doc list item without indentation
--> ion-schema/src/isl/mod.rs:12:5
|
12 | //! which converts given ion content in the schema file into an ISL constraint(not-yet-resolved constraints).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | //! which converts given ion content in the schema file into an ISL constraint(not-yet-resolved constraints).
| ++
|
doc list item without indentation:
ion-schema/src/isl/mod.rs#L9
warning: doc list item without indentation
--> ion-schema/src/isl/mod.rs:9:5
|
9 | //! into an ISL import. It stores schema id, an optional type that needs to be imported and an optional alias to that type.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | //! into an ISL import. It stores schema id, an optional type that needs to be imported and an optional alias to that type.
| ++
|
doc list item without indentation:
ion-schema/src/isl/mod.rs#L6
warning: doc list item without indentation
--> ion-schema/src/isl/mod.rs:6:5
|
6 | //! into an ISL types(not-yet-resolved types). It stores `IslConstraint`s defined within the given type.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
6 | //! into an ISL types(not-yet-resolved types). It stores `IslConstraint`s defined within the given type.
| ++
|
the following explicit lifetimes could be elided: 'a:
ion-schema/src/ion_schema_element.rs#L170
warning: the following explicit lifetimes could be elided: 'a
--> ion-schema/src/ion_schema_element.rs:170:6
|
170 | impl<'a> Display for IonSchemaElement<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
170 - impl<'a> Display for IonSchemaElement<'a> {
170 + impl Display for IonSchemaElement<'_> {
|
|
this call to `map()` won't have an effect on the call to `count()`:
ion-schema/src/constraint.rs#L1143
warning: this call to `map()` won't have an effect on the call to `count()`
--> ion-schema/src/constraint.rs:1143:13
|
1143 | strukt.fields().map(|(k, v)| v).count()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: make sure you did not confuse `map` with `filter`, `for_each` or `inspect`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_map
= note: `#[warn(clippy::suspicious_map)]` on by default
|
unused import: `crate::ion_extension::ElementExtensions`:
ion-schema/src/isl/isl_type_reference.rs#L1
warning: unused import: `crate::ion_extension::ElementExtensions`
--> ion-schema/src/isl/isl_type_reference.rs:1:5
|
1 | use crate::ion_extension::ElementExtensions;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (ubuntu-latest)
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
build (ubuntu-latest)
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
build (ubuntu-latest):
ion-schema/src/isl/isl_type_reference.rs#L1
unused import: `crate::ion_extension::ElementExtensions`
|
build (ubuntu-latest)
`ion-schema` (lib) generated 1 warning
|
build (ubuntu-latest)
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
build (ubuntu-latest)
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
build (ubuntu-latest)
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
build (ubuntu-latest)
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
build (ubuntu-latest):
ion-schema/src/isl/isl_type_reference.rs#L1
unused import: `crate::ion_extension::ElementExtensions`
|
build (ubuntu-latest)
`ion-schema` (lib) generated 1 warning
|
build (ubuntu-latest):
ion-schema/src/isl/mod.rs#L895
unused `Result` that must be used
|
build (ubuntu-latest):
ion-schema/src/isl/mod.rs#L895
unused `Result` that must be used
|
build (ubuntu-latest):
ion-schema/src/isl/mod.rs#L894
unused `Result` that must be used
|
build (ubuntu-latest)
`ion-schema` (lib test) generated 331 warnings (328 duplicates)
|
build (ubuntu-latest)
the following packages contain code that will be rejected by a future version of Rust: rstest v0.9.0
|
build (ubuntu-latest)
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/
|
build (ubuntu-latest)
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/
|
build (ubuntu-latest)
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/
|
build (ubuntu-latest)
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/
|
build (windows-latest)
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
build (windows-latest)
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
build (windows-latest):
ion-schema/src/isl/isl_type_reference.rs#L1
unused import: `crate::ion_extension::ElementExtensions`
|
build (windows-latest)
`ion-schema` (lib) generated 1 warning
|
build (windows-latest):
ion-schema/src/isl/mod.rs#L895
unused `Result` that must be used
|
build (windows-latest):
ion-schema/src/isl/mod.rs#L895
unused `Result` that must be used
|
build (windows-latest):
ion-schema/src/isl/mod.rs#L894
unused `Result` that must be used
|
build (windows-latest)
`ion-schema` (lib test) generated 331 warnings (328 duplicates)
|
build (windows-latest)
the following packages contain code that will be rejected by a future version of Rust: rstest v0.9.0
|
build (windows-latest)
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/
|
build (windows-latest)
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/
|
build (windows-latest)
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/
|
build (windows-latest)
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/
|
build (windows-latest)
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
build (windows-latest)
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
build (windows-latest):
ion-schema/src/isl/isl_type_reference.rs#L1
unused import: `crate::ion_extension::ElementExtensions`
|
build (windows-latest)
`ion-schema` (lib) generated 1 warning
|