[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [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/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-cli-config v1.9.1 [INFO] [stderr] Downloaded trees v0.4.2 [INFO] [stderr] Downloaded solana-remote-wallet v1.9.1 [INFO] [stderr] Downloaded sys-info v0.9.1 [INFO] [stderr] Downloaded solana-logger v1.9.1 [INFO] [stderr] Downloaded solana-version v1.9.1 [INFO] [stderr] Downloaded solana-program-runtime v1.9.1 [INFO] [stderr] Downloaded caps v0.5.3 [INFO] [stderr] Downloaded solana-rayon-threadlimit v1.9.1 [INFO] [stderr] Downloaded solana-send-transaction-service v1.9.1 [INFO] [stderr] Downloaded solana-measure v1.9.1 [INFO] [stderr] Downloaded solana-perf v1.9.1 [INFO] [stderr] Downloaded solana-address-lookup-table-program v1.9.1 [INFO] [stderr] Downloaded stream-cancel v0.8.1 [INFO] [stderr] Downloaded solana-account-decoder v1.9.1 [INFO] [stderr] Downloaded solana-net-utils v1.9.1 [INFO] [stderr] Downloaded solana-ledger v1.9.1 [INFO] [stderr] Downloaded solana-faucet v1.9.1 [INFO] [stderr] Downloaded solana-entry v1.9.1 [INFO] [stderr] Downloaded retain_mut v0.1.5 [INFO] [stderr] Downloaded histogram v0.6.9 [INFO] [stderr] Downloaded solana-banks-client v1.9.1 [INFO] [stderr] Downloaded solana-accountsdb-plugin-manager v1.9.1 [INFO] [stderr] Downloaded solana-replica-lib v1.9.1 [INFO] [stderr] Downloaded solana-core v1.9.1 [INFO] [stderr] Downloaded solana-cli-output v1.9.1 [INFO] [stderr] Downloaded solana-download-utils v1.9.1 [INFO] [stderr] Downloaded solana-accountsdb-plugin-interface v1.9.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.9.1 [INFO] [stderr] Downloaded solana-genesis-utils v1.9.1 [INFO] [stderr] Downloaded solana-clap-utils v1.9.1 [INFO] [stderr] Downloaded solana-bpf-loader-program v1.9.1 [INFO] [stderr] Downloaded solana-rpc v1.9.1 [INFO] [stderr] Downloaded solana-compute-budget-program v1.9.1 [INFO] [stderr] Downloaded solana-config-program v1.9.1 [INFO] [stderr] Downloaded solana-metrics v1.9.1 [INFO] [stderr] Downloaded solana-vote-program v1.9.1 [INFO] [stderr] Downloaded solana-program v1.9.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.9.1 [INFO] [stderr] Downloaded solana-sdk-macro v1.9.1 [INFO] [stderr] Downloaded solana-program-test v1.9.1 [INFO] [stderr] Downloaded solana-client v1.9.1 [INFO] [stderr] Downloaded etcd-client v0.8.3 [INFO] [stderr] Downloaded solana-banks-interface v1.9.1 [INFO] [stderr] Downloaded solana-runtime v1.9.1 [INFO] [stderr] Downloaded hidapi v1.3.2 [INFO] [stderr] Downloaded solana_rbpf v0.2.19 [INFO] [stderr] Downloaded solana-banks-server v1.9.1 [INFO] [stderr] Downloaded solana-gossip v1.9.1 [INFO] [stderr] Downloaded solana-storage-bigtable v1.9.1 [INFO] [stderr] Downloaded solana-merkle-tree v1.9.1 [INFO] [stderr] Downloaded solana-sys-tuner v1.9.1 [INFO] [stderr] Downloaded solana-storage-proto v1.9.1 [INFO] [stderr] Downloaded solana-poh v1.9.1 [INFO] [stderr] Downloaded solana-transaction-status v1.9.1 [INFO] [stderr] Downloaded solana-bucket-map v1.9.1 [INFO] [stderr] Downloaded solana-sdk v1.9.1 [INFO] [stderr] Downloaded solana-stake-program v1.9.1 [INFO] [stderr] Downloaded solana-test-validator v1.9.1 [INFO] [stderr] Downloaded solana-validator v1.9.1 [INFO] [stderr] Downloaded solana-streamer v1.9.1 [INFO] [stderr] Downloaded sysctl v0.4.3 [INFO] [stderr] Downloaded zeroize_derive v1.3.0 [INFO] [stderr] Downloaded tarpc-plugins v0.11.0 [INFO] [stderr] Downloaded tarpc v0.26.2 [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" "+1.60.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] eccfa7a90c9814991b93dd09fd70a47a8c51e74e7103ed9c9f4f007a513fee37 [INFO] running `Command { std: "docker" "start" "-a" "eccfa7a90c9814991b93dd09fd70a47a8c51e74e7103ed9c9f4f007a513fee37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eccfa7a90c9814991b93dd09fd70a47a8c51e74e7103ed9c9f4f007a513fee37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eccfa7a90c9814991b93dd09fd70a47a8c51e74e7103ed9c9f4f007a513fee37", kill_on_drop: false }` [INFO] [stdout] eccfa7a90c9814991b93dd09fd70a47a8c51e74e7103ed9c9f4f007a513fee37 [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" "+1.60.0" "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] 1e3fd283226350a08aa5429d22a061e5e05e9645c17098dea31ff471e9ad3788 [INFO] running `Command { std: "docker" "start" "-a" "1e3fd283226350a08aa5429d22a061e5e05e9645c17098dea31ff471e9ad3788", 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/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/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 solana-logger v1.9.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [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 v0.2.78 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling zeroize v1.5.0 [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 digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling digest v0.10.1 [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 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-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult 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 echo v0.1.0 (/opt/rustwide/workdir/echo/program) [INFO] [stderr] Compiling exchange-booth v0.1.0 (/opt/rustwide/workdir/exchange-booth/program) [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: 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: 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] --> 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] --> 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] --> 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: 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: 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/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 11s [INFO] running `Command { std: "docker" "inspect" "1e3fd283226350a08aa5429d22a061e5e05e9645c17098dea31ff471e9ad3788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3fd283226350a08aa5429d22a061e5e05e9645c17098dea31ff471e9ad3788", kill_on_drop: false }` [INFO] [stdout] 1e3fd283226350a08aa5429d22a061e5e05e9645c17098dea31ff471e9ad3788 [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" "+1.60.0" "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] e286a2a936cf841185a9c4ffdeb3a3ead028df49f05b68b02a53f60420ea4a85 [INFO] running `Command { std: "docker" "start" "-a" "e286a2a936cf841185a9c4ffdeb3a3ead028df49f05b68b02a53f60420ea4a85", 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/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/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task 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 assert_matches 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 aliasable v0.1.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling symlink v0.1.0 [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 ascii v0.9.3 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling simpl v0.1.0 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling trees v0.4.2 [INFO] [stderr] Compiling raptorq v1.6.4 [INFO] [stderr] Compiling histogram v0.6.9 [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 num-bigint v0.4.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling qstring v0.7.2 [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 dir-diff v0.3.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [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 errno v0.2.8 [INFO] [stderr] Compiling terminal_size v0.1.17 [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 combine v3.8.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling idna v0.1.5 [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 parking_lot v0.11.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling mime v0.2.6 [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-address-lookup-table-program v1.9.1 [INFO] [stderr] Compiling solana-stake-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-executor v0.1.10 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [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 quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [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 time-macros-impl v0.1.2 [INFO] [stderr] Compiling scroll_derive v0.10.5 [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] Compiling tarpc-plugins v0.11.0 [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=a64f978ba0f69895 -C extra-filename=-a64f978ba0f69895 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ansi_term=/opt/rustwide/target/debug/deps/libansi_term-592666dac2c0a789.rmeta --extern atty=/opt/rustwide/target/debug/deps/libatty-98aab05297424aed.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-f1ca410388ec357f.rmeta --extern strsim=/opt/rustwide/target/debug/deps/libstrsim-2b5231486aa116be.rmeta --extern textwrap=/opt/rustwide/target/debug/deps/libtextwrap-46b7709a8b7faf24.rmeta --extern unicode_width=/opt/rustwide/target/debug/deps/libunicode_width-9e840fd85eba5713.rmeta --extern vec_map=/opt/rustwide/target/debug/deps/libvec_map-f0a294901824d1b1.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: build failed [INFO] running `Command { std: "docker" "inspect" "e286a2a936cf841185a9c4ffdeb3a3ead028df49f05b68b02a53f60420ea4a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e286a2a936cf841185a9c4ffdeb3a3ead028df49f05b68b02a53f60420ea4a85", kill_on_drop: false }` [INFO] [stdout] e286a2a936cf841185a9c4ffdeb3a3ead028df49f05b68b02a53f60420ea4a85