[INFO] fetching crate walletconnect-client 0.2.0... [INFO] testing walletconnect-client-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate walletconnect-client 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate walletconnect-client 0.2.0 [INFO] finished tweaking crates.io crate walletconnect-client 0.2.0 [INFO] tweaked toml for crates.io crate walletconnect-client 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate walletconnect-client 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 449 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding gloo-net v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding jsonwebtoken v8.3.0 (available: v10.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding serde_qs v0.12.0 (available: v0.15.0) [INFO] [stderr] Adding solang-parser v0.3.3 (available: v0.3.5) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eadd6a622416a245ab90e33e66de93fb51d2beab31962f353b4009633709261 [INFO] running `Command { std: "docker" "start" "-a" "0eadd6a622416a245ab90e33e66de93fb51d2beab31962f353b4009633709261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eadd6a622416a245ab90e33e66de93fb51d2beab31962f353b4009633709261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eadd6a622416a245ab90e33e66de93fb51d2beab31962f353b4009633709261", kill_on_drop: false }` [INFO] [stdout] 0eadd6a622416a245ab90e33e66de93fb51d2beab31962f353b4009633709261 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a78d9dd84036a04a6450dfb69f8a654b6a1a4094c493c438256c626028e59f1 [INFO] running `Command { std: "docker" "start" "-a" "8a78d9dd84036a04a6450dfb69f8a654b6a1a4094c493c438256c626028e59f1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling const-hex v1.16.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling enr v0.10.0 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.54 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling serde-aux v4.7.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ethers-contract-abigen v2.0.14 [INFO] [stderr] Compiling ethers-signers v2.0.14 [INFO] [stderr] Compiling ethers-addressbook v2.0.14 [INFO] [stderr] Compiling ethers-providers v2.0.14 [INFO] [stderr] Compiling ethers-etherscan v2.0.14 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-worker v0.5.0 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo-history v0.2.2 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-net v0.5.0 [INFO] [stderr] Compiling gloo v0.11.0 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Compiling ethers-contract v2.0.14 [INFO] [stderr] Compiling ethers-middleware v2.0.14 [INFO] [stderr] Compiling ethers v2.0.14 [INFO] [stderr] Compiling walletconnect-client v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MockRandProvider` is never constructed [INFO] [stdout] --> src/cipher/mock.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MockRandProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DID_METHOD_PKH` is never used [INFO] [stdout] --> src/did.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DID_METHOD_PKH: &str = "pkh"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JWT_DELIMITER` is never used [INFO] [stdout] --> src/jwt/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const JWT_DELIMITER: &str = "."; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JWT_VALIDATION_TIME_LEEWAY_SECS` is never used [INFO] [stdout] --> src/jwt/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const JWT_VALIDATION_TIME_LEEWAY_SECS: i64 = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `aud`, `iat`, and `ttl` are never used [INFO] [stdout] --> src/jwt/auth/token.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl AuthToken { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn aud(mut self, aud: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn iat(mut self, iat: impl Into>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn ttl(mut self, ttl: impl Into>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VerifiableClaims` is never used [INFO] [stdout] --> src/jwt/claims/verifiable.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait VerifiableClaims: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchEventClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_event.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchEventClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchRegisterClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_register.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchRegisterClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchUnregisterClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_unregister.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchUnregisterClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `LENGTH`, `generate`, and `from_bytes` are never used [INFO] [stdout] --> src/jwt/decode/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 24 | impl $NewType { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub const LENGTH: usize = $ByteLength; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | pub fn generate(rand_provider: &mut impl RandProvider) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_bytes(bytes: [u8; $ByteLength]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl_byte_array_newtype!(DecodedAuthSubject, AuthSubject, 32); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_byte_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `decode` and `generate` are never used [INFO] [stdout] --> src/jwt/decode/mod.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 70 | impl $ParentType { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 71 | pub fn decode(&self) -> Result<$NewType, DecodingError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn generate(rand_provider: &mut impl RandProvider) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl_byte_array_newtype!(DecodedAuthSubject, AuthSubject, 32); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_byte_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_secret_key` is never used [INFO] [stdout] --> src/jwt/decode/sym_key.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl DecodedSymKey { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn as_secret_key(&self) -> SecretKey { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/jwt/header.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> JwtHeader<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 19 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PROPOSE_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const TAG_SESSION_PROPOSE_RESPONSE: u32 = 1101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_SETTLE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const TAG_SESSION_SETTLE_REQUEST: u32 = 1102; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_UPDATE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const TAG_SESSION_UPDATE_REQUEST: u32 = 1104; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EXTEND_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const TAG_SESSION_EXTEND_REQUEST: u32 = 1106; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EXTEND_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TAG_SESSION_EXTEND_RESPONSE: u32 = 1107; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_REQUEST_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const TAG_SESSION_REQUEST_RESPONSE: u32 = 1109; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EVENT_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const TAG_SESSION_EVENT_REQUEST: u32 = 1110; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_DELETE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const TAG_SESSION_DELETE_REQUEST: u32 = 1112; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PING_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const TAG_SESSION_PING_REQUEST: u32 = 1114; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PING_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const TAG_SESSION_PING_RESPONSE: u32 = 1115; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MsgId` is never used [INFO] [stdout] --> src/rpc/msgid.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait MsgId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_message_id` is never used [INFO] [stdout] --> src/rpc/msgid.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_message_id(message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `validate` are never used [INFO] [stdout] --> src/rpc/payload.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Payload { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 20 | /// Returns the message ID contained within the payload. [INFO] [stdout] 21 | pub fn id(&self) -> MessageId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn validate(&self) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_message` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hash_message>(message: T) -> H256 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchType` is never used [INFO] [stdout] --> src/watch.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WatchType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchStatus` is never used [INFO] [stdout] --> src/watch.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum WatchStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchAction` is never used [INFO] [stdout] --> src/watch.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum WatchAction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchEventPayload` is never constructed [INFO] [stdout] --> src/watch.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WatchEventPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchWebhookPayload` is never constructed [INFO] [stdout] --> src/watch.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WatchWebhookPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.33s [INFO] running `Command { std: "docker" "inspect" "8a78d9dd84036a04a6450dfb69f8a654b6a1a4094c493c438256c626028e59f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a78d9dd84036a04a6450dfb69f8a654b6a1a4094c493c438256c626028e59f1", kill_on_drop: false }` [INFO] [stdout] 8a78d9dd84036a04a6450dfb69f8a654b6a1a4094c493c438256c626028e59f1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e04f519a097eb6609c550dbee46b2c0dd82c7e00c907d7b0912e9b8262c4b454 [INFO] running `Command { std: "docker" "start" "-a" "e04f519a097eb6609c550dbee46b2c0dd82c7e00c907d7b0912e9b8262c4b454", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ethers-providers v2.0.14 [INFO] [stderr] Compiling ethers-etherscan v2.0.14 [INFO] [stderr] Compiling ethers-contract v2.0.14 [INFO] [stderr] Compiling ethers-middleware v2.0.14 [INFO] [stderr] Compiling ethers v2.0.14 [INFO] [stderr] Compiling walletconnect-client v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MockRandProvider` is never constructed [INFO] [stdout] --> src/cipher/mock.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MockRandProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DID_METHOD_PKH` is never used [INFO] [stdout] --> src/did.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DID_METHOD_PKH: &str = "pkh"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JWT_DELIMITER` is never used [INFO] [stdout] --> src/jwt/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const JWT_DELIMITER: &str = "."; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JWT_VALIDATION_TIME_LEEWAY_SECS` is never used [INFO] [stdout] --> src/jwt/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const JWT_VALIDATION_TIME_LEEWAY_SECS: i64 = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `aud`, `iat`, and `ttl` are never used [INFO] [stdout] --> src/jwt/auth/token.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl AuthToken { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn aud(mut self, aud: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn iat(mut self, iat: impl Into>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn ttl(mut self, ttl: impl Into>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VerifiableClaims` is never used [INFO] [stdout] --> src/jwt/claims/verifiable.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait VerifiableClaims: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchEventClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_event.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchEventClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchRegisterClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_register.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchRegisterClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchUnregisterClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_unregister.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchUnregisterClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `LENGTH`, `generate`, and `from_bytes` are never used [INFO] [stdout] --> src/jwt/decode/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 24 | impl $NewType { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub const LENGTH: usize = $ByteLength; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | pub fn generate(rand_provider: &mut impl RandProvider) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_bytes(bytes: [u8; $ByteLength]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl_byte_array_newtype!(DecodedAuthSubject, AuthSubject, 32); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_byte_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `decode` and `generate` are never used [INFO] [stdout] --> src/jwt/decode/mod.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 70 | impl $ParentType { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 71 | pub fn decode(&self) -> Result<$NewType, DecodingError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn generate(rand_provider: &mut impl RandProvider) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl_byte_array_newtype!(DecodedAuthSubject, AuthSubject, 32); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_byte_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_secret_key` is never used [INFO] [stdout] --> src/jwt/decode/sym_key.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl DecodedSymKey { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn as_secret_key(&self) -> SecretKey { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/jwt/header.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> JwtHeader<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 19 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PROPOSE_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const TAG_SESSION_PROPOSE_RESPONSE: u32 = 1101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_SETTLE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const TAG_SESSION_SETTLE_REQUEST: u32 = 1102; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_UPDATE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const TAG_SESSION_UPDATE_REQUEST: u32 = 1104; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EXTEND_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const TAG_SESSION_EXTEND_REQUEST: u32 = 1106; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EXTEND_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TAG_SESSION_EXTEND_RESPONSE: u32 = 1107; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_REQUEST_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const TAG_SESSION_REQUEST_RESPONSE: u32 = 1109; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EVENT_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const TAG_SESSION_EVENT_REQUEST: u32 = 1110; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_DELETE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const TAG_SESSION_DELETE_REQUEST: u32 = 1112; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PING_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const TAG_SESSION_PING_REQUEST: u32 = 1114; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PING_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const TAG_SESSION_PING_RESPONSE: u32 = 1115; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MsgId` is never used [INFO] [stdout] --> src/rpc/msgid.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait MsgId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_message_id` is never used [INFO] [stdout] --> src/rpc/msgid.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_message_id(message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `validate` are never used [INFO] [stdout] --> src/rpc/payload.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Payload { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 20 | /// Returns the message ID contained within the payload. [INFO] [stdout] 21 | pub fn id(&self) -> MessageId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn validate(&self) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_message` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hash_message>(message: T) -> H256 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchType` is never used [INFO] [stdout] --> src/watch.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WatchType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchStatus` is never used [INFO] [stdout] --> src/watch.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum WatchStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchAction` is never used [INFO] [stdout] --> src/watch.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum WatchAction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchEventPayload` is never constructed [INFO] [stdout] --> src/watch.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WatchEventPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchWebhookPayload` is never constructed [INFO] [stdout] --> src/watch.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WatchWebhookPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> src/lib_tests.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let project_id = ProjectId::from("test_project"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DID_METHOD_PKH` is never used [INFO] [stdout] --> src/did.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DID_METHOD_PKH: &str = "pkh"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JWT_DELIMITER` is never used [INFO] [stdout] --> src/jwt/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const JWT_DELIMITER: &str = "."; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JWT_VALIDATION_TIME_LEEWAY_SECS` is never used [INFO] [stdout] --> src/jwt/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const JWT_VALIDATION_TIME_LEEWAY_SECS: i64 = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `aud`, `iat`, and `ttl` are never used [INFO] [stdout] --> src/jwt/auth/token.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl AuthToken { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn aud(mut self, aud: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn iat(mut self, iat: impl Into>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn ttl(mut self, ttl: impl Into>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VerifiableClaims` is never used [INFO] [stdout] --> src/jwt/claims/verifiable.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait VerifiableClaims: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchEventClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_event.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchEventClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchRegisterClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_register.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchRegisterClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchUnregisterClaims` is never constructed [INFO] [stdout] --> src/jwt/claims/watch_unregister.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WatchUnregisterClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `LENGTH`, `generate`, and `from_bytes` are never used [INFO] [stdout] --> src/jwt/decode/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 24 | impl $NewType { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub const LENGTH: usize = $ByteLength; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | pub fn generate(rand_provider: &mut impl RandProvider) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_bytes(bytes: [u8; $ByteLength]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl_byte_array_newtype!(DecodedAuthSubject, AuthSubject, 32); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_byte_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `decode` and `generate` are never used [INFO] [stdout] --> src/jwt/decode/mod.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 70 | impl $ParentType { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 71 | pub fn decode(&self) -> Result<$NewType, DecodingError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn generate(rand_provider: &mut impl RandProvider) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | impl_byte_array_newtype!(DecodedAuthSubject, AuthSubject, 32); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_byte_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_secret_key` is never used [INFO] [stdout] --> src/jwt/decode/sym_key.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl DecodedSymKey { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn as_secret_key(&self) -> SecretKey { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/jwt/header.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> JwtHeader<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 19 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PROPOSE_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const TAG_SESSION_PROPOSE_RESPONSE: u32 = 1101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_SETTLE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const TAG_SESSION_SETTLE_REQUEST: u32 = 1102; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_UPDATE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const TAG_SESSION_UPDATE_REQUEST: u32 = 1104; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EXTEND_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const TAG_SESSION_EXTEND_REQUEST: u32 = 1106; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EXTEND_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TAG_SESSION_EXTEND_RESPONSE: u32 = 1107; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_REQUEST_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const TAG_SESSION_REQUEST_RESPONSE: u32 = 1109; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_EVENT_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const TAG_SESSION_EVENT_REQUEST: u32 = 1110; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_DELETE_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const TAG_SESSION_DELETE_REQUEST: u32 = 1112; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PING_REQUEST` is never used [INFO] [stdout] --> src/rpc/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const TAG_SESSION_PING_REQUEST: u32 = 1114; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SESSION_PING_RESPONSE` is never used [INFO] [stdout] --> src/rpc/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const TAG_SESSION_PING_RESPONSE: u32 = 1115; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MsgId` is never used [INFO] [stdout] --> src/rpc/msgid.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait MsgId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_message_id` is never used [INFO] [stdout] --> src/rpc/msgid.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_message_id(message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `validate` are never used [INFO] [stdout] --> src/rpc/payload.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Payload { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 20 | /// Returns the message ID contained within the payload. [INFO] [stdout] 21 | pub fn id(&self) -> MessageId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn validate(&self) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_message` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hash_message>(message: T) -> H256 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchType` is never used [INFO] [stdout] --> src/watch.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WatchType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchStatus` is never used [INFO] [stdout] --> src/watch.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum WatchStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WatchAction` is never used [INFO] [stdout] --> src/watch.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum WatchAction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchEventPayload` is never constructed [INFO] [stdout] --> src/watch.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WatchEventPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WatchWebhookPayload` is never constructed [INFO] [stdout] --> src/watch.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WatchWebhookPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 42.72s [INFO] running `Command { std: "docker" "inspect" "e04f519a097eb6609c550dbee46b2c0dd82c7e00c907d7b0912e9b8262c4b454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e04f519a097eb6609c550dbee46b2c0dd82c7e00c907d7b0912e9b8262c4b454", kill_on_drop: false }` [INFO] [stdout] e04f519a097eb6609c550dbee46b2c0dd82c7e00c907d7b0912e9b8262c4b454 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b8de119137b8f55ba6301159eff309c320ab54fd0425f382aa64081be32cdc8 [INFO] running `Command { std: "docker" "start" "-a" "7b8de119137b8f55ba6301159eff309c320ab54fd0425f382aa64081be32cdc8", kill_on_drop: false }` [INFO] [stderr] warning: struct `MockRandProvider` is never constructed [INFO] [stderr] --> src/cipher/mock.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MockRandProvider { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `DID_METHOD_PKH` is never used [INFO] [stderr] --> src/did.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const DID_METHOD_PKH: &str = "pkh"; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `JWT_DELIMITER` is never used [INFO] [stderr] --> src/jwt/mod.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | const JWT_DELIMITER: &str = "."; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `JWT_VALIDATION_TIME_LEEWAY_SECS` is never used [INFO] [stderr] --> src/jwt/mod.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | const JWT_VALIDATION_TIME_LEEWAY_SECS: i64 = 120; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `aud`, `iat`, and `ttl` are never used [INFO] [stderr] --> src/jwt/auth/token.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl AuthToken { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn aud(mut self, aud: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn iat(mut self, iat: impl Into>>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn ttl(mut self, ttl: impl Into>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `VerifiableClaims` is never used [INFO] [stderr] --> src/jwt/claims/verifiable.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub trait VerifiableClaims: Serialize + DeserializeOwned { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WatchEventClaims` is never constructed [INFO] [stderr] --> src/jwt/claims/watch_event.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct WatchEventClaims { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WatchRegisterClaims` is never constructed [INFO] [stderr] --> src/jwt/claims/watch_register.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct WatchRegisterClaims { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WatchUnregisterClaims` is never constructed [INFO] [stderr] --> src/jwt/claims/watch_unregister.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct WatchUnregisterClaims { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `LENGTH`, `generate`, and `from_bytes` are never used [INFO] [stderr] --> src/jwt/decode/mod.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 24 | impl $NewType { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 25 | pub const LENGTH: usize = $ByteLength; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | [INFO] [stderr] 27 | pub fn generate(rand_provider: &mut impl RandProvider) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn from_bytes(bytes: [u8; $ByteLength]) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | impl_byte_array_newtype!(DecodedAuthSubject, AuthSubject, 32); [INFO] [stderr] | ------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_byte_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `decode` and `generate` are never used [INFO] [stderr] --> src/jwt/decode/mod.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 70 | impl $ParentType { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 71 | pub fn decode(&self) -> Result<$NewType, DecodingError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn generate(rand_provider: &mut impl RandProvider) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | impl_byte_array_newtype!(DecodedAuthSubject, AuthSubject, 32); [INFO] [stderr] | ------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_byte_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `as_secret_key` is never used [INFO] [stderr] --> src/jwt/decode/sym_key.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl DecodedSymKey { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn as_secret_key(&self) -> SecretKey { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_valid` is never used [INFO] [stderr] --> src/jwt/header.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl<'a> JwtHeader<'a> { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 19 | pub fn is_valid(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_PROPOSE_RESPONSE` is never used [INFO] [stderr] --> src/rpc/constants.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | pub const TAG_SESSION_PROPOSE_RESPONSE: u32 = 1101; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_SETTLE_REQUEST` is never used [INFO] [stderr] --> src/rpc/constants.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const TAG_SESSION_SETTLE_REQUEST: u32 = 1102; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_UPDATE_REQUEST` is never used [INFO] [stderr] --> src/rpc/constants.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | pub const TAG_SESSION_UPDATE_REQUEST: u32 = 1104; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_EXTEND_REQUEST` is never used [INFO] [stderr] --> src/rpc/constants.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub const TAG_SESSION_EXTEND_REQUEST: u32 = 1106; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_EXTEND_RESPONSE` is never used [INFO] [stderr] --> src/rpc/constants.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | pub const TAG_SESSION_EXTEND_RESPONSE: u32 = 1107; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_REQUEST_RESPONSE` is never used [INFO] [stderr] --> src/rpc/constants.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | pub const TAG_SESSION_REQUEST_RESPONSE: u32 = 1109; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_EVENT_REQUEST` is never used [INFO] [stderr] --> src/rpc/constants.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | pub const TAG_SESSION_EVENT_REQUEST: u32 = 1110; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_DELETE_REQUEST` is never used [INFO] [stderr] --> src/rpc/constants.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | pub const TAG_SESSION_DELETE_REQUEST: u32 = 1112; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_PING_REQUEST` is never used [INFO] [stderr] --> src/rpc/constants.rs:40:11 [INFO] [stderr] | [INFO] [stderr] 40 | pub const TAG_SESSION_PING_REQUEST: u32 = 1114; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_SESSION_PING_RESPONSE` is never used [INFO] [stderr] --> src/rpc/constants.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | pub const TAG_SESSION_PING_RESPONSE: u32 = 1115; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `MsgId` is never used [INFO] [stderr] --> src/rpc/msgid.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait MsgId { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_message_id` is never used [INFO] [stderr] --> src/rpc/msgid.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn get_message_id(message: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `id` and `validate` are never used [INFO] [stderr] --> src/rpc/payload.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Payload { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] 20 | /// Returns the message ID contained within the payload. [INFO] [stderr] 21 | pub fn id(&self) -> MessageId { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn validate(&self) -> Result<(), ValidationError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `hash_message` is never used [INFO] [stderr] --> src/utils.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn hash_message>(message: T) -> H256 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `WatchType` is never used [INFO] [stderr] --> src/watch.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum WatchType { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `WatchStatus` is never used [INFO] [stderr] --> src/watch.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum WatchStatus { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `WatchAction` is never used [INFO] [stderr] --> src/watch.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | pub enum WatchAction { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WatchEventPayload` is never constructed [INFO] [stderr] --> src/watch.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct WatchEventPayload { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WatchWebhookPayload` is never constructed [INFO] [stderr] --> src/watch.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct WatchWebhookPayload { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `project_id` [INFO] [stderr] --> src/lib_tests.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let project_id = ProjectId::from("test_project"); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `DID_METHOD_PKH` is never used [INFO] [stderr] --> src/did.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const DID_METHOD_PKH: &str = "pkh"; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `walletconnect-client` (lib) generated 32 warnings [INFO] [stderr] warning: `walletconnect-client` (lib test) generated 32 warnings (30 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/walletconnect_client-b1cfa3064178fea4) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test cipher::tests::test_generate_creates_key_and_topic_based_on_mock ... ok [INFO] [stdout] test lib_tests::tests::test_wallet_connect_session_initialization ... ok [INFO] [stdout] test cipher::tests::test_generate_unique_keys_and_topics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests walletconnect_client [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b8de119137b8f55ba6301159eff309c320ab54fd0425f382aa64081be32cdc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8de119137b8f55ba6301159eff309c320ab54fd0425f382aa64081be32cdc8", kill_on_drop: false }` [INFO] [stdout] 7b8de119137b8f55ba6301159eff309c320ab54fd0425f382aa64081be32cdc8