[INFO] cloning repository https://github.com/moocowdrinksmilk/sol-pay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moocowdrinksmilk/sol-pay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoocowdrinksmilk%2Fsol-pay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoocowdrinksmilk%2Fsol-pay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a5f56469d6d267ac60f93a7393a433e40ed1319 [INFO] testing moocowdrinksmilk/sol-pay against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoocowdrinksmilk%2Fsol-pay" "/workspace/builds/worker-72/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-72/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moocowdrinksmilk/sol-pay on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/moocowdrinksmilk/sol-pay [INFO] finished tweaking git repo https://github.com/moocowdrinksmilk/sol-pay [INFO] tweaked toml for git repo https://github.com/moocowdrinksmilk/sol-pay written to /workspace/builds/worker-72/source/Cargo.toml [INFO] crate git repo https://github.com/moocowdrinksmilk/sol-pay already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8d79b21a09ea3ad1d0f714c6a043af47c42f63e3ed16bb33bfd40df574aad68 [INFO] running `Command { std: "docker" "start" "-a" "e8d79b21a09ea3ad1d0f714c6a043af47c42f63e3ed16bb33bfd40df574aad68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8d79b21a09ea3ad1d0f714c6a043af47c42f63e3ed16bb33bfd40df574aad68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d79b21a09ea3ad1d0f714c6a043af47c42f63e3ed16bb33bfd40df574aad68", kill_on_drop: false }` [INFO] [stdout] e8d79b21a09ea3ad1d0f714c6a043af47c42f63e3ed16bb33bfd40df574aad68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c568220f16d9e5cbf014839b7312c4fa0716a8f7c8aec2ab44d23bac1926e70f [INFO] running `Command { std: "docker" "start" "-a" "c568220f16d9e5cbf014839b7312c4fa0716a8f7c8aec2ab44d23bac1926e70f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.10.5 [INFO] [stderr] Compiling solana-frozen-abi v1.10.5 [INFO] [stderr] Compiling solana-program v1.10.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.10.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha3 v0.10.1 [INFO] [stderr] Compiling anchor-syn v0.22.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling anchor-attribute-error v0.22.1 [INFO] [stderr] Compiling anchor-attribute-account v0.22.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.22.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.22.1 [INFO] [stderr] Compiling anchor-attribute-interface v0.22.1 [INFO] [stderr] Compiling anchor-attribute-state v0.22.1 [INFO] [stderr] Compiling anchor-attribute-program v0.22.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.22.1 [INFO] [stderr] Compiling anchor-attribute-event v0.22.1 [INFO] [stderr] Compiling spl-token v3.3.0 [INFO] [stderr] Compiling anchor-lang v0.22.1 [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling anchor-spl v0.22.1 [INFO] [stderr] Compiling sol-pay v0.1.0 (/opt/rustwide/workdir/programs/sol-pay) [INFO] [stdout] warning: unused import: `Transfer` [INFO] [stdout] --> programs/sol-pay/src/state/sender.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{TokenAccount, Transfer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloseAccount`, `Mint`, `SetAuthority` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, CloseAccount, Mint, SetAuthority, TokenAccount, Transfer}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let sender = &mut ctx.accounts.sender.key.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let receiver = &mut ctx.accounts.receiver.receiver_pubkey.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_receiver_token_account_context` [INFO] [stdout] --> programs/sol-pay/src/state/receiver.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn into_receiver_token_account_context(&self, sender_account: AccountInfo<'info>) -> CpiContext<'_, '_, '_, 'info, Transfer<'info>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / token::transfer( [INFO] [stdout] 13 | | ctx.accounts.into_tranfer_token_receiver_account(), [INFO] [stdout] 14 | | transfer_amount [INFO] [stdout] 15 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "c568220f16d9e5cbf014839b7312c4fa0716a8f7c8aec2ab44d23bac1926e70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c568220f16d9e5cbf014839b7312c4fa0716a8f7c8aec2ab44d23bac1926e70f", kill_on_drop: false }` [INFO] [stdout] c568220f16d9e5cbf014839b7312c4fa0716a8f7c8aec2ab44d23bac1926e70f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20a665cfca078ad8840943e6eca979a6c2253cb67d55276bb49943572514ccad [INFO] running `Command { std: "docker" "start" "-a" "20a665cfca078ad8840943e6eca979a6c2253cb67d55276bb49943572514ccad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `Transfer` [INFO] [stdout] --> programs/sol-pay/src/state/sender.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{TokenAccount, Transfer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloseAccount`, `Mint`, `SetAuthority` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, CloseAccount, Mint, SetAuthority, TokenAccount, Transfer}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let sender = &mut ctx.accounts.sender.key.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let receiver = &mut ctx.accounts.receiver.receiver_pubkey.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_receiver_token_account_context` [INFO] [stdout] --> programs/sol-pay/src/state/receiver.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn into_receiver_token_account_context(&self, sender_account: AccountInfo<'info>) -> CpiContext<'_, '_, '_, 'info, Transfer<'info>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / token::transfer( [INFO] [stdout] 13 | | ctx.accounts.into_tranfer_token_receiver_account(), [INFO] [stdout] 14 | | transfer_amount [INFO] [stdout] 15 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sol-pay v0.1.0 (/opt/rustwide/workdir/programs/sol-pay) [INFO] [stdout] warning: unused import: `Transfer` [INFO] [stdout] --> programs/sol-pay/src/state/sender.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{TokenAccount, Transfer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloseAccount`, `Mint`, `SetAuthority` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, CloseAccount, Mint, SetAuthority, TokenAccount, Transfer}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let sender = &mut ctx.accounts.sender.key.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let receiver = &mut ctx.accounts.receiver.receiver_pubkey.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_receiver_token_account_context` [INFO] [stdout] --> programs/sol-pay/src/state/receiver.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn into_receiver_token_account_context(&self, sender_account: AccountInfo<'info>) -> CpiContext<'_, '_, '_, 'info, Transfer<'info>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/sol-pay/src/instructions/transfer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / token::transfer( [INFO] [stdout] 13 | | ctx.accounts.into_tranfer_token_receiver_account(), [INFO] [stdout] 14 | | transfer_amount [INFO] [stdout] 15 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.41s [INFO] running `Command { std: "docker" "inspect" "20a665cfca078ad8840943e6eca979a6c2253cb67d55276bb49943572514ccad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a665cfca078ad8840943e6eca979a6c2253cb67d55276bb49943572514ccad", kill_on_drop: false }` [INFO] [stdout] 20a665cfca078ad8840943e6eca979a6c2253cb67d55276bb49943572514ccad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7408c9c78634872cb0039cde3587b7f1386f6dcc97e698bb374ec7c58705a0b2 [INFO] running `Command { std: "docker" "start" "-a" "7408c9c78634872cb0039cde3587b7f1386f6dcc97e698bb374ec7c58705a0b2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Transfer` [INFO] [stderr] --> programs/sol-pay/src/state/sender.rs:2:39 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{TokenAccount, Transfer}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CloseAccount`, `Mint`, `SetAuthority` [INFO] [stderr] --> programs/sol-pay/src/instructions/transfer.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, CloseAccount, Mint, SetAuthority, TokenAccount, Transfer}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sender` [INFO] [stderr] --> programs/sol-pay/src/instructions/transfer.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let sender = &mut ctx.accounts.sender.key.clone(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `receiver` [INFO] [stderr] --> programs/sol-pay/src/instructions/transfer.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let receiver = &mut ctx.accounts.receiver.receiver_pubkey.clone(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `into_receiver_token_account_context` [INFO] [stderr] --> programs/sol-pay/src/state/receiver.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | fn into_receiver_token_account_context(&self, sender_account: AccountInfo<'info>) -> CpiContext<'_, '_, '_, 'info, Transfer<'info>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/sol-pay/src/instructions/transfer.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / token::transfer( [INFO] [stderr] 13 | | ctx.accounts.into_tranfer_token_receiver_account(), [INFO] [stderr] 14 | | transfer_amount [INFO] [stderr] 15 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `sol-pay` (lib) generated 6 warnings [INFO] [stderr] warning: `sol-pay` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sol_pay-7580c4ee9343f9bc) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sol_pay [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" "7408c9c78634872cb0039cde3587b7f1386f6dcc97e698bb374ec7c58705a0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7408c9c78634872cb0039cde3587b7f1386f6dcc97e698bb374ec7c58705a0b2", kill_on_drop: false }` [INFO] [stdout] 7408c9c78634872cb0039cde3587b7f1386f6dcc97e698bb374ec7c58705a0b2