[INFO] cloning repository https://github.com/pranavbisaria/funds4good-smartcontract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pranavbisaria/funds4good-smartcontract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpranavbisaria%2Ffunds4good-smartcontract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpranavbisaria%2Ffunds4good-smartcontract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8933ca836f4e9df8d193c31eea5a3681ca851f0 [INFO] testing pranavbisaria/funds4good-smartcontract against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpranavbisaria%2Ffunds4good-smartcontract" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pranavbisaria/funds4good-smartcontract [INFO] finished tweaking git repo https://github.com/pranavbisaria/funds4good-smartcontract [INFO] tweaked toml for git repo https://github.com/pranavbisaria/funds4good-smartcontract written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pranavbisaria/funds4good-smartcontract on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pranavbisaria/funds4good-smartcontract 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bd23889dc3cfb6a6514e3c1a4b7e185b246eb50d153cac1c2a61e9eb7349e36 [INFO] running `Command { std: "docker" "start" "-a" "2bd23889dc3cfb6a6514e3c1a4b7e185b246eb50d153cac1c2a61e9eb7349e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bd23889dc3cfb6a6514e3c1a4b7e185b246eb50d153cac1c2a61e9eb7349e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd23889dc3cfb6a6514e3c1a4b7e185b246eb50d153cac1c2a61e9eb7349e36", kill_on_drop: false }` [INFO] [stdout] 2bd23889dc3cfb6a6514e3c1a4b7e185b246eb50d153cac1c2a61e9eb7349e36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 084502ffe460f9a2f1b90e58ca72322858056a909d13fcef0327903434ef6ec2 [INFO] running `Command { std: "docker" "start" "-a" "084502ffe460f9a2f1b90e58ca72322858056a909d13fcef0327903434ef6ec2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.10 [INFO] [stderr] Compiling solana-frozen-abi v1.7.10 [INFO] [stderr] Compiling solana-program v1.7.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling solana-logger v1.7.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling solana-sdk-macro v1.7.10 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling funds4good-solana v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `,`, `.`, `::`, `?`, `{`, `}`, or an operator, found `TestCoins` [INFO] [stdout] --> src/instruction.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | 9 => Self::AirdropUsersWithFunds4Good [INFO] [stdout] | -- - expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] 58 | TestCoins {}, [INFO] [stdout] | ^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `msg` [INFO] [stdout] --> src/utils.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::{msg, pubkey::Pubkey}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` and `test-bpf` [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:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` and `test-bpf` [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: `account_info_iter` [INFO] [stdout] --> src/processor.rs:1284:13 [INFO] [stdout] | [INFO] [stdout] 1284 | let account_info_iter = &mut accounts.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_info_iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_accounts_input` [INFO] [stdout] --> src/processor.rs:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | num_accounts_input: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_accounts_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> src/processor.rs:1292:9 [INFO] [stdout] | [INFO] [stdout] 1292 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account_info_iter` [INFO] [stdout] --> src/processor.rs:1294:13 [INFO] [stdout] | [INFO] [stdout] 1294 | let account_info_iter = &mut accounts.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_info_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `funds4good-solana` (lib) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "084502ffe460f9a2f1b90e58ca72322858056a909d13fcef0327903434ef6ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "084502ffe460f9a2f1b90e58ca72322858056a909d13fcef0327903434ef6ec2", kill_on_drop: false }` [INFO] [stdout] 084502ffe460f9a2f1b90e58ca72322858056a909d13fcef0327903434ef6ec2