[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 beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2Fsolana-sample-app" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PankajChaudhary5/solana-sample-app on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "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-sdk-macro v1.6.9 [INFO] [stderr] Downloaded spl-token v3.1.1 [INFO] [stderr] Downloaded solana-logger v1.6.9 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.6.9 [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded solana-program v1.6.9 [INFO] [stderr] Downloaded derivative v2.1.3 [INFO] [stderr] Downloaded thread_local v1.1.0 [INFO] [stderr] Downloaded solana-frozen-abi v1.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f9f50a5ea7392fd8d1907321dcabcdd80fec01285ab26f54528a2bc01cc8f21 [INFO] running `Command { std: "docker" "start" "-a" "9f9f50a5ea7392fd8d1907321dcabcdd80fec01285ab26f54528a2bc01cc8f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f9f50a5ea7392fd8d1907321dcabcdd80fec01285ab26f54528a2bc01cc8f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9f50a5ea7392fd8d1907321dcabcdd80fec01285ab26f54528a2bc01cc8f21", kill_on_drop: false }` [INFO] [stdout] 9f9f50a5ea7392fd8d1907321dcabcdd80fec01285ab26f54528a2bc01cc8f21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30ffa8144d4d8ff9454a0798c75d7acedcc4a0a74a2f1e4acaf64fae859ad653 [INFO] running `Command { std: "docker" "start" "-a" "30ffa8144d4d8ff9454a0798c75d7acedcc4a0a74a2f1e4acaf64fae859ad653", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [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 typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.6.9 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.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 cc v1.0.67 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling solana-frozen-abi v1.6.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling solana-program v1.6.9 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling solana-logger v1.6.9 [INFO] [stderr] Compiling chrono v0.4.19 [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 solana-sdk-macro v1.6.9 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [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`, and `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] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [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::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: 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 `unpack_amount` is never used [INFO] [stdout] --> src/instruction.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl AdvanceTokenInstruction { [INFO] [stdout] | ---------------------------- associated function in this implementation [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.92s [INFO] running `Command { std: "docker" "inspect" "30ffa8144d4d8ff9454a0798c75d7acedcc4a0a74a2f1e4acaf64fae859ad653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ffa8144d4d8ff9454a0798c75d7acedcc4a0a74a2f1e4acaf64fae859ad653", kill_on_drop: false }` [INFO] [stdout] 30ffa8144d4d8ff9454a0798c75d7acedcc4a0a74a2f1e4acaf64fae859ad653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64e981d44745e1f15dd6c276d72a646c4e41613bc941680d91d813b9e1aacf72 [INFO] running `Command { std: "docker" "start" "-a" "64e981d44745e1f15dd6c276d72a646c4e41613bc941680d91d813b9e1aacf72", kill_on_drop: false }` [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`, and `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] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [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::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: 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 `unpack_amount` is never used [INFO] [stdout] --> src/instruction.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl AdvanceTokenInstruction { [INFO] [stdout] | ---------------------------- associated function in this implementation [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: unused imports: `IsInitialized`, `Sysvar`, `invoke_signed`, `invoke`, `next_account_info`, `program_error::ProgramError`, and `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] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [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::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: 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 `unpack_amount` is never used [INFO] [stdout] --> src/instruction.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl AdvanceTokenInstruction { [INFO] [stdout] | ---------------------------- associated function in this implementation [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "64e981d44745e1f15dd6c276d72a646c4e41613bc941680d91d813b9e1aacf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e981d44745e1f15dd6c276d72a646c4e41613bc941680d91d813b9e1aacf72", kill_on_drop: false }` [INFO] [stdout] 64e981d44745e1f15dd6c276d72a646c4e41613bc941680d91d813b9e1aacf72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e5042020c53202498e9c74e3426191bb5d7113a94abb2f375100446168ff612 [INFO] running `Command { std: "docker" "start" "-a" "9e5042020c53202498e9c74e3426191bb5d7113a94abb2f375100446168ff612", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `IsInitialized`, `Sysvar`, `invoke_signed`, `invoke`, `next_account_info`, `program_error::ProgramError`, and `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] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> src/entrypoint.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stderr] --> src/entrypoint.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `unpack_amount` is never used [INFO] [stderr] --> src/instruction.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 25 | impl AdvanceTokenInstruction { [INFO] [stderr] | ---------------------------- associated function in this implementation [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 10 warnings (run `cargo fix --lib -p solana-sample-app` to apply 1 suggestion) [INFO] [stderr] warning: `solana-sample-app` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/solana_sample_app-920d38984bbef482) [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" "9e5042020c53202498e9c74e3426191bb5d7113a94abb2f375100446168ff612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5042020c53202498e9c74e3426191bb5d7113a94abb2f375100446168ff612", kill_on_drop: false }` [INFO] [stdout] 9e5042020c53202498e9c74e3426191bb5d7113a94abb2f375100446168ff612