[INFO] fetching crate assembly-data 0.3.0... [INFO] building assembly-data-0.3.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate assembly-data 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate assembly-data 0.3.0 [INFO] finished tweaking crates.io crate assembly-data 0.3.0 [INFO] tweaked toml for crates.io crate assembly-data 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate assembly-data 0.3.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c426b6fe2d09f828c2b882ea699dd7d339789ee5330badcc860a64b7da8ebeba [INFO] running `Command { std: "docker" "start" "-a" "c426b6fe2d09f828c2b882ea699dd7d339789ee5330badcc860a64b7da8ebeba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c426b6fe2d09f828c2b882ea699dd7d339789ee5330badcc860a64b7da8ebeba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c426b6fe2d09f828c2b882ea699dd7d339789ee5330badcc860a64b7da8ebeba", kill_on_drop: false }` [INFO] [stdout] c426b6fe2d09f828c2b882ea699dd7d339789ee5330badcc860a64b7da8ebeba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d2bf549b67462024f562e82a8ad163412bde1cde500583f55622dc09c9c6407 [INFO] running `Command { std: "docker" "start" "-a" "1d2bf549b67462024f562e82a8ad163412bde1cde500583f55622dc09c9c6407", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [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 radium v0.5.3 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling hsieh-hash v0.1.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [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 serde_derive v1.0.130 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling assembly-core v0.2.1 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling rusqlite v0.21.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: 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: 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: 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: 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/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/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/xml/localization.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LocaleError` [INFO] [stdout] 20 | /// Some problem with loading a locale file [INFO] [stdout] 21 | pub enum LocaleError { [INFO] [stdout] | ----------- `LocaleError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.32s [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" "1d2bf549b67462024f562e82a8ad163412bde1cde500583f55622dc09c9c6407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2bf549b67462024f562e82a8ad163412bde1cde500583f55622dc09c9c6407", kill_on_drop: false }` [INFO] [stdout] 1d2bf549b67462024f562e82a8ad163412bde1cde500583f55622dc09c9c6407 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb9f0bfcec7a7aa1d4a5865524b6f164013d2213ea978c2d607854e30ac97303 [INFO] running `Command { std: "docker" "start" "-a" "bb9f0bfcec7a7aa1d4a5865524b6f164013d2213ea978c2d607854e30ac97303", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [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 gimli v0.25.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [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 textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling mapr v0.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.21 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.16 [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: 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: 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: 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: 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/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/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/xml/localization.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LocaleError` [INFO] [stdout] 20 | /// Some problem with loading a locale file [INFO] [stdout] 21 | pub enum LocaleError { [INFO] [stdout] | ----------- `LocaleError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: 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: 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] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling assembly-data v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ArrayHeader { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[repr(C)] [INFO] [stdout] 22 | | /// The basic format of an array reference [INFO] [stdout] 23 | | pub struct ArrayHeader { [INFO] [stdout] 24 | | /// The number of entries in the array [INFO] [stdout] ... | [INFO] [stdout] 27 | | pub base_offset: u32, [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FDBHeader { [INFO] [stdout] | ^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / /// The header of the database file. [INFO] [stdout] 37 | | /// [INFO] [stdout] 38 | | /// This struct exists only once at index 0 of the file. [INFO] [stdout] 39 | | #[derive(Copy, Clone, Debug, Pod, Zeroable, PartialEq, Eq)] [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub tables: ArrayHeader, [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FDBTableHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / #[repr(C)] [INFO] [stdout] 56 | | /// The header of a table. [INFO] [stdout] 57 | | /// [INFO] [stdout] 58 | | /// This struct is used in the global TableHeader list and contains [INFO] [stdout] ... | [INFO] [stdout] 65 | | pub table_data_header_addr: u32, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct FDBTableDefHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / #[repr(C)] [INFO] [stdout] 70 | | /// The header of a table definition [INFO] [stdout] 71 | | /// [INFO] [stdout] 72 | | /// This struct exists once per table and contains links to information [INFO] [stdout] ... | [INFO] [stdout] 80 | | pub column_header_list_addr: u32, [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct FDBColumnHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / #[repr(C)] [INFO] [stdout] 113 | | /// The header of a column (field-of-row) definition [INFO] [stdout] 114 | | /// [INFO] [stdout] 115 | | /// This struct contains information on the name and data type of a column. [INFO] [stdout] ... | [INFO] [stdout] 121 | | pub column_name_addr: u32, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct FDBTableDataHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / #[repr(C)] [INFO] [stdout] 126 | | /// The header of a table data block [INFO] [stdout] 127 | | /// [INFO] [stdout] 128 | | /// It contains a reference to the array of buckets that hold the row data. [INFO] [stdout] ... | [INFO] [stdout] 131 | | pub buckets: ArrayHeader, [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct FDBBucketHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / #[repr(C)] [INFO] [stdout] 144 | | /// The header of a single bucket. [INFO] [stdout] 145 | | /// [INFO] [stdout] 146 | | /// A bucket is a linked list of references to rows that all have the same [INFO] [stdout] ... | [INFO] [stdout] 150 | | pub row_header_list_head_addr: u32, [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct FDBRowHeaderListEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / #[repr(C)] [INFO] [stdout] 163 | | /// One entry of the linked list of references to rows. [INFO] [stdout] 164 | | /// [INFO] [stdout] 165 | | /// This struct always contains a reference to a row and may [INFO] [stdout] ... | [INFO] [stdout] 171 | | pub row_header_list_next_addr: u32, [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct FDBRowHeader { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / #[repr(C)] [INFO] [stdout] 176 | | /// The header for a single row [INFO] [stdout] 177 | | pub struct FDBRowHeader { [INFO] [stdout] 178 | | /// The fields in this row [INFO] [stdout] 179 | | pub fields: ArrayHeader, [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fdb/file/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct FDBFieldData { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fdb/file/mod.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / #[repr(C)] [INFO] [stdout] 192 | | /// The type and value of a row field. [INFO] [stdout] 193 | | pub struct FDBFieldData { [INFO] [stdout] 194 | | /// The data type. [INFO] [stdout] ... | [INFO] [stdout] 197 | | pub value: [u8; 4], [INFO] [stdout] 198 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/common.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn encode(string: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn encode(string: &str) -> Cow<'_, Latin1Str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/common.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn decode(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn decode(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/mem/mod.rs:409:61 [INFO] [stdout] | [INFO] [stdout] 409 | fn get_field_raw(data_type: ValueType, bytes: [u8; 4], buf: &[u8]) -> Field { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 409 | fn get_field_raw(data_type: ValueType, bytes: [u8; 4], buf: &[u8]) -> Field<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/query/mod.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Error, Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_PKFilterError` [INFO] [stdout] ... [INFO] [stdout] 40 | pub enum PKFilterError { [INFO] [stdout] | ------------- `PKFilterError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/reader/builder.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BuilderError` [INFO] [stdout] 19 | pub enum BuilderError { [INFO] [stdout] | ------------ `BuilderError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdb/ro/mod.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn as_bytes_handle(&self) -> Handle { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn as_bytes_handle(&self) -> Handle<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/ro/buffer.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Error, Debug, Display, Clone, PartialEq, Eq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BufferError` [INFO] [stdout] 25 | /// Error for handling a buffer [INFO] [stdout] 26 | pub enum BufferError { [INFO] [stdout] | ----------- `BufferError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fdb/ro/handle.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Display, Clone, PartialEq, Eq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_BaseErrorKind` [INFO] [stdout] 71 | /// The different kinds of [`BaseError`]s [INFO] [stdout] 72 | pub enum BaseErrorKind { [INFO] [stdout] | ------------- `BaseErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/common/mod.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_XmlError` [INFO] [stdout] 13 | pub enum XmlError { [INFO] [stdout] | -------- `XmlError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/common/exact.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/database/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UnknownValueType` [INFO] [stdout] 80 | /// Unknown value type '{0}' [INFO] [stdout] 81 | pub struct UnknownValueType(String); [INFO] [stdout] | ---------------- `UnknownValueType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml/localization.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Display, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LocaleError` [INFO] [stdout] 20 | /// Some problem with loading a locale file [INFO] [stdout] 21 | pub enum LocaleError { [INFO] [stdout] | ----------- `LocaleError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `assembly-data` (lib test); 32 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name assembly_data --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="rusqlite"' --cfg 'feature="serde"' --cfg 'feature="serde-derives"' --cfg 'feature="sqlite"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rusqlite", "serde", "serde-derives", "sqlite"))' -C metadata=283efba8e0512484 -C extra-filename=-e44d8ff17b76498b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern assembly_core=/opt/rustwide/target/debug/deps/libassembly_core-2f43fe6412326a91.rlib --extern bytemuck=/opt/rustwide/target/debug/deps/libbytemuck-aad0be7f73619f27.rlib --extern bytemuck_derive=/opt/rustwide/target/debug/deps/libbytemuck_derive-86b2f4f43f5cb531.so --extern color_eyre=/opt/rustwide/target/debug/deps/libcolor_eyre-bcfeeb9de014ddba.rlib --extern derive_new=/opt/rustwide/target/debug/deps/libderive_new-dca089b84f44e60d.so --extern encoding_rs=/opt/rustwide/target/debug/deps/libencoding_rs-1a749f717925d7ec.rlib --extern hsieh_hash=/opt/rustwide/target/debug/deps/libhsieh_hash-9acab02a7586dbbe.rlib --extern mapr=/opt/rustwide/target/debug/deps/libmapr-1ccdc1e6015da0c3.rlib --extern memchr=/opt/rustwide/target/debug/deps/libmemchr-d10dd2182d638e7d.rlib --extern prettytable=/opt/rustwide/target/debug/deps/libprettytable-6be8883199fa64a5.rlib --extern quick_xml=/opt/rustwide/target/debug/deps/libquick_xml-ca32c69dbff996ec.rlib --extern rusqlite=/opt/rustwide/target/debug/deps/librusqlite-5ebfc83885663ca1.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-327306041c28888b.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-3619730713652a2e.rlib --extern structopt=/opt/rustwide/target/debug/deps/libstructopt-883c41f7b706e81c.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-ec31b01a3f5dbabb.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/libsqlite3-sys-5f3a6ab640992fc0/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bb9f0bfcec7a7aa1d4a5865524b6f164013d2213ea978c2d607854e30ac97303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9f0bfcec7a7aa1d4a5865524b6f164013d2213ea978c2d607854e30ac97303", kill_on_drop: false }` [INFO] [stdout] bb9f0bfcec7a7aa1d4a5865524b6f164013d2213ea978c2d607854e30ac97303