[INFO] fetching crate assembly-data 0.3.0... [INFO] checking assembly-data-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate assembly-data 0.3.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate assembly-data 0.3.0 [INFO] finished tweaking crates.io crate assembly-data 0.3.0 [INFO] tweaked toml for crates.io crate assembly-data 0.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate assembly-data 0.3.0 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] crate crates.io crate assembly-data 0.3.0 already has a lockfile, it will not be regenerated [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1814cc1980ae45bdbece632692bf4eae55d72fe34dae439dfffef6afdc8df293 [INFO] running `Command { std: "docker" "start" "-a" "1814cc1980ae45bdbece632692bf4eae55d72fe34dae439dfffef6afdc8df293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1814cc1980ae45bdbece632692bf4eae55d72fe34dae439dfffef6afdc8df293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1814cc1980ae45bdbece632692bf4eae55d72fe34dae439dfffef6afdc8df293", kill_on_drop: false }` [INFO] [stdout] 1814cc1980ae45bdbece632692bf4eae55d72fe34dae439dfffef6afdc8df293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b9b5e4ea881032f2dd9969ea7dc5fe939cf551f0238caf3d2f4b54628595b489 [INFO] running `Command { std: "docker" "start" "-a" "b9b5e4ea881032f2dd9969ea7dc5fe939cf551f0238caf3d2f4b54628595b489", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking tracing-subscriber v0.2.21 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking hsieh-hash v0.1.1 [INFO] [stderr] Checking mapr v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking assembly-core v0.2.1 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking quick-xml v0.20.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking assembly-data v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ArrayHeader { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[repr(C)] [INFO] [stdout] 22 | | /// The basic format of an array reference [INFO] [stdout] 23 | | pub struct ArrayHeader { [INFO] [stdout] 24 | | /// The number of entries in the array [INFO] [stdout] ... | [INFO] [stdout] 27 | | pub base_offset: u32, [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FDBHeader { [INFO] [stdout] | ^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / /// The header of the database file. [INFO] [stdout] 37 | | /// [INFO] [stdout] 38 | | /// This struct exists only once at index 0 of the file. [INFO] [stdout] 39 | | #[derive(Copy, Clone, Debug, Pod, Zeroable, PartialEq, Eq)] [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub tables: ArrayHeader, [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FDBTableHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / #[repr(C)] [INFO] [stdout] 56 | | /// The header of a table. [INFO] [stdout] 57 | | /// [INFO] [stdout] 58 | | /// This struct is used in the global TableHeader list and contains [INFO] [stdout] ... | [INFO] [stdout] 65 | | pub table_data_header_addr: u32, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct FDBTableDefHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / #[repr(C)] [INFO] [stdout] 70 | | /// The header of a table definition [INFO] [stdout] 71 | | /// [INFO] [stdout] 72 | | /// This struct exists once per table and contains links to information [INFO] [stdout] ... | [INFO] [stdout] 80 | | pub column_header_list_addr: u32, [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct FDBColumnHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / #[repr(C)] [INFO] [stdout] 113 | | /// The header of a column (field-of-row) definition [INFO] [stdout] 114 | | /// [INFO] [stdout] 115 | | /// This struct contains information on the name and data type of a column. [INFO] [stdout] ... | [INFO] [stdout] 121 | | pub column_name_addr: u32, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct FDBTableDataHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / #[repr(C)] [INFO] [stdout] 126 | | /// The header of a table data block [INFO] [stdout] 127 | | /// [INFO] [stdout] 128 | | /// It contains a reference to the array of buckets that hold the row data. [INFO] [stdout] ... | [INFO] [stdout] 131 | | pub buckets: ArrayHeader, [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct FDBBucketHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / #[repr(C)] [INFO] [stdout] 144 | | /// The header of a single bucket. [INFO] [stdout] 145 | | /// [INFO] [stdout] 146 | | /// A bucket is a linked list of references to rows that all have the same [INFO] [stdout] ... | [INFO] [stdout] 150 | | pub row_header_list_head_addr: u32, [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct FDBRowHeaderListEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / #[repr(C)] [INFO] [stdout] 163 | | /// One entry of the linked list of references to rows. [INFO] [stdout] 164 | | /// [INFO] [stdout] 165 | | /// This struct always contains a reference to a row and may [INFO] [stdout] ... | [INFO] [stdout] 171 | | pub row_header_list_next_addr: u32, [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct FDBRowHeader { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / #[repr(C)] [INFO] [stdout] 176 | | /// The header for a single row [INFO] [stdout] 177 | | pub struct FDBRowHeader { [INFO] [stdout] 178 | | /// The fields in this row [INFO] [stdout] 179 | | pub fields: ArrayHeader, [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct FDBFieldData { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / #[repr(C)] [INFO] [stdout] 192 | | /// The type and value of a row field. [INFO] [stdout] 193 | | pub struct FDBFieldData { [INFO] [stdout] 194 | | /// The data type. [INFO] [stdout] ... | [INFO] [stdout] 197 | | pub value: [u8; 4], [INFO] [stdout] 198 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/common.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn encode(string: &str) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn encode(string: &str) -> Cow<'_, Latin1Str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/common.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn decode(&self) -> Cow { [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] 151 | pub fn decode(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/mem/mod.rs:409:61 [INFO] [stdout] | [INFO] [stdout] 409 | fn get_field_raw(data_type: ValueType, bytes: [u8; 4], buf: &[u8]) -> Field { [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] 409 | fn get_field_raw(data_type: ValueType, bytes: [u8; 4], buf: &[u8]) -> Field<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/query/mod.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Error, Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_PKFilterError` [INFO] [stdout] ... [INFO] [stdout] 40 | pub enum PKFilterError { [INFO] [stdout] | ------------- `PKFilterError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/reader/builder.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BuilderError` [INFO] [stdout] 19 | pub enum BuilderError { [INFO] [stdout] | ------------ `BuilderError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/ro/mod.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn as_bytes_handle(&self) -> Handle { [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] 29 | pub fn as_bytes_handle(&self) -> Handle<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/ro/buffer.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Error, Debug, Display, Clone, PartialEq, Eq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BufferError` [INFO] [stdout] 25 | /// Error for handling a buffer [INFO] [stdout] 26 | pub enum BufferError { [INFO] [stdout] | ----------- `BufferError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/ro/handle.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Display, Clone, PartialEq, Eq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BaseErrorKind` [INFO] [stdout] 71 | /// The different kinds of [`BaseError`]s [INFO] [stdout] 72 | pub enum BaseErrorKind { [INFO] [stdout] | ------------- `BaseErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ArrayHeader { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[repr(C)] [INFO] [stdout] 22 | | /// The basic format of an array reference [INFO] [stdout] 23 | | pub struct ArrayHeader { [INFO] [stdout] 24 | | /// The number of entries in the array [INFO] [stdout] ... | [INFO] [stdout] 27 | | pub base_offset: u32, [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FDBHeader { [INFO] [stdout] | ^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / /// The header of the database file. [INFO] [stdout] 37 | | /// [INFO] [stdout] 38 | | /// This struct exists only once at index 0 of the file. [INFO] [stdout] 39 | | #[derive(Copy, Clone, Debug, Pod, Zeroable, PartialEq, Eq)] [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub tables: ArrayHeader, [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FDBTableHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / #[repr(C)] [INFO] [stdout] 56 | | /// The header of a table. [INFO] [stdout] 57 | | /// [INFO] [stdout] 58 | | /// This struct is used in the global TableHeader list and contains [INFO] [stdout] ... | [INFO] [stdout] 65 | | pub table_data_header_addr: u32, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/common/mod.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_XmlError` [INFO] [stdout] 13 | pub enum XmlError { [INFO] [stdout] | -------- `XmlError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct FDBTableDefHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / #[repr(C)] [INFO] [stdout] 70 | | /// The header of a table definition [INFO] [stdout] 71 | | /// [INFO] [stdout] 72 | | /// This struct exists once per table and contains links to information [INFO] [stdout] ... | [INFO] [stdout] 80 | | pub column_header_list_addr: u32, [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct FDBColumnHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / #[repr(C)] [INFO] [stdout] 113 | | /// The header of a column (field-of-row) definition [INFO] [stdout] 114 | | /// [INFO] [stdout] 115 | | /// This struct contains information on the name and data type of a column. [INFO] [stdout] ... | [INFO] [stdout] 121 | | pub column_name_addr: u32, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/common/exact.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/database/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UnknownValueType` [INFO] [stdout] 80 | /// Unknown value type '{0}' [INFO] [stdout] 81 | pub struct UnknownValueType(String); [INFO] [stdout] | ---------------- `UnknownValueType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct FDBTableDataHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / #[repr(C)] [INFO] [stdout] 126 | | /// The header of a table data block [INFO] [stdout] 127 | | /// [INFO] [stdout] 128 | | /// It contains a reference to the array of buckets that hold the row data. [INFO] [stdout] ... | [INFO] [stdout] 131 | | pub buckets: ArrayHeader, [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct FDBBucketHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / #[repr(C)] [INFO] [stdout] 144 | | /// The header of a single bucket. [INFO] [stdout] 145 | | /// [INFO] [stdout] 146 | | /// A bucket is a linked list of references to rows that all have the same [INFO] [stdout] ... | [INFO] [stdout] 150 | | pub row_header_list_head_addr: u32, [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct FDBRowHeaderListEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / #[repr(C)] [INFO] [stdout] 163 | | /// One entry of the linked list of references to rows. [INFO] [stdout] 164 | | /// [INFO] [stdout] 165 | | /// This struct always contains a reference to a row and may [INFO] [stdout] ... | [INFO] [stdout] 171 | | pub row_header_list_next_addr: u32, [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct FDBRowHeader { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/localization.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LocaleError` [INFO] [stdout] 20 | /// Some problem with loading a locale file [INFO] [stdout] 21 | pub enum LocaleError { [INFO] [stdout] | ----------- `LocaleError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / #[repr(C)] [INFO] [stdout] 176 | | /// The header for a single row [INFO] [stdout] 177 | | pub struct FDBRowHeader { [INFO] [stdout] 178 | | /// The fields in this row [INFO] [stdout] 179 | | pub fields: ArrayHeader, [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct FDBFieldData { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / #[repr(C)] [INFO] [stdout] 192 | | /// The type and value of a row field. [INFO] [stdout] 193 | | pub struct FDBFieldData { [INFO] [stdout] 194 | | /// The data type. [INFO] [stdout] ... | [INFO] [stdout] 197 | | pub value: [u8; 4], [INFO] [stdout] 198 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/common.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn encode(string: &str) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn encode(string: &str) -> Cow<'_, Latin1Str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/common.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn decode(&self) -> Cow { [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] 151 | pub fn decode(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/mem/mod.rs:409:61 [INFO] [stdout] | [INFO] [stdout] 409 | fn get_field_raw(data_type: ValueType, bytes: [u8; 4], buf: &[u8]) -> Field { [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] 409 | fn get_field_raw(data_type: ValueType, bytes: [u8; 4], buf: &[u8]) -> Field<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/query/mod.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Error, Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_PKFilterError` [INFO] [stdout] ... [INFO] [stdout] 40 | pub enum PKFilterError { [INFO] [stdout] | ------------- `PKFilterError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/reader/builder.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BuilderError` [INFO] [stdout] 19 | pub enum BuilderError { [INFO] [stdout] | ------------ `BuilderError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/ro/mod.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn as_bytes_handle(&self) -> Handle { [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] 29 | pub fn as_bytes_handle(&self) -> Handle<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/ro/buffer.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Error, Debug, Display, Clone, PartialEq, Eq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BufferError` [INFO] [stdout] 25 | /// Error for handling a buffer [INFO] [stdout] 26 | pub enum BufferError { [INFO] [stdout] | ----------- `BufferError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/ro/handle.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Display, Clone, PartialEq, Eq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BaseErrorKind` [INFO] [stdout] 71 | /// The different kinds of [`BaseError`]s [INFO] [stdout] 72 | pub enum BaseErrorKind { [INFO] [stdout] | ------------- `BaseErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/common/mod.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_XmlError` [INFO] [stdout] 13 | pub enum XmlError { [INFO] [stdout] | -------- `XmlError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/common/exact.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/database/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UnknownValueType` [INFO] [stdout] 80 | /// Unknown value type '{0}' [INFO] [stdout] 81 | pub struct UnknownValueType(String); [INFO] [stdout] | ---------------- `UnknownValueType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/localization.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LocaleError` [INFO] [stdout] 20 | /// Some problem with loading a locale file [INFO] [stdout] 21 | pub enum LocaleError { [INFO] [stdout] | ----------- `LocaleError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2, quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b9b5e4ea881032f2dd9969ea7dc5fe939cf551f0238caf3d2f4b54628595b489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b5e4ea881032f2dd9969ea7dc5fe939cf551f0238caf3d2f4b54628595b489", kill_on_drop: false }` [INFO] [stdout] b9b5e4ea881032f2dd9969ea7dc5fe939cf551f0238caf3d2f4b54628595b489