[INFO] cloning repository https://github.com/angelosstaboulis/Swift-LibSignal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/angelosstaboulis/Swift-LibSignal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelosstaboulis%2FSwift-LibSignal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelosstaboulis%2FSwift-LibSignal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9dd304c077032d0e1e42f33889b00cc54cc69b8a [INFO] checking angelosstaboulis/Swift-LibSignal against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelosstaboulis%2FSwift-LibSignal" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/angelosstaboulis/Swift-LibSignal [INFO] finished tweaking git repo https://github.com/angelosstaboulis/Swift-LibSignal [INFO] tweaked toml for git repo https://github.com/angelosstaboulis/Swift-LibSignal written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/angelosstaboulis/Swift-LibSignal on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/angelosstaboulis/Swift-LibSignal already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4112f08d6aa19b1646daef8e65bef1a87e8bca3041b084482edee56be8112a12 [INFO] running `Command { std: "docker" "start" "-a" "4112f08d6aa19b1646daef8e65bef1a87e8bca3041b084482edee56be8112a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4112f08d6aa19b1646daef8e65bef1a87e8bca3041b084482edee56be8112a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4112f08d6aa19b1646daef8e65bef1a87e8bca3041b084482edee56be8112a12", kill_on_drop: false }` [INFO] [stdout] 4112f08d6aa19b1646daef8e65bef1a87e8bca3041b084482edee56be8112a12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81b515dff76e81073534925d5103f8e1c7faf004e8c466eb8eba678e7f7e3777 [INFO] running `Command { std: "docker" "start" "-a" "81b515dff76e81073534925d5103f8e1c7faf004e8c466eb8eba678e7f7e3777", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling neon-build v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling neon v0.9.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking hkdf v0.11.0 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking neon-runtime v0.9.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 (https://github.com/dignifiedquire/num-bigint?rev=56576b592fea6341b7e1711a1629e4cc1bfc419c#56576b59) [INFO] [stderr] Checking cslice v0.2.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Compiling snow v0.8.0 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking signal-crypto v0.1.0 (/opt/rustwide/workdir/rust/crypto) [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling syn-mid v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling zeroize_derive v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling neon-macros v0.9.1 [INFO] [stderr] Checking chacha20 v0.7.3 [INFO] [stderr] Checking chacha20poly1305 v0.8.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling linkme-impl v0.2.7 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Checking simple_asn1 v0.5.4 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling jni v0.19.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Checking combine v4.6.1 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling unzip3 v1.0.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Compiling libsignal-bridge-macros v0.1.0 (/opt/rustwide/workdir/rust/bridge/shared/macros) [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Checking linkme v0.2.7 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking signal-neon-futures v0.1.0 (/opt/rustwide/workdir/rust/bridge/node/futures) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/node/futures/src/future.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn get_promise(channel: &Channel, get_promise: F) -> JsFutureBuilder [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn get_promise(channel: &Channel, get_promise: F) -> JsFutureBuilder<'_, F, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking signal-neon-futures-tests v0.1.0 (/opt/rustwide/workdir/rust/bridge/node/futures/tests-node-module) [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stdout] warning: value captured by `future` is never read [INFO] [stdout] --> rust/bridge/node/futures/tests-node-module/src/panics_and_throws.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | future.await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `future` is never read [INFO] [stdout] --> rust/bridge/node/futures/tests-node-module/src/panics_and_throws.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | future.await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling libsignal-jni v0.12.4 (/opt/rustwide/workdir/rust/bridge/jni) [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling libsignal-protocol v0.1.0 (/opt/rustwide/workdir/rust/protocol) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/node/futures/src/future.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn get_promise(channel: &Channel, get_promise: F) -> JsFutureBuilder [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn get_promise(channel: &Channel, get_promise: F) -> JsFutureBuilder<'_, F, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `future` is never read [INFO] [stdout] --> rust/bridge/node/futures/tests-node-module/src/panics_and_throws.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | future.await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `future` is never read [INFO] [stdout] --> rust/bridge/node/futures/tests-node-module/src/panics_and_throws.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | future.await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking log-panics v2.0.0 [INFO] [stderr] Checking curve25519-dalek v3.0.0 (https://github.com/signalapp/curve25519-dalek?branch=3.0.0-lizard2#b3329ed0) [INFO] [stderr] Checking serde_json v1.0.68 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking oid v0.2.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking picky-asn1 v0.3.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking poksho v0.7.0 (/opt/rustwide/workdir/rust/poksho) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking zkgroup v0.9.0 (/opt/rustwide/workdir/rust/zkgroup) [INFO] [stderr] Checking picky-asn1-der v0.2.5 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking hsm-enclave v0.1.0 (/opt/rustwide/workdir/rust/hsm-enclave) [INFO] [stderr] Checking picky-asn1-x509 v0.6.1 [INFO] [stderr] Checking rsa v0.4.1 [INFO] [stderr] Checking picky v6.3.0 [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:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[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] 16 | 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/zkgroup/src/common/array_utils.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | fn iter(&self) -> std::slice::Iter; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn iter(&self) -> std::slice::Iter<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/zkgroup/src/common/array_utils.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/zkgroup/src/common/array_utils.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> 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_ZkGroupError` [INFO] [stdout] 7 | pub enum ZkGroupError { [INFO] [stdout] | ------------ `ZkGroupError` 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] Checking device-transfer v0.1.0 (/opt/rustwide/workdir/rust/device-transfer) [INFO] [stderr] Checking libsignal-bridge v0.1.0 (/opt/rustwide/workdir/rust/bridge/shared) [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:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[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] 16 | 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/zkgroup/src/common/array_utils.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | fn iter(&self) -> std::slice::Iter; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn iter(&self) -> std::slice::Iter<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/zkgroup/src/common/array_utils.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/zkgroup/src/common/array_utils.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> 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_ZkGroupError` [INFO] [stdout] 7 | pub enum ZkGroupError { [INFO] [stdout] | ------------ `ZkGroupError` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:412:49 [INFO] [stdout] | [INFO] [stdout] 412 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:423:49 [INFO] [stdout] | [INFO] [stdout] 423 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 423 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:437:49 [INFO] [stdout] | [INFO] [stdout] 437 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 437 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:451:49 [INFO] [stdout] | [INFO] [stdout] 451 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:463:49 [INFO] [stdout] | [INFO] [stdout] 463 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:477:49 [INFO] [stdout] | [INFO] [stdout] 477 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 477 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:487:48 [INFO] [stdout] | [INFO] [stdout] 487 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 487 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:499:48 [INFO] [stdout] | [INFO] [stdout] 499 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 499 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:511:48 [INFO] [stdout] | [INFO] [stdout] 511 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 511 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:526:48 [INFO] [stdout] | [INFO] [stdout] 526 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 526 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:538:48 [INFO] [stdout] | [INFO] [stdout] 538 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 538 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:553:48 [INFO] [stdout] | [INFO] [stdout] 553 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 553 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:565:48 [INFO] [stdout] | [INFO] [stdout] 565 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 565 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:577:48 [INFO] [stdout] | [INFO] [stdout] 577 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 577 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:607:48 [INFO] [stdout] | [INFO] [stdout] 607 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 607 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:626:48 [INFO] [stdout] | [INFO] [stdout] 626 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 626 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:662:48 [INFO] [stdout] | [INFO] [stdout] 662 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 662 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:674:48 [INFO] [stdout] | [INFO] [stdout] 674 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 674 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:684:48 [INFO] [stdout] | [INFO] [stdout] 684 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 684 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:694:48 [INFO] [stdout] | [INFO] [stdout] 694 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 694 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:704:48 [INFO] [stdout] | [INFO] [stdout] 704 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 704 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:714:48 [INFO] [stdout] | [INFO] [stdout] 714 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 714 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:724:48 [INFO] [stdout] | [INFO] [stdout] 724 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 724 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:735:48 [INFO] [stdout] | [INFO] [stdout] 735 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 735 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:745:48 [INFO] [stdout] | [INFO] [stdout] 745 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 745 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:814:49 [INFO] [stdout] | [INFO] [stdout] 814 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JavaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 814 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JavaObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:827:49 [INFO] [stdout] | [INFO] [stdout] 827 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JavaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 827 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JavaObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:867:28 [INFO] [stdout] | [INFO] [stdout] 867 | signal_jni_result: &SignalJniResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 868 | ) -> jni_crate::objects::JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 868 | ) -> jni_crate::objects::JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:904:37 [INFO] [stdout] | [INFO] [stdout] 904 | _signal_jni_result: &SignalJniResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 905 | ) -> JObject { [INFO] [stdout] | ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 936 | trivial!(i32); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `trivial` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 905 | ) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:926:36 [INFO] [stdout] | [INFO] [stdout] 926 | signal_jni_result: &SignalJniResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 927 | ) -> JObject { [INFO] [stdout] | ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 937 | trivial_jobject!(jbyteArray); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `trivial_jobject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 927 | ) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:904:37 [INFO] [stdout] | [INFO] [stdout] 904 | _signal_jni_result: &SignalJniResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 905 | ) -> JObject { [INFO] [stdout] | ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 938 | trivial!(()); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `trivial` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 905 | ) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/crypto.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | bridge_handle!(Aes256GcmSiv, clone = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = bridge_handle!(Aes256GcmSiv, clone = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/crypto.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | bridge_handle!(Aes256Ctr32, clone = false, mut = true, node = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = bridge_handle!(Aes256Ctr32, clone = false, mut = true, node = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/crypto.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | bridge_handle!(Aes256GcmEncryption, clone = false, mut = true, node = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = bridge_handle!(Aes256GcmEncryption, clone = false, mut = true, node = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/crypto.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | bridge_handle!(Aes256GcmDecryption, clone = false, mut = true, node = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = bridge_handle!(Aes256GcmDecryption, clone = false, mut = true, node = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | bridge_handle!(CiphertextMessage, clone = false, jni = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = bridge_handle!(CiphertextMessage, clone = false, jni = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | bridge_handle!(DecryptionErrorMessage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = bridge_handle!(DecryptionErrorMessage); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | bridge_handle!(Fingerprint, jni = NumericFingerprintGenerator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = bridge_handle!(Fingerprint, jni = NumericFingerprintGenerator); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | bridge_handle!(PlaintextContent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = bridge_handle!(PlaintextContent); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | bridge_handle!(PreKeyBundle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = bridge_handle!(PreKeyBundle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | bridge_handle!(PreKeyRecord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = bridge_handle!(PreKeyRecord); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | bridge_handle!(PreKeySignalMessage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | let _ = bridge_handle!(PreKeySignalMessage); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | bridge_handle!(PrivateKey, ffi = privatekey, jni = ECPrivateKey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = bridge_handle!(PrivateKey, ffi = privatekey, jni = ECPrivateKey); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | bridge_handle!(ProtocolAddress, ffi = address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = bridge_handle!(ProtocolAddress, ffi = address); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | bridge_handle!(PublicKey, ffi = publickey, jni = ECPublicKey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = bridge_handle!(PublicKey, ffi = publickey, jni = ECPublicKey); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | bridge_handle!(SenderCertificate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = bridge_handle!(SenderCertificate); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | bridge_handle!(SenderKeyDistributionMessage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = bridge_handle!(SenderKeyDistributionMessage); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | bridge_handle!(SenderKeyMessage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = bridge_handle!(SenderKeyMessage); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | bridge_handle!(SenderKeyRecord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = bridge_handle!(SenderKeyRecord); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | bridge_handle!(ServerCertificate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = bridge_handle!(ServerCertificate); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | bridge_handle!(SessionRecord, mut = true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = bridge_handle!(SessionRecord, mut = true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | bridge_handle!(SignalMessage, ffi = message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = bridge_handle!(SignalMessage, ffi = message); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | bridge_handle!(SignedPreKeyRecord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = bridge_handle!(SignedPreKeyRecord); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | bridge_handle!(UnidentifiedSenderMessageContent, clone = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = bridge_handle!(UnidentifiedSenderMessageContent, clone = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/hsm_enclave.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | bridge_handle!(HsmEnclaveClient, clone = false, mut = true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = bridge_handle!(HsmEnclaveClient, clone = false, mut = true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking libsignal-node v0.12.4 (/opt/rustwide/workdir/rust/bridge/node) [INFO] [stderr] Checking libsignal-ffi v0.12.4 (/opt/rustwide/workdir/rust/bridge/ffi) [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> rust/bridge/ffi/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | CString::from_raw(buf as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = CString::from_raw(buf as _); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/ffi/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Box::from_raw(std::slice::from_raw_parts_mut(buf as *mut c_uchar, buf_len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = Box::from_raw(std::slice::from_raw_parts_mut(buf as *mut c_uchar, buf_len)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> rust/bridge/ffi/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | CString::from_raw(buf as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = CString::from_raw(buf as _); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/ffi/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Box::from_raw(std::slice::from_raw_parts_mut(buf as *mut c_uchar, buf_len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = Box::from_raw(std::slice::from_raw_parts_mut(buf as *mut c_uchar, buf_len)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:412:49 [INFO] [stdout] | [INFO] [stdout] 412 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:423:49 [INFO] [stdout] | [INFO] [stdout] 423 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 423 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:437:49 [INFO] [stdout] | [INFO] [stdout] 437 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 437 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:451:49 [INFO] [stdout] | [INFO] [stdout] 451 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:463:49 [INFO] [stdout] | [INFO] [stdout] 463 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:477:49 [INFO] [stdout] | [INFO] [stdout] 477 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 477 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:487:48 [INFO] [stdout] | [INFO] [stdout] 487 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 487 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:499:48 [INFO] [stdout] | [INFO] [stdout] 499 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 499 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:511:48 [INFO] [stdout] | [INFO] [stdout] 511 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 511 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:526:48 [INFO] [stdout] | [INFO] [stdout] 526 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 526 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:538:48 [INFO] [stdout] | [INFO] [stdout] 538 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 538 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:553:48 [INFO] [stdout] | [INFO] [stdout] 553 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 553 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:565:48 [INFO] [stdout] | [INFO] [stdout] 565 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 565 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:577:48 [INFO] [stdout] | [INFO] [stdout] 577 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 577 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:607:48 [INFO] [stdout] | [INFO] [stdout] 607 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 607 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:626:48 [INFO] [stdout] | [INFO] [stdout] 626 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 626 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:662:48 [INFO] [stdout] | [INFO] [stdout] 662 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 662 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:674:48 [INFO] [stdout] | [INFO] [stdout] 674 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 674 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:684:48 [INFO] [stdout] | [INFO] [stdout] 684 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 684 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:694:48 [INFO] [stdout] | [INFO] [stdout] 694 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 694 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:704:48 [INFO] [stdout] | [INFO] [stdout] 704 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 704 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:714:48 [INFO] [stdout] | [INFO] [stdout] 714 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 714 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:724:48 [INFO] [stdout] | [INFO] [stdout] 724 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 724 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:735:48 [INFO] [stdout] | [INFO] [stdout] 735 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 735 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:745:48 [INFO] [stdout] | [INFO] [stdout] 745 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 745 | fn convert_into_jobject(signal_jni_result: &SignalJniResult) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:814:49 [INFO] [stdout] | [INFO] [stdout] 814 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JavaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 814 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JavaObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:827:49 [INFO] [stdout] | [INFO] [stdout] 827 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JavaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 827 | fn convert_into_jobject(_signal_jni_result: &SignalJniResult) -> JavaObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:867:28 [INFO] [stdout] | [INFO] [stdout] 867 | signal_jni_result: &SignalJniResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 868 | ) -> jni_crate::objects::JObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 868 | ) -> jni_crate::objects::JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:904:37 [INFO] [stdout] | [INFO] [stdout] 904 | _signal_jni_result: &SignalJniResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 905 | ) -> JObject { [INFO] [stdout] | ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 936 | trivial!(i32); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `trivial` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 905 | ) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:926:36 [INFO] [stdout] | [INFO] [stdout] 926 | signal_jni_result: &SignalJniResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 927 | ) -> JObject { [INFO] [stdout] | ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 937 | trivial_jobject!(jbyteArray); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `trivial_jobject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 927 | ) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust/bridge/shared/src/jni/convert.rs:904:37 [INFO] [stdout] | [INFO] [stdout] 904 | _signal_jni_result: &SignalJniResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 905 | ) -> JObject { [INFO] [stdout] | ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 938 | trivial!(()); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `trivial` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 905 | ) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/crypto.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | bridge_handle!(Aes256GcmSiv, clone = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = bridge_handle!(Aes256GcmSiv, clone = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/crypto.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | bridge_handle!(Aes256Ctr32, clone = false, mut = true, node = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = bridge_handle!(Aes256Ctr32, clone = false, mut = true, node = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/crypto.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | bridge_handle!(Aes256GcmEncryption, clone = false, mut = true, node = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = bridge_handle!(Aes256GcmEncryption, clone = false, mut = true, node = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/crypto.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | bridge_handle!(Aes256GcmDecryption, clone = false, mut = true, node = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = bridge_handle!(Aes256GcmDecryption, clone = false, mut = true, node = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | bridge_handle!(CiphertextMessage, clone = false, jni = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = bridge_handle!(CiphertextMessage, clone = false, jni = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | bridge_handle!(DecryptionErrorMessage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = bridge_handle!(DecryptionErrorMessage); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | bridge_handle!(Fingerprint, jni = NumericFingerprintGenerator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = bridge_handle!(Fingerprint, jni = NumericFingerprintGenerator); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | bridge_handle!(PlaintextContent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = bridge_handle!(PlaintextContent); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | bridge_handle!(PreKeyBundle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = bridge_handle!(PreKeyBundle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | bridge_handle!(PreKeyRecord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = bridge_handle!(PreKeyRecord); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | bridge_handle!(PreKeySignalMessage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | let _ = bridge_handle!(PreKeySignalMessage); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | bridge_handle!(PrivateKey, ffi = privatekey, jni = ECPrivateKey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = bridge_handle!(PrivateKey, ffi = privatekey, jni = ECPrivateKey); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | bridge_handle!(ProtocolAddress, ffi = address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = bridge_handle!(ProtocolAddress, ffi = address); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | bridge_handle!(PublicKey, ffi = publickey, jni = ECPublicKey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = bridge_handle!(PublicKey, ffi = publickey, jni = ECPublicKey); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | bridge_handle!(SenderCertificate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = bridge_handle!(SenderCertificate); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | bridge_handle!(SenderKeyDistributionMessage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = bridge_handle!(SenderKeyDistributionMessage); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | bridge_handle!(SenderKeyMessage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = bridge_handle!(SenderKeyMessage); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | bridge_handle!(SenderKeyRecord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = bridge_handle!(SenderKeyRecord); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | bridge_handle!(ServerCertificate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = bridge_handle!(ServerCertificate); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | bridge_handle!(SessionRecord, mut = true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = bridge_handle!(SessionRecord, mut = true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | bridge_handle!(SignalMessage, ffi = message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = bridge_handle!(SignalMessage, ffi = message); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | bridge_handle!(SignedPreKeyRecord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = bridge_handle!(SignedPreKeyRecord); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/protocol.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | bridge_handle!(UnidentifiedSenderMessageContent, clone = false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = bridge_handle!(UnidentifiedSenderMessageContent, clone = false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> rust/bridge/shared/src/hsm_enclave.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | bridge_handle!(HsmEnclaveClient, clone = false, mut = true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = bridge_handle!(HsmEnclaveClient, clone = false, mut = true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5, picky-asn1-x509 v0.6.1, snow v0.8.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "81b515dff76e81073534925d5103f8e1c7faf004e8c466eb8eba678e7f7e3777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81b515dff76e81073534925d5103f8e1c7faf004e8c466eb8eba678e7f7e3777", kill_on_drop: false }` [INFO] [stdout] 81b515dff76e81073534925d5103f8e1c7faf004e8c466eb8eba678e7f7e3777