Skip to content

Fixes ordered_elements implementation (#225) #668

Fixes ordered_elements implementation (#225)

Fixes ordered_elements implementation (#225) #668

Triggered via push October 26, 2024 01:21
Status Success
Total duration 3m 19s
Artifacts

rust.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

82 warnings
build (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/mod.rs#L190
type `SchemaHeader` is more private than the item `SchemaContent::Header::0`
build (macos-latest): ion-schema/src/isl/mod.rs#L192
type `SchemaFooter` is more private than the item `SchemaContent::Footer::0`
build (macos-latest)
`ion-schema` (lib) generated 2 warnings
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/mod.rs#L190
type `SchemaHeader` is more private than the item `SchemaContent::Header::0`
build (macos-latest): ion-schema/src/isl/mod.rs#L192
type `SchemaFooter` is more private than the item `SchemaContent::Footer::0`
build (macos-latest)
`ion-schema` (lib) generated 2 warnings
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 332 warnings (329 duplicates)
build (macos-latest)
the following packages contain code that will be rejected by a future version of Rust: rstest v0.9.0
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. | ++
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
type `isl::SchemaFooter` is more private than the item `isl::SchemaContent::Footer::0`: ion-schema/src/isl/mod.rs#L192
warning: type `isl::SchemaFooter` is more private than the item `isl::SchemaContent::Footer::0` --> ion-schema/src/isl/mod.rs:192:12 | 192 | Footer(SchemaFooter), | ^^^^^^^^^^^^ field `isl::SchemaContent::Footer::0` is reachable at visibility `pub` | note: but type `isl::SchemaFooter` is only usable at visibility `pub(self)` --> ion-schema/src/isl/mod.rs:330:1 | 330 | struct SchemaFooter { | ^^^^^^^^^^^^^^^^^^^
type `isl::SchemaHeader` is more private than the item `isl::SchemaContent::Header::0`: ion-schema/src/isl/mod.rs#L190
warning: type `isl::SchemaHeader` is more private than the item `isl::SchemaContent::Header::0` --> ion-schema/src/isl/mod.rs:190:12 | 190 | Header(SchemaHeader), | ^^^^^^^^^^^^ field `isl::SchemaContent::Header::0` is reachable at visibility `pub` | note: but type `isl::SchemaHeader` is only usable at visibility `pub(self)` --> ion-schema/src/isl/mod.rs:297:1 | 297 | struct SchemaHeader { | ^^^^^^^^^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default
build (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-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/
build (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-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/
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/mod.rs#L190
type `SchemaHeader` is more private than the item `SchemaContent::Header::0`
build (ubuntu-latest): ion-schema/src/isl/mod.rs#L192
type `SchemaFooter` is more private than the item `SchemaContent::Footer::0`
build (ubuntu-latest)
`ion-schema` (lib) generated 2 warnings
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/mod.rs#L190
type `SchemaHeader` is more private than the item `SchemaContent::Header::0`
build (ubuntu-latest): ion-schema/src/isl/mod.rs#L192
type `SchemaFooter` is more private than the item `SchemaContent::Footer::0`
build (ubuntu-latest)
`ion-schema` (lib) generated 2 warnings
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 332 warnings (329 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)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/mod.rs#L190
type `SchemaHeader` is more private than the item `SchemaContent::Header::0`
build (windows-latest): ion-schema/src/isl/mod.rs#L192
type `SchemaFooter` is more private than the item `SchemaContent::Footer::0`
build (windows-latest)
`ion-schema` (lib) generated 2 warnings
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 332 warnings (329 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/mod.rs#L190
type `SchemaHeader` is more private than the item `SchemaContent::Header::0`
build (windows-latest): ion-schema/src/isl/mod.rs#L192
type `SchemaFooter` is more private than the item `SchemaContent::Footer::0`
build (windows-latest)
`ion-schema` (lib) generated 2 warnings