[INFO] fetching crate nebula-graph-fbthrift-meta-v2 0.1.2... [INFO] testing nebula-graph-fbthrift-meta-v2-0.1.2 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate nebula-graph-fbthrift-meta-v2 0.1.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate nebula-graph-fbthrift-meta-v2 0.1.2 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nebula-graph-fbthrift-meta-v2 0.1.2 [INFO] finished tweaking crates.io crate nebula-graph-fbthrift-meta-v2 0.1.2 [INFO] tweaked toml for crates.io crate nebula-graph-fbthrift-meta-v2 0.1.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.0.1+unstable2020090200` for dependency `fbthrift` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4a7db2aebff26c14d87fdc8e81ac8cdffcef2ca5d2379443c67e692bed1d0c [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" "bb4a7db2aebff26c14d87fdc8e81ac8cdffcef2ca5d2379443c67e692bed1d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4a7db2aebff26c14d87fdc8e81ac8cdffcef2ca5d2379443c67e692bed1d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4a7db2aebff26c14d87fdc8e81ac8cdffcef2ca5d2379443c67e692bed1d0c", kill_on_drop: false }` [INFO] [stdout] bb4a7db2aebff26c14d87fdc8e81ac8cdffcef2ca5d2379443c67e692bed1d0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22bf5f40de458e454e4cab7c929b08450c29f5aacc85750f8b1603fd6e990d60 [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" "22bf5f40de458e454e4cab7c929b08450c29f5aacc85750f8b1603fd6e990d60", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.0.1+unstable2020090200` for dependency `fbthrift` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling bufsize v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling fbthrift-git v0.0.1+617c2e9 [INFO] [stderr] Compiling nebula-graph-fbthrift-common-v2 v0.1.2 [INFO] [stderr] Compiling nebula-graph-fbthrift-meta-v2 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:17697:13 [INFO] [stdout] | [INFO] [stdout] 17697 | MetaService::new(protocol, transport) [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.00s [INFO] running `Command { std: "docker" "inspect" "22bf5f40de458e454e4cab7c929b08450c29f5aacc85750f8b1603fd6e990d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22bf5f40de458e454e4cab7c929b08450c29f5aacc85750f8b1603fd6e990d60", kill_on_drop: false }` [INFO] [stdout] 22bf5f40de458e454e4cab7c929b08450c29f5aacc85750f8b1603fd6e990d60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1caa214cfaa797daf2f25c5c34b07ec617a3f2555033eef8a0f996fb03be9452 [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" "1caa214cfaa797daf2f25c5c34b07ec617a3f2555033eef8a0f996fb03be9452", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.0.1+unstable2020090200` for dependency `fbthrift` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling nebula-graph-fbthrift-meta-v2 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:17697:13 [INFO] [stdout] | [INFO] [stdout] 17697 | MetaService::new(protocol, transport) [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:17697:13 [INFO] [stdout] | [INFO] [stdout] 17697 | MetaService::new(protocol, transport) [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.92s [INFO] running `Command { std: "docker" "inspect" "1caa214cfaa797daf2f25c5c34b07ec617a3f2555033eef8a0f996fb03be9452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1caa214cfaa797daf2f25c5c34b07ec617a3f2555033eef8a0f996fb03be9452", kill_on_drop: false }` [INFO] [stdout] 1caa214cfaa797daf2f25c5c34b07ec617a3f2555033eef8a0f996fb03be9452 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f0d25b580dee42367bf8d80749af0d8b72f6dc940830daf07bdafd66743a574 [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" "0f0d25b580dee42367bf8d80749af0d8b72f6dc940830daf07bdafd66743a574", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.0.1+unstable2020090200` for dependency `fbthrift` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:17697:13 [INFO] [stderr] | [INFO] [stderr] 17697 | MetaService::new(protocol, transport) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:17697:13 [INFO] [stderr] | [INFO] [stderr] 17697 | MetaService::new(protocol, transport) [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nebula_graph_fbthrift_meta_v2-4a2c95999bc19739) [INFO] [stdout] [INFO] [stderr] Doc-tests nebula-graph-fbthrift-meta-v2 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - mock (line 21370) ... FAILED [INFO] [stdout] test src/lib.rs - client::dyn MetaService (line 17666) ... FAILED [INFO] [stdout] test src/lib.rs - mock (line 21419) ... FAILED [INFO] [stdout] test src/lib.rs - mock (line 21385) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - mock (line 21370) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `MyService` [INFO] [stdout] --> src/lib.rs:21371: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:21377: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 - client::dyn MetaService (line 17666) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bgs` [INFO] [stdout] --> src/lib.rs:17667: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:17670: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:17671: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:17669: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 21419) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:21428: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:21432: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:21443:31 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future {...} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future {..} [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future {..=} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:21443:31 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> 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:21421: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:21442:21 [INFO] [stdout] | [INFO] [stdout] 24 | fn do_the_thing( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 25 | 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:21443:11 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> 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:21443:25 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future {...} [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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] ---- src/lib.rs - mock (line 21385) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:21386: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:21413:48 [INFO] [stdout] | [INFO] [stdout] 30 | 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:21414:49 [INFO] [stdout] | [INFO] [stdout] 31 | 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:21394: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:21399: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:21402: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:21408:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pub fn throw(&self, exception: E) [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | 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:21386: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: `nebula_graph_fbthrift_meta_v2::client` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:21393: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: `nebula_graph_fbthrift_meta_v2::client` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:21410:32 [INFO] [stdout] | [INFO] [stdout] 27 | E: Clone + Into + Send + Sync + 'mock; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `nebula_graph_fbthrift_meta_v2::services` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `myFunction` in this scope [INFO] [stdout] --> src/lib.rs:21389: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:21397: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:21399: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:21404: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:21404: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 `StorageException` in this scope [INFO] [stdout] --> src/lib.rs:21413:11 [INFO] [stdout] | [INFO] [stdout] 30 | 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:21413:33 [INFO] [stdout] | [INFO] [stdout] 30 | 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:21414:11 [INFO] [stdout] | [INFO] [stdout] 31 | 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:21414:34 [INFO] [stdout] | [INFO] [stdout] 31 | 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:21386: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: aborting due to 20 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - client::dyn MetaService (line 17666) [INFO] [stdout] src/lib.rs - mock (line 21370) [INFO] [stdout] src/lib.rs - mock (line 21385) [INFO] [stdout] src/lib.rs - mock (line 21419) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0f0d25b580dee42367bf8d80749af0d8b72f6dc940830daf07bdafd66743a574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f0d25b580dee42367bf8d80749af0d8b72f6dc940830daf07bdafd66743a574", kill_on_drop: false }` [INFO] [stdout] 0f0d25b580dee42367bf8d80749af0d8b72f6dc940830daf07bdafd66743a574