[INFO] fetching crate nebula-fbthrift-storage-v2 0.1.3... [INFO] testing nebula-fbthrift-storage-v2-0.1.3 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate nebula-fbthrift-storage-v2 0.1.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate nebula-fbthrift-storage-v2 0.1.3 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate nebula-fbthrift-storage-v2 0.1.3 [INFO] finished tweaking crates.io crate nebula-fbthrift-storage-v2 0.1.3 [INFO] tweaked toml for crates.io crate nebula-fbthrift-storage-v2 0.1.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nebula-fbthrift-meta-v2 v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88ebb1c33c567fbb3a63ce086180eb4eb0b5011ee342ac55d7e44118871cbc8a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "88ebb1c33c567fbb3a63ce086180eb4eb0b5011ee342ac55d7e44118871cbc8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88ebb1c33c567fbb3a63ce086180eb4eb0b5011ee342ac55d7e44118871cbc8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ebb1c33c567fbb3a63ce086180eb4eb0b5011ee342ac55d7e44118871cbc8a", kill_on_drop: false }` [INFO] [stdout] 88ebb1c33c567fbb3a63ce086180eb4eb0b5011ee342ac55d7e44118871cbc8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca0d977875e05f9059166370e565120bffa79aaacc71adfb962cf89edcea6ec2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ca0d977875e05f9059166370e565120bffa79aaacc71adfb962cf89edcea6ec2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling bufsize v0.5.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling fbthrift-git v0.0.3+3121e6e [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling nebula-fbthrift-common-v2 v0.1.3 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling nebula-fbthrift-meta-v2 v0.1.3 [INFO] [stderr] Compiling nebula-fbthrift-storage-v2 v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "ca0d977875e05f9059166370e565120bffa79aaacc71adfb962cf89edcea6ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0d977875e05f9059166370e565120bffa79aaacc71adfb962cf89edcea6ec2", kill_on_drop: false }` [INFO] [stdout] ca0d977875e05f9059166370e565120bffa79aaacc71adfb962cf89edcea6ec2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95334cba0ebb9f7795b0494127a9bfffb6c6238cbc02772bca7cbf43f35ce4a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "95334cba0ebb9f7795b0494127a9bfffb6c6238cbc02772bca7cbf43f35ce4a0", kill_on_drop: false }` [INFO] [stderr] Compiling nebula-fbthrift-storage-v2 v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.25s [INFO] running `Command { std: "docker" "inspect" "95334cba0ebb9f7795b0494127a9bfffb6c6238cbc02772bca7cbf43f35ce4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95334cba0ebb9f7795b0494127a9bfffb6c6238cbc02772bca7cbf43f35ce4a0", kill_on_drop: false }` [INFO] [stdout] 95334cba0ebb9f7795b0494127a9bfffb6c6238cbc02772bca7cbf43f35ce4a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] face31a04aa30fe6192fcbd60fc474a5358c8a9eccd53b2f544a503d1e5e2f70 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "face31a04aa30fe6192fcbd60fc474a5358c8a9eccd53b2f544a503d1e5e2f70", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/nebula_fbthrift_storage_v2-bec1b44a8f4b7fb8 [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests nebula-fbthrift-storage-v2 [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 6 tests [INFO] [stdout] test src/lib.rs - mock (line 13221) ... FAILED [INFO] [stdout] test src/lib.rs - mock (line 13236) ... FAILED [INFO] [stdout] test src/lib.rs - client::StorageAdminService (line 10400) ... FAILED [INFO] [stdout] test src/lib.rs - client::GraphStorageService (line 9302) ... FAILED [INFO] [stdout] test src/lib.rs - client::GeneralStorageService (line 10682) ... FAILED [INFO] [stdout] test src/lib.rs - mock (line 13276) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - mock (line 13221) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `MyService` [INFO] [stdout] --> src/lib.rs:13222:9 [INFO] [stdout] | [INFO] [stdout] 3 | service MyService { [INFO] [stdout] | ^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/lib.rs:13228:5 [INFO] [stdout] | [INFO] [stdout] 6 | ) throws { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 9 | ), [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - mock (line 13236) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:13237:53 [INFO] [stdout] | [INFO] [stdout] 3 | impl crate::client::MyService for MyService<'mock> {...} [INFO] [stdout] | -^^^- item list ends here [INFO] [stdout] | || [INFO] [stdout] | |non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:13270:48 [INFO] [stdout] | [INFO] [stdout] 36 | impl From for MyFunctionExn {...} [INFO] [stdout] | -^^^- item list ends here [INFO] [stdout] | || [INFO] [stdout] | |non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:13271:49 [INFO] [stdout] | [INFO] [stdout] 37 | impl From for MyFunctionExn {...} [INFO] [stdout] | -^^^- item list ends here [INFO] [stdout] | || [INFO] [stdout] | |non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:13245:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn mock<'mock>() -> MyService<'mock>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:13250:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn ret(&self, value: FunctionResponse); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:13253:5 [INFO] [stdout] | [INFO] [stdout] 19 | / pub fn mock( [INFO] [stdout] 20 | | &self, [INFO] [stdout] 21 | | mock: impl FnMut(FunctionRequest) -> FunctionResponse + Send + Sync + 'mock, [INFO] [stdout] 22 | | ); [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:13259:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pub fn mock_result( [INFO] [stdout] 26 | | &self, [INFO] [stdout] 27 | | mock: impl FnMut(FunctionRequest) -> Result + Send + Sync + 'mock, [INFO] [stdout] 28 | | ); [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:13265:5 [INFO] [stdout] | [INFO] [stdout] 31 | / pub fn throw(&self, exception: E) [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | E: Clone + Into + Send + Sync + 'mock; [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |_________________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:13237:13 [INFO] [stdout] | [INFO] [stdout] 3 | impl crate::client::MyService for MyService<'mock> {...} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `meta::client` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:13244:17 [INFO] [stdout] | [INFO] [stdout] 10 | impl dyn crate::client::MyService { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `meta::client` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:13261:78 [INFO] [stdout] | [INFO] [stdout] 27 | mock: impl FnMut(FunctionRequest) -> Result + Send + Sync + 'mock, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `meta::services` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:13267:32 [INFO] [stdout] | [INFO] [stdout] 33 | E: Clone + Into + Send + Sync + 'mock; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `meta::services` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `myFunction` in this scope [INFO] [stdout] --> src/lib.rs:13240:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub myFunction: myFunction<'mock>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `myFunction` in this scope [INFO] [stdout] --> src/lib.rs:13248:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl myFunction<'mock> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionResponse` in this scope [INFO] [stdout] --> src/lib.rs:13250:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn ret(&self, value: FunctionResponse); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionRequest` in this scope [INFO] [stdout] --> src/lib.rs:13255:26 [INFO] [stdout] | [INFO] [stdout] 21 | mock: impl FnMut(FunctionRequest) -> FunctionResponse + Send + Sync + 'mock, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionResponse` in this scope [INFO] [stdout] --> src/lib.rs:13255:46 [INFO] [stdout] | [INFO] [stdout] 21 | mock: impl FnMut(FunctionRequest) -> FunctionResponse + Send + Sync + 'mock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionRequest` in this scope [INFO] [stdout] --> src/lib.rs:13261:26 [INFO] [stdout] | [INFO] [stdout] 27 | mock: impl FnMut(FunctionRequest) -> Result + Send + Sync + 'mock, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionResponse` in this scope [INFO] [stdout] --> src/lib.rs:13261:53 [INFO] [stdout] | [INFO] [stdout] 14 | impl myFunction<'mock> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 27 | mock: impl FnMut(FunctionRequest) -> Result + Send + Sync + 'mock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StorageException` in this scope [INFO] [stdout] --> src/lib.rs:13270:11 [INFO] [stdout] | [INFO] [stdout] 36 | impl From for MyFunctionExn {...} [INFO] [stdout] | - ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFunctionExn` in this scope [INFO] [stdout] --> src/lib.rs:13270:33 [INFO] [stdout] | [INFO] [stdout] 36 | impl From for MyFunctionExn {...} [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NotFoundException` in this scope [INFO] [stdout] --> src/lib.rs:13271:11 [INFO] [stdout] | [INFO] [stdout] 37 | impl From for MyFunctionExn {...} [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFunctionExn` in this scope [INFO] [stdout] --> src/lib.rs:13271:34 [INFO] [stdout] | [INFO] [stdout] 37 | impl From for MyFunctionExn {...} [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:13237:45 [INFO] [stdout] | [INFO] [stdout] 3 | impl crate::client::MyService for MyService<'mock> {...} [INFO] [stdout] | - ^^^^^ undeclared lifetime [INFO] [stdout] | | [INFO] [stdout] | help: consider introducing lifetime `'mock` here: `<'mock>` [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:13248:17 [INFO] [stdout] | [INFO] [stdout] 14 | impl myFunction<'mock> { [INFO] [stdout] | - ^^^^^ undeclared lifetime [INFO] [stdout] | | [INFO] [stdout] | help: consider introducing lifetime `'mock` here: `<'mock>` [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:13255:79 [INFO] [stdout] | [INFO] [stdout] 21 | mock: impl FnMut(FunctionRequest) -> FunctionResponse + Send + Sync + 'mock, [INFO] [stdout] | ^^^^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 14 | impl<'mock> myFunction<'mock> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mock<'mock>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:13261:130 [INFO] [stdout] | [INFO] [stdout] 27 | mock: impl FnMut(FunctionRequest) -> Result + Send + Sync + 'mock, [INFO] [stdout] | ^^^^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 14 | impl<'mock> myFunction<'mock> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 25 | pub fn mock_result<'mock>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:13267:84 [INFO] [stdout] | [INFO] [stdout] 33 | E: Clone + Into + Send + Sync + 'mock; [INFO] [stdout] | ^^^^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 14 | impl<'mock> myFunction<'mock> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 31 | pub fn throw<'mock, E>(&self, exception: E) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - client::StorageAdminService (line 10400) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bgs` [INFO] [stdout] --> src/lib.rs:10401:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bgs::client::BuckGraphService; [INFO] [stdout] | ^^^ use of undeclared crate or module `bgs` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpClient` [INFO] [stdout] --> src/lib.rs:10404:17 [INFO] [stdout] | [INFO] [stdout] 6 | let transport = HttpClient::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HttpClient` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BuckGraphService` [INFO] [stdout] --> src/lib.rs:10405:14 [INFO] [stdout] | [INFO] [stdout] 7 | let client = BuckGraphService::new(protocol, transport); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BuckGraphService` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryProtocol` [INFO] [stdout] --> src/lib.rs:10403:16 [INFO] [stdout] | [INFO] [stdout] 5 | let protocol = BinaryProtocol::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use fbthrift::BinaryProtocol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/lib.rs - client::GraphStorageService (line 9302) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bgs` [INFO] [stdout] --> src/lib.rs:9303:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bgs::client::BuckGraphService; [INFO] [stdout] | ^^^ use of undeclared crate or module `bgs` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpClient` [INFO] [stdout] --> src/lib.rs:9306:17 [INFO] [stdout] | [INFO] [stdout] 6 | let transport = HttpClient::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HttpClient` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BuckGraphService` [INFO] [stdout] --> src/lib.rs:9307:14 [INFO] [stdout] | [INFO] [stdout] 7 | let client = BuckGraphService::new(protocol, transport); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BuckGraphService` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryProtocol` [INFO] [stdout] --> src/lib.rs:9305:16 [INFO] [stdout] | [INFO] [stdout] 5 | let protocol = BinaryProtocol::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use fbthrift::BinaryProtocol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/lib.rs - client::GeneralStorageService (line 10682) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bgs` [INFO] [stdout] --> src/lib.rs:10683:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bgs::client::BuckGraphService; [INFO] [stdout] | ^^^ use of undeclared crate or module `bgs` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpClient` [INFO] [stdout] --> src/lib.rs:10686:17 [INFO] [stdout] | [INFO] [stdout] 6 | let transport = HttpClient::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HttpClient` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BuckGraphService` [INFO] [stdout] --> src/lib.rs:10687:14 [INFO] [stdout] | [INFO] [stdout] 7 | let client = BuckGraphService::new(protocol, transport); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BuckGraphService` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryProtocol` [INFO] [stdout] --> src/lib.rs:10685:16 [INFO] [stdout] | [INFO] [stdout] 5 | let protocol = BinaryProtocol::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use fbthrift::BinaryProtocol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/lib.rs - mock (line 13276) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:13285:34 [INFO] [stdout] | [INFO] [stdout] 11 | let resp = FunctionResponse {...}; [INFO] [stdout] | ---------------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:13289:54 [INFO] [stdout] | [INFO] [stdout] 15 | mock.myFunction.mock(|request| FunctionResponse {...}); [INFO] [stdout] | ---------------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:13295:47 [INFO] [stdout] | [INFO] [stdout] 21 | mock.myFunction.mock_result(|request| Err(...)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 21 | mock.myFunction.mock_result(|request| Err(..)); [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 21 | mock.myFunction.mock_result(|request| Err(..=)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:13295:47 [INFO] [stdout] | [INFO] [stdout] 21 | mock.myFunction.mock_result(|request| Err(...)); [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:13303:31 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> impl Future {...} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 29 | ) -> impl Future {..} [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 29 | ) -> impl Future {..=} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:13303:31 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> impl Future {...} [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thrift_if` [INFO] [stdout] --> src/lib.rs:13278:5 [INFO] [stdout] | [INFO] [stdout] 4 | use thrift_if::client::MyService; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thrift_if` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MyService` in this scope [INFO] [stdout] --> src/lib.rs:13302:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn do_the_thing( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 28 | client: Arc, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/lib.rs:13303:11 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> impl Future {...} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Out` in this scope [INFO] [stdout] --> src/lib.rs:13303:25 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> impl Future {...} [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0586. [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 - client::GeneralStorageService (line 10682) [INFO] [stdout] src/lib.rs - client::GraphStorageService (line 9302) [INFO] [stdout] src/lib.rs - client::StorageAdminService (line 10400) [INFO] [stdout] src/lib.rs - mock (line 13221) [INFO] [stdout] src/lib.rs - mock (line 13236) [INFO] [stdout] src/lib.rs - mock (line 13276) [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 `Command { std: "docker" "inspect" "face31a04aa30fe6192fcbd60fc474a5358c8a9eccd53b2f544a503d1e5e2f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "face31a04aa30fe6192fcbd60fc474a5358c8a9eccd53b2f544a503d1e5e2f70", kill_on_drop: false }` [INFO] [stdout] face31a04aa30fe6192fcbd60fc474a5358c8a9eccd53b2f544a503d1e5e2f70