Update Rust crate axum to 0.7.0 - autoclosed #84
Annotations
4 errors and 6 warnings
mismatched types:
src/http_handler.rs#L90
error[E0308]: mismatched types
--> src/http_handler.rs:90:13
|
90 | method,
| ^^^^^^ expected `reqwest::Method`, found `axum::http::Method`
|
= note: `axum::http::Method` and `reqwest::Method` have similar names, but are actually distinct types
note: `axum::http::Method` is defined in crate `http`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-1.0.0/src/method.rs:46:1
|
46 | pub struct Method(Inner);
| ^^^^^^^^^^^^^^^^^
note: `reqwest::Method` is defined in crate `http`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.11/src/method.rs:46:1
|
46 | pub struct Method(Inner);
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `http` are being used?
|
mismatched types:
src/http_handler.rs#L89
error[E0308]: mismatched types
--> src/http_handler.rs:89:13
|
89 | headers,
| ^^^^^^^ expected `hyper::HeaderMap`, found `axum::http::HeaderMap`
|
= note: `axum::http::HeaderMap` and `hyper::HeaderMap` have similar names, but are actually distinct types
note: `axum::http::HeaderMap` is defined in crate `http`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-1.0.0/src/header/map.rs:45:1
|
45 | pub struct HeaderMap<T = HeaderValue> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `hyper::HeaderMap` is defined in crate `http`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.11/src/header/map.rs:45:1
|
45 | pub struct HeaderMap<T = HeaderValue> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `http` are being used?
|
failed to resolve: could not find `Server` in `axum`:
src/http_handler.rs#L136
error[E0433]: failed to resolve: could not find `Server` in `axum`
--> src/http_handler.rs:136:11
|
136 | axum::Server::bind(s).serve(app.into_make_service()).await
| ^^^^^^ could not find `Server` in `axum`
|
rust
Clippy had exited with the 101 exit code
|
rust
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1.0.7, actions-rs/clippy-check@v1.0.7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
rust
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1.0.7, actions-rs/clippy-check@v1.0.7. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
rust
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/
|
rust
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/
|
rust
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/
|
rust
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/
|