[INFO] cloning repository https://github.com/michaelwen45/wasm-token-dapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelwen45/wasm-token-dapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelwen45%2Fwasm-token-dapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelwen45%2Fwasm-token-dapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf51e0ae34c175da1669e2670a9836d66b7b5f63 [INFO] testing michaelwen45/wasm-token-dapp against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelwen45%2Fwasm-token-dapp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaelwen45/wasm-token-dapp on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michaelwen45/wasm-token-dapp [INFO] finished tweaking git repo https://github.com/michaelwen45/wasm-token-dapp [INFO] tweaked toml for git repo https://github.com/michaelwen45/wasm-token-dapp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/michaelwen45/wasm-token-dapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/CalebEverett/solana.git` [INFO] [stderr] Updating git repository `https://github.com/CalebEverett/sycamore` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-wasm-bindgen v0.4.2 [INFO] [stderr] Downloaded libflate v1.1.2 [INFO] [stderr] Downloaded typed-builder v0.5.1 [INFO] [stderr] Downloaded avro-rs v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b844a9e1959d3eefc9a83ad7e4c3bcac1869d4b68aad9118bfff0df5850c83bf [INFO] running `Command { std: "docker" "start" "-a" "b844a9e1959d3eefc9a83ad7e4c3bcac1869d4b68aad9118bfff0df5850c83bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b844a9e1959d3eefc9a83ad7e4c3bcac1869d4b68aad9118bfff0df5850c83bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b844a9e1959d3eefc9a83ad7e4c3bcac1869d4b68aad9118bfff0df5850c83bf", kill_on_drop: false }` [INFO] [stdout] b844a9e1959d3eefc9a83ad7e4c3bcac1869d4b68aad9118bfff0df5850c83bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bee00015d98b95ded4e8c010cf5dbcc03eeebb5c1dde213045c8ba3a10e34650 [INFO] running `Command { std: "docker" "start" "-a" "bee00015d98b95ded4e8c010cf5dbcc03eeebb5c1dde213045c8ba3a10e34650", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.10.1 (https://github.com/CalebEverett/solana.git?branch=master#47b6fbb5) [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.10.1 (https://github.com/CalebEverett/solana.git?branch=master#47b6fbb5) [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling ed25519 v1.4.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling solana-program v1.10.1 (https://github.com/CalebEverett/solana.git?branch=master#47b6fbb5) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling sycamore-reactive v0.8.0-beta.3 (https://github.com/CalebEverett/sycamore?branch=master#407971f3) [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling web-sys v0.3.56 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling libflate_lz77 v1.1.0 [INFO] [stderr] Compiling solana-sdk-macro v1.10.1 (https://github.com/CalebEverett/solana.git?branch=master#47b6fbb5) [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling solana-sdk v1.10.1 (https://github.com/CalebEverett/solana.git?branch=master#47b6fbb5) [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling libflate v1.1.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling sycamore-futures v0.8.0-beta.3 (https://github.com/CalebEverett/sycamore?branch=master#407971f3) [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling solana-logger v1.10.1 (https://github.com/CalebEverett/solana.git?branch=master#47b6fbb5) [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.29 [INFO] [stderr] Compiling sycamore-macro v0.8.0-beta.3 (https://github.com/CalebEverett/sycamore?branch=master#407971f3) [INFO] [stderr] Compiling typed-builder v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha3 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling avro-rs v0.13.0 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling gloo-file v0.2.1 [INFO] [stderr] Compiling serde-wasm-bindgen v0.4.2 [INFO] [stderr] Compiling console_log v0.2.0 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling sycamore v0.8.0-beta.3 (https://github.com/CalebEverett/sycamore?branch=master#407971f3) [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling wasm-token-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/components/phantom_wallet.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsCast` and `prelude::*` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/components/phantom_wallet.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let this = JsValue::null(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/components/phantom_wallet.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let params = PhantomRequest::SignTransaction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/components/phantom_wallet.rs:263:48 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn sign_transaction(ctx: ScopeRef<'_>, transaction: Transaction) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/components/phantom_wallet.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let params = PhantomRequest::SignTransaction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/components/phantom_wallet.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | to: &Pubkey, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lamports` [INFO] [stdout] --> src/components/phantom_wallet.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | lamports: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lamports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Connecting` is never constructed [INFO] [stdout] --> src/components/phantom_wallet.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum PhantomStatus { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 53 | Disconnected, [INFO] [stdout] 54 | Connecting, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhantomStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `public_key` is never read [INFO] [stdout] --> src/components/phantom_wallet.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PhantomWallet { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 60 | pub status: PhantomStatus, [INFO] [stdout] 61 | pub public_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhantomWallet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `pubkey`, `sign_transaction_method`, `sign_transaction`, and `create_transfer_transaction` are never used [INFO] [stdout] --> src/components/phantom_wallet.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl PhantomWallet { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn pubkey(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn sign_transaction_method() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn sign_transaction(ctx: ScopeRef<'_>, transaction: Transaction) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn create_transfer_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Provider` is never constructed [INFO] [stdout] --> src/crypto.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Provider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `keypair_modulus`, `wallet_address`, `sign`, `verify`, and `fill_rand` are never used [INFO] [stdout] --> src/crypto.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Provider { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn keypair_modulus(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn wallet_address(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn sign(&self, message: &[u8]) -> Result, Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn verify(&self, signature: &[u8], message: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn fill_rand(&self, dest: &mut [u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidHash`, `InvalidTags`, and `JsFutureError` are never constructed [INFO] [stdout] --> src/error.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | InvalidHash, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | InvalidTags, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | JsFutureError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perf_to_system` is never used [INFO] [stdout] --> src/merkle.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn perf_to_system(amt: f64) -> SystemTime { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from_proof_slice` and `offset` are never used [INFO] [stdout] --> src/merkle.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait ProofDeserialize { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] 53 | fn try_from_proof_slice(slice: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | fn offset(&self) -> u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_chunk` is never used [INFO] [stdout] --> src/merkle.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn validate_chunk( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_sha256_old` is never used [INFO] [stdout] --> src/merkle.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn hash_sha256_old(message: &[u8]) -> Result<[u8; 32], Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_sha384` is never used [INFO] [stdout] --> src/merkle.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn hash_sha384(message: &[u8]) -> Result<[u8; 48], Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_all_sha384` is never used [INFO] [stdout] --> src/merkle.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn hash_all_sha384(messages: Vec<&[u8]>) -> Result<[u8; 48], Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat_u8_48` is never used [INFO] [stdout] --> src/merkle.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn concat_u8_48(left: [u8; 48], right: [u8; 48]) -> Result<[u8; 96], Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deep_hash` is never used [INFO] [stdout] --> src/merkle.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn deep_hash(deep_hash_item: DeepHashItem) -> Result<[u8; 48], Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WalletConnected` is never used [INFO] [stdout] --> src/store.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type WalletConnected = bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_with_no_data` and `get_chunk` are never used [INFO] [stdout] --> src/transaction.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 73 | pub fn clone_with_no_data(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_chunk(&self, idx: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_utf8_strs` is never used [INFO] [stdout] --> src/transaction.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub trait FromUtf8Strs { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] 165 | fn from_utf8_strs(name: &str, value: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_utf8_string` is never used [INFO] [stdout] --> src/transaction.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl Base64 { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn to_utf8_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "bee00015d98b95ded4e8c010cf5dbcc03eeebb5c1dde213045c8ba3a10e34650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee00015d98b95ded4e8c010cf5dbcc03eeebb5c1dde213045c8ba3a10e34650", kill_on_drop: false }` [INFO] [stdout] bee00015d98b95ded4e8c010cf5dbcc03eeebb5c1dde213045c8ba3a10e34650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f463eae703c06bd602ed151ee8aa3c5613f63e818331c0c480e4a3e8c8fbb19 [INFO] running `Command { std: "docker" "start" "-a" "0f463eae703c06bd602ed151ee8aa3c5613f63e818331c0c480e4a3e8c8fbb19", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-token-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/components/phantom_wallet.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsCast` and `prelude::*` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/components/phantom_wallet.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let this = JsValue::null(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/components/phantom_wallet.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let params = PhantomRequest::SignTransaction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/components/phantom_wallet.rs:263:48 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn sign_transaction(ctx: ScopeRef<'_>, transaction: Transaction) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/components/phantom_wallet.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let params = PhantomRequest::SignTransaction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/components/phantom_wallet.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | to: &Pubkey, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lamports` [INFO] [stdout] --> src/components/phantom_wallet.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | lamports: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lamports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Connecting` is never constructed [INFO] [stdout] --> src/components/phantom_wallet.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum PhantomStatus { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 53 | Disconnected, [INFO] [stdout] 54 | Connecting, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhantomStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `public_key` is never read [INFO] [stdout] --> src/components/phantom_wallet.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PhantomWallet { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 60 | pub status: PhantomStatus, [INFO] [stdout] 61 | pub public_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhantomWallet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `pubkey`, `sign_transaction_method`, `sign_transaction`, and `create_transfer_transaction` are never used [INFO] [stdout] --> src/components/phantom_wallet.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl PhantomWallet { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn pubkey(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn sign_transaction_method() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn sign_transaction(ctx: ScopeRef<'_>, transaction: Transaction) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn create_transfer_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Provider` is never constructed [INFO] [stdout] --> src/crypto.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Provider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `keypair_modulus`, `wallet_address`, `sign`, `verify`, and `fill_rand` are never used [INFO] [stdout] --> src/crypto.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Provider { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn keypair_modulus(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn wallet_address(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn sign(&self, message: &[u8]) -> Result, Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn verify(&self, signature: &[u8], message: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn fill_rand(&self, dest: &mut [u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidHash`, `InvalidTags`, and `JsFutureError` are never constructed [INFO] [stdout] --> src/error.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | InvalidHash, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | InvalidTags, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | JsFutureError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perf_to_system` is never used [INFO] [stdout] --> src/merkle.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn perf_to_system(amt: f64) -> SystemTime { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from_proof_slice` and `offset` are never used [INFO] [stdout] --> src/merkle.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait ProofDeserialize { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] 53 | fn try_from_proof_slice(slice: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | fn offset(&self) -> u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_chunk` is never used [INFO] [stdout] --> src/merkle.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn validate_chunk( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_sha256_old` is never used [INFO] [stdout] --> src/merkle.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn hash_sha256_old(message: &[u8]) -> Result<[u8; 32], Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_sha384` is never used [INFO] [stdout] --> src/merkle.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn hash_sha384(message: &[u8]) -> Result<[u8; 48], Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_all_sha384` is never used [INFO] [stdout] --> src/merkle.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn hash_all_sha384(messages: Vec<&[u8]>) -> Result<[u8; 48], Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat_u8_48` is never used [INFO] [stdout] --> src/merkle.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn concat_u8_48(left: [u8; 48], right: [u8; 48]) -> Result<[u8; 96], Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deep_hash` is never used [INFO] [stdout] --> src/merkle.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn deep_hash(deep_hash_item: DeepHashItem) -> Result<[u8; 48], Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WalletConnected` is never used [INFO] [stdout] --> src/store.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type WalletConnected = bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_with_no_data` and `get_chunk` are never used [INFO] [stdout] --> src/transaction.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 73 | pub fn clone_with_no_data(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_chunk(&self, idx: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_utf8_strs` is never used [INFO] [stdout] --> src/transaction.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub trait FromUtf8Strs { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] 165 | fn from_utf8_strs(name: &str, value: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_utf8_string` is never used [INFO] [stdout] --> src/transaction.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl Base64 { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn to_utf8_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0f463eae703c06bd602ed151ee8aa3c5613f63e818331c0c480e4a3e8c8fbb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f463eae703c06bd602ed151ee8aa3c5613f63e818331c0c480e4a3e8c8fbb19", kill_on_drop: false }` [INFO] [stdout] 0f463eae703c06bd602ed151ee8aa3c5613f63e818331c0c480e4a3e8c8fbb19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b33c61e896718257a2a6fdb49641f9b62016b718996900f06813f59dae848b59 [INFO] running `Command { std: "docker" "start" "-a" "b33c61e896718257a2a6fdb49641f9b62016b718996900f06813f59dae848b59", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `JsCast` [INFO] [stderr] --> src/components/phantom_wallet.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `JsCast` and `prelude::*` [INFO] [stderr] --> src/main.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `this` [INFO] [stderr] --> src/components/phantom_wallet.rs:246:17 [INFO] [stderr] | [INFO] [stderr] 246 | let this = JsValue::null(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/components/phantom_wallet.rs:267:17 [INFO] [stderr] | [INFO] [stderr] 267 | let params = PhantomRequest::SignTransaction { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `transaction` [INFO] [stderr] --> src/components/phantom_wallet.rs:263:48 [INFO] [stderr] | [INFO] [stderr] 263 | pub fn sign_transaction(ctx: ScopeRef<'_>, transaction: Transaction) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/components/phantom_wallet.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | let params = PhantomRequest::SignTransaction { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/components/phantom_wallet.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | to: &Pubkey, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lamports` [INFO] [stderr] --> src/components/phantom_wallet.rs:280:9 [INFO] [stderr] | [INFO] [stderr] 280 | lamports: u64, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lamports` [INFO] [stderr] [INFO] [stderr] warning: variant `Connecting` is never constructed [INFO] [stderr] --> src/components/phantom_wallet.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 52 | pub enum PhantomStatus { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] 53 | Disconnected, [INFO] [stderr] 54 | Connecting, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PhantomStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `public_key` is never read [INFO] [stderr] --> src/components/phantom_wallet.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct PhantomWallet { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 60 | pub status: PhantomStatus, [INFO] [stderr] 61 | pub public_key: Pubkey, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PhantomWallet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `pubkey`, `sign_transaction_method`, `sign_transaction`, and `create_transfer_transaction` are never used [INFO] [stderr] --> src/components/phantom_wallet.rs:206:8 [INFO] [stderr] | [INFO] [stderr] 73 | impl PhantomWallet { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 206 | fn pubkey(&self) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 243 | pub fn sign_transaction_method() -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | pub fn sign_transaction(ctx: ScopeRef<'_>, transaction: Transaction) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 277 | pub fn create_transfer_transaction( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Provider` is never constructed [INFO] [stderr] --> src/crypto.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Provider { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `keypair_modulus`, `wallet_address`, `sign`, `verify`, and `fill_rand` are never used [INFO] [stderr] --> src/crypto.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Provider { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn keypair_modulus(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn wallet_address(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn sign(&self, message: &[u8]) -> Result, Error> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn verify(&self, signature: &[u8], message: &[u8]) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn fill_rand(&self, dest: &mut [u8]) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `InvalidHash`, `InvalidTags`, and `JsFutureError` are never constructed [INFO] [stderr] --> src/error.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum Error { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 32 | InvalidHash, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | InvalidTags, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | JsFutureError, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `perf_to_system` is never used [INFO] [stderr] --> src/merkle.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn perf_to_system(amt: f64) -> SystemTime { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `try_from_proof_slice` and `offset` are never used [INFO] [stderr] --> src/merkle.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub trait ProofDeserialize { [INFO] [stderr] | ---------------- associated items in this trait [INFO] [stderr] 53 | fn try_from_proof_slice(slice: &[u8]) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 54 | fn offset(&self) -> u32; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `validate_chunk` is never used [INFO] [stderr] --> src/merkle.rs:231:8 [INFO] [stderr] | [INFO] [stderr] 231 | pub fn validate_chunk( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `hash_sha256_old` is never used [INFO] [stderr] --> src/merkle.rs:297:8 [INFO] [stderr] | [INFO] [stderr] 297 | pub fn hash_sha256_old(message: &[u8]) -> Result<[u8; 32], Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `hash_sha384` is never used [INFO] [stderr] --> src/merkle.rs:313:4 [INFO] [stderr] | [INFO] [stderr] 313 | fn hash_sha384(message: &[u8]) -> Result<[u8; 48], Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `hash_all_sha384` is never used [INFO] [stderr] --> src/merkle.rs:337:4 [INFO] [stderr] | [INFO] [stderr] 337 | fn hash_all_sha384(messages: Vec<&[u8]>) -> Result<[u8; 48], Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `concat_u8_48` is never used [INFO] [stderr] --> src/merkle.rs:349:4 [INFO] [stderr] | [INFO] [stderr] 349 | fn concat_u8_48(left: [u8; 48], right: [u8; 48]) -> Result<[u8; 96], Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `deep_hash` is never used [INFO] [stderr] --> src/merkle.rs:358:8 [INFO] [stderr] | [INFO] [stderr] 358 | pub fn deep_hash(deep_hash_item: DeepHashItem) -> Result<[u8; 48], Error> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `WalletConnected` is never used [INFO] [stderr] --> src/store.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | pub type WalletConnected = bool; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `clone_with_no_data` and `get_chunk` are never used [INFO] [stderr] --> src/transaction.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 72 | impl Transaction { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] 73 | pub fn clone_with_no_data(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 91 | pub fn get_chunk(&self, idx: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_utf8_strs` is never used [INFO] [stderr] --> src/transaction.rs:165:8 [INFO] [stderr] | [INFO] [stderr] 164 | pub trait FromUtf8Strs { [INFO] [stderr] | ------------ associated function in this trait [INFO] [stderr] 165 | fn from_utf8_strs(name: &str, value: &str) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_utf8_string` is never used [INFO] [stderr] --> src/transaction.rs:242:12 [INFO] [stderr] | [INFO] [stderr] 238 | impl Base64 { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 242 | pub fn to_utf8_string(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wasm-token-app` (bin "wasm-token-app" test) generated 26 warnings (run `cargo fix --bin "wasm-token-app" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wasm_token_app-4478b7a997403570) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b33c61e896718257a2a6fdb49641f9b62016b718996900f06813f59dae848b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33c61e896718257a2a6fdb49641f9b62016b718996900f06813f59dae848b59", kill_on_drop: false }` [INFO] [stdout] b33c61e896718257a2a6fdb49641f9b62016b718996900f06813f59dae848b59