[INFO] fetching crate fastrust 0.3.1... [INFO] testing fastrust-0.3.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate fastrust 0.3.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate fastrust 0.3.1 [INFO] finished tweaking crates.io crate fastrust 0.3.1 [INFO] tweaked toml for crates.io crate fastrust 0.3.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastrust 0.3.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fastrust 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref-cast-impl v1.0.25 [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded serde_derive_internals v0.29.1 [INFO] [stderr] Downloaded ref-cast v1.0.25 [INFO] [stderr] Downloaded schemars v1.2.1 [INFO] [stderr] Downloaded schemars_derive v1.2.1 [INFO] [stderr] Downloaded openapiv3 v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b5ef90cb3c6698ec65d2d6d3779e13f7098582c7fcdca6824718ab94178306f [INFO] running `Command { std: "docker" "start" "-a" "4b5ef90cb3c6698ec65d2d6d3779e13f7098582c7fcdca6824718ab94178306f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b5ef90cb3c6698ec65d2d6d3779e13f7098582c7fcdca6824718ab94178306f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b5ef90cb3c6698ec65d2d6d3779e13f7098582c7fcdca6824718ab94178306f", kill_on_drop: false }` [INFO] [stdout] 4b5ef90cb3c6698ec65d2d6d3779e13f7098582c7fcdca6824718ab94178306f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df05408af50d34914ee494ac32efdae23187152c1486e8addce430cee3f6002e [INFO] running `Command { std: "docker" "start" "-a" "df05408af50d34914ee494ac32efdae23187152c1486e8addce430cee3f6002e", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openapiv3 v2.2.0 [INFO] [stderr] Compiling schemars v1.2.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling fastrust v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.47s [INFO] running `Command { std: "docker" "inspect" "df05408af50d34914ee494ac32efdae23187152c1486e8addce430cee3f6002e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df05408af50d34914ee494ac32efdae23187152c1486e8addce430cee3f6002e", kill_on_drop: false }` [INFO] [stdout] df05408af50d34914ee494ac32efdae23187152c1486e8addce430cee3f6002e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 017a7797b6130d7565631b2ce2d1a7472724f29919acee67a84b680d0889c9c6 [INFO] running `Command { std: "docker" "start" "-a" "017a7797b6130d7565631b2ce2d1a7472724f29919acee67a84b680d0889c9c6", kill_on_drop: false }` [INFO] [stderr] Compiling fastrust v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "017a7797b6130d7565631b2ce2d1a7472724f29919acee67a84b680d0889c9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "017a7797b6130d7565631b2ce2d1a7472724f29919acee67a84b680d0889c9c6", kill_on_drop: false }` [INFO] [stdout] 017a7797b6130d7565631b2ce2d1a7472724f29919acee67a84b680d0889c9c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d42beefccd9e7956163334e8025ed3715f29ae221ad515f4a70682202d0321c3 [INFO] running `Command { std: "docker" "start" "-a" "d42beefccd9e7956163334e8025ed3715f29ae221ad515f4a70682202d0321c3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastrust-34ca2b633d16e638) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fastrust [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp (line 17) - compile ... ok [INFO] [stdout] test src/app/openapi.rs - app::openapi::APIApp::generate_openapi_str (line 28) - compile ... ok [INFO] [stdout] test src/routing/route.rs - routing::route::Route::new (line 85) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp (line 35) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 8) - compile ... ok [INFO] [stdout] test src/app/server.rs - app::server::APIApp::run (line 36) - compile ... ok [INFO] [stdout] test src/routing/router.rs - routing::router::APIRouter (line 50) ... FAILED [INFO] [stdout] test src/routing/router.rs - routing::router::APIRouter (line 72) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp::new_with_state (line 128) ... ok [INFO] [stdout] test src/routing/router.rs - routing::router::APIRouter::new (line 100) ... FAILED [INFO] [stdout] test src/path.rs - path::canonicalize_path (line 21) ... ok [INFO] [stdout] test src/routing/router.rs - routing::router::APIRouter::include_router (line 133) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp::set_title (line 165) ... ok [INFO] [stdout] test src/routing/route_config.rs - routing::route_config::RouteConfig (line 24) ... ok [INFO] [stdout] test src/routing/route_config.rs - routing::route_config::RouteConfig::new (line 57) ... ok [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp::register_router (line 287) ... ok [INFO] [stdout] test src/app/swagger.rs - app::swagger::APIApp::swagger_html (line 26) ... ok [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp::set_version (line 207) ... ok [INFO] [stdout] test src/routing/route_config.rs - routing::route_config::RouteConfig::ok (line 115) ... ok [INFO] [stdout] test src/routing/route_config.rs - routing::route_config::RouteConfig::response (line 140) ... ok [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp<()>::new (line 106) ... ok [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp::set_openapi_path (line 225) ... ok [INFO] [stdout] test src/app/builder.rs - app::builder::APIApp::set_docs_path (line 243) ... ok [INFO] [stdout] test src/routing/route_config.rs - routing::route_config::RouteConfig::empty_response (line 168) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/routing/route.rs - routing::route::Route::new (line 85) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `fastrust::routing::Route` [INFO] [stdout] --> src/routing/route.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | use fastrust::routing::{Route, Method}; [INFO] [stdout] | ^^^^^ no `Route` in `routing` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] axum::routing::Route [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 87 - use fastrust::routing::{Route, Method}; [INFO] [stdout] 87 + use fastrust::routing::{route, Method}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: module `routing` is private [INFO] [stdout] --> src/routing/route.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | use fastrust::routing::{Route, Method}; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `routing` is defined here [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | mod routing; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `routing` is private [INFO] [stdout] --> src/routing/route.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | use fastrust::routing::{Route, Method}; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead: [INFO] [stdout] fastrust::Method [INFO] [stdout] --> src/routing/route.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | use fastrust::routing::{Route, Method}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the module `routing` is defined here [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | mod routing; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/routing/router.rs - routing::router::APIRouter (line 50) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `APIRouter<_>` [INFO] [stdout] --> src/routing/router.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | let mut api = APIRouter::new("/api"); [INFO] [stdout] | ^^^^^^^ ---------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Clone` [INFO] [stdout] note: required by a bound in `APIRouter::::new` [INFO] [stdout] --> src/routing/router.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `APIRouter::::new` [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn new(prefix: impl Into) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider giving `api` an explicit type, where the type for type parameter `S` is specified [INFO] [stdout] | [INFO] [stdout] 59 | let mut api: APIRouter = APIRouter::new("/api"); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/routing/router.rs - routing::router::APIRouter (line 72) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `APIRouter<_>` [INFO] [stdout] --> src/routing/router.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | let mut api = APIRouter::new("/api"); [INFO] [stdout] | ^^^^^^^ ---------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Clone` [INFO] [stdout] note: required by a bound in `APIRouter::::new` [INFO] [stdout] --> src/routing/router.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `APIRouter::::new` [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn new(prefix: impl Into) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider giving `api` an explicit type, where the type for type parameter `S` is specified [INFO] [stdout] | [INFO] [stdout] 76 | let mut api: APIRouter = APIRouter::new("/api"); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/routing/router.rs - routing::router::APIRouter::new (line 100) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `APIRouter<_>` [INFO] [stdout] --> src/routing/router.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | let api = APIRouter::new("/api"); [INFO] [stdout] | ^^^ ---------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Clone` [INFO] [stdout] note: required by a bound in `APIRouter::::new` [INFO] [stdout] --> src/routing/router.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `APIRouter::::new` [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn new(prefix: impl Into) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider giving `api` an explicit type, where the type for type parameter `S` is specified [INFO] [stdout] | [INFO] [stdout] 104 | let api: APIRouter = APIRouter::new("/api"); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/routing/router.rs - routing::router::APIRouter::include_router (line 133) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `APIRouter<_>` [INFO] [stdout] --> src/routing/router.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | let mut api = APIRouter::new("/api"); [INFO] [stdout] | ^^^^^^^ ---------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Clone` [INFO] [stdout] note: required by a bound in `APIRouter::::new` [INFO] [stdout] --> src/routing/router.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `APIRouter::::new` [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn new(prefix: impl Into) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider giving `api` an explicit type, where the type for type parameter `S` is specified [INFO] [stdout] | [INFO] [stdout] 137 | let mut api: APIRouter = APIRouter::new("/api"); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/routing/route.rs - routing::route::Route::new (line 85) [INFO] [stdout] src/routing/router.rs - routing::router::APIRouter (line 50) [INFO] [stdout] src/routing/router.rs - routing::router::APIRouter (line 72) [INFO] [stdout] src/routing/router.rs - routing::router::APIRouter::include_router (line 133) [INFO] [stdout] src/routing/router.rs - routing::router::APIRouter::new (line 100) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 19 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.56s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.96s; merged doctests compilation took 0.40s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d42beefccd9e7956163334e8025ed3715f29ae221ad515f4a70682202d0321c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42beefccd9e7956163334e8025ed3715f29ae221ad515f4a70682202d0321c3", kill_on_drop: false }` [INFO] [stdout] d42beefccd9e7956163334e8025ed3715f29ae221ad515f4a70682202d0321c3