[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] checking moocowdrinksmilk/sol-pay against try#db398c5410e92f4a42a260668961bb25e5d2b858 for pr-107073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoocowdrinksmilk%2Fsol-pay" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moocowdrinksmilk/sol-pay on toolchain db398c5410e92f4a42a260668961bb25e5d2b858 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db398c5410e92f4a42a260668961bb25e5d2b858" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db398c5410e92f4a42a260668961bb25e5d2b858" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+db398c5410e92f4a42a260668961bb25e5d2b858" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08e33a366adaedbafec732076321429b65f1bb4a8d0a4e3eef13786d742eb46b [INFO] running `Command { std: "docker" "start" "-a" "08e33a366adaedbafec732076321429b65f1bb4a8d0a4e3eef13786d742eb46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08e33a366adaedbafec732076321429b65f1bb4a8d0a4e3eef13786d742eb46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e33a366adaedbafec732076321429b65f1bb4a8d0a4e3eef13786d742eb46b", kill_on_drop: false }` [INFO] [stdout] 08e33a366adaedbafec732076321429b65f1bb4a8d0a4e3eef13786d742eb46b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+db398c5410e92f4a42a260668961bb25e5d2b858" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5798cfc5b0e12a7fe521526503b8eaa24e255e5a67c451555daee87e31654a49 [INFO] running `Command { std: "docker" "start" "-a" "5798cfc5b0e12a7fe521526503b8eaa24e255e5a67c451555daee87e31654a49", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.10.5 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling solana-frozen-abi v1.10.5 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling solana-program v1.10.5 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.10.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Checking bytemuck v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha2 v0.10.2 [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] Checking sha3 v0.10.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Compiling anchor-attribute-error v0.22.1 [INFO] [stderr] Compiling anchor-attribute-state v0.22.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.22.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.22.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.22.1 [INFO] [stderr] Compiling anchor-attribute-account v0.22.1 [INFO] [stderr] Compiling anchor-attribute-program v0.22.1 [INFO] [stderr] Compiling anchor-attribute-event v0.22.1 [INFO] [stderr] Compiling anchor-attribute-interface v0.22.1 [INFO] [stderr] Checking spl-token v3.3.0 [INFO] [stderr] Checking anchor-lang v0.22.1 [INFO] [stderr] Checking spl-associated-token-account v1.0.3 [INFO] [stderr] Checking anchor-spl v0.22.1 [INFO] [stderr] Checking 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 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: 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 `into_receiver_token_account_context` is never used [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: associated function `into_receiver_token_account_context` is never used [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.83s [INFO] running `Command { std: "docker" "inspect" "5798cfc5b0e12a7fe521526503b8eaa24e255e5a67c451555daee87e31654a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5798cfc5b0e12a7fe521526503b8eaa24e255e5a67c451555daee87e31654a49", kill_on_drop: false }` [INFO] [stdout] 5798cfc5b0e12a7fe521526503b8eaa24e255e5a67c451555daee87e31654a49