[INFO] fetching crate nebula-graph-fbthrift-meta-v2 0.1.2... [INFO] testing nebula-graph-fbthrift-meta-v2-0.1.2 against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940-2 [INFO] extracting crate nebula-graph-fbthrift-meta-v2 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate nebula-graph-fbthrift-meta-v2 0.1.2 on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding fbthrift-git v0.0.1+unstable2020090200 (available: v0.0.1+617c2e9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bufsize v0.5.1 [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded ghost v0.1.19 [INFO] [stderr] Downloaded fbthrift-git v0.0.1+unstable2020090200 [INFO] [stderr] Downloaded nebula-graph-fbthrift-common-v2 v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3469be144bf034506420d3cc3f1f9b646a0ed39135ad2319bb24a6047c6bfddf [INFO] running `Command { std: "docker" "start" "-a" "3469be144bf034506420d3cc3f1f9b646a0ed39135ad2319bb24a6047c6bfddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3469be144bf034506420d3cc3f1f9b646a0ed39135ad2319bb24a6047c6bfddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3469be144bf034506420d3cc3f1f9b646a0ed39135ad2319bb24a6047c6bfddf", kill_on_drop: false }` [INFO] [stdout] 3469be144bf034506420d3cc3f1f9b646a0ed39135ad2319bb24a6047c6bfddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 349002b2461a9ce0dfd9d83badc26f64d3c2956b6775fbf7970715e4bdbefdf8 [INFO] running `Command { std: "docker" "start" "-a" "349002b2461a9ce0dfd9d83badc26f64d3c2956b6775fbf7970715e4bdbefdf8", 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 serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling futures v0.3.31 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling ghost v0.1.19 [INFO] [stderr] Compiling bufsize v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fbthrift-git v0.0.1+unstable2020090200 [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17697 | ::new(protocol, transport) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fbthrift-git v0.0.1+unstable2020090200 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "349002b2461a9ce0dfd9d83badc26f64d3c2956b6775fbf7970715e4bdbefdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349002b2461a9ce0dfd9d83badc26f64d3c2956b6775fbf7970715e4bdbefdf8", kill_on_drop: false }` [INFO] [stdout] 349002b2461a9ce0dfd9d83badc26f64d3c2956b6775fbf7970715e4bdbefdf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0e52ab81b6c9d359856b41bb5ac83ddf32631a1bf162bdb07e8bfe7a9a9ce51 [INFO] running `Command { std: "docker" "start" "-a" "c0e52ab81b6c9d359856b41bb5ac83ddf32631a1bf162bdb07e8bfe7a9a9ce51", 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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17697 | ::new(protocol, transport) [INFO] [stdout] | ++++ + [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17697 | ::new(protocol, transport) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fbthrift-git v0.0.1+unstable2020090200 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c0e52ab81b6c9d359856b41bb5ac83ddf32631a1bf162bdb07e8bfe7a9a9ce51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e52ab81b6c9d359856b41bb5ac83ddf32631a1bf162bdb07e8bfe7a9a9ce51", kill_on_drop: false }` [INFO] [stdout] c0e52ab81b6c9d359856b41bb5ac83ddf32631a1bf162bdb07e8bfe7a9a9ce51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a03d6de90367a5ccd19ba43cf75fabe35fd00e3df521bd27b63c0c2476d585e8 [INFO] running `Command { std: "docker" "start" "-a" "a03d6de90367a5ccd19ba43cf75fabe35fd00e3df521bd27b63c0c2476d585e8", 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] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 17697 | ::new(protocol, transport) [INFO] [stderr] | ++++ + [INFO] [stderr] [INFO] [stderr] warning: `nebula-graph-fbthrift-meta-v2` (lib) generated 1 warning (run `cargo fix --lib -p nebula-graph-fbthrift-meta-v2` to apply 1 suggestion) [INFO] [stderr] warning: `nebula-graph-fbthrift-meta-v2` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fbthrift-git v0.0.1+unstable2020090200 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nebula_graph_fbthrift_meta_v2-8c776811e0928197) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nebula_graph_fbthrift_meta_v2 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - mock (line 21369) ... FAILED [INFO] [stdout] test src/lib.rs - mock (line 21416) ... FAILED [INFO] [stdout] test src/lib.rs - client::dynMetaService (line 17666) ... FAILED [INFO] [stdout] test src/lib.rs - mock (line 21383) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - mock (line 21369) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/lib.rs:21373:14 [INFO] [stdout] | [INFO] [stdout] 4 | ) throws { [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 7 | ), [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - mock (line 21416) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:21425: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:21429: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:21440: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] 26 + ) -> impl Future {..} [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 26 - ) -> impl Future {...} [INFO] [stdout] 26 + ) -> impl Future {..=} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:21440:31 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future {...} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 26 - ) -> impl Future {...} [INFO] [stdout] 26 + ) -> impl Future {..} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thrift_if` [INFO] [stdout] --> src/lib.rs:21418:5 [INFO] [stdout] | [INFO] [stdout] 4 | use thrift_if::client::MyService; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thrift_if` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thrift_if`, use `cargo add thrift_if` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/lib.rs:21440: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 traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 + use futures::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Out` in this scope [INFO] [stdout] --> src/lib.rs:21440:25 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future {...} [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: 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 - client::dynMetaService (line 17666) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bgs` [INFO] [stdout] --> src/lib.rs:17667:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bgs::client::BuckGraphService; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `bgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bgs`, use `cargo add bgs` to add it to your `Cargo.toml` [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] | ^^^^^^^^^^^^^^ use of undeclared type `BinaryProtocol` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use fbthrift::BinaryProtocol; [INFO] [stdout] | [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - mock (line 21383) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:21384: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:21411: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:21412: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:21392: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:21397: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:21400: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:21406: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:21384: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[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:21384: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] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:21391: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[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:21395: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] error[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:21402:79 [INFO] [stdout] | [INFO] [stdout] 21 | mock: impl FnMut(FunctionRequest) -> FunctionResponse + Send + Sync + 'mock, [INFO] [stdout] | ^^^^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mock<'mock>( [INFO] [stdout] | +++++++ [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 14 | impl<'mock> myFunction<'mock> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:21408: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[E0261]: use of undeclared lifetime name `'mock` [INFO] [stdout] --> src/lib.rs:21408:84 [INFO] [stdout] | [INFO] [stdout] 27 | E: Clone + Into + Send + Sync + 'mock; [INFO] [stdout] | ^^^^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = note: for more information on higher-ranked polymorphism, visit https://doc.rust-lang.org/nomicon/hrtb.html [INFO] [stdout] help: consider making the bound lifetime-generic with a new `'mock` lifetime [INFO] [stdout] | [INFO] [stdout] 27 | for<'mock> E: Clone + Into + Send + Sync + 'mock; [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 25 | pub fn throw<'mock, E>(&self, exception: E) [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider introducing lifetime `'mock` here [INFO] [stdout] | [INFO] [stdout] 14 | impl<'mock> myFunction<'mock> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `myFunction` in this scope [INFO] [stdout] --> src/lib.rs:21387: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:21395: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:21397: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:21402: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:21402: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:21411: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] 30 | impl From for MyFunctionExn {...} [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFunctionExn` in this scope [INFO] [stdout] --> src/lib.rs:21411: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:21412: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] 31 | impl From for MyFunctionExn {...} [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFunctionExn` in this scope [INFO] [stdout] --> src/lib.rs:21412:34 [INFO] [stdout] | [INFO] [stdout] 31 | impl From for MyFunctionExn {...} [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: 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::dynMetaService (line 17666) [INFO] [stdout] src/lib.rs - mock (line 21369) [INFO] [stdout] src/lib.rs - mock (line 21383) [INFO] [stdout] src/lib.rs - mock (line 21416) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a03d6de90367a5ccd19ba43cf75fabe35fd00e3df521bd27b63c0c2476d585e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03d6de90367a5ccd19ba43cf75fabe35fd00e3df521bd27b63c0c2476d585e8", kill_on_drop: false }` [INFO] [stdout] a03d6de90367a5ccd19ba43cf75fabe35fd00e3df521bd27b63c0c2476d585e8