[INFO] fetching crate assembly-data 0.3.0... [INFO] building assembly-data-0.3.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate assembly-data 0.3.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate assembly-data 0.3.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.16 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded assembly-core v0.2.1 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded radium v0.5.3 [INFO] [stderr] Downloaded mapr v0.8.0 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded sharded-slab v0.1.3 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded rusqlite v0.21.0 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded bitvec v0.19.5 [INFO] [stderr] Downloaded tracing-subscriber v0.2.21 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded serde_json v1.0.67 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded structopt v0.3.23 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded tracing-core v0.1.20 [INFO] [stderr] Downloaded hsieh-hash v0.1.1 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded encoding_rs v0.8.28 [INFO] [stderr] Downloaded libsqlite3-sys v0.17.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f58f8e60664a87bd9bb4c36cd1332ba77187b08eeb02f478bd902199176e542 [INFO] running `Command { std: "docker" "start" "-a" "4f58f8e60664a87bd9bb4c36cd1332ba77187b08eeb02f478bd902199176e542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f58f8e60664a87bd9bb4c36cd1332ba77187b08eeb02f478bd902199176e542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f58f8e60664a87bd9bb4c36cd1332ba77187b08eeb02f478bd902199176e542", kill_on_drop: false }` [INFO] [stdout] 4f58f8e60664a87bd9bb4c36cd1332ba77187b08eeb02f478bd902199176e542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb5807b5198662a05134c0a2244d43ca8c11bee8611587fce9b3e68c34a20ce7 [INFO] running `Command { std: "docker" "start" "-a" "eb5807b5198662a05134c0a2244d43ca8c11bee8611587fce9b3e68c34a20ce7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling hsieh-hash v0.1.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling assembly-core v0.2.1 [INFO] [stderr] Compiling rusqlite v0.21.0 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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 27.46s [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 3` [INFO] running `Command { std: "docker" "inspect" "eb5807b5198662a05134c0a2244d43ca8c11bee8611587fce9b3e68c34a20ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5807b5198662a05134c0a2244d43ca8c11bee8611587fce9b3e68c34a20ce7", kill_on_drop: false }` [INFO] [stdout] eb5807b5198662a05134c0a2244d43ca8c11bee8611587fce9b3e68c34a20ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebd261ed91b5b6e585631f1025740cd5a71858d44a557491322835e322bd17f6 [INFO] running `Command { std: "docker" "start" "-a" "ebd261ed91b5b6e585631f1025740cd5a71858d44a557491322835e322bd17f6", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.21 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling mapr v0.8.0 [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)]` (part of `#[warn(unused)]`) 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: 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] Compiling csv v1.1.6 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 21.02s [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 3` [INFO] running `Command { std: "docker" "inspect" "ebd261ed91b5b6e585631f1025740cd5a71858d44a557491322835e322bd17f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd261ed91b5b6e585631f1025740cd5a71858d44a557491322835e322bd17f6", kill_on_drop: false }` [INFO] [stdout] ebd261ed91b5b6e585631f1025740cd5a71858d44a557491322835e322bd17f6