[INFO] cloning repository https://github.com/thomhuds/matrix_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomhuds/matrix_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomhuds%2Fmatrix_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomhuds%2Fmatrix_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a02f31ef36e6e66bcc10f7d9d39b3db69465b3d4 [INFO] checking thomhuds/matrix_server against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomhuds%2Fmatrix_server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thomhuds/matrix_server [INFO] finished tweaking git repo https://github.com/thomhuds/matrix_server [INFO] tweaked toml for git repo https://github.com/thomhuds/matrix_server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thomhuds/matrix_server on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thomhuds/matrix_server 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 311dd8b1fa83bb6fe7fb8438f671c92955892d330c0d270ead3d7fec8dd715a3 [INFO] running `Command { std: "docker" "start" "-a" "311dd8b1fa83bb6fe7fb8438f671c92955892d330c0d270ead3d7fec8dd715a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "311dd8b1fa83bb6fe7fb8438f671c92955892d330c0d270ead3d7fec8dd715a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311dd8b1fa83bb6fe7fb8438f671c92955892d330c0d270ead3d7fec8dd715a3", kill_on_drop: false }` [INFO] [stdout] 311dd8b1fa83bb6fe7fb8438f671c92955892d330c0d270ead3d7fec8dd715a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b82ae37d7c2984900a049b668d72935138ec788042cb356b2269774fbeeb8b1c [INFO] running `Command { std: "docker" "start" "-a" "b82ae37d7c2984900a049b668d72935138ec788042cb356b2269774fbeeb8b1c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling async-trait v0.1.45 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking tracing-core v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tracing-log v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rust-argon2 v0.5.1 [INFO] [stderr] Checking enum_extract v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking actix-rt v2.1.0 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Checking tracing v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking tracing-serde v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking serde_canonical v0.1.0 [INFO] [stderr] Checking tracing-error v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking actix-cors v0.5.4 [INFO] [stderr] Checking kerux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MxidError` [INFO] [stdout] --> src/util/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mxid::{MatrixId, MxidError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MxidError` [INFO] [stdout] --> src/util/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mxid::{MatrixId, MxidError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `login_type`, `token`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LoginRequest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | #[serde(rename = "type")] [INFO] [stdout] 83 | login_type: LoginType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | device_id: Option, [INFO] [stdout] 88 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `medium` and `address` are never read [INFO] [stdout] --> src/client_api/auth.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | ThirdParty { medium: String, address: String }, [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `country` and `phone` are never read [INFO] [stdout] --> src/client_api/auth.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | Phone { country: String, phone: String }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth`, `bind_email`, `bind_msisdn`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct RegisterRequest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 176 | auth: serde_json::Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | bind_email: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 178 | bind_msisdn: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `room_alias_name` and `invite_3pid` are never read [INFO] [stdout] --> src/client_api/room.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CreateRoomRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 21 | visibility: RoomVisibility, [INFO] [stdout] 22 | room_alias_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | invite_3pid: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_server`, `medium`, and `address` are never read [INFO] [stdout] --> src/client_api/room.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Invite3pid { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 44 | id_server: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | medium: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `set_presence` are never read [INFO] [stdout] --> src/client_api/room_events.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SyncRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | #[serde(default)] [INFO] [stdout] 25 | filter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | set_presence: SetPresence, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/client_api/room_events.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 425 | pub struct MembersRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 426 | at: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/client_api/user.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct UserDirSearchRequest { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Email` and `Msisdn` are never constructed [INFO] [stdout] --> src/client_api/user.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Medium { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 217 | Email, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 218 | // Phone number, including calling code [INFO] [stdout] 219 | Msisdn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/room.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct InvalidMembership(String); [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidMembership` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_cursed_room` is never used [INFO] [stdout] --> src/state/mod.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | async fn construct_cursed_room( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `replace_value` is never used [INFO] [stdout] --> src/storage/sled.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 29 | trait TreeExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn replace_value, V: DeserializeOwned + Serialize>( [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/error.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[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_ErrorKind` [INFO] [stdout] 37 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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/util/mxid.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[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_MxidError` [INFO] [stdout] 17 | pub enum MxidError { [INFO] [stdout] | --------- `MxidError` 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/util/storage.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[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_AddEventError` [INFO] [stdout] 29 | pub enum AddEventError { [INFO] [stdout] | ------------- `AddEventError` 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: fields `login_type`, `token`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LoginRequest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | #[serde(rename = "type")] [INFO] [stdout] 83 | login_type: LoginType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | device_id: Option, [INFO] [stdout] 88 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `medium` and `address` are never read [INFO] [stdout] --> src/client_api/auth.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | ThirdParty { medium: String, address: String }, [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `country` and `phone` are never read [INFO] [stdout] --> src/client_api/auth.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | Phone { country: String, phone: String }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth`, `bind_email`, `bind_msisdn`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct RegisterRequest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 176 | auth: serde_json::Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | bind_email: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 178 | bind_msisdn: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `room_alias_name` and `invite_3pid` are never read [INFO] [stdout] --> src/client_api/room.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CreateRoomRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 21 | visibility: RoomVisibility, [INFO] [stdout] 22 | room_alias_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | invite_3pid: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_server`, `medium`, and `address` are never read [INFO] [stdout] --> src/client_api/room.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Invite3pid { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 44 | id_server: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | medium: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `set_presence` are never read [INFO] [stdout] --> src/client_api/room_events.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SyncRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | #[serde(default)] [INFO] [stdout] 25 | filter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | set_presence: SetPresence, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/client_api/room_events.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 425 | pub struct MembersRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 426 | at: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/client_api/user.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct UserDirSearchRequest { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Email` and `Msisdn` are never constructed [INFO] [stdout] --> src/client_api/user.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Medium { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 217 | Email, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 218 | // Phone number, including calling code [INFO] [stdout] 219 | Msisdn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/room.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct InvalidMembership(String); [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidMembership` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `replace_value` is never used [INFO] [stdout] --> src/storage/sled.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 29 | trait TreeExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn replace_value, V: DeserializeOwned + Serialize>( [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/error.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[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_ErrorKind` [INFO] [stdout] 37 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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/util/mxid.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[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_MxidError` [INFO] [stdout] 17 | pub enum MxidError { [INFO] [stdout] | --------- `MxidError` 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/util/storage.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[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_AddEventError` [INFO] [stdout] 29 | pub enum AddEventError { [INFO] [stdout] | ------------- `AddEventError` 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 1m 21s [INFO] running `Command { std: "docker" "inspect" "b82ae37d7c2984900a049b668d72935138ec788042cb356b2269774fbeeb8b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82ae37d7c2984900a049b668d72935138ec788042cb356b2269774fbeeb8b1c", kill_on_drop: false }` [INFO] [stdout] b82ae37d7c2984900a049b668d72935138ec788042cb356b2269774fbeeb8b1c