Package: src:rust-axum
Version: 0.7.9-10
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
[ Note: Maybe this is related to #1094199, but version 0.7.9-3 built ok
for me, while version 0.7.9-10 now seems to always fail ]
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean --buildsystem=rust
/usr/share/dh-rust/bin/cargo clean
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=1'] [] ['-j1'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
Removed 0 files
dh_clean -XCargo.toml.orig
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=rust
[... snipped ...]
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:80:11
|
80 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:99:11
|
99 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:118:11
|
118 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:138:11
|
138 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:165:11
|
165 | #[cfg(all(feature = "make", feature = "original-uri", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:186:11
|
186 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:210:11
|
210 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:221:11
|
221 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:255:11
|
255 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:280:11
|
280 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:329:11
|
329 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:346:11
|
346 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:363:11
|
363 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:400:11
|
400 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:424:11
|
424 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:426:11
|
426 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:428:11
|
428 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:430:11
|
430 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:432:11
|
432 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:434:11
|
434 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:436:11
|
436 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:438:11
|
438 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:440:11
|
440 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:442:11
|
442 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:444:11
|
444 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/routing/tests/nest.rs:446:11
|
446 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unused import: `std::collections::HashMap`
axum/src/routing/tests/nest.rs:2:5
|
2 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `tower_http::services::ServeDir`
axum/src/routing/tests/nest.rs:3:5
|
3 | use tower_http::services::ServeDir;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unexpected `cfg` condition value: `make`
axum/src/test_helpers/mod.rs:8:11
|
8 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `make`
--> axum/src/test_helpers/mod.rs:10:11
|
10 | #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `__private_docs`, `default`, `form`, `http1`, `http2`, `json`, `macros`, `matched-path`, `original-uri`, `query`, `tokio`, `tower-log`, `tracing`, and `ws`
= help: consider adding `make` as a feature in `Cargo.toml`
= note: see <
https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unused imports: `extract::Request` and `response::Response`
axum/src/test_helpers/mod.rs:3:13
|
3 | use crate::{extract::Request, response::Response};
| ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::serve`
axum/src/test_helpers/mod.rs:6:5
|
6 | use crate::serve;
| ^^^^^^^^^^^^
warning: unused import: `tokio_stream::StreamExt`
--> axum/src/response/sse.rs:537:9
|
537 | use tokio_stream::StreamExt as _;
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `HandlerWithoutStateExt`
axum/src/routing/tests/mod.rs:5:24
|
5 | handler::{Handler, HandlerWithoutStateExt},
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `Handler`
axum/src/routing/tests/mod.rs:5:15
|
5 | handler::{Handler, HandlerWithoutStateExt},
| ^^^^^^^
warning: unused import: `futures_util::stream::StreamExt`
--> axum/src/routing/tests/mod.rs:25:5
|
25 | use futures_util::stream::StreamExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `handler::Handler`
--> axum/src/middleware/from_extractor.rs:306:30
|
306 | use crate::{async_trait, handler::Handler, routing::get, test_helpers::*, Router};
| ^^^^^^^^^^^^^^^^
warning: function `parse_event` is never used
--> axum/src/response/sse.rs:685:8
|
685 | fn parse_event(payload: &str) -> HashMap<String, String> {
| ^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: function `inner_fallback` is never used
--> axum/src/routing/tests/fallback.rs:81:10
|
81 | async fn inner_fallback() -> impl IntoResponse {
| ^^^^^^^^^^^^^^
warning: function `outer_fallback` is never used
--> axum/src/routing/tests/fallback.rs:85:10
|
85 | async fn outer_fallback() -> impl IntoResponse {
| ^^^^^^^^^^^^^^
warning: function `unit` is never used
axum/src/routing/tests/handle_error.rs:5:10
|
5 | async fn unit() {}
| ^^^^
warning: function `forever` is never used
axum/src/routing/tests/handle_error.rs:7:10
|
7 | async fn forever() {
| ^^^^^^^
warning: function `timeout` is never used
--> axum/src/routing/tests/handle_error.rs:11:4
|
11 | fn timeout() -> TimeoutLayer {
| ^^^^^^^
warning: function `all_the_uris` is never used
--> axum/src/routing/tests/merge.rs:228:10
|
228 | async fn all_the_uris(
| ^^^^^^^^^^^^
warning: function `capture_tracing` is never used
--> axum/src/test_helpers/tracing_helpers.rs:17:21
|
17 | pub(crate) async fn capture_tracing<T, F, Fut>(f: F) -> Vec<TracingEvent<T>>
| ^^^^^^^^^^^^^^^
warning: associated function `new` is never used
--> axum/src/test_helpers/tracing_helpers.rs:54:8
|
53 | impl TestMakeWriter {
| ------------------- associated function in this implementation
54 | fn new() -> (Self, Handle) {
| ^^^
warning: struct `Handle` is never constructed
--> axum/src/test_helpers/tracing_helpers.rs:96:8
|
96 | struct Handle {
| ^^^^^^
warning: method `take` is never used
--> axum/src/test_helpers/tracing_helpers.rs:101:8
|
100 | impl Handle {
| ----------- method in this implementation
101 | fn take(self) -> String {
| ^^^^
warning: struct `CountingCloneableState` is never constructed
axum/src/test_helpers/counting_cloneable_state.rs:6:19
|
6 | pub(crate) struct CountingCloneableState {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: struct `InnerState` is never constructed
--> axum/src/test_helpers/counting_cloneable_state.rs:10:8
|
10 | struct InnerState {
| ^^^^^^^^^^
warning: associated items `new`, `setup_done`, and `count` are never used
--> axum/src/test_helpers/counting_cloneable_state.rs:16:19
|
15 | impl CountingCloneableState {
| --------------------------- associated items in this implementation
16 | pub(crate) fn new() -> Self {
| ^^^
...
26 | pub(crate) fn setup_done(&self) {
| ^^^^^^^^^^
...
30 | pub(crate) fn count(&self) -> usize {
| ^^^^^
warning: `axum` (lib test) generated 236 warnings (9 duplicates) (run `cargo fix --lib -p axum --tests` to apply 44 suggestions)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=axum_macros CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/axum-macros CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/axum-macros/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Macros for axum' CARGO_PKG_HOMEPAGE='
https://github.com/tokio-rs/axum' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=axum-macros CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='
https://github.com/tokio-rs/axum' CARGO_PKG_RUST_VERSION=1.66 CARGO_PKG_VERSION=0.4.2 CARGO_PKG_
VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name axum_macros --edition=2021 axum-macros/src/lib.rs --error-format=
json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="__private"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-
cfg 'cfg(feature, values("__private", "default"))' -C metadata=8c4f731a72806886 -C extra-filename=-4f320f2251d2b1c2 --out-dir /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern proc_macro2=
/<<PKGBUILDDIR>>/target/release/deps/libproc_macro2-994c5f3504bf0702.rlib --extern quote=/<<PKGBUILDDIR>>/target/release/deps/libquote-2fbb8a089d2ca160.rlib --extern rustversion=/<<PKGBUILDDIR>>/target/release/deps/librustversion-10869681b1ec82fe.so --
extern serde=/<<PKGBUILDDIR>>/target/release/deps/libserde-f952486d8c322826.rlib --extern serde_json=/<<PKGBUILDDIR>>/target/release/deps/libserde_json-c7e13d6f5bc8fc3a.rlib --extern syn=/<<PKGBUILDDIR>>/target/release/deps/libsyn-629895448444df89.rlib --
extern tokio=/<<PKGBUILDDIR>>/target/release/deps/libtokio-ee73382353a5473d.rlib --extern trybuild=/<<PKGBUILDDIR>>/target/release/deps/libtrybuild-13a95c231f522a67.rlib --extern proc_macro`
warning: `axum-macros` (lib test) generated 28 warnings (28 duplicates)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=axum_extra CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/axum-extra CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/axum-extra/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Extra utilities for axum' CARGO_PKG_
HOMEPAGE='
https://github.com/tokio-rs/axum' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=axum-extra CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='
https://github.com/tokio-rs/axum' CARGO_PKG_RUST_VERSION=1.66 CARGO_PKG_VERSION=0.9.6
CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=6 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/build/
axum-extra-b15b04b5f9e9669f/out rustc --crate-name axum_extra --edition=2021 axum-extra/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --che
ck-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("async-read-body", "attachment", "cookie", "cookie-key-expansion", "cookie-private", "cookie-signed", "fastrand", "form", "in-workspace", "json-deserializer", "json-lines", "protobuf", "query", "
tracing", "typed-header", "typed-routing"))' -C metadata=ad0160196183bcda -C extra-filename=-3c194db8504cefdc --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/<<
PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern axum=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libaxum-b5e71ac6c0368bf0.rlib --extern axum_core=/<<PKGBUILDDIR>>/
target/x86_64-unknown-linux-gnu/release/deps/libaxum_core-35774d7af333bd1e.rlib --extern axum_macros=/<<PKGBUILDDIR>>/target/release/deps/libaxum_macros-84cd6618b0d241ef.so --extern bytes=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/re
lease/deps/libbytes-049891ee00809e23.rlib --extern futures_util=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libfutures_util-069b2b0a80567db2.rlib --extern http=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libhttp-
1748305ffd0335e2.rlib --extern http_body=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libhttp_body-bbc2be5fd6eca95a.rlib --extern http_body_util=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libhttp_body_util-
16643cb690dfc22a.rlib --extern hyper=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libhyper-66a1d0fc34574366.rlib --extern mime=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libmime-ca908edba7cf742a.rlib --extern pin_
project_lite=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libpin_project_lite-dfd4321d542a4701.rlib --extern reqwest=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libreqwest-f8745fe67fcb015a.rlib --extern serde=/<<
PKGBUILDDIR
/target/x86_64-unknown-linux-gnu/release/deps/libserde-ed93fb0d8e08cd1f.rlib --extern serde_json=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-0b322a34f0477cee.rlib --extern tokio=/<<PKGBUILDDIR>>/target/x86_64-unknown-
linux-gnu/release/deps/libtokio-2596e1ef4f147c16.rlib --extern tower=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtower-0c6c0b60c11e5e72.rlib --extern tower_http=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtower_
http-36c276426667d0da.rlib --extern tower_layer=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtower_layer-755127e7643f220a.rlib --extern tower_service=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtower_service-
58b220a2076bd222.rlib --remap-path-prefix axum-core_0.4.5=/usr/share/cargo/registry/axum-core-0.4.5 --remap-path-prefix axum_0.7.9=/usr/share/cargo/registry/axum-0.7.9 --remap-path-prefix axum-extra_0.9.6=/usr/share/cargo/registry/axum-extra-0.
9.6 --remap-path-prefix axum-macros_0.4.2=/usr/share/cargo/registry/axum-macros-0.4.2 --cfg 'feature="in-workspace"'`
error: an inner attribute is not permitted in this context
/<<PKGBUILDDIR>>/axum-extra/../axum/src/test_helpers/test_client.rs:1:1
|
1 | #![cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 |
3 | use super::{serve, Request, Response};
| -------------------------------------- the inner attribute doesn't annotate this `use` import
|
= note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
help: to annotate the `use` import, change the attribute from inner to outer style
|
1 - #![cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
1 + #[cfg(all(feature = "make", feature = "tokio", any(feature = "http1", feature = "http2")))]
|
error[E0433]: failed to resolve: could not find `test` in the crate root
--> axum-extra/src/extract/optional_path.rs:71:14
|
71 | #[crate::test]
| ^^^^ could not find `test` in the crate root
|
note: found an item that was configured out
--> axum-extra/src/lib.rs:115:41
|
115 | use axum_macros::__private_axum_test as test;
| ^^^^
note: the item is gated behind the `typed-routing` feature
--> axum-extra/src/lib.rs:113:7
|
113 | #[cfg(feature = "typed-routing")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0433`.
warning: `axum-extra` (lib test) generated 6 warnings (6 duplicates)
error: could not compile `axum-extra` (lib test) due to 2 previous errors; 6 warnings emitted
Caused by:
[continued in next message]
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)