[INFO] fetching crate reign_router 0.2.1... [INFO] testing reign_router-0.2.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate reign_router 0.2.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate reign_router 0.2.1 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d0b3c957c17f7752cad59fee99526c0c611266deb1dd55474532279b079ae4bd [INFO] running `"docker" "start" "-a" "d0b3c957c17f7752cad59fee99526c0c611266deb1dd55474532279b079ae4bd"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [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.19 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling cookie v0.14.0 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling reign_router v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `"docker" "inspect" "d0b3c957c17f7752cad59fee99526c0c611266deb1dd55474532279b079ae4bd"` [INFO] running `"docker" "rm" "-f" "d0b3c957c17f7752cad59fee99526c0c611266deb1dd55474532279b079ae4bd"` [INFO] [stdout] d0b3c957c17f7752cad59fee99526c0c611266deb1dd55474532279b079ae4bd [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a61824e44e730f680f7dd4156ff8eebcdfa4aa052bc5762f1d352bc40d8d2991 [INFO] running `"docker" "start" "-a" "a61824e44e730f680f7dd4156ff8eebcdfa4aa052bc5762f1d352bc40d8d2991"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling openssl v0.10.29 [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.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling semver-parser v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.57 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling version-sync v0.9.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [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 43.96s [INFO] running `"docker" "inspect" "a61824e44e730f680f7dd4156ff8eebcdfa4aa052bc5762f1d352bc40d8d2991"` [INFO] running `"docker" "rm" "-f" "a61824e44e730f680f7dd4156ff8eebcdfa4aa052bc5762f1d352bc40d8d2991"` [INFO] [stdout] a61824e44e730f680f7dd4156ff8eebcdfa4aa052bc5762f1d352bc40d8d2991 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 933795df32b49f3c597d3ff59e67482e13998aaf8b7e4a95066d49d48016a391 [INFO] running `"docker" "start" "-a" "933795df32b49f3c597d3ff59e67482e13998aaf8b7e4a95066d49d48016a391"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/reign_router-5ea2b454c93c0b09 [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test route::test::test_regex_single_method ... ok [INFO] [stdout] test route::test::test_regex_all_methods ... ok [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 route::test::test_regex_multi_methods ... 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_path ... 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-07ae38248f3960d5 [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-489aabaad786c8ab [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_headers_default ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/methods-21c36d158204e810 [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [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_mutliple_methods ... ok [INFO] [stdout] test test_method_options ... ok [INFO] [stdout] test test_method_head ... ok [INFO] [stdout] test test_method_get ... ok [INFO] [stdout] test test_method_trace ... ok [INFO] [stdout] test test_method_patch ... ok [INFO] [stdout] test test_method_put ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/paths-8cd55881fe42814e [INFO] [stdout] test test_method_post ... 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] [stderr] Running /opt/rustwide/target/debug/deps/version_sync-a0722ad4d1e7eeff [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_html_root_url ... ok [INFO] [stderr] Doc-tests reign_router [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [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] test src/lib.rs - Router::scope_through (line 126) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 16 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 16 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 16 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 16 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 16 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::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[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] | ^^^^ use of undeclared type or module `Pipe` [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] | ^^^^^^^ use of undeclared type or module `Runtime` [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 16 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: 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] [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 `"docker" "inspect" "933795df32b49f3c597d3ff59e67482e13998aaf8b7e4a95066d49d48016a391"` [INFO] running `"docker" "rm" "-f" "933795df32b49f3c597d3ff59e67482e13998aaf8b7e4a95066d49d48016a391"` [INFO] [stdout] 933795df32b49f3c597d3ff59e67482e13998aaf8b7e4a95066d49d48016a391