[INFO] fetching crate portfolio_quarry 0.1.50... [INFO] testing portfolio_quarry-0.1.50 against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] extracting crate portfolio_quarry 0.1.50 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate portfolio_quarry 0.1.50 on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate portfolio_quarry 0.1.50 [INFO] finished tweaking crates.io crate portfolio_quarry 0.1.50 [INFO] tweaked toml for crates.io crate portfolio_quarry 0.1.50 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded karima-anchor-spl v0.19.0 [INFO] [stderr] Downloaded anchor-derive-accounts v0.19.0 [INFO] [stderr] Downloaded anchor-attribute-account v0.19.0 [INFO] [stderr] Downloaded anchor-attribute-program v0.19.0 [INFO] [stderr] Downloaded anchor-attribute-constant v0.19.0 [INFO] [stderr] Downloaded uint v0.9.1 [INFO] [stderr] Downloaded borsh-derive v0.7.2 [INFO] [stderr] Downloaded anchor-attribute-event v0.19.0 [INFO] [stderr] Downloaded anchor-attribute-interface v0.19.0 [INFO] [stderr] Downloaded ntoken-solana-models v0.1.41 [INFO] [stderr] Downloaded vipers v2.0.6 [INFO] [stderr] Downloaded anchor-attribute-state v0.19.0 [INFO] [stderr] Downloaded anchor-attribute-error v0.19.0 [INFO] [stderr] Downloaded karima-anchor-lang v0.19.0 [INFO] [stderr] Downloaded anchor-syn v0.19.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Downloaded quarry-mine v5.0.2 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.2 [INFO] [stderr] Downloaded quarry-mint-wrapper v5.0.2 [INFO] [stderr] Downloaded borsh v0.7.2 [INFO] [stderr] Downloaded spl-math v0.1.0 [INFO] [stderr] Downloaded u128 v0.1.0 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7a5bc539ed541b5c508a0ac4d4ba8f989ec51be4341079e84b75899f92d9f0e [INFO] running `Command { std: "docker" "start" "-a" "d7a5bc539ed541b5c508a0ac4d4ba8f989ec51be4341079e84b75899f92d9f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7a5bc539ed541b5c508a0ac4d4ba8f989ec51be4341079e84b75899f92d9f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a5bc539ed541b5c508a0ac4d4ba8f989ec51be4341079e84b75899f92d9f0e", kill_on_drop: false }` [INFO] [stdout] d7a5bc539ed541b5c508a0ac4d4ba8f989ec51be4341079e84b75899f92d9f0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a85b5a59eb3a7b2d598633d7b67d320962ade286abde3f260ca8357e4001376 [INFO] running `Command { std: "docker" "start" "-a" "2a85b5a59eb3a7b2d598633d7b67d320962ade286abde3f260ca8357e4001376", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.91 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling u128 v0.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.29 [INFO] [stderr] Compiling solana-frozen-abi v1.9.29 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling solana-program v1.9.29 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling regex-automata v0.4.5 [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 proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling solana-logger v1.9.29 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.29 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling anchor-syn v0.19.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.19.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.19.0 [INFO] [stderr] Compiling anchor-attribute-error v0.19.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.19.0 [INFO] [stderr] Compiling anchor-attribute-state v0.19.0 [INFO] [stderr] Compiling anchor-attribute-event v0.19.0 [INFO] [stderr] Compiling anchor-attribute-account v0.19.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.19.0 [INFO] [stderr] Compiling anchor-attribute-program v0.19.0 [INFO] [stderr] Compiling spl-token v3.3.0 [INFO] [stderr] Compiling anchor-lang v0.24.2 [INFO] [stderr] Compiling karima-anchor-lang v0.19.0 [INFO] [stderr] Compiling spl-math v0.1.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.5 [INFO] [stderr] Compiling anchor-spl v0.24.2 [INFO] [stderr] Compiling karima-anchor-spl v0.19.0 [INFO] [stderr] Compiling ntoken-solana-models v0.1.41 [INFO] [stderr] Compiling vipers v2.0.6 [INFO] [stderr] Compiling quarry-mint-wrapper v5.0.2 [INFO] [stderr] Compiling quarry-mine v5.0.2 [INFO] [stderr] Compiling portfolio_quarry v0.1.50 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.82s [INFO] running `Command { std: "docker" "inspect" "2a85b5a59eb3a7b2d598633d7b67d320962ade286abde3f260ca8357e4001376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a85b5a59eb3a7b2d598633d7b67d320962ade286abde3f260ca8357e4001376", kill_on_drop: false }` [INFO] [stdout] 2a85b5a59eb3a7b2d598633d7b67d320962ade286abde3f260ca8357e4001376 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29061efeb60b06fcdfa7175f38583efd8eb1668411a573e6162a94819d35de1a [INFO] running `Command { std: "docker" "start" "-a" "29061efeb60b06fcdfa7175f38583efd8eb1668411a573e6162a94819d35de1a", kill_on_drop: false }` [INFO] [stderr] Compiling portfolio_quarry v0.1.50 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ProgramError` is imported redundantly [INFO] [stdout] --> src/create.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | -------- the item `ProgramError` is already imported here [INFO] [stdout] 143 | use solana_program::{clock::Epoch, program_error::ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProgramError` is imported redundantly [INFO] [stdout] --> src/claim_rewards.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | use solana_program::{clock::Epoch, program_error::ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | [INFO] [stdout] 171 | use super::*; [INFO] [stdout] | -------- the item `ProgramError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PortfolioError` is imported redundantly [INFO] [stdout] --> src/stake_lp.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use ntoken_solana_models::error::PortfolioError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | use super::*; [INFO] [stdout] | -------- the item `PortfolioError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProgramError` is imported redundantly [INFO] [stdout] --> src/stake_lp.rs:193:27 [INFO] [stdout] | [INFO] [stdout] 193 | use solana_program::{ program_error::ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 194 | use super::*; [INFO] [stdout] | -------- the item `ProgramError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pubkey` is imported redundantly [INFO] [stdout] --> src/verify_admin_account.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 50 | use super::*; [INFO] [stdout] | -------- the item `Pubkey` is already imported here [INFO] [stdout] 51 | use solana_program::{ pubkey::Pubkey, clock::Epoch}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "29061efeb60b06fcdfa7175f38583efd8eb1668411a573e6162a94819d35de1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29061efeb60b06fcdfa7175f38583efd8eb1668411a573e6162a94819d35de1a", kill_on_drop: false }` [INFO] [stdout] 29061efeb60b06fcdfa7175f38583efd8eb1668411a573e6162a94819d35de1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b39e24f18e410a8e612eba75b8320ce69738fb999cc8f4eb53b3e1747529ab8 [INFO] running `Command { std: "docker" "start" "-a" "0b39e24f18e410a8e612eba75b8320ce69738fb999cc8f4eb53b3e1747529ab8", kill_on_drop: false }` [INFO] [stderr] warning: the item `ProgramError` is imported redundantly [INFO] [stderr] --> src/create.rs:143:40 [INFO] [stderr] | [INFO] [stderr] 142 | use super::*; [INFO] [stderr] | -------- the item `ProgramError` is already imported here [INFO] [stderr] 143 | use solana_program::{clock::Epoch, program_error::ProgramError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `ProgramError` is imported redundantly [INFO] [stderr] --> src/claim_rewards.rs:169:40 [INFO] [stderr] | [INFO] [stderr] 169 | use solana_program::{clock::Epoch, program_error::ProgramError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 170 | [INFO] [stderr] 171 | use super::*; [INFO] [stderr] | -------- the item `ProgramError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `PortfolioError` is imported redundantly [INFO] [stderr] --> src/stake_lp.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | use ntoken_solana_models::error::PortfolioError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 194 | use super::*; [INFO] [stderr] | -------- the item `PortfolioError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ProgramError` is imported redundantly [INFO] [stderr] --> src/stake_lp.rs:193:27 [INFO] [stderr] | [INFO] [stderr] 193 | use solana_program::{ program_error::ProgramError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 194 | use super::*; [INFO] [stderr] | -------- the item `ProgramError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Pubkey` is imported redundantly [INFO] [stderr] --> src/verify_admin_account.rs:51:27 [INFO] [stderr] | [INFO] [stderr] 50 | use super::*; [INFO] [stderr] | -------- the item `Pubkey` is already imported here [INFO] [stderr] 51 | use solana_program::{ pubkey::Pubkey, clock::Epoch}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `portfolio_quarry` (lib test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/portfolio_quarry-1878a88c8d03a813) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test stake_lp::tests::test_invalid_argument_stake_lp_token ... ok [INFO] [stdout] test stake_lp::tests::test_admin_issigner_stake_lp_token ... ok [INFO] [stdout] test stake_lp::tests::test_invalid_programid_ppu_stake_lp_token ... ok [INFO] [stdout] test stake_lp::tests::test_stake_lp_token ... ok [INFO] [stdout] test verify_admin_account::tests::check_account_admin ... ok [INFO] [stdout] test verify_admin_account::tests::check_admin_account ... ok [INFO] [stdout] test stake_lp::tests::test_invalid_state_stake_lp_token ... ok [INFO] [stdout] test stake_lp::tests::test_check_admin_stake_lp_token ... ok [INFO] [stdout] test create::tests::test_invalid_argument_create_miners ... ok [INFO] [stdout] test claim_rewards::tests::test_claim_rewards ... ok [INFO] [stdout] test claim_rewards::tests::test_invalid_argument_claim_rewards ... ok [INFO] [stdout] test stake_lp::tests::test_invalid_type_account_stake_lp_token ... ok [INFO] [stdout] test create::tests::test_create_miners ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_missing_required_signature ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_deposit_portfolio_invalid_state ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_incorrect_account ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_invalid_argument ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_incorrect_program_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests portfolio_quarry [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" "0b39e24f18e410a8e612eba75b8320ce69738fb999cc8f4eb53b3e1747529ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b39e24f18e410a8e612eba75b8320ce69738fb999cc8f4eb53b3e1747529ab8", kill_on_drop: false }` [INFO] [stdout] 0b39e24f18e410a8e612eba75b8320ce69738fb999cc8f4eb53b3e1747529ab8 [INFO] testing portfolio_quarry-0.1.50 against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] extracting crate portfolio_quarry 0.1.50 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate portfolio_quarry 0.1.50 on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate portfolio_quarry 0.1.50 [INFO] finished tweaking crates.io crate portfolio_quarry 0.1.50 [INFO] tweaked toml for crates.io crate portfolio_quarry 0.1.50 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52dc04b2f95eb2b895643c5f7d3d6f8a476a325243b406030293c673e7e7d88e [INFO] running `Command { std: "docker" "start" "-a" "52dc04b2f95eb2b895643c5f7d3d6f8a476a325243b406030293c673e7e7d88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52dc04b2f95eb2b895643c5f7d3d6f8a476a325243b406030293c673e7e7d88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52dc04b2f95eb2b895643c5f7d3d6f8a476a325243b406030293c673e7e7d88e", kill_on_drop: false }` [INFO] [stdout] 52dc04b2f95eb2b895643c5f7d3d6f8a476a325243b406030293c673e7e7d88e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56a8db73805408f2df392b2833609135360ac5f5e2f0854c3a13b4e4328c94dc [INFO] running `Command { std: "docker" "start" "-a" "56a8db73805408f2df392b2833609135360ac5f5e2f0854c3a13b4e4328c94dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.91 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.29 [INFO] [stderr] Compiling solana-frozen-abi v1.9.29 [INFO] [stderr] Compiling solana-program v1.9.29 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling u128 v0.1.0 [INFO] [stderr] Compiling syn v2.0.52 [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 regex-automata v0.4.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling solana-logger v1.9.29 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.29 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling anchor-syn v0.19.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling anchor-attribute-account v0.19.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.19.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.19.0 [INFO] [stderr] Compiling anchor-attribute-state v0.19.0 [INFO] [stderr] Compiling anchor-attribute-program v0.19.0 [INFO] [stderr] Compiling anchor-attribute-error v0.19.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.19.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.19.0 [INFO] [stderr] Compiling anchor-attribute-event v0.19.0 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling spl-token v3.3.0 [INFO] [stderr] Compiling anchor-lang v0.24.2 [INFO] [stderr] Compiling karima-anchor-lang v0.19.0 [INFO] [stderr] Compiling spl-math v0.1.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.5 [INFO] [stderr] Compiling anchor-spl v0.24.2 [INFO] [stderr] Compiling karima-anchor-spl v0.19.0 [INFO] [stderr] Compiling ntoken-solana-models v0.1.41 [INFO] [stderr] Compiling vipers v2.0.6 [INFO] [stderr] Compiling quarry-mint-wrapper v5.0.2 [INFO] [stderr] Compiling quarry-mine v5.0.2 [INFO] [stderr] Compiling portfolio_quarry v0.1.50 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.49s [INFO] running `Command { std: "docker" "inspect" "56a8db73805408f2df392b2833609135360ac5f5e2f0854c3a13b4e4328c94dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a8db73805408f2df392b2833609135360ac5f5e2f0854c3a13b4e4328c94dc", kill_on_drop: false }` [INFO] [stdout] 56a8db73805408f2df392b2833609135360ac5f5e2f0854c3a13b4e4328c94dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ef40c10c3f086babc2a956048586b0a475ef813e1cf99ca8e7af4e6cb47eda [INFO] running `Command { std: "docker" "start" "-a" "73ef40c10c3f086babc2a956048586b0a475ef813e1cf99ca8e7af4e6cb47eda", kill_on_drop: false }` [INFO] [stderr] Compiling portfolio_quarry v0.1.50 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ProgramError` is imported redundantly [INFO] [stdout] --> src/create.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | -------- the item `ProgramError` is already imported here [INFO] [stdout] 143 | use solana_program::{clock::Epoch, program_error::ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProgramError` is imported redundantly [INFO] [stdout] --> src/claim_rewards.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | use solana_program::{clock::Epoch, program_error::ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | [INFO] [stdout] 171 | use super::*; [INFO] [stdout] | -------- the item `ProgramError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PortfolioError` is imported redundantly [INFO] [stdout] --> src/stake_lp.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use ntoken_solana_models::error::PortfolioError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | use super::*; [INFO] [stdout] | -------- the item `PortfolioError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProgramError` is imported redundantly [INFO] [stdout] --> src/stake_lp.rs:193:27 [INFO] [stdout] | [INFO] [stdout] 193 | use solana_program::{ program_error::ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 194 | use super::*; [INFO] [stdout] | -------- the item `ProgramError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pubkey` is imported redundantly [INFO] [stdout] --> src/verify_admin_account.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 50 | use super::*; [INFO] [stdout] | -------- the item `Pubkey` is already imported here [INFO] [stdout] 51 | use solana_program::{ pubkey::Pubkey, clock::Epoch}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "73ef40c10c3f086babc2a956048586b0a475ef813e1cf99ca8e7af4e6cb47eda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ef40c10c3f086babc2a956048586b0a475ef813e1cf99ca8e7af4e6cb47eda", kill_on_drop: false }` [INFO] [stdout] 73ef40c10c3f086babc2a956048586b0a475ef813e1cf99ca8e7af4e6cb47eda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95e7561c009a60b1cb2d5c2bd5f5337a7fe593d79a7bfa3436469cd26a4834ff [INFO] running `Command { std: "docker" "start" "-a" "95e7561c009a60b1cb2d5c2bd5f5337a7fe593d79a7bfa3436469cd26a4834ff", kill_on_drop: false }` [INFO] [stderr] warning: the item `ProgramError` is imported redundantly [INFO] [stderr] --> src/create.rs:143:40 [INFO] [stderr] | [INFO] [stderr] 142 | use super::*; [INFO] [stderr] | -------- the item `ProgramError` is already imported here [INFO] [stderr] 143 | use solana_program::{clock::Epoch, program_error::ProgramError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `ProgramError` is imported redundantly [INFO] [stderr] --> src/claim_rewards.rs:169:40 [INFO] [stderr] | [INFO] [stderr] 169 | use solana_program::{clock::Epoch, program_error::ProgramError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 170 | [INFO] [stderr] 171 | use super::*; [INFO] [stderr] | -------- the item `ProgramError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `PortfolioError` is imported redundantly [INFO] [stderr] --> src/stake_lp.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | use ntoken_solana_models::error::PortfolioError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 194 | use super::*; [INFO] [stderr] | -------- the item `PortfolioError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ProgramError` is imported redundantly [INFO] [stderr] --> src/stake_lp.rs:193:27 [INFO] [stderr] | [INFO] [stderr] 193 | use solana_program::{ program_error::ProgramError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 194 | use super::*; [INFO] [stderr] | -------- the item `ProgramError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Pubkey` is imported redundantly [INFO] [stderr] --> src/verify_admin_account.rs:51:27 [INFO] [stderr] | [INFO] [stderr] 50 | use super::*; [INFO] [stderr] | -------- the item `Pubkey` is already imported here [INFO] [stderr] 51 | use solana_program::{ pubkey::Pubkey, clock::Epoch}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `portfolio_quarry` (lib test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/portfolio_quarry-1878a88c8d03a813) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test create::tests::test_create_miners ... ok [INFO] [stdout] test claim_rewards::tests::test_claim_rewards ... ok [INFO] [stdout] test claim_rewards::tests::test_invalid_argument_claim_rewards ... ok [INFO] [stdout] test create::tests::test_invalid_argument_create_miners ... ok [INFO] [stdout] test stake_lp::tests::test_check_admin_stake_lp_token ... ok [INFO] [stdout] test stake_lp::tests::test_admin_issigner_stake_lp_token ... ok [INFO] [stdout] test stake_lp::tests::test_invalid_argument_stake_lp_token ... ok [INFO] [stdout] test verify_admin_account::tests::check_account_admin ... ok [INFO] [stdout] test stake_lp::tests::test_invalid_type_account_stake_lp_token ... ok [INFO] [stdout] test stake_lp::tests::test_invalid_state_stake_lp_token ... ok [INFO] [stdout] test verify_admin_account::tests::check_admin_account ... ok [INFO] [stdout] test stake_lp::tests::test_invalid_programid_ppu_stake_lp_token ... ok [INFO] [stdout] test stake_lp::tests::test_stake_lp_token ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_deposit_portfolio_invalid_state ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_incorrect_account ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_incorrect_program_id ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_missing_required_signature ... ok [INFO] [stdout] test withdraw::tests::test_withdraw_quarry_invalid_argument ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- withdraw::tests::test_withdraw_quarry_invalid_argument stdout ---- [INFO] [stdout] thread 'withdraw::tests::test_withdraw_quarry_invalid_argument' panicked at src/withdraw.rs:1654:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Err(InvalidSeeds) [INFO] [stdout] right: Err(InvalidArgument) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56518e9719f6 - std::backtrace_rs::backtrace::libunwind::trace::h5c10df0b519d962f [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x56518e9719f6 - std::backtrace_rs::backtrace::trace_unsynchronized::h56122ec150da225d [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56518e9719f6 - std::sys_common::backtrace::_print_fmt::h8e5f02953967e039 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x56518e9719f6 - ::fmt::h736f584a9f3f7d78 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x56518e9992cc - core::fmt::rt::Argument::fmt::h0eca9e37bebd875b [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x56518e9992cc - core::fmt::write::h57172937379ae112 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x56518e96f21f - std::io::Write::write_fmt::h48e0063b56f825c3 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x56518e9717a4 - std::sys_common::backtrace::_print::ha0fb9ef3018dd67f [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x56518e9717a4 - std::sys_common::backtrace::print::h97bc00c4f471ee58 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x56518e97349b - std::panicking::default_hook::{{closure}}::had669b8c5eb766ef [INFO] [stdout] 10: 0x56518e97316d - std::panicking::default_hook::hee79edbbfe503541 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x56518e90ffd7 - as core::ops::function::Fn>::call::hbce7bcf7a5291663 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x56518e90ffd7 - test::test_main::{{closure}}::hbf7bf4b112234627 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x56518e973ad0 - as core::ops::function::Fn>::call::h283d0ebbebe64c72 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x56518e973ad0 - std::panicking::rust_panic_with_hook::ha824647abef1aff2 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x56518e973812 - std::panicking::begin_panic_handler::{{closure}}::h34c7493359eae8d6 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:660:13 [INFO] [stdout] 16: 0x56518e971ed6 - std::sys_common::backtrace::__rust_end_short_backtrace::h8f5a11b92972236f [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x56518e973544 - rust_begin_unwind [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x56518e8a88d5 - core::panicking::panic_fmt::h4f7dd4ba7fa8b3c9 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x56518e8a8d0b - core::panicking::assert_failed_inner::hd4677cee4e511fe5 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panicking.rs:342:17 [INFO] [stdout] 20: 0x56518e8aa60e - core::panicking::assert_failed::ha1b7d6826c27d34c [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panicking.rs:297:5 [INFO] [stdout] 21: 0x56518e8c8255 - portfolio_quarry::withdraw::tests::test_withdraw_quarry_invalid_argument::haeed32bf527abdcc [INFO] [stdout] at /opt/rustwide/workdir/src/withdraw.rs:1654:9 [INFO] [stdout] 22: 0x56518e8c61a7 - portfolio_quarry::withdraw::tests::test_withdraw_quarry_invalid_argument::{{closure}}::h02798457fd404dea [INFO] [stdout] at /opt/rustwide/workdir/src/withdraw.rs:1418:47 [INFO] [stdout] 23: 0x56518e8a9d26 - core::ops::function::FnOnce::call_once::h796cf94cbfbce290 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56518e9157df - core::ops::function::FnOnce::call_once::h263d60e66e97ae21 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x56518e9157df - test::__rust_begin_short_backtrace::hfd27401b46e2c35b [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:620:18 [INFO] [stdout] 26: 0x56518e914350 - test::run_test_in_process::{{closure}}::h6f15adc4862466a2 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:643:60 [INFO] [stdout] 27: 0x56518e914350 - as core::ops::function::FnOnce<()>>::call_once::haaf085868eec590b [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x56518e914350 - std::panicking::try::do_call::he863b9ffdd9dccd8 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:555:40 [INFO] [stdout] 29: 0x56518e914350 - std::panicking::try::h00518ddc92157d69 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:519:19 [INFO] [stdout] 30: 0x56518e914350 - std::panic::catch_unwind::ha54d881a3136a844 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x56518e914350 - test::run_test_in_process::he6969e4cdcd00ab9 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:643:27 [INFO] [stdout] 32: 0x56518e914350 - test::run_test::{{closure}}::ha7bd2350e4208460 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:566:43 [INFO] [stdout] 33: 0x56518e8dc6e3 - test::run_test::{{closure}}::h7e4f6d8c61dc1fc5 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:594:41 [INFO] [stdout] 34: 0x56518e8dc6e3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7971b3168cdfe030 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x56518e8e137f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h940fea02fa91722e [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 36: 0x56518e8e137f - as core::ops::function::FnOnce<()>>::call_once::hc9108612b0b55d6f [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x56518e8e137f - std::panicking::try::do_call::h088487cc7181ed41 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:555:40 [INFO] [stdout] 38: 0x56518e8e137f - std::panicking::try::hbe658ba86d10aeac [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:519:19 [INFO] [stdout] 39: 0x56518e8e137f - std::panic::catch_unwind::hbcfe75becdd3312a [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x56518e8e137f - std::thread::Builder::spawn_unchecked_::{{closure}}::h5da9b0997b04a0b6 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 41: 0x56518e8e137f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h282e25baa8bce548 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x56518e977d35 - as core::ops::function::FnOnce>::call_once::h7b00d7973698e306 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x56518e977d35 - as core::ops::function::FnOnce>::call_once::ha210a4482bc8347c [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x56518e977d35 - std::sys::pal::unix::thread::Thread::new::thread_start::h2e04f672130bcc99 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f405b5d6ac3 - [INFO] [stdout] 46: 0x7f405b667bf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] withdraw::tests::test_withdraw_quarry_invalid_argument [INFO] [stdout] [INFO] [stdout] test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "95e7561c009a60b1cb2d5c2bd5f5337a7fe593d79a7bfa3436469cd26a4834ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e7561c009a60b1cb2d5c2bd5f5337a7fe593d79a7bfa3436469cd26a4834ff", kill_on_drop: false }` [INFO] [stdout] 95e7561c009a60b1cb2d5c2bd5f5337a7fe593d79a7bfa3436469cd26a4834ff