[INFO] fetching crate cableguard 0.90.15... [INFO] testing cableguard-0.90.15 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cableguard 0.90.15 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate cableguard 0.90.15 [INFO] finished tweaking crates.io crate cableguard 0.90.15 [INFO] tweaked toml for crates.io crate cableguard 0.90.15 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cableguard 0.90.15 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 312 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.2.0) [INFO] [stderr] Adding etherparse v0.13.0 (available: v0.19.0) [INFO] [stderr] Adding mock_instant v0.3.2 (available: v0.6.0) [INFO] [stderr] Adding nix v0.27.1 (available: v0.30.1) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding socket2 v0.5.10 (available: v0.6.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64436024ff1f9a72443d644ee1f00246e936e9252a414a8c599a87a8e6d138d1 [INFO] running `Command { std: "docker" "start" "-a" "64436024ff1f9a72443d644ee1f00246e936e9252a414a8c599a87a8e6d138d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64436024ff1f9a72443d644ee1f00246e936e9252a414a8c599a87a8e6d138d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64436024ff1f9a72443d644ee1f00246e936e9252a414a8c599a87a8e6d138d1", kill_on_drop: false }` [INFO] [stdout] 64436024ff1f9a72443d644ee1f00246e936e9252a414a8c599a87a8e6d138d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dd0f28cf4499f99b3ec2c963e5c006797b7991328222fb85a5188edda9e2acf [INFO] running `Command { std: "docker" "start" "-a" "8dd0f28cf4499f99b3ec2c963e5c006797b7991328222fb85a5188edda9e2acf", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ip_network v0.4.1 [INFO] [stderr] Compiling ip_network_table-deps-treebitmap v0.5.0 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ip_network_table v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling cableguard v0.90.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nearrpc` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "nearrpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `device`, `ffi-bindings`, `jni`, `jni-bindings`, `mock-instant`, `mock_instant`, `socket2`, `thiserror`, and `tracing-subscriber` [INFO] [stdout] = help: consider adding `nearrpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::ToHex` [INFO] [stdout] --> src/noise/handshake.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EphemeralSecret` [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EphemeralSecret, PublicKey, ReusableSecret, SharedSecret, StaticSecret [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/handshake.rs:542:30 [INFO] [stdout] | [INFO] [stdout] 542 | ring::constant_time::verify_slices_are_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use ring::constant_time::verify_slices_are_equal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | verify_slices_are_equal(&computed_mac1[..16], mac1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | if verify_slices_are_equal(&computed_mac2[..16], mac2).is_err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/noise/mod.rs:1103:54 [INFO] [stdout] | [INFO] [stdout] 1103 | let naivedatetime_timestamp = NaiveDateTime::from_timestamp_opt(i64_timestamp / 1000000000, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyBytes` is never constructed [INFO] [stdout] --> src/serialization.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct KeyBytes(pub [u8; 32]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keybytes_to_hex_string` is never used [INFO] [stdout] --> src/serialization.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub (crate) fn keybytes_to_hex_string(key_bytes: &KeyBytes) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/noise/mod.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn consume_incoming_packet(src: &[u8]) -> Result { [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] 218 | pub fn consume_incoming_packet(src: &[u8]) -> Result, WireGuardError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.93s [INFO] running `Command { std: "docker" "inspect" "8dd0f28cf4499f99b3ec2c963e5c006797b7991328222fb85a5188edda9e2acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd0f28cf4499f99b3ec2c963e5c006797b7991328222fb85a5188edda9e2acf", kill_on_drop: false }` [INFO] [stdout] 8dd0f28cf4499f99b3ec2c963e5c006797b7991328222fb85a5188edda9e2acf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17f1a85d3f6dbb2814ce4ba80490cfa819b3c952e9c07a8e6efe9da31c3864b8 [INFO] running `Command { std: "docker" "start" "-a" "17f1a85d3f6dbb2814ce4ba80490cfa819b3c952e9c07a8e6efe9da31c3864b8", kill_on_drop: false }` [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling etherparse v0.13.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `nearrpc` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "nearrpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `device`, `ffi-bindings`, `jni`, `jni-bindings`, `mock-instant`, `mock_instant`, `socket2`, `thiserror`, and `tracing-subscriber` [INFO] [stdout] = help: consider adding `nearrpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::ToHex` [INFO] [stdout] --> src/noise/handshake.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EphemeralSecret` [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EphemeralSecret, PublicKey, ReusableSecret, SharedSecret, StaticSecret [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/handshake.rs:542:30 [INFO] [stdout] | [INFO] [stdout] 542 | ring::constant_time::verify_slices_are_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use ring::constant_time::verify_slices_are_equal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | verify_slices_are_equal(&computed_mac1[..16], mac1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | if verify_slices_are_equal(&computed_mac2[..16], mac2).is_err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/noise/mod.rs:1103:54 [INFO] [stdout] | [INFO] [stdout] 1103 | let naivedatetime_timestamp = NaiveDateTime::from_timestamp_opt(i64_timestamp / 1000000000, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyBytes` is never constructed [INFO] [stdout] --> src/serialization.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct KeyBytes(pub [u8; 32]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keybytes_to_hex_string` is never used [INFO] [stdout] --> src/serialization.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub (crate) fn keybytes_to_hex_string(key_bytes: &KeyBytes) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/noise/mod.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn consume_incoming_packet(src: &[u8]) -> Result { [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] 218 | pub fn consume_incoming_packet(src: &[u8]) -> Result, WireGuardError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling cableguard v0.90.15 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `their_secret_key` in this scope [INFO] [stdout] --> src/noise/mod.rs:760:67 [INFO] [stdout] | [INFO] [stdout] 760 | let their_publickey_public_key = x25519::PublicKey::from(&their_secret_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nearrpc` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "nearrpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `device`, `ffi-bindings`, `jni`, `jni-bindings`, `mock-instant`, `mock_instant`, `socket2`, `thiserror`, and `tracing-subscriber` [INFO] [stdout] = help: consider adding `nearrpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::ToHex` [INFO] [stdout] --> src/noise/handshake.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EphemeralSecret` [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EphemeralSecret, PublicKey, ReusableSecret, SharedSecret, StaticSecret [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/handshake.rs:542:30 [INFO] [stdout] | [INFO] [stdout] 542 | ring::constant_time::verify_slices_are_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use ring::constant_time::verify_slices_are_equal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | verify_slices_are_equal(&computed_mac1[..16], mac1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/noise/rate_limiter.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | if verify_slices_are_equal(&computed_mac2[..16], mac2).is_err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 6 arguments were supplied [INFO] [stdout] --> src/noise/mod.rs:763:22 [INFO] [stdout] | [INFO] [stdout] 763 | let my_tun = Tunn::new(own_staticsecret_private_key, their_publickey_public_key, None, None, my_index, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^ -------------------- three arguments of type `std::string::String`, `std::string::String`, and `[u8; 64]` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/noise/mod.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | string_rodt_id: String, [INFO] [stdout] | ---------------------- [INFO] [stdout] 299 | serviceproviderid: String, [INFO] [stdout] | ------------------------- [INFO] [stdout] 300 | rodt_id_signature: [u8;RODT_ID_SIGNATURE_SZ], [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 763 | let my_tun = Tunn::new(own_staticsecret_private_key, their_publickey_public_key, None, /* std::string::String */, /* std::string::String */, /* [u8; 64] */, None, my_index, None).unwrap(); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 6 arguments were supplied [INFO] [stdout] --> src/noise/mod.rs:764:25 [INFO] [stdout] | [INFO] [stdout] 764 | let their_tun = Tunn::new(their_staticsecret_private_key, own_publickey_public_key, None, None, their_index, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ----------------------- three arguments of type `std::string::String`, `std::string::String`, and `[u8; 64]` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/noise/mod.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | string_rodt_id: String, [INFO] [stdout] | ---------------------- [INFO] [stdout] 299 | serviceproviderid: String, [INFO] [stdout] | ------------------------- [INFO] [stdout] 300 | rodt_id_signature: [u8;RODT_ID_SIGNATURE_SZ], [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 764 | let their_tun = Tunn::new(their_staticsecret_private_key, own_publickey_public_key, None, /* std::string::String */, /* std::string::String */, /* [u8; 64] */, None, their_index, None).unwrap(); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/noise/mod.rs:1103:54 [INFO] [stdout] | [INFO] [stdout] 1103 | let naivedatetime_timestamp = NaiveDateTime::from_timestamp_opt(i64_timestamp / 1000000000, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cableguard` (lib test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "17f1a85d3f6dbb2814ce4ba80490cfa819b3c952e9c07a8e6efe9da31c3864b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f1a85d3f6dbb2814ce4ba80490cfa819b3c952e9c07a8e6efe9da31c3864b8", kill_on_drop: false }` [INFO] [stdout] 17f1a85d3f6dbb2814ce4ba80490cfa819b3c952e9c07a8e6efe9da31c3864b8