[INFO] cloning repository https://github.com/lidatong/exchange-booth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lidatong/exchange-booth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flidatong%2Fexchange-booth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flidatong%2Fexchange-booth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7626d54ab0dba9ff9114022d2152f5b1a609c16 [INFO] testing lidatong/exchange-booth against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flidatong%2Fexchange-booth" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lidatong/exchange-booth on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lidatong/exchange-booth [INFO] finished tweaking git repo https://github.com/lidatong/exchange-booth [INFO] tweaked toml for git repo https://github.com/lidatong/exchange-booth written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/lidatong/exchange-booth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2/source/echo/program/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-2/source/exchange-booth/program/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a817f4e73881fb3b91ee974eba20cc0f9975eeb87ccb1afd5bfe0de7b60086b [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" "4a817f4e73881fb3b91ee974eba20cc0f9975eeb87ccb1afd5bfe0de7b60086b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a817f4e73881fb3b91ee974eba20cc0f9975eeb87ccb1afd5bfe0de7b60086b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a817f4e73881fb3b91ee974eba20cc0f9975eeb87ccb1afd5bfe0de7b60086b", kill_on_drop: false }` [INFO] [stdout] 4a817f4e73881fb3b91ee974eba20cc0f9975eeb87ccb1afd5bfe0de7b60086b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] df41f0041d4293a973ad74766a0f538de78bd314bc1d43b204c7bb9d5abb2572 [INFO] running `Command { std: "docker" "start" "-a" "df41f0041d4293a973ad74766a0f538de78bd314bc1d43b204c7bb9d5abb2572", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/echo/program/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/exchange-booth/program/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.5.2 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.1 [INFO] [stderr] Compiling solana-frozen-abi v1.9.1 [INFO] [stderr] Compiling solana-program v1.9.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling solana-logger v1.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v1.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [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 serde_derive v1.0.133 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.0 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling zeroize v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [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 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 libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [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 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 spl-token v3.2.0 [INFO] [stderr] Compiling exchange-booth v0.1.0 (/opt/rustwide/workdir/exchange-booth/program) [INFO] [stderr] Compiling echo v0.1.0 (/opt/rustwide/workdir/echo/program) [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> echo/program/src/processor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> echo/program/src/processor.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorshSerialize` [INFO] [stdout] --> echo/program/src/processor.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::stake::instruction::authorize` [INFO] [stdout] --> echo/program/src/processor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_program::stake::instruction::authorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::bpf_loader_upgradeable::UpgradeableLoaderState::Program` [INFO] [stdout] --> echo/program/src/processor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use solana_program::bpf_loader_upgradeable::UpgradeableLoaderState::Program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::pubkey::Pubkey` [INFO] [stdout] --> exchange-booth/program/src/instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::{}` [INFO] [stdout] --> exchange-booth/program/src/processor/close_exchange_booth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::{}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::ExchangeBooth` [INFO] [stdout] --> exchange-booth/program/src/processor/close_exchange_booth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | state::ExchangeBooth, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorshDeserialize`, `BorshSerialize` [INFO] [stdout] --> exchange-booth/program/src/processor/close_exchange_booth.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::pubkey::Pubkey` [INFO] [stdout] --> exchange-booth/program/src/processor/close_exchange_booth.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::ExchangeBoothError`, `state::ExchangeBooth` [INFO] [stdout] --> exchange-booth/program/src/processor/deposit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | error::ExchangeBoothError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | state::ExchangeBooth, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorshDeserialize`, `BorshSerialize` [INFO] [stdout] --> exchange-booth/program/src/processor/deposit.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `invoke_signed` [INFO] [stdout] --> exchange-booth/program/src/processor/deposit.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | use solana_program::program::{invoke, invoke_signed}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::program_error::ProgramError` [INFO] [stdout] --> exchange-booth/program/src/processor/deposit.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use solana_program::program_error::ProgramError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::pubkey::Pubkey` [INFO] [stdout] --> exchange-booth/program/src/processor/deposit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorshSerialize` [INFO] [stdout] --> exchange-booth/program/src/processor/exchange.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::program_error::ProgramError` [INFO] [stdout] --> exchange-booth/program/src/processor/exchange.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::program_error::ProgramError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `withdraw` [INFO] [stdout] --> exchange-booth/program/src/processor/exchange.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::processor::{deposit, withdraw}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ExchangeBoothError` [INFO] [stdout] --> exchange-booth/program/src/processor/initialize_exchange_booth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | error::ExchangeBoothError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorshDeserialize` [INFO] [stdout] --> exchange-booth/program/src/processor/initialize_exchange_booth.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ExchangeBoothError` [INFO] [stdout] --> exchange-booth/program/src/processor/withdraw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | error::ExchangeBoothError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorshSerialize` [INFO] [stdout] --> exchange-booth/program/src/processor/withdraw.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `invoke` [INFO] [stdout] --> exchange-booth/program/src/processor/withdraw.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use solana_program::program::{invoke, invoke_signed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> exchange-booth/program/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> echo/program/src/processor.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | let mut authorized_buffer = next_account_info(accounts)?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> echo/program/src/processor.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut vending_machine_buffer = next_account_info(accounts)?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> echo/program/src/processor.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut vending_machine_buffer = next_account_info(accounts)?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> echo/program/src/processor.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | / invoke_signed( [INFO] [stdout] 67 | | &system_instruction::create_account( [INFO] [stdout] 68 | | authority.key, [INFO] [stdout] 69 | | &pda, [INFO] [stdout] ... | [INFO] [stdout] 75 | | &[seeds.as_slice()], [INFO] [stdout] 76 | | ); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> echo/program/src/processor.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | / invoke( [INFO] [stdout] 158 | | &spl_token::instruction::burn( [INFO] [stdout] 159 | | &spl_token::id(), [INFO] [stdout] 160 | | user_token_account.key, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ], [INFO] [stdout] 171 | | ); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> exchange-booth/program/src/processor/close_exchange_booth.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut accounts = &mut accounts.iter(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> exchange-booth/program/src/processor/deposit.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut accounts = &mut accounts.iter(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> exchange-booth/program/src/processor/exchange.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut accounts = &mut accounts.iter(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> exchange-booth/program/src/processor/initialize_exchange_booth.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut exchange_booth = next_account_info(accounts)?; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> exchange-booth/program/src/processor/withdraw.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut accounts = &mut accounts.iter(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> exchange-booth/program/src/processor/initialize_exchange_booth.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / invoke_signed( [INFO] [stdout] 50 | | &system_instruction::create_account( [INFO] [stdout] 51 | | admin.key, [INFO] [stdout] 52 | | exchange_booth.key, [INFO] [stdout] ... | [INFO] [stdout] 58 | | &[seeds.as_slice()], [INFO] [stdout] 59 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "df41f0041d4293a973ad74766a0f538de78bd314bc1d43b204c7bb9d5abb2572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df41f0041d4293a973ad74766a0f538de78bd314bc1d43b204c7bb9d5abb2572", kill_on_drop: false }` [INFO] [stdout] df41f0041d4293a973ad74766a0f538de78bd314bc1d43b204c7bb9d5abb2572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] 72564547bb290e4585b6c36da3854ea5eaa576ecb214bc9e167f8cb76e20bbcf [INFO] running `Command { std: "docker" "start" "-a" "72564547bb290e4585b6c36da3854ea5eaa576ecb214bc9e167f8cb76e20bbcf", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/exchange-booth/program/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/echo/program/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling solana-perf v1.9.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling simpl v0.1.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling trees v0.4.2 [INFO] [stderr] Compiling histogram v0.6.9 [INFO] [stderr] Compiling raptorq v1.6.4 [INFO] [stderr] Compiling retain_mut v0.1.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling ed25519 v1.3.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling fast-math v0.1.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling gethostname v0.2.2 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rpassword v5.0.1 [INFO] [stderr] Compiling unix_socket2 v0.5.4 [INFO] [stderr] Compiling fd-lock v3.0.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling users v0.10.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling solana-rayon-threadlimit v1.9.1 [INFO] [stderr] Compiling core_affinity v0.5.10 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling solana-sdk v1.9.1 [INFO] [stderr] Compiling solana-program-runtime v1.9.1 [INFO] [stderr] Compiling solana-vote-program v1.9.1 [INFO] [stderr] Compiling solana-stake-program v1.9.1 [INFO] [stderr] Compiling solana-address-lookup-table-program v1.9.1 [INFO] [stderr] Compiling solana-runtime v1.9.1 [INFO] [stderr] Compiling solana-version v1.9.1 [INFO] [stderr] Compiling solana-ledger v1.9.1 [INFO] [stderr] Compiling solana-gossip v1.9.1 [INFO] [stderr] Compiling solana-core v1.9.1 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling hidapi v1.3.2 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.4.2+5.2.1-patched.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] error: could not compile `clap` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name clap --edition=2018 /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/clap-2.34.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="ansi_term"' --cfg 'feature="atty"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="strsim"' --cfg 'feature="suggestions"' --cfg 'feature="vec_map"' -C metadata=b9bc0d06f406bcd6 -C extra-filename=-b9bc0d06f406bcd6 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ansi_term=/opt/rustwide/target/debug/deps/libansi_term-cf230369650aa732.rmeta --extern atty=/opt/rustwide/target/debug/deps/libatty-b6bc15ed4d5f8c6d.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-610a73087f46ba3b.rmeta --extern strsim=/opt/rustwide/target/debug/deps/libstrsim-c9e2592dde3c5431.rmeta --extern textwrap=/opt/rustwide/target/debug/deps/libtextwrap-0acf26cd5757886f.rmeta --extern unicode_width=/opt/rustwide/target/debug/deps/libunicode_width-6ef757d3f1052dbb.rmeta --extern vec_map=/opt/rustwide/target/debug/deps/libvec_map-18b27ee44a5c9049.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nix` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name nix --edition=2018 /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nix-0.23.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=4596e4d0f8fb075f -C extra-filename=-4596e4d0f8fb075f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-610a73087f46ba3b.rmeta --extern cfg_if=/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-6a64ab00183cd7e9.rmeta --extern memoffset=/opt/rustwide/target/debug/deps/libmemoffset-b7f24137aadcf5c0.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `nom` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name nom --edition=2018 /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-7.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=baaf60de68fc3038 -C extra-filename=-baaf60de68fc3038 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern memchr=/opt/rustwide/target/debug/deps/libmemchr-2dcc6205f23bafab.rmeta --extern minimal_lexical=/opt/rustwide/target/debug/deps/libminimal_lexical-68e374d34927b8c9.rmeta --cap-lints allow --cap-lints=warn --cfg stable_i128` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "72564547bb290e4585b6c36da3854ea5eaa576ecb214bc9e167f8cb76e20bbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72564547bb290e4585b6c36da3854ea5eaa576ecb214bc9e167f8cb76e20bbcf", kill_on_drop: false }` [INFO] [stdout] 72564547bb290e4585b6c36da3854ea5eaa576ecb214bc9e167f8cb76e20bbcf