Skip to content

Feature: syntax to represent enums in openapi raw type object notatio… #645

Feature: syntax to represent enums in openapi raw type object notatio…

Feature: syntax to represent enums in openapi raw type object notatio… #645

Triggered via push May 14, 2024 15:40
Status Success
Total duration 1m 32s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

34 warnings
Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Check
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/
Check
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/
Check
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/
Check
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/
field `syn` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L71
warning: field `syn` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:71:9 | 69 | pub struct ImplItem<'b> { | -------- field in this struct 70 | pub im: &'b Impl<'b>, 71 | pub syn: &'b SynImplItem, | ^^^ | = note: `ImplItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L51
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:51:9 | 50 | pub struct Struct<'b> { | ------ fields in this struct 51 | pub item: &'b Item<'b>, | ^^^^ 52 | pub syn: &'b SynItemStruct, | ^^^ | = note: `Struct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L45
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:45:9 | 44 | pub struct Enum<'b> { | ---- fields in this struct 45 | pub item: &'b Item<'b>, | ^^^^ 46 | pub syn: &'b SynItemEnum, | ^^^ | = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L39
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:39:9 | 38 | pub struct Use<'b> { | --- fields in this struct 39 | pub item: &'b Item<'b>, | ^^^^ 40 | pub syn: &'b SynItemUse, | ^^^ | = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L32
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:32:10 | 32 | Enum(Enum<'b>), | ---- ^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 32 | Enum(()), | ~~
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L31
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:31:12 | 31 | Struct(Struct<'b>), | ------ ^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 31 | Struct(()), | ~~
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L30
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:30:9 | 30 | Use(Use<'b>), | --- ^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 30 | Use(()), | ~~
fields `target` and `path` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/file.rs#L13
warning: fields `target` and `path` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/file.rs:13:9 | 12 | pub struct File<'b> { | ---- fields in this struct 13 | pub target: &'b Target<'b>, | ^^^^^^ 14 | pub file: SynFile, 15 | pub path: String, | ^^^^ | = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
field `syn` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L71
warning: field `syn` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:71:9 | 69 | pub struct ImplItem<'b> { | -------- field in this struct 70 | pub im: &'b Impl<'b>, 71 | pub syn: &'b SynImplItem, | ^^^ | = note: `ImplItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L51
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:51:9 | 50 | pub struct Struct<'b> { | ------ fields in this struct 51 | pub item: &'b Item<'b>, | ^^^^ 52 | pub syn: &'b SynItemStruct, | ^^^ | = note: `Struct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L45
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:45:9 | 44 | pub struct Enum<'b> { | ---- fields in this struct 45 | pub item: &'b Item<'b>, | ^^^^ 46 | pub syn: &'b SynItemEnum, | ^^^ | = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L39
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:39:9 | 38 | pub struct Use<'b> { | --- fields in this struct 39 | pub item: &'b Item<'b>, | ^^^^ 40 | pub syn: &'b SynItemUse, | ^^^ | = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L32
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:32:10 | 32 | Enum(Enum<'b>), | ---- ^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 32 | Enum(()), | ~~
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L31
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:31:12 | 31 | Struct(Struct<'b>), | ------ ^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 31 | Struct(()), | ~~
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L30
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:30:9 | 30 | Use(Use<'b>), | --- ^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 30 | Use(()), | ~~
fields `target` and `path` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/file.rs#L13
warning: fields `target` and `path` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/file.rs:13:9 | 12 | pub struct File<'b> { | ---- fields in this struct 13 | pub target: &'b Target<'b>, | ^^^^^^ 14 | pub file: SynFile, 15 | pub path: String, | ^^^^ | = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
Lints
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Lints
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/
Lints
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/
Lints
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/
Lints
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/
Test Suite
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Test Suite
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/
Test Suite
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/
Test Suite
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/
Test Suite
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/