[INFO] fetching crate reign_router 0.2.1...
[INFO] testing reign_router-0.2.1 against 1.54.0 for beta-1.55-1
[INFO] extracting crate reign_router 0.2.1 into /workspace/builds/worker-16/source
[INFO] validating manifest of crates.io crate reign_router 0.2.1 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "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-16/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc78c9c7e3468b1a54c1d7516ec381dc6bb2932e0a162e101550c32c56db8e6e
[INFO] running `Command { std: "docker" "start" "-a" "dc78c9c7e3468b1a54c1d7516ec381dc6bb2932e0a162e101550c32c56db8e6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc78c9c7e3468b1a54c1d7516ec381dc6bb2932e0a162e101550c32c56db8e6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc78c9c7e3468b1a54c1d7516ec381dc6bb2932e0a162e101550c32c56db8e6e", kill_on_drop: false }`
[INFO] [stdout] dc78c9c7e3468b1a54c1d7516ec381dc6bb2932e0a162e101550c32c56db8e6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48f6f0d718769dc0dee79d784ef466fae0161f2e591f33e7db461d80f076dc9e
[INFO] running `Command { std: "docker" "start" "-a" "48f6f0d718769dc0dee79d784ef466fae0161f2e591f33e7db461d80f076dc9e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling const_fn v0.4.8
[INFO] [stderr]    Compiling anyhow v1.0.42
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling futures-util v0.3.16
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling futures-macro v0.3.16
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling thiserror v1.0.26
[INFO] [stderr]    Compiling pin-project v1.0.8
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.16
[INFO] [stderr]    Compiling futures v0.3.16
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling reign_router v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 33.35s
[INFO] running `Command { std: "docker" "inspect" "48f6f0d718769dc0dee79d784ef466fae0161f2e591f33e7db461d80f076dc9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48f6f0d718769dc0dee79d784ef466fae0161f2e591f33e7db461d80f076dc9e", kill_on_drop: false }`
[INFO] [stdout] 48f6f0d718769dc0dee79d784ef466fae0161f2e591f33e7db461d80f076dc9e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 607e50ad7d1bccda51bd68ed9d9f52d046dc3b252fc1c0f2034b7a7d025fd4f2
[INFO] running `Command { std: "docker" "start" "-a" "607e50ad7d1bccda51bd68ed9d9f52d046dc3b252fc1c0f2034b7a7d025fd4f2", kill_on_drop: false }`
[INFO] [stderr]    Compiling openssl v0.10.35
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.65
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling version-sync v0.9.2
[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] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 21.70s
[INFO] running `Command { std: "docker" "inspect" "607e50ad7d1bccda51bd68ed9d9f52d046dc3b252fc1c0f2034b7a7d025fd4f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "607e50ad7d1bccda51bd68ed9d9f52d046dc3b252fc1c0f2034b7a7d025fd4f2", kill_on_drop: false }`
[INFO] [stdout] 607e50ad7d1bccda51bd68ed9d9f52d046dc3b252fc1c0f2034b7a7d025fd4f2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] df052d54db96d8534da9caf349639a657fccf56044b3fcc8693aaba569ccf970
[INFO] running `Command { std: "docker" "start" "-a" "df052d54db96d8534da9caf349639a657fccf56044b3fcc8693aaba569ccf970", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.44s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/reign_router-da5ac4c2a946a7d1)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test middleware::runtime::test::test_dur_to_string_milli_seconds ... ok
[INFO] [stdout] test middleware::runtime::test::test_dur_to_string_seconds ... ok
[INFO] [stdout] test route::test::test_regex_multi_methods ... ok
[INFO] [stdout] test route::test::test_regex_path ... ok
[INFO] [stdout] test middleware::runtime::test::test_dur_to_string_micro_seconds ... ok
[INFO] [stdout] test route::test::test_regex_all_methods ... ok
[INFO] [stdout] test route::test::test_regex_single_method ... ok
[INFO] [stdout] test path::test::test_regex_param_static ... ok
[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/constraints.rs (/opt/rustwide/target/debug/deps/constraints-36f5a605188a8754)
[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] [stderr]      Running tests/headers_default.rs (/opt/rustwide/target/debug/deps/headers_default-196f1b57f6f61452)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[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.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/methods.rs (/opt/rustwide/target/debug/deps/methods-15aaf004149509e4)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test test_method_options ... ok
[INFO] [stdout] test test_method_trace ... ok
[INFO] [stdout] test test_method_head ... ok
[INFO] [stdout] test test_method_connect ... ok
[INFO] [stdout] test test_method_post ... ok
[INFO] [stdout] test test_method_get ... ok
[INFO] [stdout] test test_method_patch ... ok
[INFO] [stdout] test test_method_delete ... ok
[INFO] [stdout] test test_method_put ... 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.02s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/paths.rs (/opt/rustwide/target/debug/deps/paths-569b91988755e58e)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_empty ... ok
[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] [stderr]      Running tests/version_sync.rs (/opt/rustwide/target/debug/deps/version_sync-63bc94c344b4fd9a)
[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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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<impl Response, Error> { 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.30s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "df052d54db96d8534da9caf349639a657fccf56044b3fcc8693aaba569ccf970", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df052d54db96d8534da9caf349639a657fccf56044b3fcc8693aaba569ccf970", kill_on_drop: false }`
[INFO] [stdout] df052d54db96d8534da9caf349639a657fccf56044b3fcc8693aaba569ccf970
