[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 beta-2025-04-13 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivakhnenkovitali/libsignal-main on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/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-tc2/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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/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-tc2/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0209c510074be8ecc1fa64a265ef6446337b5a20bb773d659d4b28bccfc413f1 [INFO] running `Command { std: "docker" "start" "-a" "0209c510074be8ecc1fa64a265ef6446337b5a20bb773d659d4b28bccfc413f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0209c510074be8ecc1fa64a265ef6446337b5a20bb773d659d4b28bccfc413f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0209c510074be8ecc1fa64a265ef6446337b5a20bb773d659d4b28bccfc413f1", kill_on_drop: false }` [INFO] [stdout] 0209c510074be8ecc1fa64a265ef6446337b5a20bb773d659d4b28bccfc413f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e936fd6e735bfa099ce4662d32a7bc1624be137479050b89f1f14cc0e070dd1 [INFO] running `Command { std: "docker" "start" "-a" "4e936fd6e735bfa099ce4662d32a7bc1624be137479050b89f1f14cc0e070dd1", 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 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 memchr v2.7.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling glob v0.3.1 [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 fastrand v2.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.4 [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 bytes v1.5.0 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [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 fixedbitset v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling polyval v0.6.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling protobuf v3.3.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pqcrypto-internals v0.2.5 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [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 cipher v0.4.4 [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 displaydoc v0.2.4 [INFO] [stderr] Compiling protobuf-support v3.3.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling signal-crypto v0.1.0 (/opt/rustwide/workdir/rust/crypto) [INFO] [stderr] Compiling num_enum v0.6.1 [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 colorchoice v1.0.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [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 libsignal-protocol v0.1.0 (/opt/rustwide/workdir/rust/protocol) [INFO] [stderr] Compiling usernames v0.1.0 (/opt/rustwide/workdir/rust/usernames) [INFO] [stderr] Compiling protobuf-parse v3.3.0 [INFO] [stderr] Compiling libsignal-core v0.1.0 (/opt/rustwide/workdir/rust/core) [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling pqcrypto-traits v0.3.5 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling protobuf-codegen v3.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling poksho v0.7.0 (/opt/rustwide/workdir/rust/poksho) [INFO] [stderr] Compiling x25519-dalek v2.0.0 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling mediasan-common v0.5.1 [INFO] [stderr] Compiling zkcredential v0.1.0 (/opt/rustwide/workdir/rust/zkcredential) [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling derive_builder 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/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 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 dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling zkgroup v0.9.0 (/opt/rustwide/workdir/rust/zkgroup) [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling foreign-types v0.5.0 [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 libsignal-message-backup v0.1.0 (/opt/rustwide/workdir/rust/message-backup) [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 downcast-rs v1.2.0 [INFO] [stderr] Compiling bitstream-io v1.10.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling webpsan v0.5.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling mp4san v0.5.1 [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-2a63a27ce17f065b/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" "4e936fd6e735bfa099ce4662d32a7bc1624be137479050b89f1f14cc0e070dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e936fd6e735bfa099ce4662d32a7bc1624be137479050b89f1f14cc0e070dd1", kill_on_drop: false }` [INFO] [stdout] 4e936fd6e735bfa099ce4662d32a7bc1624be137479050b89f1f14cc0e070dd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a66314e235b7c26fb408b793701d49baa29b6d1ab457bb235598f3243e7cfed [INFO] running `Command { std: "docker" "start" "-a" "4a66314e235b7c26fb408b793701d49baa29b6d1ab457bb235598f3243e7cfed", 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] [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 serde_json v1.0.111 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling cast v0.3.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 same-file v1.0.6 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling libsignal-core v0.1.0 (/opt/rustwide/workdir/rust/core) [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling poksho v0.7.0 (/opt/rustwide/workdir/rust/poksho) [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling zkcredential v0.1.0 (/opt/rustwide/workdir/rust/zkcredential) [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling x25519-dalek v2.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling protobuf-parse 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/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 criterion v0.5.1 [INFO] [stderr] Compiling zkgroup v0.9.0 (/opt/rustwide/workdir/rust/zkgroup) [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling libsignal-protocol v0.1.0 (/opt/rustwide/workdir/rust/protocol) [INFO] [stderr] Compiling usernames v0.1.0 (/opt/rustwide/workdir/rust/usernames) [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling proptest v1.4.0 [INFO] [stderr] Compiling protobuf-codegen v3.3.0 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [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 predicates-core v1.0.6 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling test-case-core v3.3.1 [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/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] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling libsignal-message-backup v0.1.0 (/opt/rustwide/workdir/rust/message-backup) [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling bstr v1.9.0 [INFO] [stderr] Compiling dir-test-macros v0.2.0 [INFO] [stderr] Compiling test-log-macros v0.2.14 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling array-concat v0.5.2 [INFO] [stderr] Compiling assert_cmd v2.0.13 [INFO] [stderr] Compiling test-log v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling mp4san-derive v0.5.1 [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-e1bb980c2aa744a2/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 dir-test v0.2.0 [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] [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-e1bb980c2aa744a2/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-e1bb980c2aa744a2/out/protos/test.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling signal-media v0.1.0 (/opt/rustwide/workdir/rust/media) [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 signal-crypto v0.1.0 (/opt/rustwide/workdir/rust/crypto) [INFO] [stderr] Compiling boring-sys v3.1.0 (https://github.com/signalapp/boring?branch=libsignal#8245063a) [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/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] 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: 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/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 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: 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 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 `test` profile [unoptimized + debuginfo] target(s) in 2m 58s [INFO] running `Command { std: "docker" "inspect" "4a66314e235b7c26fb408b793701d49baa29b6d1ab457bb235598f3243e7cfed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a66314e235b7c26fb408b793701d49baa29b6d1ab457bb235598f3243e7cfed", kill_on_drop: false }` [INFO] [stdout] 4a66314e235b7c26fb408b793701d49baa29b6d1ab457bb235598f3243e7cfed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7091fcd4355fab0330089cb4f0911567c24ef4e9965ef2873d3f3c5d97ec99f9 [INFO] running `Command { std: "docker" "start" "-a" "7091fcd4355fab0330089cb4f0911567c24ef4e9965ef2873d3f3c5d97ec99f9", 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/crypto/src/error.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(displaydoc::Display, thiserror::Error, Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stderr] 7 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/crypto/src/aes_cbc.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_EncryptionError` [INFO] [stderr] 12 | pub enum EncryptionError { [INFO] [stderr] | --------------- `EncryptionError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/crypto/src/aes_cbc.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_DecryptionError` [INFO] [stderr] 18 | pub enum DecryptionError { [INFO] [stderr] | --------------- `DecryptionError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `signal-crypto` (lib) generated 3 warnings [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/zkcredential/src/lib.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Debug, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_VerificationFailure` [INFO] [stderr] 43 | pub struct VerificationFailure; [INFO] [stderr] | ------------------- `VerificationFailure` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `zkcredential` (lib) generated 1 warning [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/zkgroup/src/common/errors.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ZkGroupVerificationFailure` [INFO] [stderr] 7 | /// Verification failure in zkgroup [INFO] [stderr] 8 | pub struct ZkGroupVerificationFailure; [INFO] [stderr] | -------------------------- `ZkGroupVerificationFailure` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/zkgroup/src/common/errors.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ZkGroupDeserializationFailure` [INFO] [stderr] 11 | /// Deserialization failure in zkgroup [INFO] [stderr] 12 | pub struct ZkGroupDeserializationFailure; [INFO] [stderr] | ----------------------------- `ZkGroupDeserializationFailure` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `zkgroup` (lib) generated 2 warnings [INFO] [stderr] warning: method `shared_secret_length` is never used [INFO] [stderr] --> rust/protocol/src/kem.rs:101:8 [INFO] [stderr] | [INFO] [stderr] 97 | trait DynParameters { [INFO] [stderr] | ------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 101 | fn shared_secret_length(&self) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/protocol/src/error.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug, Display, Error)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_SignalProtocolError` [INFO] [stderr] 18 | pub enum SignalProtocolError { [INFO] [stderr] | ------------------- `SignalProtocolError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/protocol/src/kem.rs:146:10 [INFO] [stderr] | [INFO] [stderr] 146 | #[derive(Display, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_KeyType` [INFO] [stderr] 147 | pub enum KeyType { [INFO] [stderr] | ------- `KeyType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libsignal-protocol` (lib) generated 3 warnings [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/usernames/src/error.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(displaydoc::Display, Debug, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UsernameError` [INFO] [stderr] 7 | #[cfg_attr(test, derive(PartialEq, Eq))] [INFO] [stderr] 8 | pub enum UsernameError { [INFO] [stderr] | ------------- `UsernameError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/usernames/src/error.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(displaydoc::Display, Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ProofVerificationFailure` [INFO] [stderr] 36 | /// Username could not be verified [INFO] [stderr] 37 | pub struct ProofVerificationFailure; [INFO] [stderr] | ------------------------ `ProofVerificationFailure` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/usernames/src/error.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(displaydoc::Display, Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UsernameLinkError` [INFO] [stderr] 40 | pub enum UsernameLinkError { [INFO] [stderr] | ----------------- `UsernameLinkError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `usernames` (lib) generated 3 warnings [INFO] [stderr] warning: struct `UnknownFieldVisitor` is never constructed [INFO] [stderr] --> rust/message-backup/macros/src/lib.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | tokens_alias!(UnknownFieldVisitor, crate::unknown::UnknownFieldVisitor); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `tokens_alias` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libsignal-message-backup-macros` (lib) generated 1 warning [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/libsignal-message-backup-e1bb980c2aa744a2/out/protos/backup.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `message` and `revisions` are never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct ChatItemData { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 61 | pub message: ChatItemMessage, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 62 | pub revisions: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChatItemData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:69:14 [INFO] [stderr] | [INFO] [stderr] 69 | Standard(StandardMessage), [INFO] [stderr] | -------- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 69 - Standard(StandardMessage), [INFO] [stderr] 69 + Standard(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | Contact(ContactMessage), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 70 - Contact(ContactMessage), [INFO] [stderr] 70 + Contact(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:71:11 [INFO] [stderr] | [INFO] [stderr] 71 | Voice(VoiceMessage), [INFO] [stderr] | ----- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 71 - Voice(VoiceMessage), [INFO] [stderr] 71 + Voice(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | Sticker(StickerMessage), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 72 - Sticker(StickerMessage), [INFO] [stderr] 72 + Sticker(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | Update(UpdateMessage), [INFO] [stderr] | ------ ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ChatItemMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 74 - Update(UpdateMessage), [INFO] [stderr] 74 + Update(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `quote` and `reactions` are never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 80 | pub struct StandardMessage { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 81 | pub quote: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 82 | pub reactions: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StandardMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `reactions` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 89 | pub struct ContactMessage { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 90 | pub reactions: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ContactMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `quote` and `reactions` are never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 97 | pub struct VoiceMessage { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 98 | pub quote: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 99 | pub reactions: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VoiceMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `reactions` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 105 | pub struct StickerMessage { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 106 | pub reactions: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StickerMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `type_` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 113 | Simple { [INFO] [stderr] | ------ field in this variant [INFO] [stderr] 114 | type_: proto::simple_chat_update::Type, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdateMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `new_description` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 116 | GroupDescription { [INFO] [stderr] | ---------------- field in this variant [INFO] [stderr] 117 | new_description: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdateMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `previous` and `new` are never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 120 | ProfileChange { [INFO] [stderr] | ------------- fields in this variant [INFO] [stderr] 121 | previous: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 122 | new: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdateMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:126:10 [INFO] [stderr] | [INFO] [stderr] 126 | Call(CallChatUpdate), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `UpdateMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 126 - Call(CallChatUpdate), [INFO] [stderr] 126 + Call(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `ContactAttachment` is never constructed [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | pub struct ContactAttachment { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ContactAttachment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:138:10 [INFO] [stderr] | [INFO] [stderr] 138 | Call(CallId), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CallChatUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 138 - Call(CallId), [INFO] [stderr] 138 + Call(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `started_call_aci` and `in_call_acis` are never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 140 | GroupCall { [INFO] [stderr] | --------- fields in this variant [INFO] [stderr] 141 | started_call_aci: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 142 | in_call_acis: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CallChatUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `author` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 149 | pub struct Reaction { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 150 | pub author: RecipientId, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Reaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `author` is never read [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 164 | pub struct Quote { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 165 | pub author: RecipientId, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Quote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `has_unknown_fields` and `find_unknown_field` are never used [INFO] [stderr] --> rust/message-backup/src/unknown.rs:170:8 [INFO] [stderr] | [INFO] [stderr] 169 | pub(crate) trait VisitUnknownFieldsExt { [INFO] [stderr] | --------------------- methods in this trait [INFO] [stderr] 170 | fn has_unknown_fields(&self) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 171 | fn collect_unknown_fields(&self) -> Vec<(Vec, UnknownValue)>; [INFO] [stderr] 172 | fn find_unknown_field(&self) -> Option<(Vec, UnknownValue)>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/lib.rs:28:35 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stderr] 29 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/args.rs:35:35 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AciParseError` [INFO] [stderr] 36 | pub struct AciParseError; [INFO] [stderr] | ------------- `AciParseError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup.rs:67:17 [INFO] [stderr] | [INFO] [stderr] 67 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stderr] 68 | pub enum ValidationError { [INFO] [stderr] | --------------- `ValidationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatFrameError` [INFO] [stderr] 84 | /// chat frame {0:?} error: {1} [INFO] [stderr] 85 | pub struct ChatFrameError(ChatId, ChatError); [INFO] [stderr] | -------------- `ChatFrameError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CallFrameError` [INFO] [stderr] 89 | pub struct CallFrameError(CallId, CallError); [INFO] [stderr] | -------------- `CallFrameError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CallError` [INFO] [stderr] 92 | pub enum CallError { [INFO] [stderr] | --------- `CallError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RecipientFrameError` [INFO] [stderr] 137 | pub struct RecipientFrameError(RecipientId, RecipientError); [INFO] [stderr] | ------------------- `RecipientFrameError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup/account_data.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AccountDataError` [INFO] [stderr] 24 | pub enum AccountDataError { [INFO] [stderr] | ---------------- `AccountDataError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatError` [INFO] [stderr] 20 | pub enum ChatError { [INFO] [stderr] | --------- `ChatError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ChatItemError` [INFO] [stderr] 30 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stderr] 31 | pub enum ChatItemError { [INFO] [stderr] | ------------- `ChatItemError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup/chat.rs:154:35 [INFO] [stderr] | [INFO] [stderr] 154 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ReactionError` [INFO] [stderr] 155 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stderr] 156 | pub enum ReactionError { [INFO] [stderr] | ------------- `ReactionError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/backup/recipient.rs:15:35 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RecipientError` [INFO] [stderr] 16 | #[cfg_attr(test, derive(PartialEq))] [INFO] [stderr] 17 | pub enum RecipientError { [INFO] [stderr] | -------------- `RecipientError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/frame.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ValidationError` [INFO] [stderr] 33 | pub enum ValidationError { [INFO] [stderr] | --------------- `ValidationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/parse.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, displaydoc::Display, thiserror::Error)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stderr] 12 | pub enum ParseError { [INFO] [stderr] | ---------- `ParseError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/unknown.rs:39:39 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_PathPart` [INFO] [stderr] 40 | pub enum PathPart { [INFO] [stderr] | -------- `PathPart` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/unknown.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Copy, Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_UnknownValue` [INFO] [stderr] 50 | pub enum UnknownValue { [INFO] [stderr] | ------------ `UnknownValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/message-backup/src/unknown.rs:79:45 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(Copy, Clone, Debug, Eq, PartialEq, displaydoc::Display)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_MapKey` [INFO] [stderr] 80 | pub(crate) enum MapKey<'a> { [INFO] [stderr] | ------ `MapKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libsignal-message-backup` (lib) generated 38 warnings [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/libsignal-message-backup-e1bb980c2aa744a2/out/protos/test.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `has_unknown_fields` is never used [INFO] [stderr] --> rust/message-backup/src/unknown.rs:170:8 [INFO] [stderr] | [INFO] [stderr] 169 | pub(crate) trait VisitUnknownFieldsExt { [INFO] [stderr] | --------------------- method in this trait [INFO] [stderr] 170 | fn has_unknown_fields(&self) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libsignal-message-backup` (lib test) generated 34 warnings (32 duplicates) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/pin/src/error.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(displaydoc::Display, Debug, Clone, Eq, PartialEq)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stderr] 8 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `signal-pin` (lib) generated 1 warning [INFO] [stderr] warning: `signal-pin` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `usernames` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `libsignal-protocol` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `zkgroup` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `zkcredential` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `signal-crypto` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/device_transfer-6e69d780bccb9716) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-4bafdd1413eccc05) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_generate_and_parse ... ok [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libsignal_message_backup-b33384b9195b4801) [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.73s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 127 tests [INFO] [stdout] test backup::chat::test::call_chat_update::callchatupdateproto_groupcall_proto_groupcallchatupdate_bad_in_call_aci_err_chatitemerror_invalidaci_expects ... ok [INFO] [stdout] test backup::chat::test::call_chat_update::callchatupdateproto_groupcall_proto_groupcallchatupdate_no_started_call_aci_ok_expects ... ok [INFO] [stdout] test backup::chat::test::call_chat_update::callchatupdateproto_test_call_message_ok_expects ... ok [INFO] [stdout] test backup::chat::test::chat_update_message_item::proto_expirationtimerchatupdate_default_ok_expects ... ok [INFO] [stdout] test backup::chat::test::chat_update_message_item::proto_groupdescriptionchatupdate_default_ok_expects ... ok [INFO] [stdout] test backup::chat::test::chat_update_message_item::proto_profilechangechatupdate_default_ok_expects ... ok [INFO] [stdout] test backup::chat::test::chat_update_message_item::proto_sessionswitchoverchatupdate_default_ok_expects ... ok [INFO] [stdout] test backup::chat::test::chat_update_message_item::proto_simplechatupdate_default_ok_expects ... ok [INFO] [stdout] test backup::chat::test::chat_update_message_item::proto_threadmergechatupdate_default_ok_expects ... ok [INFO] [stdout] test backup::chat::test::call_chat_update::callchatupdateproto_groupcall_proto_groupcallchatupdate_bad_started_call_aci_err_chatitemerror_invalidaci_expects ... ok [INFO] [stdout] test backup::chat::test::call_chat_update::callchatupdateproto_test_wrong_call_id_err_chatitemerror_nocallforid_callid_proto_call_test_id_1_expects ... ok [INFO] [stdout] test backup::chat::test::contact_message::invalid_reaction_err_chatitemerror_reaction_reactionerror_authornotfound_recipientid_0_expects ... ok [INFO] [stdout] test backup::chat::test::call_chat_update::callchatupdateproto_test_call_id_ok_expects ... ok [INFO] [stdout] test backup::chat::test::call_chat_update::callchatupdateproto_groupcall_proto_groupcallchatupdate_test_data_ok_expects ... ok [INFO] [stdout] test backup::account_data::test::rejects_invalid_username ... ok [INFO] [stdout] test backup::chat::test::sticker_message::invalid_reaction_err_chatitemerror_reaction_reactionerror_authornotfound_recipientid_0_expects ... ok [INFO] [stdout] test backup::chat::test::chat_update_message_item::proto_callchatupdate_default_err_chatitemerror_callisempty_expects ... ok [INFO] [stdout] test backup::chat::test::contact_message::no_reactions_ok_expects ... ok [INFO] [stdout] test backup::chat::test::reaction::invalid_author_id_err_reactionerror_authornotfound_recipientid_proto_recipient_test_id_2_expects ... ok [INFO] [stdout] test backup::chat::test::reaction::no_received_timestamp_ok_expects ... ok [INFO] [stdout] test backup::chat::test::chat_update_message_no_item ... ok [INFO] [stdout] test backup::chat::test::valid_reaction ... ok [INFO] [stdout] test backup::account_data::test::requires_valid_profile_key ... ok [INFO] [stdout] test backup::chat::test::voice_message::invalid_reaction_err_chatitemerror_reaction_reactionerror_authornotfound_recipientid_0_expects ... ok [INFO] [stdout] test backup::chat::test::sticker_message::no_reactions_ok_expects ... ok [INFO] [stdout] test backup::chat::test::valid_voice_message ... ok [INFO] [stdout] test backup::method::test::insert_conflict::store_expects ... ok [INFO] [stdout] test backup::method::test::insert_new_key::store_expects ... ok [INFO] [stdout] test backup::method::test::insert_conflict::validate_expects ... ok [INFO] [stdout] test backup::method::test::insert_new_key::validate_expects ... ok [INFO] [stdout] test backup::chat::test::valid_standard_message ... ok [INFO] [stdout] test backup::recipient::test::destination_contact::invalid_aci_err_recipienterror_invalidserviceid_serviceidkind_aci_expects ... ok [INFO] [stdout] test backup::recipient::test::destination_contact::invalid_pni_err_recipienterror_invalidserviceid_serviceidkind_pni_expects ... ok [INFO] [stdout] test backup::chat::test::voice_message::no_quote_ok_expects ... ok [INFO] [stdout] test backup::chat::test::voice_message::no_reactions_ok_expects ... ok [INFO] [stdout] test backup::recipient::test::destination_contact::no_pni_ok_expects ... ok [INFO] [stdout] test backup::recipient::test::destination_contact::no_profile_key_ok_expects ... ok [INFO] [stdout] test backup::recipient::test::requires_destination ... ok [INFO] [stdout] test backup::recipient::test::destination_contact::no_aci_ok_expects ... ok [INFO] [stdout] test backup::recipient::test::destination_contact::no_aci_or_pni_ok_expects ... ok [INFO] [stdout] test backup::recipient::test::destination_contact::invalid_profile_key_err_recipienterror_invalidprofilekey_expects ... ok [INFO] [stdout] test backup::recipient::test::valid_destination_contact ... ok [INFO] [stdout] test backup::recipient::test::destination_distribution_list::invalid_distribution_id_err_recipienterror_invaliddistributionid_expects ... ok [INFO] [stdout] test backup::chat::test::valid_contact_message ... ok [INFO] [stdout] test backup::recipient::test::valid_destination_self ... ok [INFO] [stdout] test backup::test::rejects_duplicate_id::store_fake_proto_call_test_data_expects ... ok [INFO] [stdout] test backup::recipient::test::destination_group::invalid_master_key_err_recipienterror_invalidmasterkey_expects ... ok [INFO] [stdout] test backup::recipient::test::valid_destination_group ... ok [INFO] [stdout] test backup::test::allows_call_without_ringer_id ... ok [INFO] [stdout] test backup::test::rejects_duplicate_id::store_fake_proto_chat_test_data_expects ... ok [INFO] [stdout] test backup::test::rejects_duplicate_id::store_fake_proto_recipient_test_data_expects ... ok [INFO] [stdout] test backup::test::rejects_duplicate_id::validateonly_fake_proto_call_test_data_expects ... ok [INFO] [stdout] test backup::test::rejects_duplicate_id::validateonly_fake_proto_chat_test_data_expects ... ok [INFO] [stdout] test backup::test::rejects_duplicate_id::validateonly_fake_proto_recipient_test_data_expects ... ok [INFO] [stdout] test backup::test::rejects_missing_foreign_key::missing_chat_item_conversation ... ok [INFO] [stdout] test backup::test::rejects_missing_foreign_key::store_empty_proto_call_test_data_expects ... ok [INFO] [stdout] test backup::test::rejects_missing_foreign_key::store_empty_proto_chat_test_data_expects ... ok [INFO] [stdout] test backup::test::rejects_missing_foreign_key::store_fake_proto_chatitem_test_data_wrong_author_expects ... ok [INFO] [stdout] test backup::test::rejects_missing_foreign_key::validateonly_empty_proto_chat_test_data_expects ... ok [INFO] [stdout] test backup::test::rejects_missing_foreign_key::validateonly_fake_proto_chatitem_test_data_wrong_author_expects ... ok [INFO] [stdout] test backup::test::rejects_multiple_account_data::store_empty_expects ... ok [INFO] [stdout] test backup::test::rejects_multiple_account_data::validateonly_empty_expects ... ok [INFO] [stdout] test frame::aes_read::test::aes_reader_inner_returns_pending ... ok [INFO] [stdout] test backup::test::rejects_missing_foreign_key::validateonly_fake_with_proto_recipient_test_data_into_proto_chat_test_data_into_proto_call_test_data_wrong_ringer_expects ... ok [INFO] [stdout] test frame::aes_read::test::aes_reader_round_trip::long ... ok [INFO] [stdout] test frame::aes_read::test::aes_reader_round_trip::empty ... ok [INFO] [stdout] test frame::aes_read::test::aes_reader_round_trip::med ... ok [INFO] [stdout] test frame::block_stream::test::empty ... ok [INFO] [stdout] test frame::aes_read::test::aes_reader_too_short ... ok [INFO] [stdout] test frame::block_stream::test::exact_block_stream_converts_error ... ok [INFO] [stdout] test frame::block_stream::test::exact_block_stream_ragged_block ... ok [INFO] [stdout] test frame::aes_read::test::aes_reader_round_trip::short ... ok [INFO] [stdout] test frame::block_stream::test::exact_block_stream_valid ... ok [INFO] [stdout] test frame::block_stream::test::multiple_blocks ... ok [INFO] [stdout] test frame::block_stream::test::reader_returns_pending ... ok [INFO] [stdout] test frame::cbc::test::stream_decrypts ... ok [INFO] [stdout] test frame::cbc::test::stream_empty ... ok [INFO] [stdout] test frame::cbc::test::stream_passes_errors ... ok [INFO] [stdout] test frame::test::frame_failed_decrypt ... ok [INFO] [stdout] test frame::test::frame_from_raw_invalid_hmac ... ok [INFO] [stdout] test frame::test::frame_round_trip ... ok [INFO] [stdout] test frame::unpad::test::multiple ... ok [INFO] [stdout] test key::test::backup_id_known ... ok [INFO] [stdout] test key::test::backup_key_known ... ok [INFO] [stdout] test key::test::message_backup_key_known ... ok [INFO] [stdout] test frame::unpad::test::empty ... ok [INFO] [stdout] test frame::unpad::test::last_is_all_padding ... ok [INFO] [stdout] test frame::unpad::test::empty_without_padding ... ok [INFO] [stdout] test frame::unpad::test::single ... ok [INFO] [stdout] test frame::test::frame_from_raw_too_short ... ok [INFO] [stdout] test parse::test::read_length_delimited_truncated ... ok [INFO] [stdout] test parse::test::read_length_delimited_multiple_messages ... ok [INFO] [stdout] test parse::test::read_length_delimited_empty ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_bytes_unknownvalue_field_tag_731_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_enum_unknownvalue_field_tag_751_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_int64_unknownvalue_field_tag_711_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_int64_unknownvalue_field_tag_711_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_enum_unknownvalue_field_tag_751_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_map_unknownvalue_field_tag_771_viastaticdispatch_expects ... ok [INFO] [stdout] test frame::block_stream::test::reader_returns_error ... ok [INFO] [stdout] test backup::test::rejects_missing_foreign_key::validateonly_empty_proto_call_test_data_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_nested_unknownvalue_field_tag_761_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_map_unknownvalue_field_tag_771_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_bytes_unknownvalue_field_tag_731_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_nested_unknownvalue_field_tag_761_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_repeated_message_unknownvalue_field_tag_721_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_string_unknownvalue_field_tag_701_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_repeated_uint64_unknownvalue_field_tag_741_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_repeated_message_unknownvalue_field_tag_721_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_string_unknownvalue_field_tag_701_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_oneof_extra_int_unknownvalue_field_tag_612_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_oneof_extra_message_unknownvalue_field_tag_610_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_oneof_extra_message_unknownvalue_field_tag_610_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_oneof_extra_string_unknownvalue_field_tag_611_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_oneof_extra_string_unknownvalue_field_tag_611_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::no_extra_fields::proto_testmessage_default_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::no_extra_fields::proto_testmessage_fake_data_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::no_extra_fields::proto_testmessage_fake_data_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::no_extra_fields::proto_testmessage_fake_data_wire_cast_as_proto_testmessage_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::no_extra_fields::proto_testmessage_fake_data_wire_cast_as_proto_testmessage_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_extra_repeated_uint64_unknownvalue_field_tag_741_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::no_extra_fields::proto_testmessage_fake_data_wire_cast_as_proto_testmessagewithextrafields_viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::has_unknown_fields_top_level::_oneof_extra_int_unknownvalue_field_tag_612_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::no_extra_fields::proto_testmessage_fake_data_wire_cast_as_proto_testmessagewithextrafields_viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::unknown_fields_in_nested_message::viastaticdispatch_expects ... ok [INFO] [stdout] test unknown::test::unknown_fields_in_nested_message::viaprotodescriptors_expects ... ok [INFO] [stdout] test unknown::test::no_extra_fields::proto_testmessage_default_viastaticdispatch_expects ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 127 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/validator/main.rs (/opt/rustwide/target/debug/deps/validator-23e76978e170c7de) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test::cli_parse_no_keys_plaintext_binproto ... ok [INFO] [stdout] test test::cli_parse_derive_key_flags_conflict_with_key_parts_flags ... ok [INFO] [stdout] test test::cli_parse_key_parts ... ok [INFO] [stdout] test test::cli_parse_derive_keys ... ok [INFO] [stdout] test test::cli_parse_empty ... ok [INFO] [stdout] test test::cli_parse_key_parts_all_required ... ok [INFO] [stdout] test test::cli_parse_master_key_requires_aci ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/test_cases.rs (/opt/rustwide/target/debug/deps/test_cases-b8f83eeee71568bf) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test valid_new_account_binproto_encrypted ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libsignal_protocol-28172285667ef5c0) [INFO] [stdout] test valid_new_account_binproto ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test crypto::test::aes_ctr_test ... ok [INFO] [stdout] test curve::curve25519::tests::test_agreement ... ok [INFO] [stdout] test fingerprint::test::fingerprint_encodings ... ok [INFO] [stdout] test curve::tests::test_decode_size ... ok [INFO] [stdout] test fingerprint::test::fingerprint_matching_identifiers ... ok [INFO] [stdout] test fingerprint::test::fingerprint_mismatching_fingerprints ... ok [INFO] [stdout] test fingerprint::test::fingerprint_mismatching_identifiers ... ok [INFO] [stdout] test curve::curve25519::tests::test_random_agreements ... ok [INFO] [stdout] test identity_key::tests::test_identity_key_from ... ok [INFO] [stdout] test identity_key::tests::test_serialize_identity_key_pair ... ok [INFO] [stdout] test incremental_mac::test::chunk_size_zero - should panic ... ok [INFO] [stdout] test incremental_mac::test::chunk_sizes_sha256 ... ok [INFO] [stdout] test incremental_mac::test::chunk_sizes_sha512 ... ok [INFO] [stdout] test identity_key::tests::test_alternate_identity_signing ... ok [INFO] [stdout] test incremental_mac::test::final_result_should_be_equal_to_non_incremental_hmac ... ok [INFO] [stdout] test incremental_mac::test::incremental_macs_are_valid ... ok [INFO] [stdout] test incremental_mac::test::simple_test ... ok [INFO] [stdout] test fingerprint::test::fingerprint_mismatching_versions ... ok [INFO] [stdout] test incremental_mac::test::validating_returns_right_size ... ok [INFO] [stdout] test incremental_mac::test::validating_simple_test ... ok [INFO] [stdout] test kem::tests::test_dyn_parameters_consts ... ok [INFO] [stdout] test kem::tests::test_kyber1024_kem ... ok [INFO] [stdout] test kem::tests::test_kyber1024_keypair ... ok [INFO] [stdout] test kem::tests::test_kyber768_keypair ... ok [INFO] [stdout] test kem::tests::test_raw_kem ... ok [INFO] [stdout] test kem::tests::test_serialize ... ok [INFO] [stdout] test protocol::tests::test_decryption_error_message ... ok [INFO] [stdout] test protocol::tests::test_decryption_error_message_for_plaintext ... ok [INFO] [stdout] test protocol::tests::test_pre_key_signal_message_serialize_deserialize ... ok [INFO] [stdout] test protocol::tests::test_sender_key_message_serialize_deserialize ... ok [INFO] [stdout] test protocol::tests::test_signal_message_serialize_deserialize ... ok [INFO] [stdout] test ratchet::keys::tests::test_chain_key_derivation ... ok [INFO] [stdout] test sealed_sender::sealed_sender_v1::test_agreement_and_authentication ... ok [INFO] [stdout] test sealed_sender::sealed_sender_v2::test_agreement_and_authentication ... ok [INFO] [stdout] test sealed_sender::test_lossless_round_trip ... ok [INFO] [stdout] test sender_keys::sender_key_record_add_sender_key_state_tests::add_second_state ... ok [INFO] [stdout] test sender_keys::sender_key_record_add_sender_key_state_tests::add_single_state ... ok [INFO] [stdout] test sender_keys::sender_key_record_add_sender_key_state_tests::when_exceed_maximum_states_then_oldest_is_ejected ... ok [INFO] [stdout] test sender_keys::sender_key_record_add_sender_key_state_tests::when_second_state_with_different_public_key_but_same_chain_id_added_then_it_gets_replaced ... ok [INFO] [stdout] test sender_keys::sender_key_record_add_sender_key_state_tests::when_second_state_with_same_public_key_and_chain_id_added_then_it_becomes_the_most_recent ... ok [INFO] [stdout] test sender_keys::sender_key_record_add_sender_key_state_tests::when_second_state_with_same_public_key_and_chain_id_added_then_it_keeps_first_data ... ok [INFO] [stdout] test incremental_mac::test::produce_and_validate ... ok [INFO] [stdout] test utils::tests::test_ct_is_eq ... ok [INFO] [stdout] test utils::tests::test_ct_is_lt ... ok [INFO] [stdout] test utils::tests::test_ct_is_zero ... ok [INFO] [stdout] test utils::tests::test_div_ceil ... ok [INFO] [stdout] test utils::tests::test_div_ceil_isize ... ok [INFO] [stdout] test utils::tests::test_div_ceil_panic - should panic ... ok [INFO] [stdout] test fingerprint::test::fingerprint_test_v2 ... ok [INFO] [stdout] test utils::tests::test_constant_time_cmp ... ok [INFO] [stdout] test fingerprint::test::fingerprint_test_v1 ... ok [INFO] [stdout] test incremental_mac::test::total_digest_size_is_never_too_big ... ok [INFO] [stdout] test curve::curve25519::tests::test_random_signatures ... ok [INFO] [stdout] test curve::tests::test_large_signatures ... ok [INFO] [stdout] test curve::curve25519::tests::test_signature ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.00s [INFO] [stdout] [INFO] [stderr] Running tests/groups.rs (/opt/rustwide/target/debug/deps/groups-4146bf81688feed5) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test group_no_send_session ... ok [INFO] [stdout] test group_no_recv_session ... ok [INFO] [stdout] test group_basic_encrypt_decrypt ... ok [INFO] [stdout] test group_large_messages ... ok [INFO] [stdout] test group_too_far_in_the_future ... ignored, slow to run locally [INFO] [stdout] test group_basic_ratchet ... ok [INFO] [stdout] test group_late_join ... ok [INFO] [stdout] test group_sealed_sender_multiple_devices_and_excluded_recipients ... ok [INFO] [stdout] test group_sealed_sender ... ok [INFO] [stdout] test group_sealed_sender_multiple_devices ... ok [INFO] [stdout] test group_out_of_order ... ok [INFO] [stdout] test group_message_key_limit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 3.70s [INFO] [stdout] [INFO] [stderr] Running tests/ratchet.rs (/opt/rustwide/target/debug/deps/ratchet-c4e64e16ee4c55ef) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_ratcheting_session_as_bob ... ok [INFO] [stdout] test test_alice_and_bob_agree_on_chain_keys_with_kyber ... ok [INFO] [stderr] Running tests/sealed_sender.rs (/opt/rustwide/target/debug/deps/sealed_sender-a651c9c326a3fd78) [INFO] [stdout] test test_ratcheting_session_as_alice ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test parse_empty_multi_recipient_sealed_sender ... ok [INFO] [stdout] test test_revoked_server_cert ... ok [INFO] [stdout] test test_sealed_sender_multi_recipient_encrypt_with_archived_session ... ok [INFO] [stdout] test test_sealed_sender_multi_recipient_redundant_empty_devices ... ok [INFO] [stdout] test test_sealed_sender_multi_recipient_encrypt_with_bad_registration_id ... ok [INFO] [stdout] test test_decryption_error_in_sealed_sender ... ok [INFO] [stdout] test test_sealed_sender_multi_recipient_new_derivation ... ok [INFO] [stdout] test test_sender_key_in_sealed_sender ... ok [INFO] [stdout] test test_sealed_sender_multi_recipient ... ok [INFO] [stdout] test test_sealed_sender ... ok [INFO] [stdout] test test_server_cert ... ok [INFO] [stdout] test test_sender_cert ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 46.40s [INFO] [stdout] [INFO] [stderr] Running tests/session.rs (/opt/rustwide/target/debug/deps/session-038acd797bc4b375) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test test_chain_jump_over_limit ... ignored, slow to run locally [INFO] [stdout] test test_chain_jump_over_limit_with_self ... ignored, slow to run locally [INFO] [stdout] test test_repeat_bundle_message ... ok [INFO] [stdout] test test_bad_message_bundle ... ok [INFO] [stdout] test test_optional_one_time_prekey ... ok [INFO] [stdout] test test_basic_session ... ok [INFO] [stdout] test test_basic_simultaneous_initiate ... ok [INFO] [stdout] test test_unacknowledged_sessions_eventually_expire ... ok [INFO] [stdout] test test_basic_prekey ... ok [INFO] [stdout] test test_simultaneous_initiate_lost_message ... ok [INFO] [stdout] test test_zero_is_a_valid_prekey_id ... ok [INFO] [stdout] test test_simultaneous_initiate_with_lossage ... ok [INFO] [stdout] test test_simultaneous_initiate_repeated_messages ... ok [INFO] [stdout] test test_simultaneous_initiate_lost_message_repeated_messages ... ok [INFO] [stdout] test test_message_key_limits ... ok [INFO] [stdout] test test_bad_signed_pre_key_signature ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 15.47s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poksho-562b138207d62cd2) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test shosha256::tests::test_vectors ... ok [INFO] [stdout] test shohmacsha256::tests::test_vectors ... ok [INFO] [stdout] test statement::tests::test_statement_encoding ... ok [INFO] [stdout] test sign::tests::test_signature ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/signal_crypto-9740d7405e22af1d) [INFO] [stdout] test statement::tests::test_complex_statement ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test aes_cbc::test::aes_cbc_test ... ok [INFO] [stdout] [INFO] [stderr] Running tests/aes_ctr.rs (/opt/rustwide/target/debug/deps/aes_ctr-09debce60ae3d1e0) [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test aes_ctr_smoke_test ... ok [INFO] [stdout] test aes_ctr_long_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/aes_gcm.rs (/opt/rustwide/target/debug/deps/aes_gcm-1d54fdde9e66db99) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test aes_gcm_smoke_test ... ok [INFO] [stdout] test aes_gcm_wycheproof_kats ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/signal_media-896894f04d71e03b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/signal_pin-42cdcfa2590cc52b) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test hash::test::known_salt ... ok [INFO] [stdout] test hash::test::known_phc_string ... ok [INFO] [stdout] test hash::test::verify ... ok [INFO] [stdout] test hash::test::known_hash2 ... ok [INFO] [stdout] test hash::test::known_hash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/usernames-a88b8ab686ed2ad0) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test username::test::nickname_limits ... ok [INFO] [stdout] test username::test::invalid_discriminators ... ok [INFO] [stdout] test username::test::no_discriminator ... ok [INFO] [stdout] test username::test::generate_discriminators ... ok [INFO] [stdout] test username::test::valid_characters_mapping ... ok [INFO] [stdout] test username::test::valid_nickname_scalar ... ok [INFO] [stdout] test username::test::invalid_nicknames ... ok [INFO] [stdout] test constants::test::generate_points ... ok [INFO] [stdout] test username::test::nicknames_exceeding_soft_limits ... ok [INFO] [stdout] test username::test::discriminator_scalar_is_defined_on_range ... ok [INFO] [stdout] test username_links::test::happy_case ... ok [INFO] [stdout] test username_links::test::input_data_too_long ... ok [INFO] [stdout] test username_links::test::longest_valid_username ... ok [INFO] [stdout] test username_links::test::prost_ignores_unknown_fields_and_handles_missing_ones ... ok [INFO] [stdout] test username_links::test::reuse_entropy ... ok [INFO] [stdout] test username_links::test::username_link_data_bad_ciphertext ... ok [INFO] [stdout] test username_links::test::username_link_data_hmac_no_match ... ok [INFO] [stdout] test username_links::test::username_link_data_too_short ... ok [INFO] [stdout] test username_links::test::username_link_decrypted_data_bad_structure ... ok [INFO] [stdout] test username::test::invalid_nickname_limits - should panic ... ok [INFO] [stdout] test username::test::too_few_ranges - should panic ... ok [INFO] [stdout] test username::test::valid_nicknames_should_produce_scalar ... ok [INFO] [stdout] test username::test::valid_usernames_should_produce_scalar ... ok [INFO] [stdout] test username::test::valid_usernames ... ok [INFO] [stdout] test username::test::many_random_makes_valid_usernames ... ok [INFO] [stdout] test username::test::valid_usernames_proof_and_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 40.78s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zkcredential-86ad6bbb4f588585) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test credentials::tests::test_system ... ok [INFO] [stdout] test attributes::tests::derive_default_generator_points_works ... ok [INFO] [stdout] test issuance::blind::round_trip_key_pair ... ok [INFO] [stdout] test attributes::tests::derive_default_generator_points_checks_for_reuse_in_debug_builds - should panic ... ok [INFO] [stdout] test credentials::tests::round_trip_key_pair ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zkgroup-202e76940b5abb8b) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test api::groups::group_params::tests::test_aesgcmsiv_vec1 ... ok [INFO] [stdout] test api::groups::group_params::tests::test_aesgcmsiv_vec2 ... ok [INFO] [stdout] test api::groups::group_send_credential::tests::test_default_expiration ... ok [INFO] [stdout] test api::profiles::profile_key::tests::access_key_kat ... ok [INFO] [stdout] test common::array_utils::test_one_based_indexing ... ok [INFO] [stdout] test common::array_utils::test_one_based_indexing_past_end - should panic ... ok [INFO] [stdout] test common::array_utils::test_one_based_indexing_with_zero - should panic ... ok [INFO] [stdout] test common::array_utils::test_one_based_iter ... ok [INFO] [stdout] test common::simple_types::tests::test_encode_scalar ... ok [INFO] [stdout] test api::groups::group_params::tests::test_encrypt_with_padding ... ok [INFO] [stdout] test crypto::credentials::tests::test_system ... ok [INFO] [stdout] test crypto::profile_key_commitment::tests::test_commitment ... ok [INFO] [stdout] test crypto::profile_key_commitment::tests::test_system ... ok [INFO] [stdout] test crypto::profile_key_credential_request::tests::test_request_response ... ok [INFO] [stdout] test api::backups::auth_credential::tests::test_client_enforces_receipt_level ... ok [INFO] [stdout] test crypto::signature::tests::test_signature ... ok [INFO] [stdout] test crypto::uid_encryption::tests::test_pni_encryption ... ok [INFO] [stdout] test api::backups::auth_credential::tests::test_client_enforces_timestamp_granularity ... ok [INFO] [stdout] test crypto::uid_encryption::tests::test_uid_encryption ... ok [INFO] [stdout] test crypto::zkcredential_examples::test_inverse_key ... ok [INFO] [stdout] test crypto::credentials::tests::test_mac ... ok [INFO] [stdout] test crypto::zkcredential_examples::test_mac_generic_without_verifying_encryption_key ... ok [INFO] [stdout] test api::backups::auth_credential::tests::test_server_verify_expiration ... ok [INFO] [stdout] test api::backups::auth_credential::tests::test_server_verify_wrong_receipt_level ... ok [INFO] [stdout] test api::backups::auth_credential::tests::test_server_verify_wrong_backup_id ... ok [INFO] [stdout] test api::backups::auth_credential::tests::test_server_verify_wrong_redemption ... ok [INFO] [stdout] test crypto::zkcredential_examples::test_mac_generic ... ok [INFO] [stdout] test crypto::zkcredential_examples::test_room_credential ... ok [INFO] [stdout] test crypto::zkcredential_examples::test_profile_key_credential ... ok [INFO] [stdout] test crypto::zkcredential_examples::test_profile_key_credential_only_verifying_one_encryption_key ... ok [INFO] [stdout] test crypto::profile_key_encryption::tests::test_profile_key_encryption ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.31s [INFO] [stdout] [INFO] [stderr] Running tests/backup_auth_flow.rs (/opt/rustwide/target/debug/deps/backup_auth_flow-063a09927d9e9995) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/call_link_flow.rs (/opt/rustwide/target/debug/deps/call_link_flow-7b348c51f78f7491) [INFO] [stdout] test test_backup_auth_request_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.11s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_auth_credential_enforces_timestamp_granularity ... ok [INFO] [stdout] test test_create_call_link_enforces_timestamp_granularity ... ok [INFO] [stdout] test test_auth_credential ... ok [INFO] [stdout] test test_create_call_link_request_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.55s [INFO] [stdout] [INFO] [stderr] Running tests/group_send_flow.rs (/opt/rustwide/target/debug/deps/group_send_flow-437c98a31b5d860f) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_empty_credential_can_be_issued_and_received ... ok [INFO] [stdout] test test_client_rejects_bad_expirations ... ok [INFO] [stdout] test test_credential ... ok [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-d8c2b7ac3b91c14f) [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.43s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_auth_credential_presentation_v1_is_rejected ... ok [INFO] [stdout] test test_profile_key_credential_presentation_expiring_as_v1 ... ok [INFO] [stdout] test test_profile_key_credential_presentation_v2_as_v1 ... ok [INFO] [stdout] test test_lizard ... ok [INFO] [stdout] test test_blob_encryption ... ok [INFO] [stdout] test test_server_sigs ... ok [INFO] [stdout] test test_profile_key_credential_presentation_v1_does_not_verify ... ok [INFO] [stdout] test test_integration_auth_with_pni ... ok [INFO] [stdout] test test_integration_auth ... ok [INFO] [stdout] test test_integration_auth_with_pni_using_pni_as_aci ... ok [INFO] [stdout] test test_integration_expiring_profile ... ok [INFO] [stderr] Running tests/receipt_flow.rs (/opt/rustwide/target/debug/deps/receipt_flow-c209a98e4b6fae51) [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.85s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_request_response ... ok [INFO] [stderr] Doc-tests device_transfer [INFO] [stdout] test test_api ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.57s [INFO] [stdout] [INFO] [stderr] Doc-tests libsignal_message_backup [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/libsignal-message-backup-e1bb980c2aa744a2/out/protos/backup.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libsignal_protocol [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test rust/protocol/src/kem.rs - kem::Parameters (line 79) ... ignored [INFO] [stdout] test rust/protocol/src/kem.rs - kem (line 39) ... ok [INFO] [stdout] test rust/protocol/src/kem.rs - kem (line 24) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.04s [INFO] [stdout] [INFO] [stderr] Doc-tests poksho [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests signal_crypto [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests signal_media [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests signal_pin [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests usernames [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests zkcredential [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test rust/zkcredential/src/attributes.rs - attributes::Domain::G_a (line 132) ... ok [INFO] [stdout] test rust/zkcredential/src/attributes.rs - attributes::Domain (line 100) ... ok [INFO] [stdout] test rust/zkcredential/src/issuance/blind.rs - issuance::blind (line 25) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.12s [INFO] [stdout] [INFO] [stderr] Doc-tests zkgroup [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7091fcd4355fab0330089cb4f0911567c24ef4e9965ef2873d3f3c5d97ec99f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7091fcd4355fab0330089cb4f0911567c24ef4e9965ef2873d3f3c5d97ec99f9", kill_on_drop: false }` [INFO] [stdout] 7091fcd4355fab0330089cb4f0911567c24ef4e9965ef2873d3f3c5d97ec99f9