[INFO] cloning repository https://github.com/ivakhnenkovitali/libsignal-main [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivakhnenkovitali/libsignal-main" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivakhnenkovitali%2Flibsignal-main", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivakhnenkovitali%2Flibsignal-main'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b136ef79d0b05865952a51e0d01921c9ed8e46b4 [INFO] testing ivakhnenkovitali/libsignal-main against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivakhnenkovitali%2Flibsignal-main" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivakhnenkovitali/libsignal-main on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ivakhnenkovitali/libsignal-main [INFO] finished tweaking git repo https://github.com/ivakhnenkovitali/libsignal-main [INFO] tweaked toml for git repo https://github.com/ivakhnenkovitali/libsignal-main written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ivakhnenkovitali/libsignal-main 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/rust/message-backup/macros/Cargo.toml: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `libsignal_message_backup_macros` library target) [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/rust/media/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `webpsan` dependency) [INFO] [stderr] Updating git repository `https://github.com/signalapp/boring` [INFO] [stderr] Updating git submodule `https://github.com/google/boringssl.git` [INFO] [stderr] Updating git submodule `https://github.com/google/boringssl.git` [INFO] [stderr] Updating git repository `https://github.com/signalapp/curve25519-dalek` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded neon-build v0.10.1 [INFO] [stderr] Downloaded neon-macros v0.10.1 [INFO] [stderr] Downloaded syn-mid v0.5.4 [INFO] [stderr] Downloaded neon-runtime v0.10.1 [INFO] [stderr] Downloaded log-panics v2.1.0 [INFO] [stderr] Downloaded pqcrypto-internals v0.2.5 [INFO] [stderr] Downloaded test-log-macros v0.2.14 [INFO] [stderr] Downloaded dir-test v0.2.0 [INFO] [stderr] Downloaded mp4san-derive v0.5.1 [INFO] [stderr] Downloaded protobuf-support v3.3.0 [INFO] [stderr] Downloaded partial-default v0.1.0 [INFO] [stderr] Downloaded mediasan-common v0.5.1 [INFO] [stderr] Downloaded asn1_derive v0.15.5 [INFO] [stderr] Downloaded linkme-impl v0.3.22 [INFO] [stderr] Downloaded partial-default-derive v0.1.0 [INFO] [stderr] Downloaded assert_cmd v2.0.13 [INFO] [stderr] Downloaded asn1 v0.15.5 [INFO] [stderr] Downloaded protobuf-codegen v3.3.0 [INFO] [stderr] Downloaded protobuf-parse v3.3.0 [INFO] [stderr] Downloaded mp4san v0.5.1 [INFO] [stderr] Downloaded test-log v0.2.14 [INFO] [stderr] Downloaded neon v0.10.1 [INFO] [stderr] Downloaded protobuf v3.3.0 [INFO] [stderr] Downloaded chrono v0.4.32 [INFO] [stderr] Downloaded syn-mid v0.6.0 [INFO] [stderr] Downloaded linkme v0.3.22 [INFO] [stderr] Downloaded pqcrypto-kyber v0.7.9 [INFO] [stderr] Downloaded array-concat v0.5.2 [INFO] [stderr] Downloaded webpsan v0.5.1 [INFO] [stderr] Downloaded pqcrypto-kyber v0.8.0 [INFO] [stderr] Downloaded dir-test-macros v0.2.0 [INFO] [stderr] Downloaded clap-stdin v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3da84776aa4237105dfb5c7d234bd09c51455a364bda8922209e772b8498db00 [INFO] running `Command { std: "docker" "start" "-a" "3da84776aa4237105dfb5c7d234bd09c51455a364bda8922209e772b8498db00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3da84776aa4237105dfb5c7d234bd09c51455a364bda8922209e772b8498db00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da84776aa4237105dfb5c7d234bd09c51455a364bda8922209e772b8498db00", kill_on_drop: false }` [INFO] [stdout] 3da84776aa4237105dfb5c7d234bd09c51455a364bda8922209e772b8498db00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d7ab5e256ecd246d6fbf7cd0a2c6c4fdab477493c38dbbd7ae233c6eee4f6db [INFO] running `Command { std: "docker" "start" "-a" "4d7ab5e256ecd246d6fbf7cd0a2c6c4fdab477493c38dbbd7ae233c6eee4f6db", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/rust/media/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `webpsan` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/rust/message-backup/macros/Cargo.toml: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `libsignal_message_backup_macros` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.1 (https://github.com/signalapp/curve25519-dalek?tag=signal-curve25519-4.1.1#a12ab4e5) [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling polyval v0.6.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling protobuf v3.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pqcrypto-internals v0.2.5 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 (https://github.com/signalapp/curve25519-dalek?tag=signal-curve25519-4.1.1#a12ab4e5) [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling protobuf-support v3.3.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-crypto v0.1.0 (/opt/rustwide/workdir/rust/crypto) [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/crypto/src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(displaydoc::Display, thiserror::Error, Debug)] [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] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/crypto/src/aes_cbc.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_EncryptionError` [INFO] [stdout] 12 | pub enum EncryptionError { [INFO] [stdout] | --------------- `EncryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/crypto/src/aes_cbc.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_DecryptionError` [INFO] [stdout] 18 | pub enum DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling partial-default-derive v0.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling pqcrypto-kyber v0.7.9 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling protobuf-parse v3.3.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling partial-default v0.1.0 [INFO] [stderr] Compiling usernames v0.1.0 (/opt/rustwide/workdir/rust/usernames) [INFO] [stderr] Compiling libsignal-protocol v0.1.0 (/opt/rustwide/workdir/rust/protocol) [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling poksho v0.7.0 (/opt/rustwide/workdir/rust/poksho) [INFO] [stderr] Compiling protobuf-codegen v3.3.0 [INFO] [stderr] Compiling libsignal-core v0.1.0 (/opt/rustwide/workdir/rust/core) [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pqcrypto-traits v0.3.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling zkcredential v0.1.0 (/opt/rustwide/workdir/rust/zkcredential) [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling x25519-dalek v2.0.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/zkcredential/src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_VerificationFailure` [INFO] [stdout] 43 | pub struct VerificationFailure; [INFO] [stdout] | ------------------- `VerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling mediasan-common v0.5.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling boring-sys v3.1.0 (https://github.com/signalapp/boring?branch=libsignal#8245063a) [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling zkgroup v0.9.0 (/opt/rustwide/workdir/rust/zkgroup) [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling async-compression v0.4.6 [INFO] [stderr] Compiling libsignal-message-backup-macros v0.1.0 (/opt/rustwide/workdir/rust/message-backup/macros) [INFO] [stdout] warning: struct `UnknownFieldVisitor` is never constructed [INFO] [stdout] --> rust/message-backup/macros/src/lib.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | tokens_alias!(UnknownFieldVisitor, crate::unknown::UnknownFieldVisitor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `tokens_alias` (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] --> rust/usernames/src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(displaydoc::Display, Debug, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UsernameError` [INFO] [stdout] 7 | #[cfg_attr(test, derive(PartialEq, Eq))] [INFO] [stdout] 8 | pub enum UsernameError { [INFO] [stdout] | ------------- `UsernameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/usernames/src/error.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(displaydoc::Display, Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ProofVerificationFailure` [INFO] [stdout] 36 | /// Username could not be verified [INFO] [stdout] 37 | pub struct ProofVerificationFailure; [INFO] [stdout] | ------------------------ `ProofVerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/usernames/src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(displaydoc::Display, Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UsernameLinkError` [INFO] [stdout] 40 | pub enum UsernameLinkError { [INFO] [stdout] | ----------------- `UsernameLinkError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap-stdin v0.3.0 [INFO] [stderr] Compiling mp4san-derive v0.5.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling libsignal-message-backup v0.1.0 (/opt/rustwide/workdir/rust/message-backup) [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling bitstream-io v1.10.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling mp4san v0.5.1 [INFO] [stderr] Compiling webpsan v0.5.1 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling signal-pin v0.1.0 (/opt/rustwide/workdir/rust/pin) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/pin/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(displaydoc::Display, Debug, Clone, Eq, PartialEq)] [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] 8 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling signal-media v0.1.0 (/opt/rustwide/workdir/rust/media) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/zkgroup/src/common/errors.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ZkGroupVerificationFailure` [INFO] [stdout] 7 | /// Verification failure in zkgroup [INFO] [stdout] 8 | pub struct ZkGroupVerificationFailure; [INFO] [stdout] | -------------------------- `ZkGroupVerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/zkgroup/src/common/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ZkGroupDeserializationFailure` [INFO] [stdout] 11 | /// Deserialization failure in zkgroup [INFO] [stdout] 12 | pub struct ZkGroupDeserializationFailure; [INFO] [stdout] | ----------------------------- `ZkGroupDeserializationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shared_secret_length` is never used [INFO] [stdout] --> rust/protocol/src/kem.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 97 | trait DynParameters { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 101 | fn shared_secret_length(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> rust/protocol/src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[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_SignalProtocolError` [INFO] [stdout] 18 | pub enum SignalProtocolError { [INFO] [stdout] | ------------------- `SignalProtocolError` 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] --> rust/protocol/src/kem.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Display, Debug, Copy, 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_KeyType` [INFO] [stdout] 147 | pub enum KeyType { [INFO] [stdout] | ------- `KeyType` 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: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/libsignal-message-backup-3559b73cc4ad0661/out/protos/backup.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `revisions` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ChatItemData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 61 | pub message: ChatItemMessage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | pub revisions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | Standard(StandardMessage), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - Standard(StandardMessage), [INFO] [stdout] 69 + Standard(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | Contact(ContactMessage), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 70 - Contact(ContactMessage), [INFO] [stdout] 70 + Contact(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | Voice(VoiceMessage), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - Voice(VoiceMessage), [INFO] [stdout] 71 + Voice(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Sticker(StickerMessage), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - Sticker(StickerMessage), [INFO] [stdout] 72 + Sticker(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Update(UpdateMessage), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Update(UpdateMessage), [INFO] [stdout] 74 + Update(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quote` and `reactions` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct StandardMessage { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 81 | pub quote: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardMessage` 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 `reactions` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ContactMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 90 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContactMessage` 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 `quote` and `reactions` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct VoiceMessage { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 98 | pub quote: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoiceMessage` 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 `reactions` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct StickerMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 106 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StickerMessage` 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 `type_` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | Simple { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 114 | type_: proto::simple_chat_update::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `new_description` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | GroupDescription { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 117 | new_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `previous` and `new` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | ProfileChange { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 121 | previous: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | new: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | Call(CallChatUpdate), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 - Call(CallChatUpdate), [INFO] [stdout] 126 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContactAttachment` is never constructed [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ContactAttachment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContactAttachment` 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 `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | Call(CallId), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CallChatUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 138 - Call(CallId), [INFO] [stdout] 138 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `started_call_aci` and `in_call_acis` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 140 | GroupCall { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 141 | started_call_aci: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | in_call_acis: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallChatUpdate` 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 `author` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Reaction { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 150 | pub author: RecipientId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reaction` 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 `author` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Quote { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 165 | pub author: RecipientId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_unknown_fields` and `find_unknown_field` are never used [INFO] [stdout] --> rust/message-backup/src/unknown.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) trait VisitUnknownFieldsExt { [INFO] [stdout] | --------------------- methods in this trait [INFO] [stdout] 170 | fn has_unknown_fields(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | fn collect_unknown_fields(&self) -> Vec<(Vec, UnknownValue)>; [INFO] [stdout] 172 | fn find_unknown_field(&self) -> Option<(Vec, UnknownValue)>; [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] --> rust/message-backup/src/lib.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [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] 29 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/args.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AciParseError` [INFO] [stdout] 36 | pub struct AciParseError; [INFO] [stdout] | ------------- `AciParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 68 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatFrameError` [INFO] [stdout] 84 | /// chat frame {0:?} error: {1} [INFO] [stdout] 85 | pub struct ChatFrameError(ChatId, ChatError); [INFO] [stdout] | -------------- `ChatFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CallFrameError` [INFO] [stdout] 89 | pub struct CallFrameError(CallId, CallError); [INFO] [stdout] | -------------- `CallFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CallError` [INFO] [stdout] 92 | pub enum CallError { [INFO] [stdout] | --------- `CallError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RecipientFrameError` [INFO] [stdout] 137 | pub struct RecipientFrameError(RecipientId, RecipientError); [INFO] [stdout] | ------------------- `RecipientFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/account_data.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AccountDataError` [INFO] [stdout] 24 | pub enum AccountDataError { [INFO] [stdout] | ---------------- `AccountDataError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatError` [INFO] [stdout] 20 | pub enum ChatError { [INFO] [stdout] | --------- `ChatError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatItemError` [INFO] [stdout] 30 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 31 | pub enum ChatItemError { [INFO] [stdout] | ------------- `ChatItemError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ReactionError` [INFO] [stdout] 155 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 156 | pub enum ReactionError { [INFO] [stdout] | ------------- `ReactionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/recipient.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RecipientError` [INFO] [stdout] 16 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 17 | pub enum RecipientError { [INFO] [stdout] | -------------- `RecipientError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/frame.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 33 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/parse.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 12 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_PathPart` [INFO] [stdout] 40 | pub enum PathPart { [INFO] [stdout] | -------- `PathPart` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Copy, Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UnknownValue` [INFO] [stdout] 50 | pub enum UnknownValue { [INFO] [stdout] | ------------ `UnknownValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_MapKey` [INFO] [stdout] 80 | pub(crate) enum MapKey<'a> { [INFO] [stdout] | ------ `MapKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling boring v3.1.0 (https://github.com/signalapp/boring?branch=libsignal#8245063a) [INFO] [stderr] Compiling device-transfer v0.1.0 (/opt/rustwide/workdir/rust/device-transfer) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 39s [INFO] running `Command { std: "docker" "inspect" "4d7ab5e256ecd246d6fbf7cd0a2c6c4fdab477493c38dbbd7ae233c6eee4f6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d7ab5e256ecd246d6fbf7cd0a2c6c4fdab477493c38dbbd7ae233c6eee4f6db", kill_on_drop: false }` [INFO] [stdout] 4d7ab5e256ecd246d6fbf7cd0a2c6c4fdab477493c38dbbd7ae233c6eee4f6db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a778c98aee519265e91e60aee4a1acfc2842e719332b095b1b8ec2d2af2d38a0 [INFO] running `Command { std: "docker" "start" "-a" "a778c98aee519265e91e60aee4a1acfc2842e719332b095b1b8ec2d2af2d38a0", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/rust/message-backup/macros/Cargo.toml: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `libsignal_message_backup_macros` library target) [INFO] [stderr] warning: /opt/rustwide/workdir/rust/media/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `webpsan` dependency) [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/crypto/src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(displaydoc::Display, thiserror::Error, Debug)] [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] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/crypto/src/aes_cbc.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_EncryptionError` [INFO] [stdout] 12 | pub enum EncryptionError { [INFO] [stdout] | --------------- `EncryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/crypto/src/aes_cbc.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_DecryptionError` [INFO] [stdout] 18 | pub enum DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling libsignal-core v0.1.0 (/opt/rustwide/workdir/rust/core) [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.1 (https://github.com/signalapp/curve25519-dalek?tag=signal-curve25519-4.1.1#a12ab4e5) [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling poksho v0.7.0 (/opt/rustwide/workdir/rust/poksho) [INFO] [stderr] Compiling x25519-dalek v2.0.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling zkcredential v0.1.0 (/opt/rustwide/workdir/rust/zkcredential) [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling protobuf-parse v3.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling proptest v1.4.0 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/zkcredential/src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_VerificationFailure` [INFO] [stdout] 43 | pub struct VerificationFailure; [INFO] [stdout] | ------------------- `VerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zkgroup v0.9.0 (/opt/rustwide/workdir/rust/zkgroup) [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling libsignal-protocol v0.1.0 (/opt/rustwide/workdir/rust/protocol) [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling usernames v0.1.0 (/opt/rustwide/workdir/rust/usernames) [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling protobuf-codegen v3.3.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/usernames/src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(displaydoc::Display, Debug, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UsernameError` [INFO] [stdout] 7 | #[cfg_attr(test, derive(PartialEq, Eq))] [INFO] [stdout] 8 | pub enum UsernameError { [INFO] [stdout] | ------------- `UsernameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/usernames/src/error.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(displaydoc::Display, Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ProofVerificationFailure` [INFO] [stdout] 36 | /// Username could not be verified [INFO] [stdout] 37 | pub struct ProofVerificationFailure; [INFO] [stdout] | ------------------------ `ProofVerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/usernames/src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(displaydoc::Display, Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UsernameLinkError` [INFO] [stdout] 40 | pub enum UsernameLinkError { [INFO] [stdout] | ----------------- `UsernameLinkError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stdout] warning: struct `UnknownFieldVisitor` is never constructed [INFO] [stdout] --> rust/message-backup/macros/src/lib.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | tokens_alias!(UnknownFieldVisitor, crate::unknown::UnknownFieldVisitor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `tokens_alias` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/zkgroup/src/common/errors.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ZkGroupVerificationFailure` [INFO] [stdout] 7 | /// Verification failure in zkgroup [INFO] [stdout] 8 | pub struct ZkGroupVerificationFailure; [INFO] [stdout] | -------------------------- `ZkGroupVerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/zkgroup/src/common/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ZkGroupDeserializationFailure` [INFO] [stdout] 11 | /// Deserialization failure in zkgroup [INFO] [stdout] 12 | pub struct ZkGroupDeserializationFailure; [INFO] [stdout] | ----------------------------- `ZkGroupDeserializationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stdout] warning: method `shared_secret_length` is never used [INFO] [stdout] --> rust/protocol/src/kem.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 97 | trait DynParameters { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 101 | fn shared_secret_length(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> rust/protocol/src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[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_SignalProtocolError` [INFO] [stdout] 18 | pub enum SignalProtocolError { [INFO] [stdout] | ------------------- `SignalProtocolError` 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] --> rust/protocol/src/kem.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Display, Debug, Copy, 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_KeyType` [INFO] [stdout] 147 | pub enum KeyType { [INFO] [stdout] | ------- `KeyType` 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 derive_builder_macro v0.12.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling bstr v1.9.0 [INFO] [stderr] Compiling dir-test-macros v0.2.0 [INFO] [stderr] Compiling libsignal-message-backup v0.1.0 (/opt/rustwide/workdir/rust/message-backup) [INFO] [stderr] Compiling test-log-macros v0.2.14 [INFO] [stderr] Compiling boring-sys v3.1.0 (https://github.com/signalapp/boring?branch=libsignal#8245063a) [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling dir-test v0.2.0 [INFO] [stderr] Compiling assert_cmd v2.0.13 [INFO] [stderr] Compiling test-log v0.2.14 [INFO] [stderr] Compiling array-concat v0.5.2 [INFO] [stderr] Compiling mp4san-derive v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/pin/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(displaydoc::Display, Debug, Clone, Eq, PartialEq)] [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] 8 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling webpsan v0.5.1 [INFO] [stderr] Compiling mp4san v0.5.1 [INFO] [stderr] Compiling signal-media v0.1.0 (/opt/rustwide/workdir/rust/media) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/libsignal-message-backup-9ab47a25303d8a61/out/protos/backup.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/libsignal-message-backup-9ab47a25303d8a61/out/protos/test.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/libsignal-message-backup-9ab47a25303d8a61/out/protos/backup.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling signal-crypto v0.1.0 (/opt/rustwide/workdir/rust/crypto) [INFO] [stderr] Compiling signal-pin v0.1.0 (/opt/rustwide/workdir/rust/pin) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/pin/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(displaydoc::Display, Debug, Clone, Eq, PartialEq)] [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] 8 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `revisions` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ChatItemData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 61 | pub message: ChatItemMessage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | pub revisions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | Standard(StandardMessage), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - Standard(StandardMessage), [INFO] [stdout] 69 + Standard(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | Contact(ContactMessage), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 70 - Contact(ContactMessage), [INFO] [stdout] 70 + Contact(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | Voice(VoiceMessage), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - Voice(VoiceMessage), [INFO] [stdout] 71 + Voice(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Sticker(StickerMessage), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - Sticker(StickerMessage), [INFO] [stdout] 72 + Sticker(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Update(UpdateMessage), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Update(UpdateMessage), [INFO] [stdout] 74 + Update(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reactions` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct StickerMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 106 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StickerMessage` 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 `type_` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | Simple { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 114 | type_: proto::simple_chat_update::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `new_description` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | GroupDescription { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 117 | new_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `previous` and `new` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | ProfileChange { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 121 | previous: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | new: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | Call(CallChatUpdate), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 - Call(CallChatUpdate), [INFO] [stdout] 126 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContactAttachment` is never constructed [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ContactAttachment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContactAttachment` 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 `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | Call(CallId), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CallChatUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 138 - Call(CallId), [INFO] [stdout] 138 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `started_call_aci` and `in_call_acis` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 140 | GroupCall { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 141 | started_call_aci: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | in_call_acis: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallChatUpdate` 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 `has_unknown_fields` is never used [INFO] [stdout] --> rust/message-backup/src/unknown.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) trait VisitUnknownFieldsExt { [INFO] [stdout] | --------------------- method in this trait [INFO] [stdout] 170 | fn has_unknown_fields(&self) -> bool; [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] --> rust/message-backup/src/lib.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [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] 29 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/args.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AciParseError` [INFO] [stdout] 36 | pub struct AciParseError; [INFO] [stdout] | ------------- `AciParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 68 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatFrameError` [INFO] [stdout] 84 | /// chat frame {0:?} error: {1} [INFO] [stdout] 85 | pub struct ChatFrameError(ChatId, ChatError); [INFO] [stdout] | -------------- `ChatFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CallFrameError` [INFO] [stdout] 89 | pub struct CallFrameError(CallId, CallError); [INFO] [stdout] | -------------- `CallFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CallError` [INFO] [stdout] 92 | pub enum CallError { [INFO] [stdout] | --------- `CallError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RecipientFrameError` [INFO] [stdout] 137 | pub struct RecipientFrameError(RecipientId, RecipientError); [INFO] [stdout] | ------------------- `RecipientFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/account_data.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AccountDataError` [INFO] [stdout] 24 | pub enum AccountDataError { [INFO] [stdout] | ---------------- `AccountDataError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatError` [INFO] [stdout] 20 | pub enum ChatError { [INFO] [stdout] | --------- `ChatError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatItemError` [INFO] [stdout] 30 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 31 | pub enum ChatItemError { [INFO] [stdout] | ------------- `ChatItemError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ReactionError` [INFO] [stdout] 155 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 156 | pub enum ReactionError { [INFO] [stdout] | ------------- `ReactionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/recipient.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RecipientError` [INFO] [stdout] 16 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 17 | pub enum RecipientError { [INFO] [stdout] | -------------- `RecipientError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/frame.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 33 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/parse.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 12 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_PathPart` [INFO] [stdout] 40 | pub enum PathPart { [INFO] [stdout] | -------- `PathPart` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Copy, Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UnknownValue` [INFO] [stdout] 50 | pub enum UnknownValue { [INFO] [stdout] | ------------ `UnknownValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_MapKey` [INFO] [stdout] 80 | pub(crate) enum MapKey<'a> { [INFO] [stdout] | ------ `MapKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/zkcredential/src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_VerificationFailure` [INFO] [stdout] 43 | pub struct VerificationFailure; [INFO] [stdout] | ------------------- `VerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `revisions` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ChatItemData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 61 | pub message: ChatItemMessage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | pub revisions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | Standard(StandardMessage), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - Standard(StandardMessage), [INFO] [stdout] 69 + Standard(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | Contact(ContactMessage), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 70 - Contact(ContactMessage), [INFO] [stdout] 70 + Contact(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | Voice(VoiceMessage), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - Voice(VoiceMessage), [INFO] [stdout] 71 + Voice(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Sticker(StickerMessage), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - Sticker(StickerMessage), [INFO] [stdout] 72 + Sticker(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Update(UpdateMessage), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Update(UpdateMessage), [INFO] [stdout] 74 + Update(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quote` and `reactions` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct StandardMessage { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 81 | pub quote: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardMessage` 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 `reactions` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ContactMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 90 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContactMessage` 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 `quote` and `reactions` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct VoiceMessage { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 98 | pub quote: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoiceMessage` 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 `reactions` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct StickerMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 106 | pub reactions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StickerMessage` 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 `type_` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | Simple { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 114 | type_: proto::simple_chat_update::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `new_description` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | GroupDescription { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 117 | new_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `previous` and `new` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | ProfileChange { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 121 | previous: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | new: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` 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 `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | Call(CallChatUpdate), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UpdateMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 - Call(CallChatUpdate), [INFO] [stdout] 126 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContactAttachment` is never constructed [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ContactAttachment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContactAttachment` 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 `0` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | Call(CallId), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CallChatUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 138 - Call(CallId), [INFO] [stdout] 138 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `started_call_aci` and `in_call_acis` are never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 140 | GroupCall { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 141 | started_call_aci: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | in_call_acis: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallChatUpdate` 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 `author` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Reaction { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 150 | pub author: RecipientId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reaction` 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 `author` is never read [INFO] [stdout] --> rust/message-backup/src/backup/chat.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Quote { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 165 | pub author: RecipientId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_unknown_fields` and `find_unknown_field` are never used [INFO] [stdout] --> rust/message-backup/src/unknown.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) trait VisitUnknownFieldsExt { [INFO] [stdout] | --------------------- methods in this trait [INFO] [stdout] 170 | fn has_unknown_fields(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | fn collect_unknown_fields(&self) -> Vec<(Vec, UnknownValue)>; [INFO] [stdout] 172 | fn find_unknown_field(&self) -> Option<(Vec, UnknownValue)>; [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] --> rust/message-backup/src/lib.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [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] 29 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/args.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AciParseError` [INFO] [stdout] 36 | pub struct AciParseError; [INFO] [stdout] | ------------- `AciParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 68 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatFrameError` [INFO] [stdout] 84 | /// chat frame {0:?} error: {1} [INFO] [stdout] 85 | pub struct ChatFrameError(ChatId, ChatError); [INFO] [stdout] | -------------- `ChatFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CallFrameError` [INFO] [stdout] 89 | pub struct CallFrameError(CallId, CallError); [INFO] [stdout] | -------------- `CallFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CallError` [INFO] [stdout] 92 | pub enum CallError { [INFO] [stdout] | --------- `CallError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RecipientFrameError` [INFO] [stdout] 137 | pub struct RecipientFrameError(RecipientId, RecipientError); [INFO] [stdout] | ------------------- `RecipientFrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/usernames/src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(displaydoc::Display, Debug, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UsernameError` [INFO] [stdout] 7 | #[cfg_attr(test, derive(PartialEq, Eq))] [INFO] [stdout] 8 | pub enum UsernameError { [INFO] [stdout] | ------------- `UsernameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/usernames/src/error.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(displaydoc::Display, Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ProofVerificationFailure` [INFO] [stdout] 36 | /// Username could not be verified [INFO] [stdout] 37 | pub struct ProofVerificationFailure; [INFO] [stdout] | ------------------------ `ProofVerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/usernames/src/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(displaydoc::Display, Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UsernameLinkError` [INFO] [stdout] 40 | pub enum UsernameLinkError { [INFO] [stdout] | ----------------- `UsernameLinkError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/account_data.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AccountDataError` [INFO] [stdout] 24 | pub enum AccountDataError { [INFO] [stdout] | ---------------- `AccountDataError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatError` [INFO] [stdout] 20 | pub enum ChatError { [INFO] [stdout] | --------- `ChatError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatItemError` [INFO] [stdout] 30 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 31 | pub enum ChatItemError { [INFO] [stdout] | ------------- `ChatItemError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/chat.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ReactionError` [INFO] [stdout] 155 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 156 | pub enum ReactionError { [INFO] [stdout] | ------------- `ReactionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/backup/recipient.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RecipientError` [INFO] [stdout] 16 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stdout] 17 | pub enum RecipientError { [INFO] [stdout] | -------------- `RecipientError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/frame.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stdout] 33 | pub enum ValidationError { [INFO] [stdout] | --------------- `ValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/parse.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 12 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_PathPart` [INFO] [stdout] 40 | pub enum PathPart { [INFO] [stdout] | -------- `PathPart` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Copy, Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UnknownValue` [INFO] [stdout] 50 | pub enum UnknownValue { [INFO] [stdout] | ------------ `UnknownValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/message-backup/src/unknown.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_MapKey` [INFO] [stdout] 80 | pub(crate) enum MapKey<'a> { [INFO] [stdout] | ------ `MapKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/crypto/src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(displaydoc::Display, thiserror::Error, Debug)] [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] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/crypto/src/aes_cbc.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_EncryptionError` [INFO] [stdout] 12 | pub enum EncryptionError { [INFO] [stdout] | --------------- `EncryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/crypto/src/aes_cbc.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_DecryptionError` [INFO] [stdout] 18 | pub enum DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcyC1gky/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libclap_stdin-6d7a172fa0211382.rlib,libassert_matches-5b3ef328d5354e43.rlib,liblibsignal_message_backup-bfee86d994a009aa.rlib,libarrayvec-58e96f5298cd44f8.rlib,libasync_compression-86c4492a4298764b.rlib,libflate2-d4ef49aa99f9314e.rlib,libminiz_oxide-d690a9cc7558438a.rlib,libadler-cd9ae852e9a49a18.rlib,libcrc32fast-6e81018eda4e113d.rlib,libzkgroup-6ce907465da8eaed.rlib,libhex_literal-9555c3f0b4aefeae.rlib,libbincode-d15465a707e3d90f.rlib,libzkcredential-cc4c1a3b4778b205.rlib,libpartial_default-19737a3ba1602cdc.rlib,libusernames-77c4089dd08ff8df.rlib,libpoksho-fa45b27d7efe985e.rlib,liblazy_static-2c4e06f363908d28.rlib,liblibsignal_protocol-42bae013d574c3ed.rlib,librayon-9b8b7b13eccdaa38.rlib,librayon_core-e60b3189ab997751.rlib,libcrossbeam_deque-c30f9a9cd00c97f8.rlib,libcrossbeam_epoch-2699960732f2d898.rlib,libcrossbeam_utils-bdfed82a3de732cf.rlib,libhkdf-13213919ca9a7f6d.rlib,libhex-a276c7928810d3f2.rlib,libsignal_crypto-bfc6fccd9742a2d7.rlib,libcbc-1af45d4511b36082.rlib,libghash-8fcc3ec7156e00ee.rlib,libsha1-5e4e95b8bc5ef281.rlib,libstatic_assertions-b656f6382f1496f6.rlib,liblog-cc0803d99332f68a.rlib,liblibsignal_core-5dbe446dcc362b34.rlib,libnum_enum-4adb1bb48d51c0d9.rlib,libitertools-92f4225fafa38c4f.rlib,libeither-64ff4eb74c5f7d6b.rlib,libindexmap-67b598443cba4115.rlib,libequivalent-13b77291db166d53.rlib,libhashbrown-be73b08bd3197c51.rlib,libaes_gcm_siv-7589ad6d3c84552c.rlib,libctr-3639cd69302a4fd2.rlib,libpolyval-ba285219c3e511c5.rlib,libopaque_debug-329e31528248969a.rlib,libuniversal_hash-3c3c9a3fcd5a17ed.rlib,libaead-c20f5902e8bef136.rlib,libpqcrypto_kyber-9d99838f7db4899a.rlib,libpqcrypto_internals-93a02597e509b886.rlib,libpqcrypto_traits-35a202a0b78400d8.rlib,libprost-14b3c931ba704032.rlib,libbytes-a434f6fcbae4dd58.rlib,libuuid-08485abbf6566f80.rlib,libsha1_smol-f7381c2e5635c930.rlib,libarrayref-e5f1ce31f06b29f9.rlib,libx25519_dalek-3881e84cd9d8b7dc.rlib,librand-63982090dda65c01.rlib,librand_chacha-aae701882b4a066f.rlib,libppv_lite86-5d833bce3f969350.rlib,libcurve25519_dalek-6b6024a9e4c226b3.rlib,libserde-d832959444299a8b.rlib,libsha2-b9728f740c23657c.rlib,libhmac-a96236e8d568c688.rlib,libdigest-b39da3869a39a162.rlib,libsubtle-cd9726e9fa4ec60e.rlib,libblock_buffer-5ab908812027eadb.rlib,libaes-6a0c38216548d7f4.rlib,libcpufeatures-087d79555b6ae23a.rlib,libcipher-5265024a80ed37b4.rlib,libzeroize-7e6dcd376320fcfa.rlib,libinout-1a434b8726409a4a.rlib,libblock_padding-ca868def547d3fce.rlib,libcrypto_common-13bc67988505aadc.rlib,libgeneric_array-b59dbdc8e8e5763d.rlib,libtypenum-c604f2b24272d713.rlib,librand_core-20e6d7a94a5de898.rlib,libgetrandom-5d3054e420c8151c.rlib,liblibc-0791243fba16193b.rlib,libcfg_if-da7e6a5cb20f1238.rlib,libprotobuf-c0bf22097ca61e41.rlib,libprotobuf_support-9bd8f5eca94f7a41.rlib,libthiserror-af8675c8c37652c8.rlib,libonce_cell-d6794224419f7b7c.rlib,libfutures-420ff08e1e217f2a.rlib,libfutures_executor-0546a11231228065.rlib,libfutures_util-c7a6dd7fb199246d.rlib,libmemchr-90d89b26b42ee6e8.rlib,libfutures_io-3432ed781a1c1801.rlib,libslab-6c454a7717dad5f2.rlib,libfutures_channel-1a8602e39d27d977.rlib,libpin_project_lite-113dbccb0259f39c.rlib,libfutures_sink-0a246e4a63251ac4.rlib,libfutures_task-ce6277d9923a99a6.rlib,libpin_utils-d8f0fd3fa8a14f27.rlib,libfutures_core-0eb78eed07558a65.rlib,libclap-6a5116a856ccadbc.rlib,libclap_builder-9d6b5062f6a08ea2.rlib,libstrsim-86ce3cf7e8ecb62a.rlib,libanstream-89bb1d117a93864d.rlib,libanstyle_query-968e246c1eba3f2b.rlib,libcolorchoice-d61ee6ecebe870ca.rlib,libanstyle_parse-fcf535bb3749bfd8.rlib,libutf8parse-1175cb156b07a449.rlib,libclap_lex-cd0850282565aa42.rlib,libanstyle-8f12746324898036.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/pqcrypto-kyber-79fc90418851dcff/out" "-L" "/opt/rustwide/target/debug/build/pqcrypto-kyber-79fc90418851dcff/out" "-L" "/opt/rustwide/target/debug/build/pqcrypto-kyber-79fc90418851dcff/out" "-L" "/opt/rustwide/target/debug/build/pqcrypto-internals-9af0570486bd8f79/out" "-L" "/opt/rustwide/target/debug/build/pqcrypto-internals-9af0570486bd8f79/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/validator-7f3e40bacbdd965c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libsignal-message-backup` (bin "validator" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcNbAEh8/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{liblibsignal_message_backup-bfee86d994a009aa.rlib,libarrayvec-58e96f5298cd44f8.rlib,libasync_compression-86c4492a4298764b.rlib,libflate2-d4ef49aa99f9314e.rlib,libminiz_oxide-d690a9cc7558438a.rlib,libadler-cd9ae852e9a49a18.rlib,libcrc32fast-6e81018eda4e113d.rlib,libzkgroup-6ce907465da8eaed.rlib,libhex_literal-9555c3f0b4aefeae.rlib,libbincode-d15465a707e3d90f.rlib,libzkcredential-cc4c1a3b4778b205.rlib,libpartial_default-19737a3ba1602cdc.rlib,libusernames-77c4089dd08ff8df.rlib,libpoksho-fa45b27d7efe985e.rlib,liblazy_static-2c4e06f363908d28.rlib,liblibsignal_protocol-42bae013d574c3ed.rlib,librayon-9b8b7b13eccdaa38.rlib,librayon_core-e60b3189ab997751.rlib,libcrossbeam_deque-c30f9a9cd00c97f8.rlib,libcrossbeam_epoch-2699960732f2d898.rlib,libcrossbeam_utils-bdfed82a3de732cf.rlib,libhkdf-13213919ca9a7f6d.rlib,libhex-a276c7928810d3f2.rlib,libsignal_crypto-bfc6fccd9742a2d7.rlib,libcbc-1af45d4511b36082.rlib,libghash-8fcc3ec7156e00ee.rlib,libsha1-5e4e95b8bc5ef281.rlib,libstatic_assertions-b656f6382f1496f6.rlib,liblog-cc0803d99332f68a.rlib,liblibsignal_core-5dbe446dcc362b34.rlib,libnum_enum-4adb1bb48d51c0d9.rlib,libitertools-92f4225fafa38c4f.rlib,libeither-64ff4eb74c5f7d6b.rlib,libindexmap-67b598443cba4115.rlib,libequivalent-13b77291db166d53.rlib,libhashbrown-be73b08bd3197c51.rlib,libaes_gcm_siv-7589ad6d3c84552c.rlib,libctr-3639cd69302a4fd2.rlib,libpolyval-ba285219c3e511c5.rlib,libopaque_debug-329e31528248969a.rlib,libuniversal_hash-3c3c9a3fcd5a17ed.rlib,libaead-c20f5902e8bef136.rlib,libpqcrypto_kyber-9d99838f7db4899a.rlib,libpqcrypto_internals-93a02597e509b886.rlib,libpqcrypto_traits-35a202a0b78400d8.rlib,libprost-14b3c931ba704032.rlib,libbytes-a434f6fcbae4dd58.rlib,libuuid-08485abbf6566f80.rlib,libsha1_smol-f7381c2e5635c930.rlib,libarrayref-e5f1ce31f06b29f9.rlib,libx25519_dalek-3881e84cd9d8b7dc.rlib,librand-63982090dda65c01.rlib,librand_chacha-aae701882b4a066f.rlib,libppv_lite86-5d833bce3f969350.rlib,libcurve25519_dalek-6b6024a9e4c226b3.rlib,libserde-d832959444299a8b.rlib,libsha2-b9728f740c23657c.rlib,libhmac-a96236e8d568c688.rlib,libdigest-b39da3869a39a162.rlib,libsubtle-cd9726e9fa4ec60e.rlib,libblock_buffer-5ab908812027eadb.rlib,libaes-6a0c38216548d7f4.rlib,libcpufeatures-087d79555b6ae23a.rlib,libcipher-5265024a80ed37b4.rlib,libzeroize-7e6dcd376320fcfa.rlib,libinout-1a434b8726409a4a.rlib,libblock_padding-ca868def547d3fce.rlib,libcrypto_common-13bc67988505aadc.rlib,libgeneric_array-b59dbdc8e8e5763d.rlib,libtypenum-c604f2b24272d713.rlib,librand_core-20e6d7a94a5de898.rlib,libgetrandom-5d3054e420c8151c.rlib,libcfg_if-da7e6a5cb20f1238.rlib,libprotobuf-c0bf22097ca61e41.rlib,libprotobuf_support-9bd8f5eca94f7a41.rlib,libthiserror-af8675c8c37652c8.rlib,libonce_cell-d6794224419f7b7c.rlib,libfutures-420ff08e1e217f2a.rlib,libfutures_executor-0546a11231228065.rlib,libfutures_util-c7a6dd7fb199246d.rlib,libfutures_io-3432ed781a1c1801.rlib,libslab-6c454a7717dad5f2.rlib,libfutures_channel-1a8602e39d27d977.rlib,libpin_project_lite-113dbccb0259f39c.rlib,libfutures_sink-0a246e4a63251ac4.rlib,libfutures_task-ce6277d9923a99a6.rlib,libpin_utils-d8f0fd3fa8a14f27.rlib,libfutures_core-0eb78eed07558a65.rlib,libdir_test-637947071f48b1db.rlib,libassert_cmd-8ea24b326060fe21.rlib,libwait_timeout-3b8d3100a3ccf004.rlib,liblibc-0791243fba16193b.rlib,libdoc_comment-0e57c99f39f99234.rlib,libbstr-5957f1bbe9d2bbe6.rlib,libregex_automata-25314baaf5c98b53.rlib,libaho_corasick-0bd6f4045bac5e70.rlib,libregex_syntax-e2c55afec1ebe501.rlib,libmemchr-90d89b26b42ee6e8.rlib,libpredicates_tree-4c26776cdca49e38.rlib,libtermtree-4b57b36a9864212f.rlib,libpredicates-942899db5a65498f.rlib,libanstyle-8f12746324898036.rlib,libdifflib-0e3d80d2b8c305da.rlib,libpredicates_core-ff5149d76e9ed2b4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/pqcrypto-kyber-79fc90418851dcff/out" "-L" "/opt/rustwide/target/debug/build/pqcrypto-kyber-79fc90418851dcff/out" "-L" "/opt/rustwide/target/debug/build/pqcrypto-kyber-79fc90418851dcff/out" "-L" "/opt/rustwide/target/debug/build/pqcrypto-internals-9af0570486bd8f79/out" "-L" "/opt/rustwide/target/debug/build/pqcrypto-internals-9af0570486bd8f79/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/test_cases-d31054381f0581c9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libsignal-message-backup` (test "test_cases") due to 1 previous error [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/protocol/src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[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_SignalProtocolError` [INFO] [stdout] 18 | pub enum SignalProtocolError { [INFO] [stdout] | ------------------- `SignalProtocolError` 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] --> rust/protocol/src/kem.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Display, Debug, Copy, 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_KeyType` [INFO] [stdout] 147 | pub enum KeyType { [INFO] [stdout] | ------- `KeyType` 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] --> rust/zkgroup/src/common/errors.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ZkGroupVerificationFailure` [INFO] [stdout] 7 | /// Verification failure in zkgroup [INFO] [stdout] 8 | pub struct ZkGroupVerificationFailure; [INFO] [stdout] | -------------------------- `ZkGroupVerificationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::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] --> rust/zkgroup/src/common/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ZkGroupDeserializationFailure` [INFO] [stdout] 11 | /// Deserialization failure in zkgroup [INFO] [stdout] 12 | pub struct ZkGroupDeserializationFailure; [INFO] [stdout] | ----------------------------- `ZkGroupDeserializationFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a778c98aee519265e91e60aee4a1acfc2842e719332b095b1b8ec2d2af2d38a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a778c98aee519265e91e60aee4a1acfc2842e719332b095b1b8ec2d2af2d38a0", kill_on_drop: false }` [INFO] [stdout] a778c98aee519265e91e60aee4a1acfc2842e719332b095b1b8ec2d2af2d38a0