fix #90
Annotations
10 warnings
Build and Test (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
unused variable: `e`:
src/encode.rs#L28
warning: unused variable: `e`
--> src/encode.rs:28:13
|
28 | Err(e) => { Err(format!("{error_prefix}Not a valid base64 encoded string")) }
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `ion_rs::types::Struct`:
src/encode.rs#L9
warning: unused import: `ion_rs::types::Struct`
--> src/encode.rs:9:5
|
9 | use ion_rs::types::Struct;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ion_rs::IonError::IoError`:
src/encode.rs#L8
warning: unused import: `ion_rs::IonError::IoError`
--> src/encode.rs:8:5
|
8 | use ion_rs::IonError::IoError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `IonError`, `IonResult`:
src/encode.rs#L6
warning: unused imports: `IonError`, `IonResult`
--> src/encode.rs:6:26
|
6 | use ion_rs::{ion_struct, IonError, IonResult};
| ^^^^^^^^ ^^^^^^^^^
|
unused import: `DecodeError`:
src/encode.rs#L4
warning: unused import: `DecodeError`
--> src/encode.rs:4:14
|
4 | use base64::{DecodeError, Engine};
| ^^^^^^^^^^^
|
unused import: `std::io::ErrorKind`:
src/encode.rs#L2
warning: unused import: `std::io::ErrorKind`
--> src/encode.rs:2:5
|
2 | use std::io::ErrorKind;
| ^^^^^^^^^^^^^^^^^^
|
unused imports: `Error`, `format`:
src/encode.rs#L1
warning: unused imports: `Error`, `format`
--> src/encode.rs:1:16
|
1 | use std::fmt::{Error, format};
| ^^^^^ ^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Build and Test (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build and Test (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|