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