[INFO] fetching crate walletconnect-client 0.2.0... [INFO] testing walletconnect-client-0.2.0 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate walletconnect-client 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate walletconnect-client 0.2.0 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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 427 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding gloo-net v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding jsonwebtoken v8.3.0 (available: v9.3.0) [INFO] [stderr] Adding serde_qs v0.12.0 (available: v0.13.0) [INFO] [stderr] Adding solang-parser v0.3.3 (available: v0.3.4) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc17f6594531bc7ed4b6f6f625647028709cec1ad769656a5eeed986567b7210 [INFO] running `Command { std: "docker" "start" "-a" "dc17f6594531bc7ed4b6f6f625647028709cec1ad769656a5eeed986567b7210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc17f6594531bc7ed4b6f6f625647028709cec1ad769656a5eeed986567b7210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc17f6594531bc7ed4b6f6f625647028709cec1ad769656a5eeed986567b7210", kill_on_drop: false }` [INFO] [stdout] dc17f6594531bc7ed4b6f6f625647028709cec1ad769656a5eeed986567b7210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7022ca3a7bfde42fa7ff0b88aad51ea6dc6d5ca6c13736147c8713aa7795038e [INFO] running `Command { std: "docker" "start" "-a" "7022ca3a7bfde42fa7ff0b88aad51ea6dc6d5ca6c13736147c8713aa7795038e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling const-hex v1.14.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling dunce v1.0.5 [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 pem v1.1.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling js-sys v0.3.76 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling web-sys v0.3.76 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.49 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling enr v0.10.0 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling serde-aux v4.5.0 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling parity-scale-codec v3.6.12 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-worker v0.5.0 [INFO] [stderr] Compiling gloo-net v0.5.0 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo-history v0.2.2 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling gloo v0.11.0 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethers-core v2.0.14 [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-contract-abigen v2.0.14 [INFO] [stderr] Compiling ethers-etherscan v2.0.14 [INFO] [stderr] Compiling ethers-signers v2.0.14 [INFO] [stderr] Compiling ethers-addressbook v2.0.14 [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: 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)]` 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: associated items `basic`, `encode`, `try_from_str`, and `verify_basic` are never used [INFO] [stdout] --> src/jwt/claims/verifiable.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait VerifiableClaims: Serialize + DeserializeOwned { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn basic(&self) -> &JwtBasicClaims; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn encode(&self, key: &SigningKey) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn try_from_str(data: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn verify_basic( [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: method `msg_id` is never used [INFO] [stdout] --> src/rpc/msgid.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait MsgId { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 4 | fn msg_id(&self) -> 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "7022ca3a7bfde42fa7ff0b88aad51ea6dc6d5ca6c13736147c8713aa7795038e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7022ca3a7bfde42fa7ff0b88aad51ea6dc6d5ca6c13736147c8713aa7795038e", kill_on_drop: false }` [INFO] [stdout] 7022ca3a7bfde42fa7ff0b88aad51ea6dc6d5ca6c13736147c8713aa7795038e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3765503a34a7de08f987cdbb97bfebdc8a4a5999929b0ba1a6e6f0debbfed3a [INFO] running `Command { std: "docker" "start" "-a" "f3765503a34a7de08f987cdbb97bfebdc8a4a5999929b0ba1a6e6f0debbfed3a", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.26 [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: 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)]` 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: associated items `basic`, `encode`, `try_from_str`, and `verify_basic` are never used [INFO] [stdout] --> src/jwt/claims/verifiable.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait VerifiableClaims: Serialize + DeserializeOwned { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn basic(&self) -> &JwtBasicClaims; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn encode(&self, key: &SigningKey) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn try_from_str(data: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn verify_basic( [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: method `msg_id` is never used [INFO] [stdout] --> src/rpc/msgid.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait MsgId { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 4 | fn msg_id(&self) -> 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: 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)]` 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)]` 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: associated items `basic`, `encode`, `try_from_str`, and `verify_basic` are never used [INFO] [stdout] --> src/jwt/claims/verifiable.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait VerifiableClaims: Serialize + DeserializeOwned { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn basic(&self) -> &JwtBasicClaims; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn encode(&self, key: &SigningKey) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn try_from_str(data: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn verify_basic( [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: method `msg_id` is never used [INFO] [stdout] --> src/rpc/msgid.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait MsgId { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 4 | fn msg_id(&self) -> 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 59.48s [INFO] running `Command { std: "docker" "inspect" "f3765503a34a7de08f987cdbb97bfebdc8a4a5999929b0ba1a6e6f0debbfed3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3765503a34a7de08f987cdbb97bfebdc8a4a5999929b0ba1a6e6f0debbfed3a", kill_on_drop: false }` [INFO] [stdout] f3765503a34a7de08f987cdbb97bfebdc8a4a5999929b0ba1a6e6f0debbfed3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a0cebcaefc3287cab2b8016b4edd38cab4707cc963716a5309e5f2cc1c5b9f2 [INFO] running `Command { std: "docker" "start" "-a" "0a0cebcaefc3287cab2b8016b4edd38cab4707cc963716a5309e5f2cc1c5b9f2", kill_on_drop: false }` [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)]` on by default [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: associated items `basic`, `encode`, `try_from_str`, and `verify_basic` are never used [INFO] [stderr] --> src/jwt/claims/verifiable.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub trait VerifiableClaims: Serialize + DeserializeOwned { [INFO] [stderr] | ---------------- associated items in this trait [INFO] [stderr] ... [INFO] [stderr] 13 | fn basic(&self) -> &JwtBasicClaims; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | fn encode(&self, key: &SigningKey) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | fn try_from_str(data: &str) -> Result [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | fn verify_basic( [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: method `msg_id` is never used [INFO] [stderr] --> src/rpc/msgid.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait MsgId { [INFO] [stderr] | ----- method in this trait [INFO] [stderr] 4 | fn msg_id(&self) -> 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: 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `walletconnect-client` (lib) generated 22 warnings [INFO] [stderr] warning: `walletconnect-client` (lib test) generated 23 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/walletconnect_client-6b3e04fa61aba442) [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.08s [INFO] [stdout] [INFO] [stderr] Doc-tests walletconnect_client [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] test src/lib.rs - (line 13) ... 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 2.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a0cebcaefc3287cab2b8016b4edd38cab4707cc963716a5309e5f2cc1c5b9f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0cebcaefc3287cab2b8016b4edd38cab4707cc963716a5309e5f2cc1c5b9f2", kill_on_drop: false }` [INFO] [stdout] 0a0cebcaefc3287cab2b8016b4edd38cab4707cc963716a5309e5f2cc1c5b9f2