[INFO] fetching crate assembly-data 0.3.0... [INFO] testing assembly-data-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-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 cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.23 [INFO] [stderr] Downloaded radium v0.5.3 [INFO] [stderr] Downloaded mapr v0.8.0 [INFO] [stderr] Downloaded assembly-core v0.2.1 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded structopt-derive v0.4.16 [INFO] [stderr] Downloaded hsieh-hash v0.1.1 [INFO] [stderr] Downloaded tracing-core v0.1.20 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded rusqlite v0.21.0 [INFO] [stderr] Downloaded bitvec v0.19.5 [INFO] [stderr] Downloaded tracing-subscriber v0.2.21 [INFO] [stderr] Downloaded object v0.26.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 464ad2b6c2c7ac84b178c35d7bf61396e0ac0f025cc561d0ce6a8f5953536c46 [INFO] running `Command { std: "docker" "start" "-a" "464ad2b6c2c7ac84b178c35d7bf61396e0ac0f025cc561d0ce6a8f5953536c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "464ad2b6c2c7ac84b178c35d7bf61396e0ac0f025cc561d0ce6a8f5953536c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464ad2b6c2c7ac84b178c35d7bf61396e0ac0f025cc561d0ce6a8f5953536c46", kill_on_drop: false }` [INFO] [stdout] 464ad2b6c2c7ac84b178c35d7bf61396e0ac0f025cc561d0ce6a8f5953536c46 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4894c9ed19440c1ead0f99e9ecb0105ff54f96487eb3716b00050a26280f7f09 [INFO] running `Command { std: "docker" "start" "-a" "4894c9ed19440c1ead0f99e9ecb0105ff54f96487eb3716b00050a26280f7f09", 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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling hsieh-hash v0.1.1 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [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 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 24.31s [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" "4894c9ed19440c1ead0f99e9ecb0105ff54f96487eb3716b00050a26280f7f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4894c9ed19440c1ead0f99e9ecb0105ff54f96487eb3716b00050a26280f7f09", kill_on_drop: false }` [INFO] [stdout] 4894c9ed19440c1ead0f99e9ecb0105ff54f96487eb3716b00050a26280f7f09 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80b46ecafd5b572c0dc8815cba1c5ad2149d2bb85d025efd7c3d9141ba9e95d3 [INFO] running `Command { std: "docker" "start" "-a" "80b46ecafd5b572c0dc8815cba1c5ad2149d2bb85d025efd7c3d9141ba9e95d3", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling csv-core v0.1.10 [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 byteorder v1.4.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling tracing-subscriber v0.2.21 [INFO] [stderr] Compiling term v0.5.2 [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 tracing v0.1.26 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling structopt v0.3.23 [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 18.68s [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" "80b46ecafd5b572c0dc8815cba1c5ad2149d2bb85d025efd7c3d9141ba9e95d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b46ecafd5b572c0dc8815cba1c5ad2149d2bb85d025efd7c3d9141ba9e95d3", kill_on_drop: false }` [INFO] [stdout] 80b46ecafd5b572c0dc8815cba1c5ad2149d2bb85d025efd7c3d9141ba9e95d3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9abb2ef3d758ca029e7f91640b2979bfb2d749c65f30160c13f827a7c5e37817 [INFO] running `Command { std: "docker" "start" "-a" "9abb2ef3d758ca029e7f91640b2979bfb2d749c65f30160c13f827a7c5e37817", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct ArrayHeader { [INFO] [stderr] | ^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / #[repr(C)] [INFO] [stderr] 22 | | /// The basic format of an array reference [INFO] [stderr] 23 | | pub struct ArrayHeader { [INFO] [stderr] 24 | | /// The number of entries in the array [INFO] [stderr] ... | [INFO] [stderr] 27 | | pub base_offset: u32, [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct FDBHeader { [INFO] [stderr] | ^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / /// The header of the database file. [INFO] [stderr] 37 | | /// [INFO] [stderr] 38 | | /// This struct exists only once at index 0 of the file. [INFO] [stderr] 39 | | #[derive(Copy, Clone, Debug, Pod, Zeroable, PartialEq, Eq)] [INFO] [stderr] ... | [INFO] [stderr] 43 | | pub tables: ArrayHeader, [INFO] [stderr] 44 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct FDBTableHeader { [INFO] [stderr] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | / #[repr(C)] [INFO] [stderr] 56 | | /// The header of a table. [INFO] [stderr] 57 | | /// [INFO] [stderr] 58 | | /// This struct is used in the global TableHeader list and contains [INFO] [stderr] ... | [INFO] [stderr] 65 | | pub table_data_header_addr: u32, [INFO] [stderr] 66 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub struct FDBTableDefHeader { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:69:1 [INFO] [stderr] | [INFO] [stderr] 69 | / #[repr(C)] [INFO] [stderr] 70 | | /// The header of a table definition [INFO] [stderr] 71 | | /// [INFO] [stderr] 72 | | /// This struct exists once per table and contains links to information [INFO] [stderr] ... | [INFO] [stderr] 80 | | pub column_header_list_addr: u32, [INFO] [stderr] 81 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | pub struct FDBColumnHeader { [INFO] [stderr] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | / #[repr(C)] [INFO] [stderr] 113 | | /// The header of a column (field-of-row) definition [INFO] [stderr] 114 | | /// [INFO] [stderr] 115 | | /// This struct contains information on the name and data type of a column. [INFO] [stderr] ... | [INFO] [stderr] 121 | | pub column_name_addr: u32, [INFO] [stderr] 122 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:129:12 [INFO] [stderr] | [INFO] [stderr] 129 | pub struct FDBTableDataHeader { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:125:1 [INFO] [stderr] | [INFO] [stderr] 125 | / #[repr(C)] [INFO] [stderr] 126 | | /// The header of a table data block [INFO] [stderr] 127 | | /// [INFO] [stderr] 128 | | /// It contains a reference to the array of buckets that hold the row data. [INFO] [stderr] ... | [INFO] [stderr] 131 | | pub buckets: ArrayHeader, [INFO] [stderr] 132 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:148:12 [INFO] [stderr] | [INFO] [stderr] 148 | pub struct FDBBucketHeader { [INFO] [stderr] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:143:1 [INFO] [stderr] | [INFO] [stderr] 143 | / #[repr(C)] [INFO] [stderr] 144 | | /// The header of a single bucket. [INFO] [stderr] 145 | | /// [INFO] [stderr] 146 | | /// A bucket is a linked list of references to rows that all have the same [INFO] [stderr] ... | [INFO] [stderr] 150 | | pub row_header_list_head_addr: u32, [INFO] [stderr] 151 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:167:12 [INFO] [stderr] | [INFO] [stderr] 167 | pub struct FDBRowHeaderListEntry { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:162:1 [INFO] [stderr] | [INFO] [stderr] 162 | / #[repr(C)] [INFO] [stderr] 163 | | /// One entry of the linked list of references to rows. [INFO] [stderr] 164 | | /// [INFO] [stderr] 165 | | /// This struct always contains a reference to a row and may [INFO] [stderr] ... | [INFO] [stderr] 171 | | pub row_header_list_next_addr: u32, [INFO] [stderr] 172 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:177:12 [INFO] [stderr] | [INFO] [stderr] 177 | pub struct FDBRowHeader { [INFO] [stderr] | ^^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:175:1 [INFO] [stderr] | [INFO] [stderr] 175 | / #[repr(C)] [INFO] [stderr] 176 | | /// The header for a single row [INFO] [stderr] 177 | | pub struct FDBRowHeader { [INFO] [stderr] 178 | | /// The fields in this row [INFO] [stderr] 179 | | pub fields: ArrayHeader, [INFO] [stderr] 180 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/fdb/file/mod.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 193 | pub struct FDBFieldData { [INFO] [stderr] | ^^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/fdb/file/mod.rs:191:1 [INFO] [stderr] | [INFO] [stderr] 191 | / #[repr(C)] [INFO] [stderr] 192 | | /// The type and value of a row field. [INFO] [stderr] 193 | | pub struct FDBFieldData { [INFO] [stderr] 194 | | /// The data type. [INFO] [stderr] ... | [INFO] [stderr] 197 | | pub value: [u8; 4], [INFO] [stderr] 198 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdb/common.rs:38:27 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn encode(string: &str) -> Cow { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn encode(string: &str) -> Cow<'_, Latin1Str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdb/common.rs:151:19 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn decode(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 151 | pub fn decode(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdb/mem/mod.rs:409:61 [INFO] [stderr] | [INFO] [stderr] 409 | fn get_field_raw(data_type: ValueType, bytes: [u8; 4], buf: &[u8]) -> Field { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 409 | fn get_field_raw(data_type: ValueType, bytes: [u8; 4], buf: &[u8]) -> Field<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/fdb/query/mod.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Error, Debug, Display)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_PKFilterError` [INFO] [stderr] ... [INFO] [stderr] 40 | pub enum PKFilterError { [INFO] [stderr] | ------------- `PKFilterError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/fdb/reader/builder.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Display, Error)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BuilderError` [INFO] [stderr] 19 | pub enum BuilderError { [INFO] [stderr] | ------------ `BuilderError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdb/ro/mod.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn as_bytes_handle(&self) -> Handle { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | pub fn as_bytes_handle(&self) -> Handle<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/fdb/ro/buffer.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Error, Debug, Display, Clone, PartialEq, Eq)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BufferError` [INFO] [stderr] 25 | /// Error for handling a buffer [INFO] [stderr] 26 | pub enum BufferError { [INFO] [stderr] | ----------- `BufferError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/fdb/ro/handle.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug, Display, Clone, PartialEq, Eq)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BaseErrorKind` [INFO] [stderr] 71 | /// The different kinds of [`BaseError`]s [INFO] [stderr] 72 | pub enum BaseErrorKind { [INFO] [stderr] | ------------- `BaseErrorKind` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/xml/common/mod.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Display, Error)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_XmlError` [INFO] [stderr] 13 | pub enum XmlError { [INFO] [stderr] | -------- `XmlError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/xml/common/exact.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Display, Error)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stderr] 15 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/xml/database/mod.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(Debug, Display)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UnknownValueType` [INFO] [stderr] 80 | /// Unknown value type '{0}' [INFO] [stderr] 81 | pub struct UnknownValueType(String); [INFO] [stderr] | ---------------- `UnknownValueType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/xml/localization.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Display, Error)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LocaleError` [INFO] [stderr] 20 | /// Some problem with loading a locale file [INFO] [stderr] 21 | pub enum LocaleError { [INFO] [stderr] | ----------- `LocaleError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `assembly-data` (lib) generated 32 warnings (run `cargo fix --lib -p assembly-data` to apply 4 suggestions) [INFO] [stderr] warning: `assembly-data` (lib test) generated 32 warnings (32 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/assembly_data-e44d8ff17b76498b) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test fdb::file::tests::test_align ... ok [INFO] [stdout] test fdb::mem::c::tests::check_align_of ... ok [INFO] [stdout] test fdb::mem::c::tests::check_unaligned_read ... ok [INFO] [stdout] test fdb::store::tests::test_write_empty ... ok [INFO] [stdout] test fdb::store::tests::test_write_table_with_columns ... ok [INFO] [stdout] test fdb::file::tests::test_size_of ... ok [INFO] [stdout] test fdb::store::tests::test_write_table_without_columns ... ok [INFO] [stdout] test fdb::common::tests::test_latin1_req_bytes ... ok [INFO] [stdout] test fdb::store::tests::test_write_table_with_data ... ok [INFO] [stdout] test fdb::store::tests::test_write_table_with_column ... ok [INFO] [stdout] test fdb::store::tests::test_write_tables_with_columns ... ok [INFO] [stdout] test fdb::store::tests::test_write_tables_with_data ... ok [INFO] [stdout] test xml::database::tests::test_simple_deserialize ... ok [INFO] [stdout] test xml::obj::store::sink::test::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests assembly_data [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/fdb/mod.rs - fdb (line 31) ... ok [INFO] [stdout] test src/fdb/store/mod.rs - fdb::store (line 8) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9abb2ef3d758ca029e7f91640b2979bfb2d749c65f30160c13f827a7c5e37817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9abb2ef3d758ca029e7f91640b2979bfb2d749c65f30160c13f827a7c5e37817", kill_on_drop: false }` [INFO] [stdout] 9abb2ef3d758ca029e7f91640b2979bfb2d749c65f30160c13f827a7c5e37817