[INFO] crate saphir 0.9.4 is already in cache [INFO] testing saphir-0.9.4 against beta-2019-09-28 for beta-1.39-1 [INFO] extracting crate saphir 0.9.4 into work/builds/worker-5/source [INFO] validating manifest of crates.io crate saphir 0.9.4 on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate saphir 0.9.4 [INFO] finished tweaking crates.io crate saphir 0.9.4 [INFO] tweaked toml for crates.io crate saphir 0.9.4 written to work/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate saphir 0.9.4 already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "build" "--frozen"` [INFO] [stdout] de653602e46c46694643e71c9d81c2cf92d45eb5361386f0540774dfed2c0ef5 [INFO] running `"docker" "start" "-a" "de653602e46c46694643e71c9d81c2cf92d45eb5361386f0540774dfed2c0ef5"` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling syn v1.0.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling hyperx v0.15.1 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling ansi_term v0.12.0 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hashbrown v0.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.15 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.9 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling const-random v0.1.6 [INFO] [stderr] Compiling ahash v0.2.12 [INFO] [stderr] Compiling saphir v0.9.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.62s [INFO] running `"docker" "inspect" "de653602e46c46694643e71c9d81c2cf92d45eb5361386f0540774dfed2c0ef5"` [INFO] running `"docker" "rm" "-f" "de653602e46c46694643e71c9d81c2cf92d45eb5361386f0540774dfed2c0ef5"` [INFO] [stdout] de653602e46c46694643e71c9d81c2cf92d45eb5361386f0540774dfed2c0ef5 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 9367dd4d0642f9664506f686691581acf37490c67a075c4f374f0e794e7f6e8a [INFO] running `"docker" "start" "-a" "9367dd4d0642f9664506f686691581acf37490c67a075c4f374f0e794e7f6e8a"` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling saphir v0.9.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> examples/custom_controller.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | if let Some(c) = req.cookies().get("MySuperCookie") { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_c` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.83s [INFO] running `"docker" "inspect" "9367dd4d0642f9664506f686691581acf37490c67a075c4f374f0e794e7f6e8a"` [INFO] running `"docker" "rm" "-f" "9367dd4d0642f9664506f686691581acf37490c67a075c4f374f0e794e7f6e8a"` [INFO] [stdout] 9367dd4d0642f9664506f686691581acf37490c67a075c4f374f0e794e7f6e8a [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "test" "--frozen"` [INFO] [stdout] 48dc61112a189fa61db8ebf1a9f00f14cc328deefc20ad88abb201c948414f95 [INFO] running `"docker" "start" "-a" "48dc61112a189fa61db8ebf1a9f00f14cc328deefc20ad88abb201c948414f95"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/saphir-9e297c48b7fe3a9e [INFO] [stderr] Doc-tests saphir [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/controller.rs - controller::BasicController::add (line 211) ... FAILED [INFO] [stdout] test src/controller.rs - controller::ControllerDispatch::add (line 119) ... FAILED [INFO] [stdout] test src/controller.rs - controller::BasicController::add_with_guards (line 224) ... FAILED [INFO] [stdout] test src/controller.rs - controller::ControllerDispatch::add_with_guards (line 132) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::version (line 232) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::headers_map_mut (line 278) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::extensions_mut (line 327) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::extensions (line 312) ... FAILED [INFO] [stdout] test src/router.rs - router::Builder::add (line 23) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::headers_map (line 263) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::uri (line 136) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::method (line 105) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncResponse::extension (line 541) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::method_mut (line 120) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::body (line 343) ... FAILED [INFO] [stdout] test src/router.rs - router::Builder::route (line 41) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncResponse::body (line 575) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::version_mut (line 247) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::uri_mut (line 151) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncRequest::body_mut (line 358) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncResponse::header (line 506) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncResponse::version (line 484) ... FAILED [INFO] [stdout] test src/http.rs - http::SyncResponse::status (line 459) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/controller.rs - controller::BasicController::add (line 211) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BasicController` [INFO] [stdout] --> src/controller.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 4 | let u8_controller = BasicController::new(u8_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `BasicController` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stdout] --> src/controller.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 5 | u8_controller.add(Method::Get, "^/test$", |ctx, req, res| { println!("this will handle Get request done on /test")}); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/controller.rs - controller::ControllerDispatch::add (line 119) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ControllerDispatch` [INFO] [stdout] --> src/controller.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 4 | let dispatch = ControllerDispatch::new(u8_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ControllerDispatch` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stdout] --> src/controller.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 5 | dispatch.add(Method::Get, "^/test$", |ctx, req, res| { println!("this will handle Get request done on /test")}); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/controller.rs - controller::BasicController::add_with_guards (line 224) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BasicController` [INFO] [stdout] --> src/controller.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 4 | let u8_controller = BasicController::new(u8_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `BasicController` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stdout] --> src/controller.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 5 | u8_controller.add(Method::Get, "^/test$", |ctx, req, res| { println!("this will handle Get request done on /test")}); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/controller.rs - controller::ControllerDispatch::add_with_guards (line 132) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ControllerDispatch` [INFO] [stdout] --> src/controller.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 5 | let dispatch = ControllerDispatch::new(u8_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ControllerDispatch` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stdout] --> src/controller.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 6 | dispatch.add_with_guards(Method::Get, "^/test$", guard.into(), |ctx, req, res| { println!("this will handle Get request done on /test")}); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BodyGuard` in this scope [INFO] [stdout] --> src/controller.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 4 | let guard = BodyGuard; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use saphir::BodyGuard; [INFO] [stdout] | [INFO] [stdout] 2 | use saphir::controller::BodyGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::version (line 232) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::headers_map_mut (line 278) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HeaderValue` [INFO] [stdout] --> src/http.rs:282:36 [INFO] [stdout] | [INFO] [stdout] 7 | request.headers_mut().insert(HOST, HeaderValue::from_static("world")); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `HeaderValue` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HOST` in this scope [INFO] [stdout] --> src/http.rs:282:30 [INFO] [stdout] | [INFO] [stdout] 7 | request.headers_mut().insert(HOST, HeaderValue::from_static("world")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use http::header::HOST; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::header::HOST; [INFO] [stdout] | [INFO] [stdout] 3 | use saphir::header::HOST; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::extensions_mut (line 327) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::extensions (line 312) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/router.rs - router::Builder::add (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BasicController` [INFO] [stdout] --> src/router.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 4 | let u8_controller = BasicController::new(u8_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `BasicController` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stdout] --> src/router.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 5 | u8_controller.add(Method::Get, "^/test$", |ctx, req, res| { println!("this will handle Get request done on /test")}); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Router` [INFO] [stdout] --> src/router.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 7 | let mut router = Router::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Router` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::headers_map (line 263) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::uri (line 136) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::method (line 105) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncResponse::extension (line 541) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::method_mut (line 120) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::body (line 343) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/router.rs - router::Builder::route (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BasicController` [INFO] [stdout] --> src/router.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 4 | let u8_controller = BasicController::new(u8_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `BasicController` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stdout] --> src/router.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 5 | u8_controller.add(Method::Get, "^/test$", |ctx, req, res| { println!("this will handle Get request done on /test")}); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Router` [INFO] [stdout] --> src/router.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 7 | let mut router = Router::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Router` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncResponse::body (line 575) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `saphir::Body: std::convert::From<&[u8; 17]>` is not satisfied [INFO] [stdout] --> src/http.rs:580:6 [INFO] [stdout] | [INFO] [stdout] 8 | .body(b"this is a payload") [INFO] [stdout] | ^^^^ the trait `std::convert::From<&[u8; 17]>` is not implemented for `saphir::Body` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 5 others [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `&[u8; 17]` [INFO] [stdout] = note: required because of the requirements on the impl of `saphir::ToBody` for `&[u8; 17]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::version_mut (line 247) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::uri_mut (line 151) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncRequest::body_mut (line 358) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncResponse::header (line 506) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncResponse::version (line 484) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::SyncResponse::status (line 459) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `saphir::headers` [INFO] [stdout] --> src/http.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 5 | use saphir::headers::*; [INFO] [stdout] | ^^^^^^^ could not find `headers` in `saphir` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/controller.rs - controller::BasicController::add (line 211) [INFO] [stdout] src/controller.rs - controller::BasicController::add_with_guards (line 224) [INFO] [stdout] src/controller.rs - controller::ControllerDispatch::add (line 119) [INFO] [stdout] src/controller.rs - controller::ControllerDispatch::add_with_guards (line 132) [INFO] [stdout] src/http.rs - http::SyncRequest::body (line 343) [INFO] [stdout] src/http.rs - http::SyncRequest::body_mut (line 358) [INFO] [stdout] src/http.rs - http::SyncRequest::extensions (line 312) [INFO] [stdout] src/http.rs - http::SyncRequest::extensions_mut (line 327) [INFO] [stdout] src/http.rs - http::SyncRequest::headers_map (line 263) [INFO] [stdout] src/http.rs - http::SyncRequest::headers_map_mut (line 278) [INFO] [stdout] src/http.rs - http::SyncRequest::method (line 105) [INFO] [stdout] src/http.rs - http::SyncRequest::method_mut (line 120) [INFO] [stdout] src/http.rs - http::SyncRequest::uri (line 136) [INFO] [stdout] src/http.rs - http::SyncRequest::uri_mut (line 151) [INFO] [stdout] src/http.rs - http::SyncRequest::version (line 232) [INFO] [stdout] src/http.rs - http::SyncRequest::version_mut (line 247) [INFO] [stdout] src/http.rs - http::SyncResponse::body (line 575) [INFO] [stdout] src/http.rs - http::SyncResponse::extension (line 541) [INFO] [stdout] src/http.rs - http::SyncResponse::header (line 506) [INFO] [stdout] src/http.rs - http::SyncResponse::status (line 459) [INFO] [stdout] src/http.rs - http::SyncResponse::version (line 484) [INFO] [stdout] src/router.rs - router::Builder::add (line 23) [INFO] [stdout] src/router.rs - router::Builder::route (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 23 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "48dc61112a189fa61db8ebf1a9f00f14cc328deefc20ad88abb201c948414f95"` [INFO] running `"docker" "rm" "-f" "48dc61112a189fa61db8ebf1a9f00f14cc328deefc20ad88abb201c948414f95"` [INFO] [stdout] 48dc61112a189fa61db8ebf1a9f00f14cc328deefc20ad88abb201c948414f95