[INFO] cloning repository https://github.com/AbdulrahmanAbdulhakeem/pinocchio-escrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AbdulrahmanAbdulhakeem/pinocchio-escrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdulrahmanAbdulhakeem%2Fpinocchio-escrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdulrahmanAbdulhakeem%2Fpinocchio-escrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa6a98c662f6fe3801326fa0ce70e634596ef241 [INFO] checking AbdulrahmanAbdulhakeem/pinocchio-escrow against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdulrahmanAbdulhakeem%2Fpinocchio-escrow" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AbdulrahmanAbdulhakeem/pinocchio-escrow [INFO] finished tweaking git repo https://github.com/AbdulrahmanAbdulhakeem/pinocchio-escrow [INFO] tweaked toml for git repo https://github.com/AbdulrahmanAbdulhakeem/pinocchio-escrow written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AbdulrahmanAbdulhakeem/pinocchio-escrow on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AbdulrahmanAbdulhakeem/pinocchio-escrow 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676 [INFO] running `Command { std: "docker" "start" "22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking five8_core v0.1.2 [INFO] [stderr] Checking pinocchio v0.9.1 [INFO] [stderr] Checking five8_const v0.1.4 [INFO] [stderr] Checking pinocchio-pubkey v0.3.0 [INFO] [stderr] Checking pinocchio-system v0.3.0 [INFO] [stderr] Checking pinocchio-token v0.4.0 [INFO] [stderr] Checking pinocchio-associated-token-account v0.2.0 [INFO] [stderr] Checking blueshift_escrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pinocchio::account_info::AccountInfo::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> src/instructions/helper.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | account.realloc(1, true)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssociatedTokenAccountCheck` [INFO] [stdout] --> src/instructions/refund.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | AccountCheck, AccountClose, AssociatedTokenAccount, AssociatedTokenAccountCheck, AssociatedTokenAccountInit, Escrow, MintInterfa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | if unsafe { account.owner().ne(&pinocchio_system::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | if unsafe { account.owner().ne(&pinocchio_token::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | if unsafe { account.owner().ne(&pinocchio_token::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | if unsafe { account.owner().ne(&TOKEN_2022_PROGRAM_ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if unsafe { account.owner().ne(&TOKEN_2022_PROGRAM_ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | if unsafe { account.owner().ne(&TOKEN_2022_PROGRAM_ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | if unsafe { account.owner().ne(&pinocchio_token::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if unsafe { account.owner().ne(&TOKEN_2022_PROGRAM_ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:358:16 [INFO] [stdout] | [INFO] [stdout] 358 | if unsafe { account.owner().ne(&pinocchio_token::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | if unsafe { account.owner().ne(&crate::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 38 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 38 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 38 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 38 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 50 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 50 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 50 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 50 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 54 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 54 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 54 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 54 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 125 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 125 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 125 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 125 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 132 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 132 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 132 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 132 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 209 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 209 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 209 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 209 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 216 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 216 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 216 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 216 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 270 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 270 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 270 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 270 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 279 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 279 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 279 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 279 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 332 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 332 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 332 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 332 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 335 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 335 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 335 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 335 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 335 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 344 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 344 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 344 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 344 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 359 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 359 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 359 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 359 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 365 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 365 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 365 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 365 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:372:28 [INFO] [stdout] | [INFO] [stdout] 372 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 372 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 372 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 372 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 372 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 472 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 472 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 472 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 472 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 476 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 476 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 476 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 476 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blueshift_escrow` (lib test) due to 17 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `pinocchio::account_info::AccountInfo::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> src/instructions/helper.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | account.realloc(1, true)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssociatedTokenAccountCheck` [INFO] [stdout] --> src/instructions/refund.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | AccountCheck, AccountClose, AssociatedTokenAccount, AssociatedTokenAccountCheck, AssociatedTokenAccountInit, Escrow, MintInterfa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | if unsafe { account.owner().ne(&pinocchio_system::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | if unsafe { account.owner().ne(&pinocchio_token::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | if unsafe { account.owner().ne(&pinocchio_token::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | if unsafe { account.owner().ne(&TOKEN_2022_PROGRAM_ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if unsafe { account.owner().ne(&TOKEN_2022_PROGRAM_ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | if unsafe { account.owner().ne(&TOKEN_2022_PROGRAM_ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | if unsafe { account.owner().ne(&pinocchio_token::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if unsafe { account.owner().ne(&TOKEN_2022_PROGRAM_ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:358:16 [INFO] [stdout] | [INFO] [stdout] 358 | if unsafe { account.owner().ne(&pinocchio_token::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instructions/helper.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | if unsafe { account.owner().ne(&crate::ID) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 38 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 38 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 38 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 38 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 50 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 50 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 50 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 50 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 54 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 54 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 54 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 54 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 125 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 125 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 125 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 125 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 132 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 132 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 132 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 132 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 209 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 209 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 209 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 209 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 216 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 216 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 216 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 216 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 270 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 270 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 270 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 270 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 279 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 279 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 279 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 279 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 332 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 332 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 332 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 332 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 335 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 335 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 335 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 335 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 335 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 344 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 344 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 344 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 344 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 359 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 359 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 359 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 359 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 365 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 365 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 365 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 365 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:372:28 [INFO] [stdout] | [INFO] [stdout] 372 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 372 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 372 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 372 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 372 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 472 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 472 + return Err(ProgramError::InvalidAccountOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 472 - return Err(ProgramError::InvalidAccountOwner.into()); [INFO] [stdout] 472 + return Err(>::into(ProgramError::InvalidAccountOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 476 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 476 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 476 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 476 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blueshift_escrow` (lib) due to 17 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676", kill_on_drop: false }` [INFO] [stdout] 22796c17f9f3e918d8bc796727aee41dfe902ed723e24deabb409356b2314676