[INFO] fetching crate rust-nebula 0.0.2... [INFO] checking rust-nebula-0.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rust-nebula 0.0.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rust-nebula 0.0.2 [INFO] finished tweaking crates.io crate rust-nebula 0.0.2 [INFO] tweaked toml for crates.io crate rust-nebula 0.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-nebula 0.0.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 115 packages to latest compatible versions [INFO] [stderr] Adding async-sleep v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding base64 v0.11.0 (available: v0.22.1) [INFO] [stderr] Adding bb8 v0.8.6 (available: v0.9.0) [INFO] [stderr] Adding float-cmp v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.6.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v5.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74df65ecbe600f817b7fffdb4626efcd5d40ad562e1744243d7c3ec07080950f [INFO] running `Command { std: "docker" "start" "-a" "74df65ecbe600f817b7fffdb4626efcd5d40ad562e1744243d7c3ec07080950f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74df65ecbe600f817b7fffdb4626efcd5d40ad562e1744243d7c3ec07080950f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74df65ecbe600f817b7fffdb4626efcd5d40ad562e1744243d7c3ec07080950f", kill_on_drop: false }` [INFO] [stdout] 74df65ecbe600f817b7fffdb4626efcd5d40ad562e1744243d7c3ec07080950f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8961d4f1a50a5150eb27848921dbede3e65179adfb2a152d6101e1afce0556cf [INFO] running `Command { std: "docker" "start" "-a" "8961d4f1a50a5150eb27848921dbede3e65179adfb2a152d6101e1afce0556cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking panic-message v0.3.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking const-cstr v0.3.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking bufsize v1.0.10 [INFO] [stderr] Checking bb8 v0.8.6 [INFO] [stderr] Checking async-compat v0.2.5 [INFO] [stderr] Checking async-sleep v0.4.1 [INFO] [stderr] Checking rust-nebula v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: unused import: `std::collections::*` [INFO] [stdout] --> src/fbthrift/builtin_types.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/fbthrift/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::Bytes` [INFO] [stdout] --> src/fbthrift/builtin_types.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ordered_float::OrderedFloat` [INFO] [stdout] --> src/fbthrift/builtin_types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use ordered_float::OrderedFloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ordered_float::OrderedFloat` [INFO] [stdout] --> src/fbthrift/export.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use ordered_float::OrderedFloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::application_exception::ApplicationException` [INFO] [stdout] --> src/fbthrift/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | pub use super::application_exception::ApplicationException; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::context_stack::DummyContextStack` [INFO] [stdout] --> src/fbthrift/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub use super::fbthrift::context_stack::DummyContextStack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::errors::ProtocolError` [INFO] [stdout] --> src/fbthrift/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub use super::fbthrift::errors::ProtocolError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::framing::FramingEncoded` [INFO] [stdout] --> src/fbthrift/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub use super::fbthrift::framing::FramingEncoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::processor::SerializedStreamElement` [INFO] [stdout] --> src/fbthrift/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub use super::fbthrift::processor::SerializedStreamElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::request_context::DummyRequestContext` [INFO] [stdout] --> src/fbthrift/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub use super::fbthrift::request_context::DummyRequestContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::simplejson_protocol::SimpleJsonProtocol` [INFO] [stdout] --> src/fbthrift/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub use super::fbthrift::simplejson_protocol::SimpleJsonProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::uri::GetUri` [INFO] [stdout] --> src/fbthrift/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub use super::fbthrift::uri::GetUri; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_compat` [INFO] [stdout] --> src/fbthrift_transport/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use async_compat; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::consts::*` [INFO] [stdout] --> src/fbthrift_protocol/common/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::errors::*` [INFO] [stdout] --> src/fbthrift_protocol/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::errors::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/fbthrift_protocol/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `double::*` [INFO] [stdout] --> src/fbthrift_protocol/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use double::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::errors::*` [INFO] [stdout] --> src/fbthrift_protocol/storage/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::errors::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `chrono` [INFO] [stdout] --> src/value_wrapper/datetime.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "chrono")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `graph`, `meta`, `serde`, and `storage` [INFO] [stdout] = help: consider adding `chrono` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `chrono` [INFO] [stdout] --> src/value_wrapper/datetime.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(feature = "chrono")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `graph`, `meta`, `serde`, and `storage` [INFO] [stdout] = help: consider adding `chrono` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `chrono` [INFO] [stdout] --> src/value_wrapper/datetime.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg(feature = "chrono")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `graph`, `meta`, `serde`, and `storage` [INFO] [stdout] = help: consider adding `chrono` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `chrono` [INFO] [stdout] --> src/value_wrapper/datetime.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | #[cfg(feature = "chrono")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `graph`, `meta`, `serde`, and `storage` [INFO] [stdout] = help: consider adding `chrono` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `chrono` [INFO] [stdout] --> src/value_wrapper/datetime.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(feature = "chrono")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `graph`, `meta`, `serde`, and `storage` [INFO] [stdout] = help: consider adding `chrono` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `chrono` [INFO] [stdout] --> src/value_wrapper/datetime.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg(feature = "chrono")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `graph`, `meta`, `serde`, and `storage` [INFO] [stdout] = help: consider adding `chrono` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `chrono` [INFO] [stdout] --> src/value_wrapper/datetime.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg(feature = "chrono")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `graph`, `meta`, `serde`, and `storage` [INFO] [stdout] = help: consider adding `chrono` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/value_wrapper/mod.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `std::collections::*` [INFO] [stdout] --> src/fbthrift/builtin_types.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/fbthrift/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::Bytes` [INFO] [stdout] --> src/fbthrift/builtin_types.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ordered_float::OrderedFloat` [INFO] [stdout] --> src/fbthrift/builtin_types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use ordered_float::OrderedFloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ordered_float::OrderedFloat` [INFO] [stdout] --> src/fbthrift/export.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use ordered_float::OrderedFloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::application_exception::ApplicationException` [INFO] [stdout] --> src/fbthrift/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | pub use super::application_exception::ApplicationException; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::context_stack::DummyContextStack` [INFO] [stdout] --> src/fbthrift/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub use super::fbthrift::context_stack::DummyContextStack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::errors::ProtocolError` [INFO] [stdout] --> src/fbthrift/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub use super::fbthrift::errors::ProtocolError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::framing::FramingEncoded` [INFO] [stdout] --> src/fbthrift/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub use super::fbthrift::framing::FramingEncoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::processor::SerializedStreamElement` [INFO] [stdout] --> src/fbthrift/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub use super::fbthrift::processor::SerializedStreamElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::request_context::DummyRequestContext` [INFO] [stdout] --> src/fbthrift/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub use super::fbthrift::request_context::DummyRequestContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::simplejson_protocol::SimpleJsonProtocol` [INFO] [stdout] --> src/fbthrift/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub use super::fbthrift::simplejson_protocol::SimpleJsonProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::fbthrift::uri::GetUri` [INFO] [stdout] --> src/fbthrift/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub use super::fbthrift::uri::GetUri; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_compat` [INFO] [stdout] --> src/fbthrift_transport/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use async_compat; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::consts::*` [INFO] [stdout] --> src/fbthrift_protocol/common/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::errors::*` [INFO] [stdout] --> src/fbthrift_protocol/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::errors::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/fbthrift_protocol/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `double::*` [INFO] [stdout] --> src/fbthrift_protocol/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use double::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::errors::*` [INFO] [stdout] --> src/fbthrift_protocol/storage/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::errors::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_id` [INFO] [stdout] --> src/meta/client.rs:454:41 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn update_storage_leader(&self, space_id: i32, part_id: i32, address: Option) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part_id` [INFO] [stdout] --> src/meta/client.rs:454:56 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn update_storage_leader(&self, space_id: i32, part_id: i32, address: Option) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_part_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/meta/client.rs:454:70 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn update_storage_leader(&self, space_id: i32, part_id: i32, address: Option) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_id` [INFO] [stdout] --> src/meta/client.rs:454:41 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn update_storage_leader(&self, space_id: i32, part_id: i32, address: Option) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part_id` [INFO] [stdout] --> src/meta/client.rs:454:56 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn update_storage_leader(&self, space_id: i32, part_id: i32, address: Option) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_part_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/meta/client.rs:454:70 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn update_storage_leader(&self, space_id: i32, part_id: i32, address: Option) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `geo` [INFO] [stdout] --> src/value_wrapper/mod.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | fn to_wkt(geo: Geography) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_geo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `geo` [INFO] [stdout] --> src/value_wrapper/mod.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | fn to_wkt(geo: Geography) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_geo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_wkt` is never used [INFO] [stdout] --> src/value_wrapper/mod.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn to_wkt(geo: Geography) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex`, `tags`, `tag_name_index_map`, and `timezone_info` are never read [INFO] [stdout] --> src/value_wrapper/relationship.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | vertex: Vertex, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | tag_name_index_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | timezone_info: TimezoneInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `edge` and `timezone_info` are never read [INFO] [stdout] --> src/value_wrapper/relationship.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Relationship { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | edge: Edge, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | timezone_info: TimezoneInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_node`, `relationship`, and `end_node` are never read [INFO] [stdout] --> src/value_wrapper/relationship.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Segment<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 19 | start_node: &'a Node, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | relationship: &'a Relationship, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | end_node: &'a Node, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `node_list`, `relationship_list`, `segments`, and `timezone_info` are never read [INFO] [stdout] --> src/value_wrapper/relationship.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PathWrapper<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 25 | path: Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | node_list: Vec<&'a Node>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | relationship_list: Vec<&'a Relationship>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | segments: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | timezone_info: TimezoneInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TIMEZONE` is never used [INFO] [stdout] --> src/value_wrapper/mod.rs:284:11 [INFO] [stdout] | [INFO] [stdout] 284 | const TEST_TIMEZONE: &str = "UTC"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClusterID` is never used [INFO] [stdout] --> src/fbthrift_protocol/common/types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type ClusterID = ::std::primitive::i64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/fbthrift_protocol/common/types.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 241 | col_name: &str, [INFO] [stdout] 242 | ) -> Result, DataSetError> { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/graph/query.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | dataset_wrapper_proxy!(GraphQueryOutput); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dataset_wrapper_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_row_values_by_index(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/graph/query.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | dataset_wrapper_proxy!(GraphQueryOutput); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `dataset_wrapper_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_row_values_by_index(&self, index: usize) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 241 | col_name: &str, [INFO] [stdout] 242 | ) -> Result, DataSetError> { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/storage/query.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | dataset_wrapper_proxy!(StorageQueryOutput); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `dataset_wrapper_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_row_values_by_index(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/storage/query.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | dataset_wrapper_proxy!(StorageQueryOutput); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `dataset_wrapper_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_row_values_by_index(&self, index: usize) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 88 | col_name: &str, [INFO] [stdout] 89 | ) -> Result, DataSetError> { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_value_by_index(&self, index: usize) -> Result<&ValueWrapper, DataSetError> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_value_by_index(&self, index: usize) -> Result<&ValueWrapper<'_>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:300:34 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_value_by_col_name(&self, col_name: &str) -> Result<&ValueWrapper, DataSetError> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_value_by_col_name(&self, col_name: &str) -> Result<&ValueWrapper<'_>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn as_time(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | pub fn as_time(&self) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn as_date(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn as_date(&self) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn as_list(&self) -> Result, DataSetError> { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn as_list(&self) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn as_dedup_list(&self) -> Result, DataSetError> { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn as_dedup_list(&self) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn as_map(&self) -> Result, DataSetError> { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn as_map(&self) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn as_path(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 203 | pub fn as_path(&self) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fbthrift/thrift_protocol.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolID` [INFO] [stdout] 26 | pub enum ProtocolID { [INFO] [stdout] | ---------- `ProtocolID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fbthrift/thrift_protocol.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType` [INFO] [stdout] 61 | #[repr(u32)] [INFO] [stdout] 62 | pub enum MessageType { [INFO] [stdout] | ----------- `MessageType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_wkt` is never used [INFO] [stdout] --> src/value_wrapper/mod.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn to_wkt(geo: Geography) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex`, `tags`, `tag_name_index_map`, and `timezone_info` are never read [INFO] [stdout] --> src/value_wrapper/relationship.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | vertex: Vertex, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | tag_name_index_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | timezone_info: TimezoneInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `edge` and `timezone_info` are never read [INFO] [stdout] --> src/value_wrapper/relationship.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Relationship { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | edge: Edge, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | timezone_info: TimezoneInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_node`, `relationship`, and `end_node` are never read [INFO] [stdout] --> src/value_wrapper/relationship.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Segment<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 19 | start_node: &'a Node, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | relationship: &'a Relationship, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | end_node: &'a Node, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `node_list`, `relationship_list`, `segments`, and `timezone_info` are never read [INFO] [stdout] --> src/value_wrapper/relationship.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PathWrapper<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 25 | path: Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | node_list: Vec<&'a Node>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | relationship_list: Vec<&'a Relationship>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | segments: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | timezone_info: TimezoneInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockResponseHandler` is never constructed [INFO] [stdout] --> src/fbthrift_transport_response_handler/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct MockResponseHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClusterID` is never used [INFO] [stdout] --> src/fbthrift_protocol/common/types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type ClusterID = ::std::primitive::i64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/fbthrift_protocol/common/types.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 241 | col_name: &str, [INFO] [stdout] 242 | ) -> Result, DataSetError> { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/graph/query.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | dataset_wrapper_proxy!(GraphQueryOutput); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dataset_wrapper_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_row_values_by_index(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/graph/query.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | dataset_wrapper_proxy!(GraphQueryOutput); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `dataset_wrapper_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_row_values_by_index(&self, index: usize) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 241 | col_name: &str, [INFO] [stdout] 242 | ) -> Result, DataSetError> { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/storage/query.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | dataset_wrapper_proxy!(StorageQueryOutput); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `dataset_wrapper_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_row_values_by_index(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/storage/query.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | dataset_wrapper_proxy!(StorageQueryOutput); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `dataset_wrapper_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_row_values_by_index(&self, index: usize) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 88 | col_name: &str, [INFO] [stdout] 89 | ) -> Result, DataSetError> { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_value_by_index(&self, index: usize) -> Result<&ValueWrapper, DataSetError> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_value_by_index(&self, index: usize) -> Result<&ValueWrapper<'_>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset_wrapper.rs:300:34 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_value_by_col_name(&self, col_name: &str) -> Result<&ValueWrapper, DataSetError> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_value_by_col_name(&self, col_name: &str) -> Result<&ValueWrapper<'_>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn as_time(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | pub fn as_time(&self) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn as_date(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn as_date(&self) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn as_list(&self) -> Result, DataSetError> { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn as_list(&self) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn as_dedup_list(&self) -> Result, DataSetError> { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn as_dedup_list(&self) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn as_map(&self) -> Result, DataSetError> { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn as_map(&self) -> Result>, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_wrapper/mod.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn as_path(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 203 | pub fn as_path(&self) -> Result, DataSetError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fbthrift/thrift_protocol.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolID` [INFO] [stdout] 26 | pub enum ProtocolID { [INFO] [stdout] | ---------- `ProtocolID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fbthrift/thrift_protocol.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType` [INFO] [stdout] 61 | #[repr(u32)] [INFO] [stdout] 62 | pub enum MessageType { [INFO] [stdout] | ----------- `MessageType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-nebula` (lib test) due to 14 previous errors; 39 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-nebula` (lib) due to 14 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8961d4f1a50a5150eb27848921dbede3e65179adfb2a152d6101e1afce0556cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8961d4f1a50a5150eb27848921dbede3e65179adfb2a152d6101e1afce0556cf", kill_on_drop: false }` [INFO] [stdout] 8961d4f1a50a5150eb27848921dbede3e65179adfb2a152d6101e1afce0556cf