[INFO] crate dtolnay 0.0.5 is already in cache [INFO] testing dtolnay-0.0.5 against 1.38.0 for beta-1.39-1 [INFO] extracting crate dtolnay 0.0.5 into work/builds/worker-7/source [INFO] validating manifest of crates.io crate dtolnay 0.0.5 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate dtolnay 0.0.5 [INFO] finished tweaking crates.io crate dtolnay 0.0.5 [INFO] tweaked toml for crates.io crate dtolnay 0.0.5 written to work/builds/worker-7/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 0ee3757fabc3e1406531ac6e437d3f53add957cb15301cacceba0d322b14d2e6 [INFO] running `"docker" "start" "-a" "0ee3757fabc3e1406531ac6e437d3f53add957cb15301cacceba0d322b14d2e6"` [INFO] [stderr] Compiling dtolnay v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `"docker" "inspect" "0ee3757fabc3e1406531ac6e437d3f53add957cb15301cacceba0d322b14d2e6"` [INFO] running `"docker" "rm" "-f" "0ee3757fabc3e1406531ac6e437d3f53add957cb15301cacceba0d322b14d2e6"` [INFO] [stdout] 0ee3757fabc3e1406531ac6e437d3f53add957cb15301cacceba0d322b14d2e6 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/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" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 5118ccd09e5077c83bd6c09541b74f1323f5176e419756305bd04d0433270092 [INFO] running `"docker" "start" "-a" "5118ccd09e5077c83bd6c09541b74f1323f5176e419756305bd04d0433270092"` [INFO] [stderr] Compiling dtolnay v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `"docker" "inspect" "5118ccd09e5077c83bd6c09541b74f1323f5176e419756305bd04d0433270092"` [INFO] running `"docker" "rm" "-f" "5118ccd09e5077c83bd6c09541b74f1323f5176e419756305bd04d0433270092"` [INFO] [stdout] 5118ccd09e5077c83bd6c09541b74f1323f5176e419756305bd04d0433270092 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/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" "+1.38.0" "test" "--frozen"` [INFO] [stdout] 65edcc60747001d3acc4baae929452a84ead32bcec67256fa70932f1995ee678 [INFO] running `"docker" "start" "-a" "65edcc60747001d3acc4baae929452a84ead32bcec67256fa70932f1995ee678"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/dtolnay-edeb8e67beefbcd7 [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] [stderr] Doc-tests dtolnay [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 153) ... FAILED [INFO] [stdout] test src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 120) ... FAILED [INFO] [stdout] test src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 88) ... FAILED [INFO] [stdout] test src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 111) ... FAILED [INFO] [stdout] test src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 48) ... FAILED [INFO] [stdout] test src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 170) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 153) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `keep_going` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 3 | while keep_going().await { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_the_thing` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 4 | do_the_thing().await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: async/await is unstable [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 3 | while keep_going().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/50547 [INFO] [stdout] [INFO] [stdout] error[E0658]: async/await is unstable [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 4 | do_the_thing().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/50547 [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | while keep_going().await { [INFO] [stdout] 4 | do_the_thing().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | while keep_going().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 4 | do_the_thing().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 120) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ServiceFramework` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut svc = ServiceFramework::new("email_validator_service", thrift, port)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ServiceFramework` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `thrift` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:121:64 [INFO] [stdout] | [INFO] [stdout] 3 | let mut svc = ServiceFramework::new("email_validator_service", thrift, port)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:121:72 [INFO] [stdout] | [INFO] [stdout] 3 | let mut svc = ServiceFramework::new("email_validator_service", thrift, port)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BuildModule` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 4 | svc.add_module(BuildModule)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ThriftStatsModule` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 5 | svc.add_module(ThriftStatsModule)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ProfileModule` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 6 | svc.add_module(ProfileModule)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: async/await is unstable [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 7 | svc.serve().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/50547 [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | svc.serve().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut svc = ServiceFramework::new("email_validator_service", thrift, port)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 4 | svc.add_module(BuildModule)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 5 | svc.add_module(ThriftStatsModule)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 6 | svc.add_module(ProfileModule)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 7 | svc.serve().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 88) stdout ---- [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 4 | &self, [INFO] [stdout] | ^^^^^ not valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: `self` is only valid as the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `P` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 5 | p: &mut P::Deserializer, [INFO] [stdout] | ^ use of undeclared type or module `P` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MessageType` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 9 | let enc = write_message(p, "getCounters", MessageType::Reply, |p| res.write(p))?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `MessageType` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolEncodedFinal` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> Result, Error> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> Result, Error> { [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_message` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 9 | let enc = write_message(p, "getCounters", MessageType::Reply, |p| res.write(p))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: async fn is unstable [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 3 | / async fn handle_get_counters( [INFO] [stdout] 4 | | &self, [INFO] [stdout] 5 | | p: &mut P::Deserializer, [INFO] [stdout] 6 | | ) -> Result, Error> { [INFO] [stdout] ... | [INFO] [stdout] 10 | | Ok(enc) [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/50547 [INFO] [stdout] [INFO] [stdout] error[E0658]: async/await is unstable [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 8 | let res = self.service.get_counters(args).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see https://github.com/rust-lang/rust/issues/50547 [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 111) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ServiceFramework` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut svc = ServiceFramework::new("email_validator_service", thrift, port).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ServiceFramework` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `future` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 8 | future::result(add_modules).and_then(|_| svc.serve()) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `future` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `thrift` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:112:64 [INFO] [stdout] | [INFO] [stdout] 3 | let mut svc = ServiceFramework::new("email_validator_service", thrift, port).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:112:72 [INFO] [stdout] | [INFO] [stdout] 3 | let mut svc = ServiceFramework::new("email_validator_service", thrift, port).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BuildModule` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 5 | .add_module(BuildModule) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ThriftStatsModule` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 6 | .and_then(|_| svc.add_module(ThriftStatsModule)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ProfileModule` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 7 | .and_then(|_| svc.add_module(ProfileModule)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 48) stdout ---- [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 4 | &self, [INFO] [stdout] | ^^^^^ not valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: `self` is only valid as the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `P` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 5 | p: &mut P::Deserializer, [INFO] [stdout] | ^ use of undeclared type or module `P` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MessageType` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 21 | p, "getCounters", MessageType::Reply, |p| res.write(p), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `MessageType` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> impl Future, Error = Error> + Send + 'static { [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 core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolEncodedFinal` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> impl Future, Error = Error> + Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> impl Future, Error = Error> + Send + 'static { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:52:58 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> impl Future, Error = Error> + Send + 'static { [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 9 | let ret: Result<_, Error> = (|| { [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_message` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 20 | res.and_then(move |res| write_message( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 170) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EncodeState` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 5 | EncodeState::Start(mut start_state) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EncodeState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Async` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 7 | Ok(Async::Ready(())) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Async` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 11 | Self::poll_next_part(iter, sink) [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Async` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(Async::NotReady) => (Ok(Async::NotReady), EncodeState::Start(start_state)), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Async` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Async` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:181:44 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(Async::NotReady) => (Ok(Async::NotReady), EncodeState::Start(start_state)), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Async` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EncodeState` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:181:62 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(Async::NotReady) => (Ok(Async::NotReady), EncodeState::Start(start_state)), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EncodeState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EncodeState` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 17 | (Err(err), EncodeState::Invalid) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EncodeState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EncodeState` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 21 | EncodeState::Part(part_fut, iter) => Self::poll_part(part_fut, iter), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EncodeState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 21 | EncodeState::Part(part_fut, iter) => Self::poll_part(part_fut, iter), [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EncodeState` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 22 | EncodeState::EndOfStream(sink, eos_written) => Self::poll_eos(sink, eos_written), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EncodeState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:190:56 [INFO] [stdout] | [INFO] [stdout] 22 | EncodeState::EndOfStream(sink, eos_written) => Self::poll_eos(sink, eos_written), [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EncodeState` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 23 | EncodeState::Finish(compressor) => Self::poll_finish(CompressedRead(compressor)), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EncodeState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 23 | EncodeState::Finish(compressor) => Self::poll_finish(CompressedRead(compressor)), [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EncodeState` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 24 | EncodeState::Done => panic!("polled future after it is complete"), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EncodeState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EncodeState` [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 25 | EncodeState::Invalid => panic!("polled future after it returned an error"), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EncodeState` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EncodeState` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 3 | fn poll_next(state: EncodeState) -> (Poll, EncodeState) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:171:33 [INFO] [stdout] | [INFO] [stdout] 3 | fn poll_next(state: EncodeState) -> (Poll, EncodeState) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:171:41 [INFO] [stdout] | [INFO] [stdout] 3 | fn poll_next(state: EncodeState) -> (Poll, EncodeState) { [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 core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 2 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 3 | fn poll_next(state: EncodeState) -> (Poll, EncodeState) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn poll_next(state: EncodeState) -> (Poll, EncodeState) { [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EncodeState` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 3 | fn poll_next(state: EncodeState) -> (Poll, EncodeState) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `W` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:171:69 [INFO] [stdout] | [INFO] [stdout] 3 | fn poll_next(state: EncodeState) -> (Poll, EncodeState) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `CompressedRead` in this scope [INFO] [stdout] --> src/2019-08-08-await-a-minute.rs:191:62 [INFO] [stdout] | [INFO] [stdout] 23 | EncodeState::Finish(compressor) => Self::poll_finish(CompressedRead(compressor)), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 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] [INFO] [stdout] failures: [INFO] [stdout] src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 111) [INFO] [stdout] src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 120) [INFO] [stdout] src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 153) [INFO] [stdout] src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 170) [INFO] [stdout] src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 48) [INFO] [stdout] src/2019-08-08-await-a-minute.rs - _01__await_a_minute (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "65edcc60747001d3acc4baae929452a84ead32bcec67256fa70932f1995ee678"` [INFO] running `"docker" "rm" "-f" "65edcc60747001d3acc4baae929452a84ead32bcec67256fa70932f1995ee678"` [INFO] [stdout] 65edcc60747001d3acc4baae929452a84ead32bcec67256fa70932f1995ee678