[INFO] cloning repository https://github.com/llarrynguyen/environment-reward-airdrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/llarrynguyen/environment-reward-airdrop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllarrynguyen%2Fenvironment-reward-airdrop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllarrynguyen%2Fenvironment-reward-airdrop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fe55bbd8003783d536e1fd4213d2c33ba9975ab [INFO] checking llarrynguyen/environment-reward-airdrop against master#f421586eed77de266a3f99ffa8a5687b7d2d893c for pr-109482-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllarrynguyen%2Fenvironment-reward-airdrop" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/llarrynguyen/environment-reward-airdrop on toolchain f421586eed77de266a3f99ffa8a5687b7d2d893c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f421586eed77de266a3f99ffa8a5687b7d2d893c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/llarrynguyen/environment-reward-airdrop [INFO] finished tweaking git repo https://github.com/llarrynguyen/environment-reward-airdrop [INFO] tweaked toml for git repo https://github.com/llarrynguyen/environment-reward-airdrop written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/llarrynguyen/environment-reward-airdrop 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" "+f421586eed77de266a3f99ffa8a5687b7d2d893c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap2 v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6ef671f6951f6f7b82eaf49ad0b3b99466e493f2d9d82dd96208252612681f61" "/opt/rustwide/cargo-home/bin/cargo" "+f421586eed77de266a3f99ffa8a5687b7d2d893c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0f0e270d976c2f89be4238634e56b3e3a94ea9ec22eec7a5f18896af92d87c4 [INFO] running `Command { std: "docker" "start" "-a" "d0f0e270d976c2f89be4238634e56b3e3a94ea9ec22eec7a5f18896af92d87c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f0e270d976c2f89be4238634e56b3e3a94ea9ec22eec7a5f18896af92d87c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f0e270d976c2f89be4238634e56b3e3a94ea9ec22eec7a5f18896af92d87c4", kill_on_drop: false }` [INFO] [stdout] d0f0e270d976c2f89be4238634e56b3e3a94ea9ec22eec7a5f18896af92d87c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6ef671f6951f6f7b82eaf49ad0b3b99466e493f2d9d82dd96208252612681f61" "/opt/rustwide/cargo-home/bin/cargo" "+f421586eed77de266a3f99ffa8a5687b7d2d893c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32a908a5e1c624a1e499ad3c5f0bbba721f6ed8c379b8aa088a6767c7c8c47cc [INFO] running `Command { std: "docker" "start" "-a" "32a908a5e1c624a1e499ad3c5f0bbba721f6ed8c379b8aa088a6767c7c8c47cc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.4 [INFO] [stderr] Compiling solana-frozen-abi v1.9.4 [INFO] [stderr] Compiling blake3 v1.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling solana-program v1.9.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.5.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking solana-logger v1.9.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [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.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking generic-array v0.14.5 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling anchor-syn v0.20.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking borsh v0.9.1 [INFO] [stderr] Checking num_enum v0.5.6 [INFO] [stderr] Compiling anchor-attribute-constant v0.20.1 [INFO] [stderr] Compiling anchor-attribute-account v0.20.1 [INFO] [stderr] Compiling anchor-attribute-interface v0.20.1 [INFO] [stderr] Compiling anchor-attribute-error v0.20.1 [INFO] [stderr] Compiling anchor-attribute-state v0.20.1 [INFO] [stderr] Compiling anchor-attribute-program v0.20.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.20.1 [INFO] [stderr] Compiling anchor-attribute-event v0.20.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.20.1 [INFO] [stderr] Checking spl-token v3.2.0 [INFO] [stderr] Checking anchor-lang v0.20.1 [INFO] [stderr] Checking spl-associated-token-account v1.0.3 [INFO] [stderr] Checking anchor-spl v0.20.1 [INFO] [stderr] Checking climate_token v0.1.0 (/opt/rustwide/workdir/programs/climate_token) [INFO] [stderr] Checking climate_reviewer v0.1.0 (/opt/rustwide/workdir/programs/climate_reviewer) [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_spl::token::{Mint, Token, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_spl::token::{Mint, Token, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_reviewer/src/lib.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn apply(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_reviewer/src/lib.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn review(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_reviewer/src/lib.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn endorse(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_reviewer/src/lib.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn apply(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_reviewer/src/lib.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn review(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_reviewer/src/lib.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn endorse(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn handler(ctx: Context, seed: u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn handler(ctx: Context, seed: u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | data: u128, collateral: u8) -> ProgramResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collateral` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | data: u128, collateral: u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/lib.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn review_climate_data(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn report_climate_data(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/lib.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn distribute_collateral(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/lib.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn initialize_make_whole_account(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn handler(ctx: Context, seed: u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn handler(ctx: Context, seed: u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | data: u128, collateral: u8) -> ProgramResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collateral` [INFO] [stdout] --> programs/climate_token/src/instructions/submit_climate_data.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | data: u128, collateral: u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collateral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/lib.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn review_climate_data(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn report_climate_data(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/lib.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn distribute_collateral(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/climate_token/src/lib.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn initialize_make_whole_account(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.71s [INFO] running `Command { std: "docker" "inspect" "32a908a5e1c624a1e499ad3c5f0bbba721f6ed8c379b8aa088a6767c7c8c47cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a908a5e1c624a1e499ad3c5f0bbba721f6ed8c379b8aa088a6767c7c8c47cc", kill_on_drop: false }` [INFO] [stdout] 32a908a5e1c624a1e499ad3c5f0bbba721f6ed8c379b8aa088a6767c7c8c47cc