[INFO] cloning repository https://github.com/DohanKim/quasar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DohanKim/quasar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDohanKim%2Fquasar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDohanKim%2Fquasar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a358b9f7d248fdbcf989bc002f0ff82e115afdde [INFO] testing DohanKim/quasar against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDohanKim%2Fquasar" "/workspace/builds/worker-68/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-68/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DohanKim/quasar on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DohanKim/quasar [INFO] finished tweaking git repo https://github.com/DohanKim/quasar [INFO] tweaked toml for git repo https://github.com/DohanKim/quasar written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate git repo https://github.com/DohanKim/quasar already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51be31c08e54413084de0bc752cc3b962bb5a16bb8f39d51ab001f5471022627 [INFO] running `Command { std: "docker" "start" "-a" "51be31c08e54413084de0bc752cc3b962bb5a16bb8f39d51ab001f5471022627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51be31c08e54413084de0bc752cc3b962bb5a16bb8f39d51ab001f5471022627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51be31c08e54413084de0bc752cc3b962bb5a16bb8f39d51ab001f5471022627", kill_on_drop: false }` [INFO] [stdout] 51be31c08e54413084de0bc752cc3b962bb5a16bb8f39d51ab001f5471022627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2df627c0973d0dbabb621e3e5d9ae644a221734e2f5efe794e6a91c4bc9355c6 [INFO] running `Command { std: "docker" "start" "-a" "2df627c0973d0dbabb621e3e5d9ae644a221734e2f5efe794e6a91c4bc9355c6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling az v1.1.2 [INFO] [stderr] Compiling fixed v1.9.0 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling safe-transmute v0.11.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.11 [INFO] [stderr] Compiling solana-frozen-abi v1.7.11 [INFO] [stderr] Compiling solana-program v1.7.11 [INFO] [stderr] Compiling without-alloc v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling quick-protobuf v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling solana-logger v1.7.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling zeroize_derive v1.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.11 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling rust_decimal v1.16.0 [INFO] [stderr] Compiling rust_decimal_macros v1.16.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling switchboard-protos v0.1.54 [INFO] [stderr] Compiling fixed-macro-impl v1.1.1 [INFO] [stderr] Compiling fixed-macro-types v1.1.1 [INFO] [stderr] Compiling fixed-macro v1.1.1 [INFO] [stderr] Compiling mango-common v3.0.0 (https://github.com/blockworks-foundation/mango-v3.git#b85f23b6) [INFO] [stderr] Compiling switchboard-utils v0.1.26 [INFO] [stderr] Compiling switchboard-program v0.1.52 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling mango-macro v3.0.0 (https://github.com/blockworks-foundation/mango-v3.git#b85f23b6) [INFO] [stderr] Compiling serum_dex v0.4.0 (https://github.com/blockworks-foundation/serum-dex.git#3104f424) [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling mango v3.0.4 (https://github.com/blockworks-foundation/mango-v3.git#b85f23b6) [INFO] [stderr] Compiling quasar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `solana_program::program_error::ProgramError` [INFO] [stdout] --> src/instruction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::program_error::ProgramError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::Ref` [INFO] [stdout] --> src/processor.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::Ref, mem::size_of}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RootBankCache` [INFO] [stdout] --> src/processor.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | MangoAccount, MangoCache, MangoGroup, RootBankCache, MAX_PAIRS, QUOTE_INDEX, ZERO_I80F48, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `native_token::LAMPORTS_PER_SOL`, `next_account_info`, `system_instruction`, `system_program` [INFO] [stdout] --> src/processor.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | account_info::{next_account_info, Account, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | native_token::LAMPORTS_PER_SOL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | system_instruction, system_program, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_associated_token_account` [INFO] [stdout] --> src/processor.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | use spl_associated_token_account::{create_associated_token_account, get_associated_token_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Account as TokenAccount` [INFO] [stdout] --> src/processor.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | use spl_token::state::{Account as TokenAccount, Mint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Loadable`, `Pod` [INFO] [stdout] --> src/processor.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | use mango_macro::{Loadable, Pod}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuasarError` [INFO] [stdout] --> src/processor.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | error::{check_assert, QuasarError, QuasarErrorCode, QuasarResult, SourceFileId}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sealed`, `program_error::ProgramError` [INFO] [stdout] --> src/state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | program_pack::{IsInitialized, Pack, Sealed}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array_mut_ref`, `array_ref`, `array_refs`, `mut_array_refs` [INFO] [stdout] --> src/state.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use arrayref::{array_mut_ref, array_ref, array_refs, mut_array_refs}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Contiguous`, `Pod`, `cast_slice_mut`, `from_bytes_mut` [INFO] [stdout] --> src/utils.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use bytemuck::{bytes_of, cast_slice_mut, from_bytes_mut, Contiguous, Pod}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Account` [INFO] [stdout] --> src/processor.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | account_info::{next_account_info, Account, AccountInfo}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsInitialized` [INFO] [stdout] --> src/processor.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | program_pack::{IsInitialized, Pack}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsInitialized` [INFO] [stdout] --> src/state.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | program_pack::{IsInitialized, Pack, Sealed}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner_ai` [INFO] [stdout] --> src/processor.rs:437:106 [INFO] [stdout] | [INFO] [stdout] 437 | ...roup_ai, mango_account_ai, owner_ai, mango_cache_ai, mango_perp_market_ai, mango_bids_ai, mango_asks_ai, mango_event_queue_ai] = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner_ai` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let mut quantity; [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: associated function is never used: `unpack_i80f48_opt` [INFO] [stdout] --> src/instruction.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | fn unpack_i80f48_opt(data: &[u8; 17]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpack_u64_opt` [INFO] [stdout] --> src/instruction.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn unpack_u64_opt(data: &[u8; 9]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_oracle` [INFO] [stdout] --> src/processor.rs:941:4 [INFO] [stdout] | [INFO] [stdout] 941 | fn read_oracle(base_token: &BaseToken, oracle_ai: &AccountInfo) -> QuasarResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_assert($x == $y, $err, line!(), $source_file_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/processor.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | / check_eq!( [INFO] [stdout] 285 | | *owner_leverage_token_account_ai.key, [INFO] [stdout] 286 | | get_associated_token_address(owner_ai.key, token_mint_ai.key), [INFO] [stdout] 287 | | QuasarErrorCode::InvalidAccount [INFO] [stdout] 288 | | ); [INFO] [stdout] | |_____________- in this macro invocation [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] = note: this warning originates in the macro `check_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_assert($x == $y, $err, line!(), $source_file_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/processor.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | / check_eq!( [INFO] [stdout] 296 | | leverage_token.mango_account, [INFO] [stdout] 297 | | *mango_account_ai.key, [INFO] [stdout] 298 | | QuasarErrorCode::InvalidAccount [INFO] [stdout] 299 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `check_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_assert($x == $y, $err, line!(), $source_file_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/processor.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | / check_eq!( [INFO] [stdout] 352 | | *owner_leverage_token_account_ai.key, [INFO] [stdout] 353 | | get_associated_token_address(owner_ai.key, token_mint_ai.key), [INFO] [stdout] 354 | | QuasarErrorCode::InvalidAccount [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `check_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | check_assert($cond, $err, line!(), $source_file_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/processor.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | / check!( [INFO] [stdout] 360 | | leverage_token_index.is_some(), [INFO] [stdout] 361 | | QuasarErrorCode::InvalidToken [INFO] [stdout] 362 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_assert($x == $y, $err, line!(), $source_file_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/processor.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | / check_eq!( [INFO] [stdout] 376 | | *owner_leverage_token_account_ai.key, [INFO] [stdout] 377 | | get_associated_token_address(owner_ai.key, token_mint_ai.key), [INFO] [stdout] 378 | | QuasarErrorCode::InvalidAccount [INFO] [stdout] 379 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `check_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_assert($x == $y, $err, line!(), $source_file_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/processor.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | / check_eq!( [INFO] [stdout] 387 | | leverage_token.mango_account, [INFO] [stdout] 388 | | *mango_account_ai.key, [INFO] [stdout] 389 | | QuasarErrorCode::InvalidAccount [INFO] [stdout] 390 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `check_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_assert($x == $y, $err, line!(), $source_file_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/processor.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | / check_eq!( [INFO] [stdout] 448 | | leverage_token.mango_account, [INFO] [stdout] 449 | | *mango_account_ai.key, [INFO] [stdout] 450 | | QuasarErrorCode::InvalidAccount [INFO] [stdout] 451 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `check_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_assert($x == $y, $err, line!(), $source_file_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/processor.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / check_eq!( [INFO] [stdout] 453 | | leverage_token.mango_perp_market, [INFO] [stdout] 454 | | *mango_perp_market_ai.key, [INFO] [stdout] 455 | | QuasarErrorCode::InvalidAccount [INFO] [stdout] 456 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `check_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "2df627c0973d0dbabb621e3e5d9ae644a221734e2f5efe794e6a91c4bc9355c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df627c0973d0dbabb621e3e5d9ae644a221734e2f5efe794e6a91c4bc9355c6", kill_on_drop: false }` [INFO] [stdout] 2df627c0973d0dbabb621e3e5d9ae644a221734e2f5efe794e6a91c4bc9355c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 685cbedbd4f1b6aec0c95d462770619f03db10b6696b017627d88f3f0a7ba017 [INFO] running `Command { std: "docker" "start" "-a" "685cbedbd4f1b6aec0c95d462770619f03db10b6696b017627d88f3f0a7ba017", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling object v0.24.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling simpl v0.1.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling arc-swap v1.4.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling indexed v0.1.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling raptorq v1.6.4 [INFO] [stderr] Compiling retain_mut v0.1.4 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling fast-math v0.1.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling solana-sdk v1.7.11 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling solana-vote-program v1.7.11 [INFO] [stderr] Compiling solana-stake-program v1.7.11 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling solana-runtime v1.7.11 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling solana-version v1.7.11 [INFO] [stderr] Compiling rpassword v4.0.5 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] error: could not compile `futures` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name futures /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=0b0214b74e044a62 -C extra-filename=-0b0214b74e044a62 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (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" "685cbedbd4f1b6aec0c95d462770619f03db10b6696b017627d88f3f0a7ba017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "685cbedbd4f1b6aec0c95d462770619f03db10b6696b017627d88f3f0a7ba017", kill_on_drop: false }` [INFO] [stdout] 685cbedbd4f1b6aec0c95d462770619f03db10b6696b017627d88f3f0a7ba017