Update Rust crate remi-fs to 0.9.0 #582
Annotations
16 errors and 9 warnings
`remi_fs::StorageService` doesn't implement `std::fmt::Debug`:
src/lib.rs#L26
error[E0277]: `remi_fs::StorageService` doesn't implement `std::fmt::Debug`
--> src/templates/resolver/filesystem.rs:26:39
|
25 | #[derive(Debug, Clone)]
| ----- in this derive macro expansion
26 | pub struct FilesystemTemplateResolver(FilesystemStorageService);
| ^^^^^^^^^^^^^^^^^^^^^^^^ `remi_fs::StorageService` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `remi_fs::StorageService`, which is required by `&remi_fs::StorageService: std::fmt::Debug`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
|
no method named `init` found for struct `remi_fs::StorageService` in the current scope:
src/lib.rs#L37
error[E0599]: no method named `init` found for struct `remi_fs::StorageService` in the current scope
--> src/templates/resolver/filesystem.rs:37:16
|
37 | self.0.init().await.map_err(Report::from)
| ^^^^ method not found in `StorageService`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/remi-0.6.3/src/lib.rs:65:14
|
65 | async fn init(&self) -> Result<(), Self::Error> {
| ---- the method is available for `remi_fs::StorageService` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
16 + use remi::StorageService;
|
|
no method named `open` found for struct `remi_fs::StorageService` in the current scope:
src/lib.rs#L42
error[E0599]: no method named `open` found for struct `remi_fs::StorageService` in the current scope
--> src/templates/resolver/filesystem.rs:42:14
|
41 | / self.0
42 | | .open(path)
| | -^^^^ method not found in `StorageService`
| |_____________|
|
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/remi-0.6.3/src/lib.rs:73:14
|
73 | async fn open<P: AsRef<Path> + Send>(&self, path: P) -> Result<Option<Bytes>, Self::Error>;
| ---- the method is available for `remi_fs::StorageService` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
16 + use remi::StorageService;
|
|
aborting due to 3 previous errors; 9 warnings emitted
error: aborting due to 3 previous errors; 9 warnings emitted
|
Clippy!
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
|
Clippy!
{
"rendered": "Some errors have detailed explanations: E0277, E0599.\n",
"$message_type": "diagnostic",
"children": [],
"code": null,
"level": "failure-note",
"message": "Some errors have detailed explanations: E0277, E0599.",
"spans": []
}
|
Rust CI on Linux (x86_64) with toolchain nightly
Process completed with exit code 101.
|
Rust CI on Windows with toolchain nightly
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on macOS (x86_64) with toolchain nightly
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on macOS (x86_64) with toolchain nightly
The operation was canceled.
|
Rust CI on Windows with toolchain stable
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on Windows with toolchain stable
A task was canceled.
|
Rust CI on macOS (x86_64) with toolchain stable
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on macOS (x86_64) with toolchain stable
The operation was canceled.
|
Rust CI on Linux (x86_64) with toolchain stable
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on Linux (x86_64) with toolchain stable
The operation was canceled.
|
use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`:
src/lib.rs#L20
warning: use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`
--> src/templates.rs:20:14
|
20 | use remi_fs::FilesystemStorageConfig;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`:
src/lib.rs#L30
warning: use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`
--> src/templates.rs:30:16
|
30 | Filesystem(FilesystemStorageConfig),
| ^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`:
src/lib.rs#L42
warning: use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`
--> src/templates.rs:42:22
|
42 | let config = FilesystemStorageConfig::new(String::from("./templates"));
| ^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`:
src/lib.rs#L21
warning: use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`
--> src/templates/resolver/filesystem.rs:21:15
|
21 | use remi_fs::{FilesystemStorageConfig, FilesystemStorageService};
| ^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated type alias `remi_fs::FilesystemStorageService`: `FilesystemStorageService` has been renamed to `StorageService`, this will be removed in v0.7.0:
src/lib.rs#L21
warning: use of deprecated type alias `remi_fs::FilesystemStorageService`: `FilesystemStorageService` has been renamed to `StorageService`, this will be removed in v0.7.0
--> src/templates/resolver/filesystem.rs:21:40
|
21 | use remi_fs::{FilesystemStorageConfig, FilesystemStorageService};
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated type alias `remi_fs::FilesystemStorageService`: `FilesystemStorageService` has been renamed to `StorageService`, this will be removed in v0.7.0:
src/lib.rs#L26
warning: use of deprecated type alias `remi_fs::FilesystemStorageService`: `FilesystemStorageService` has been renamed to `StorageService`, this will be removed in v0.7.0
--> src/templates/resolver/filesystem.rs:26:39
|
26 | pub struct FilesystemTemplateResolver(FilesystemStorageService);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`:
src/lib.rs#L29
warning: use of deprecated type alias `remi_fs::FilesystemStorageConfig`: `FilesystemStorageConfig` was renamed to `Config`
--> src/templates/resolver/filesystem.rs:29:24
|
29 | pub fn new(config: FilesystemStorageConfig) -> FilesystemTemplateResolver {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated type alias `remi_fs::FilesystemStorageService`: `FilesystemStorageService` has been renamed to `StorageService`, this will be removed in v0.7.0:
src/lib.rs#L30
warning: use of deprecated type alias `remi_fs::FilesystemStorageService`: `FilesystemStorageService` has been renamed to `StorageService`, this will be removed in v0.7.0
--> src/templates/resolver/filesystem.rs:30:36
|
30 | FilesystemTemplateResolver(FilesystemStorageService::with_config(config))
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `remi_core::StorageService`:
src/lib.rs#L20
warning: unused import: `remi_core::StorageService`
--> src/templates/resolver/filesystem.rs:20:5
|
20 | use remi_core::StorageService;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|