[INFO] cloning repository https://github.com/mormigil/climate_token [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mormigil/climate_token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmormigil%2Fclimate_token", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmormigil%2Fclimate_token'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33592f9dcc5c0040748652ef2e49be61ad9c45f8 [INFO] testing mormigil/climate_token against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmormigil%2Fclimate_token" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mormigil/climate_token on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mormigil/climate_token [INFO] finished tweaking git repo https://github.com/mormigil/climate_token [INFO] tweaked toml for git repo https://github.com/mormigil/climate_token written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mormigil/climate_token already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 409c5c1e98007ea0a844b4f3e948b56a9c395efbe7eed7106a2594d64b00cfa0 [INFO] running `Command { std: "docker" "start" "-a" "409c5c1e98007ea0a844b4f3e948b56a9c395efbe7eed7106a2594d64b00cfa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "409c5c1e98007ea0a844b4f3e948b56a9c395efbe7eed7106a2594d64b00cfa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "409c5c1e98007ea0a844b4f3e948b56a9c395efbe7eed7106a2594d64b00cfa0", kill_on_drop: false }` [INFO] [stdout] 409c5c1e98007ea0a844b4f3e948b56a9c395efbe7eed7106a2594d64b00cfa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 114bbfb2321dfb8d8c4c8b22c332a796e36e1a3d0d271a85bace567769347257 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "114bbfb2321dfb8d8c4c8b22c332a796e36e1a3d0d271a85bace567769347257", 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 semver v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling blake3 v1.3.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.4 [INFO] [stderr] Compiling solana-frozen-abi v1.9.4 [INFO] [stderr] Compiling solana-program v1.9.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.5.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling solana-logger v1.9.4 [INFO] [stderr] Compiling rand v0.7.3 [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 wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.9.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [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 crypto-common v0.1.1 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling hmac-drbg v0.3.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] Compiling borsh v0.9.1 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Compiling anchor-attribute-event v0.20.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.20.1 [INFO] [stderr] Compiling anchor-attribute-interface v0.20.1 [INFO] [stderr] Compiling anchor-attribute-program v0.20.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.20.1 [INFO] [stderr] Compiling anchor-attribute-state v0.20.1 [INFO] [stderr] Compiling anchor-attribute-error v0.20.1 [INFO] [stderr] Compiling anchor-attribute-account v0.20.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.20.1 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling anchor-lang v0.20.1 [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling anchor-spl v0.20.1 [INFO] [stderr] Compiling climate_token v0.1.0 (/opt/rustwide/workdir/programs/climate_token) [INFO] [stderr] Compiling climate_reviewer v0.1.0 (/opt/rustwide/workdir/programs/climate_reviewer) [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 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_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] = note: `#[warn(unused_variables)]` on by default [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] [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: 3 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 2m 15s [INFO] running `Command { std: "docker" "inspect" "114bbfb2321dfb8d8c4c8b22c332a796e36e1a3d0d271a85bace567769347257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114bbfb2321dfb8d8c4c8b22c332a796e36e1a3d0d271a85bace567769347257", kill_on_drop: false }` [INFO] [stdout] 114bbfb2321dfb8d8c4c8b22c332a796e36e1a3d0d271a85bace567769347257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1863956207d486229386ad4fc90f5e4723328a8ce0ddef993ff583978420ce06 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1863956207d486229386ad4fc90f5e4723328a8ce0ddef993ff583978420ce06", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling climate_reviewer v0.1.0 (/opt/rustwide/workdir/programs/climate_reviewer) [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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling climate_token v0.1.0 (/opt/rustwide/workdir/programs/climate_token) [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] [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: 9 warnings emitted [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: 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 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_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] = note: `#[warn(unused_variables)]` on by default [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] [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.92s [INFO] running `Command { std: "docker" "inspect" "1863956207d486229386ad4fc90f5e4723328a8ce0ddef993ff583978420ce06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1863956207d486229386ad4fc90f5e4723328a8ce0ddef993ff583978420ce06", kill_on_drop: false }` [INFO] [stdout] 1863956207d486229386ad4fc90f5e4723328a8ce0ddef993ff583978420ce06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cef9bdd63ef12dcc62a2db6d8353b7f79c928e6cb9b1494877558d5b6ddd4629 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cef9bdd63ef12dcc62a2db6d8353b7f79c928e6cb9b1494877558d5b6ddd4629", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Mint`, `TokenAccount` [INFO] [stderr] --> programs/climate_token/src/instructions/submit_climate_data.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_spl::token::{Mint, Token, TokenAccount}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/climate_token/src/lib.rs:20:32 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn review_climate_data(ctx: Context) -> ProgramResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/climate_token/src/lib.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn report_climate_data(ctx: Context) -> ProgramResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/climate_token/src/lib.rs:28:34 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn distribute_collateral(ctx: Context) -> ProgramResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/climate_token/src/lib.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn initialize_make_whole_account(ctx: Context) -> ProgramResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/climate_token/src/instructions/submit_climate_data.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn handler(ctx: Context, seed: u8, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seed` [INFO] [stderr] --> programs/climate_token/src/instructions/submit_climate_data.rs:26:49 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn handler(ctx: Context, seed: u8, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> programs/climate_token/src/instructions/submit_climate_data.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | data: u128, collateral: u8) -> ProgramResult { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collateral` [INFO] [stderr] --> programs/climate_token/src/instructions/submit_climate_data.rs:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | data: u128, collateral: u8) -> ProgramResult { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collateral` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/climate_reviewer/src/lib.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn apply(ctx: Context) -> ProgramResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/climate_reviewer/src/lib.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn review(ctx: Context) -> ProgramResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/climate_reviewer/src/lib.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn endorse(ctx: Context) -> ProgramResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: `climate_token` (lib) generated 9 warnings [INFO] [stderr] warning: `climate_reviewer` (lib) generated 3 warnings [INFO] [stderr] warning: `climate_token` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: `climate_reviewer` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/climate_reviewer-b4a41cdb9b6b463b) [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/climate_token-0c8b9973d3679367) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_id ... ok [INFO] [stdout] test instructions::submit_climate_data::test::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests climate_reviewer [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 climate_token [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" "cef9bdd63ef12dcc62a2db6d8353b7f79c928e6cb9b1494877558d5b6ddd4629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cef9bdd63ef12dcc62a2db6d8353b7f79c928e6cb9b1494877558d5b6ddd4629", kill_on_drop: false }` [INFO] [stdout] cef9bdd63ef12dcc62a2db6d8353b7f79c928e6cb9b1494877558d5b6ddd4629