[INFO] fetching crate reign_router 0.2.1... [INFO] testing reign_router-0.2.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate reign_router 0.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate reign_router 0.2.1 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4fd46c405cca8aa64f292be8ac863047ad0a4b6b93a0d185a66b6f9a1e31acf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b4fd46c405cca8aa64f292be8ac863047ad0a4b6b93a0d185a66b6f9a1e31acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4fd46c405cca8aa64f292be8ac863047ad0a4b6b93a0d185a66b6f9a1e31acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4fd46c405cca8aa64f292be8ac863047ad0a4b6b93a0d185a66b6f9a1e31acf", kill_on_drop: false }` [INFO] [stdout] b4fd46c405cca8aa64f292be8ac863047ad0a4b6b93a0d185a66b6f9a1e31acf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e54450371bac8c1c0f06f2fe4b65b1c3538d32d9a3dc5af13ba9b0c69b4bb8a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e54450371bac8c1c0f06f2fe4b65b1c3538d32d9a3dc5af13ba9b0c69b4bb8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling reign_router v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "7e54450371bac8c1c0f06f2fe4b65b1c3538d32d9a3dc5af13ba9b0c69b4bb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e54450371bac8c1c0f06f2fe4b65b1c3538d32d9a3dc5af13ba9b0c69b4bb8a", kill_on_drop: false }` [INFO] [stdout] 7e54450371bac8c1c0f06f2fe4b65b1c3538d32d9a3dc5af13ba9b0c69b4bb8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa5e6b612005f821bfaa4e2d215a8ca211b7a32a57601086bc78d32d522a530b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa5e6b612005f821bfaa4e2d215a8ca211b7a32a57601086bc78d32d522a530b", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling pulldown-cmark v0.7.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling semver-parser v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling version-sync v0.9.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling reign_router v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "fa5e6b612005f821bfaa4e2d215a8ca211b7a32a57601086bc78d32d522a530b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa5e6b612005f821bfaa4e2d215a8ca211b7a32a57601086bc78d32d522a530b", kill_on_drop: false }` [INFO] [stdout] fa5e6b612005f821bfaa4e2d215a8ca211b7a32a57601086bc78d32d522a530b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2b25af5ed92a0b732ba20650c3ef83b4393ea207e83535731c30ccb445043997 [INFO] running `Command { std: "docker" "start" "-a" "2b25af5ed92a0b732ba20650c3ef83b4393ea207e83535731c30ccb445043997", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/reign_router-6594056a17aac255 [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test middleware::runtime::test::test_dur_to_string_seconds ... ok [INFO] [stdout] test path::test::test_regex_param_static ... ok [INFO] [stdout] test route::test::test_regex_path ... ok [INFO] [stdout] test route::test::test_regex_single_method ... ok [INFO] [stdout] test middleware::runtime::test::test_dur_to_string_micro_seconds ... ok [INFO] [stdout] test middleware::runtime::test::test_dur_to_string_milli_seconds ... ok [INFO] [stdout] test route::test::test_regex_multi_methods ... ok [INFO] [stdout] test route::test::test_regex_all_methods ... ok [INFO] [stdout] test middleware::headers_default::test::test_new_with_uppercase ... ok [INFO] [stdout] test middleware::headers_default::test::test_with_uppercase ... ok [INFO] [stdout] test middleware::runtime::test::test_runtime_with_uppercase ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/constraints-9eb0322c964223d5 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/headers_default-b3a0232e867e5c96 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/methods-133a18a555e8a05f [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_method_delete ... ok [INFO] [stdout] test test_method_post ... ok [INFO] [stdout] test test_mutliple_methods ... ok [INFO] [stdout] test test_method_patch ... ok [INFO] [stdout] test test_method_options ... ok [INFO] [stdout] test test_method_get ... ok [INFO] [stdout] test test_method_put ... ok [INFO] [stdout] test test_method_head ... ok [INFO] [stdout] test test_method_connect ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/paths-f5d562427616d18e [INFO] [stdout] test test_method_trace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_trailing_slash ... ok [INFO] [stdout] test test_empty ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/version_sync-292590f877f7794e [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 [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) ... FAILED [INFO] [stdout] test src/lib.rs - Router::any_with_constraint (line 200) ... FAILED [INFO] [stdout] test src/lib.rs - Router (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - serve (line 304) ... FAILED [INFO] [stdout] test src/lib.rs - Router::any (line 167) ... 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 type 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 type or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 or module `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 or module `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_with_constraint (line 200) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 or module `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 or module `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 - Router (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `reign` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reign::router::Router; [INFO] [stdout] | ^^^^^ use of undeclared type 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] ---- src/lib.rs - serve (line 304) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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::any (line 167) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `reign` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 or module `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 or module `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] [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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2b25af5ed92a0b732ba20650c3ef83b4393ea207e83535731c30ccb445043997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b25af5ed92a0b732ba20650c3ef83b4393ea207e83535731c30ccb445043997", kill_on_drop: false }` [INFO] [stdout] 2b25af5ed92a0b732ba20650c3ef83b4393ea207e83535731c30ccb445043997