[INFO] cloning repository https://github.com/PankajChaudhary5/solana-sample-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PankajChaudhary5/solana-sample-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2Fsolana-sample-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2Fsolana-sample-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3ded6d63fab1e5903cb36e564da9b109fa99693 [INFO] testing PankajChaudhary5/solana-sample-app against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2Fsolana-sample-app" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PankajChaudhary5/solana-sample-app 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/PankajChaudhary5/solana-sample-app [INFO] finished tweaking git repo https://github.com/PankajChaudhary5/solana-sample-app [INFO] tweaked toml for git repo https://github.com/PankajChaudhary5/solana-sample-app written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/PankajChaudhary5/solana-sample-app 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-logger v1.6.9 [INFO] [stderr] Downloaded solana-frozen-abi v1.6.9 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.6.9 [INFO] [stderr] Downloaded solana-sdk-macro v1.6.9 [INFO] [stderr] Downloaded solana-program v1.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] a71ece514aced5ce6531665442161b8fb1856ca5e36b0694db14bcfb9ccbd7a8 [INFO] running `Command { std: "docker" "start" "-a" "a71ece514aced5ce6531665442161b8fb1856ca5e36b0694db14bcfb9ccbd7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a71ece514aced5ce6531665442161b8fb1856ca5e36b0694db14bcfb9ccbd7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71ece514aced5ce6531665442161b8fb1856ca5e36b0694db14bcfb9ccbd7a8", kill_on_drop: false }` [INFO] [stdout] a71ece514aced5ce6531665442161b8fb1856ca5e36b0694db14bcfb9ccbd7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] e6fd3917726d28f8996edba07f3eb0df9f70420964497f9ffa91ac89c727d296 [INFO] running `Command { std: "docker" "start" "-a" "e6fd3917726d28f8996edba07f3eb0df9f70420964497f9ffa91ac89c727d296", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.6.9 [INFO] [stderr] Compiling solana-frozen-abi v1.6.9 [INFO] [stderr] Compiling solana-program v1.6.9 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling solana-logger v1.6.9 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling solana-sdk-macro v1.6.9 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling spl-token v3.1.1 [INFO] [stderr] Compiling solana-sample-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IsInitialized`, `Sysvar`, `invoke_signed`, `invoke`, `next_account_info`, `program_error::ProgramError`, `rent::Rent` [INFO] [stdout] --> src/processor.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | program::{invoke, invoke_signed}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 8 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | program_pack::{IsInitialized }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pubkey::Pubkey, [INFO] [stdout] 11 | sysvar::{rent::Rent, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/processor.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | /// Unpack the instructions. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | let instruction = AdvanceTokenInstruction::unpack(instruction_data)?; [INFO] [stdout] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> src/processor.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accounts` [INFO] [stdout] --> src/processor.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future_token` [INFO] [stdout] --> src/processor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | future_token: TokenABC, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_future_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/processor.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | token: TokenABCFuture, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/processor.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | token: TokenABC, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpack_amount` [INFO] [stdout] --> src/instruction.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn unpack_amount(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.52s [INFO] running `Command { std: "docker" "inspect" "e6fd3917726d28f8996edba07f3eb0df9f70420964497f9ffa91ac89c727d296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6fd3917726d28f8996edba07f3eb0df9f70420964497f9ffa91ac89c727d296", kill_on_drop: false }` [INFO] [stdout] e6fd3917726d28f8996edba07f3eb0df9f70420964497f9ffa91ac89c727d296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] ef49ddd28f891585cbbc8360b1593479d596d361c67e1d719e4a642199bbbdbe [INFO] running `Command { std: "docker" "start" "-a" "ef49ddd28f891585cbbc8360b1593479d596d361c67e1d719e4a642199bbbdbe", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `IsInitialized`, `Sysvar`, `invoke_signed`, `invoke`, `next_account_info`, `program_error::ProgramError`, `rent::Rent` [INFO] [stdout] --> src/processor.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | program::{invoke, invoke_signed}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 8 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | program_pack::{IsInitialized }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pubkey::Pubkey, [INFO] [stdout] 11 | sysvar::{rent::Rent, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/processor.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | /// Unpack the instructions. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | let instruction = AdvanceTokenInstruction::unpack(instruction_data)?; [INFO] [stdout] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> src/processor.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accounts` [INFO] [stdout] --> src/processor.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future_token` [INFO] [stdout] --> src/processor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | future_token: TokenABC, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_future_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/processor.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | token: TokenABCFuture, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/processor.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | token: TokenABC, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpack_amount` [INFO] [stdout] --> src/instruction.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn unpack_amount(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-sample-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IsInitialized`, `Sysvar`, `invoke_signed`, `invoke`, `next_account_info`, `program_error::ProgramError`, `rent::Rent` [INFO] [stdout] --> src/processor.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | program::{invoke, invoke_signed}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 8 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | program_pack::{IsInitialized }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pubkey::Pubkey, [INFO] [stdout] 11 | sysvar::{rent::Rent, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/processor.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | /// Unpack the instructions. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | let instruction = AdvanceTokenInstruction::unpack(instruction_data)?; [INFO] [stdout] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> src/processor.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accounts` [INFO] [stdout] --> src/processor.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future_token` [INFO] [stdout] --> src/processor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | future_token: TokenABC, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_future_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/processor.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | token: TokenABCFuture, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/processor.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | token: TokenABC, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpack_amount` [INFO] [stdout] --> src/instruction.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn unpack_amount(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "ef49ddd28f891585cbbc8360b1593479d596d361c67e1d719e4a642199bbbdbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef49ddd28f891585cbbc8360b1593479d596d361c67e1d719e4a642199bbbdbe", kill_on_drop: false }` [INFO] [stdout] ef49ddd28f891585cbbc8360b1593479d596d361c67e1d719e4a642199bbbdbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] ef7a6201f1cde127b1f1693bfa1069ba7589c8bf942e7ecb59943c975a066fe6 [INFO] running `Command { std: "docker" "start" "-a" "ef7a6201f1cde127b1f1693bfa1069ba7589c8bf942e7ecb59943c975a066fe6", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `IsInitialized`, `Sysvar`, `invoke_signed`, `invoke`, `next_account_info`, `program_error::ProgramError`, `rent::Rent` [INFO] [stderr] --> src/processor.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | account_info::{next_account_info, AccountInfo}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | program::{invoke, invoke_signed}, [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] 8 | program_error::ProgramError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | program_pack::{IsInitialized }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 10 | pubkey::Pubkey, [INFO] [stderr] 11 | sysvar::{rent::Rent, Sysvar}, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/processor.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | /// Unpack the instructions. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | let instruction = AdvanceTokenInstruction::unpack(instruction_data)?; [INFO] [stderr] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> src/processor.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `accounts` [INFO] [stderr] --> src/processor.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | accounts: &[AccountInfo], [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `future_token` [INFO] [stderr] --> src/processor.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | future_token: TokenABC, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_future_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/processor.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | token: TokenABCFuture, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/processor.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | token: TokenABC, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unpack_amount` [INFO] [stderr] --> src/instruction.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | fn unpack_amount(input: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `solana-sample-app` (lib) generated 8 warnings [INFO] [stderr] warning: `solana-sample-app` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/solana_sample_app-7d6c0ad774257577) [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] [stderr] Doc-tests solana-sample-app [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" "ef7a6201f1cde127b1f1693bfa1069ba7589c8bf942e7ecb59943c975a066fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7a6201f1cde127b1f1693bfa1069ba7589c8bf942e7ecb59943c975a066fe6", kill_on_drop: false }` [INFO] [stdout] ef7a6201f1cde127b1f1693bfa1069ba7589c8bf942e7ecb59943c975a066fe6