[INFO] fetching crate reign_router 0.2.1... [INFO] testing reign_router-0.2.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate reign_router 0.2.1 into /workspace/builds/worker-33/source [INFO] validating manifest of crates.io crate reign_router 0.2.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate reign_router 0.2.1 [INFO] finished tweaking crates.io crate reign_router 0.2.1 [INFO] tweaked toml for crates.io crate reign_router 0.2.1 written to /workspace/builds/worker-33/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92a5c72289b3a5950ac5623e290b080d2b555f7e1215c861edae54e6884c17f0 [INFO] running `Command { std: "docker" "start" "-a" "92a5c72289b3a5950ac5623e290b080d2b555f7e1215c861edae54e6884c17f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92a5c72289b3a5950ac5623e290b080d2b555f7e1215c861edae54e6884c17f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a5c72289b3a5950ac5623e290b080d2b555f7e1215c861edae54e6884c17f0", kill_on_drop: false }` [INFO] [stdout] 92a5c72289b3a5950ac5623e290b080d2b555f7e1215c861edae54e6884c17f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 882763270e25028cb2caa4d1e59405571722cc4fc36e7cf1cce2d08c23df4674 [INFO] running `Command { std: "docker" "start" "-a" "882763270e25028cb2caa4d1e59405571722cc4fc36e7cf1cce2d08c23df4674", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling reign_router v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `router` [INFO] [stdout] --> src/service.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | router: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Service` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/service.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.81s [INFO] running `Command { std: "docker" "inspect" "882763270e25028cb2caa4d1e59405571722cc4fc36e7cf1cce2d08c23df4674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882763270e25028cb2caa4d1e59405571722cc4fc36e7cf1cce2d08c23df4674", kill_on_drop: false }` [INFO] [stdout] 882763270e25028cb2caa4d1e59405571722cc4fc36e7cf1cce2d08c23df4674 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2164c4dee0b9f9575d60f31db8a4cc8bf53a11a603fe6031021988f03cf6553f [INFO] running `Command { std: "docker" "start" "-a" "2164c4dee0b9f9575d60f31db8a4cc8bf53a11a603fe6031021988f03cf6553f", kill_on_drop: false }` [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stdout] warning: field is never read: `router` [INFO] [stdout] --> src/service.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | router: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Service` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/service.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling version-sync v0.9.4 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling reign_router v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `router` [INFO] [stdout] --> src/service.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | router: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Service` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/service.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.43s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/reign_router-5ddfaa23e3cbcfc3) [INFO] [stderr] Executable tests/constraints.rs (/opt/rustwide/target/debug/deps/constraints-998882c08ecdda3f) [INFO] [stderr] Executable tests/headers_default.rs (/opt/rustwide/target/debug/deps/headers_default-11893edf05533173) [INFO] [stderr] Executable tests/methods.rs (/opt/rustwide/target/debug/deps/methods-518dee79ac1086d6) [INFO] [stderr] Executable tests/paths.rs (/opt/rustwide/target/debug/deps/paths-63b177f246c2d97f) [INFO] [stderr] Executable tests/version_sync.rs (/opt/rustwide/target/debug/deps/version_sync-d7b54792383caa6d) [INFO] running `Command { std: "docker" "inspect" "2164c4dee0b9f9575d60f31db8a4cc8bf53a11a603fe6031021988f03cf6553f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2164c4dee0b9f9575d60f31db8a4cc8bf53a11a603fe6031021988f03cf6553f", kill_on_drop: false }` [INFO] [stdout] 2164c4dee0b9f9575d60f31db8a4cc8bf53a11a603fe6031021988f03cf6553f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11ba12fa62d9c397f35ec484261209b96abc9ee8c04a52b1e4d433d212ee39df [INFO] running `Command { std: "docker" "start" "-a" "11ba12fa62d9c397f35ec484261209b96abc9ee8c04a52b1e4d433d212ee39df", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `router` [INFO] [stderr] --> src/service.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | router: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Service` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/service.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `reign_router` (lib) generated 1 warning [INFO] [stderr] warning: `reign_router` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reign_router-5ddfaa23e3cbcfc3) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test middleware::runtime::test::test_dur_to_string_micro_seconds ... ok [INFO] [stdout] test middleware::runtime::test::test_dur_to_string_seconds ... ok [INFO] [stdout] test middleware::runtime::test::test_dur_to_string_milli_seconds ... ok [INFO] [stdout] test path::test::test_regex_param_static ... ok [INFO] [stdout] test route::test::test_regex_all_methods ... ok [INFO] [stdout] test route::test::test_regex_single_method ... ok [INFO] [stdout] test route::test::test_regex_path ... ok [INFO] [stdout] test route::test::test_regex_multi_methods ... ok [INFO] [stderr] Running tests/constraints.rs (/opt/rustwide/target/debug/deps/constraints-998882c08ecdda3f) [INFO] [stdout] test middleware::headers_default::test::test_new_with_uppercase - should panic ... ok [INFO] [stdout] test middleware::headers_default::test::test_with_uppercase - should panic ... ok [INFO] [stdout] test middleware::runtime::test::test_runtime_with_uppercase - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/headers_default.rs (/opt/rustwide/target/debug/deps/headers_default-11893edf05533173) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_constraint ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/methods.rs (/opt/rustwide/target/debug/deps/methods-518dee79ac1086d6) [INFO] [stdout] test test_headers_default ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_method_delete ... ok [INFO] [stdout] test test_method_connect ... ok [INFO] [stdout] test test_method_options ... ok [INFO] [stdout] test test_method_head ... ok [INFO] [stdout] test test_method_patch ... ok [INFO] [stdout] test test_method_get ... ok [INFO] [stdout] test test_method_trace ... ok [INFO] [stdout] test test_method_put ... ok [INFO] [stdout] test test_method_post ... ok [INFO] [stdout] test test_mutliple_methods ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/paths.rs (/opt/rustwide/target/debug/deps/paths-63b177f246c2d97f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_empty ... ok [INFO] [stderr] Running tests/version_sync.rs (/opt/rustwide/target/debug/deps/version_sync-d7b54792383caa6d) [INFO] [stdout] test test_trailing_slash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_html_root_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests reign_router [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Router::scope_through (line 126) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Router::any (line 167) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Router::any_with_constraint (line 200) - compile ... FAILED [INFO] [stdout] test src/lib.rs - serve (line 304) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Router (line 68) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Router::scope_through (line 126) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reign::{prelude::*, router::{Request, Response, Error}}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::{Router, Pipe, middleware::Runtime}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `reign::router::Router`, `reign::router::Pipe`, `reign::router::middleware::Runtime`, `reign::router::Request`, `reign::router::Response`, `reign::router::Error` [INFO] [stdout] --> src/lib.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::{Router, Pipe, middleware::Runtime}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use reign::{prelude::*, router::{Request, Response, Error}}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `action` in this scope [INFO] [stdout] --> src/lib.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[action] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Response` in this scope [INFO] [stdout] --> src/lib.rs:131:48 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 15 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Router` in this scope [INFO] [stdout] --> src/lib.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn router(r: &mut Router) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pipe` [INFO] [stdout] --> src/lib.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 10 | r.pipe(Pipe::new("common").add(Runtime::default())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Pipe; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/lib.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 10 | r.pipe(Pipe::new("common").add(Runtime::default())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::middleware::Runtime; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::runtime::Runtime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Router::any (line 167) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reign::{prelude::*, router::{Request, Response, Error}}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::{Router, hyper::Method}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `reign::router::Router`, `reign::router::hyper::Method`, `reign::router::Request`, `reign::router::Response`, `reign::router::Error` [INFO] [stdout] --> src/lib.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::{Router, hyper::Method}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 4 | use reign::{prelude::*, router::{Request, Response, Error}}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `action` in this scope [INFO] [stdout] --> src/lib.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[action] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/lib.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 10 | r.any(&[Method::GET], "foo", foo); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Response` in this scope [INFO] [stdout] --> src/lib.rs:172:48 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:172:58 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 15 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Router` in this scope [INFO] [stdout] --> src/lib.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn router(r: &mut Router) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Router::any_with_constraint (line 200) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reign::{prelude::*, router::{Request, Response, Error}}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::{Router, hyper::Method}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `reign::router::Router`, `reign::router::hyper::Method`, `reign::router::Request`, `reign::router::Response`, `reign::router::Error` [INFO] [stdout] --> src/lib.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::{Router, hyper::Method}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 4 | use reign::{prelude::*, router::{Request, Response, Error}}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `action` in this scope [INFO] [stdout] --> src/lib.rs:204:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[action] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/lib.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 10 | r.any_with_constraint(&[Method::GET], "foo", |req| { [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Response` in this scope [INFO] [stdout] --> src/lib.rs:205:48 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:205:58 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 15 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Router` in this scope [INFO] [stdout] --> src/lib.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn router(r: &mut Router) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - serve (line 304) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reign::router::{serve, Router}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Router` in this scope [INFO] [stdout] --> src/lib.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 4 | fn router(r: &mut Router) {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> src/lib.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 8 | serve("127.0.0.1:8080", router).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::serve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Router (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reign::{prelude::*, router::{Request, Response, Error}}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reign` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::Router; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `reign::router::Router`, `reign::router::Request`, `reign::router::Response`, `reign::router::Error` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::Router; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use reign::{prelude::*, router::{Request, Response, Error}}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `action` in this scope [INFO] [stdout] --> src/lib.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[action] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `action` in this scope [INFO] [stdout] --> src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[action] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `action` in this scope [INFO] [stdout] --> src/lib.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[action] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Response` in this scope [INFO] [stdout] --> src/lib.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 7 | async fn foo(req: &mut Request) -> Result { Ok("foo") } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 15 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 10 | async fn bar(req: &mut Request) -> Result { Ok("bar") } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Response` in this scope [INFO] [stdout] --> src/lib.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 10 | async fn bar(req: &mut Request) -> Result { Ok("bar") } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:76:58 [INFO] [stdout] | [INFO] [stdout] 10 | async fn bar(req: &mut Request) -> Result { Ok("bar") } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 15 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 13 | async fn baz(req: &mut Request) -> Result { Ok("baz") } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Response` in this scope [INFO] [stdout] --> src/lib.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 13 | async fn baz(req: &mut Request) -> Result { Ok("baz") } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:79:58 [INFO] [stdout] | [INFO] [stdout] 13 | async fn baz(req: &mut Request) -> Result { Ok("baz") } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 15 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Router` in this scope [INFO] [stdout] --> src/lib.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn router(r: &mut Router) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use reign_router::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Router (line 68) [INFO] [stdout] src/lib.rs - Router::any (line 167) [INFO] [stdout] src/lib.rs - Router::any_with_constraint (line 200) [INFO] [stdout] src/lib.rs - Router::scope_through (line 126) [INFO] [stdout] src/lib.rs - serve (line 304) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "11ba12fa62d9c397f35ec484261209b96abc9ee8c04a52b1e4d433d212ee39df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ba12fa62d9c397f35ec484261209b96abc9ee8c04a52b1e4d433d212ee39df", kill_on_drop: false }` [INFO] [stdout] 11ba12fa62d9c397f35ec484261209b96abc9ee8c04a52b1e4d433d212ee39df