[INFO] cloning repository https://github.com/realhardworkingdeveloper/mango-markets-trading-risk-check
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realhardworkingdeveloper/mango-markets-trading-risk-check" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealhardworkingdeveloper%2Fmango-markets-trading-risk-check", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealhardworkingdeveloper%2Fmango-markets-trading-risk-check'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b472bceec650cb48c189e6215bb3343be68a05e
[INFO] testing realhardworkingdeveloper/mango-markets-trading-risk-check against 1.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealhardworkingdeveloper%2Fmango-markets-trading-risk-check" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/realhardworkingdeveloper/mango-markets-trading-risk-check on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/realhardworkingdeveloper/mango-markets-trading-risk-check
[INFO] finished tweaking git repo https://github.com/realhardworkingdeveloper/mango-markets-trading-risk-check
[INFO] tweaked toml for git repo https://github.com/realhardworkingdeveloper/mango-markets-trading-risk-check written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/realhardworkingdeveloper/mango-markets-trading-risk-check already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-2-tc1/source/programs/mango-markets-trading-risk-check/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating git repository `https://github.com/blockworks-foundation/mango-v3.git`
[INFO] [stderr]     Updating git repository `https://github.com/project-serum/serum-dex.git`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/blockworks-foundation/serum-dex.git`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fixed-macro v1.1.1
[INFO] [stderr]   Downloaded fixed-macro-impl v1.1.1
[INFO] [stderr]   Downloaded fixed-macro-types v1.1.1
[INFO] [stderr]   Downloaded fixed v1.11.0
[INFO] [stderr]   Downloaded serum_dex v0.4.0
[INFO] [stderr]   Downloaded pyth-client v0.5.1
[INFO] [stderr]   Downloaded rust_decimal_macros v1.25.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4670106e39af91a28631f71674e4a8f9e6c579c9458df62f222b0ad4d7cbd9a3
[INFO] running `Command { std: "docker" "start" "-a" "4670106e39af91a28631f71674e4a8f9e6c579c9458df62f222b0ad4d7cbd9a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4670106e39af91a28631f71674e4a8f9e6c579c9458df62f222b0ad4d7cbd9a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4670106e39af91a28631f71674e4a8f9e6c579c9458df62f222b0ad4d7cbd9a3", kill_on_drop: false }`
[INFO] [stdout] 4670106e39af91a28631f71674e4a8f9e6c579c9458df62f222b0ad4d7cbd9a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4aa7c44dcb5462033224b302ae7109336f1402bc805b7510fb554c21b2c31bfc
[INFO] running `Command { std: "docker" "start" "-a" "4aa7c44dcb5462033224b302ae7109336f1402bc805b7510fb554c21b2c31bfc", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/programs/mango-markets-trading-risk-check/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.140
[INFO] [stderr]    Compiling serde v1.0.140
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling semver v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.81
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling bumpalo v3.10.0
[INFO] [stderr]    Compiling rustversion v1.0.8
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.9.29
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling solana-frozen-abi v1.9.29
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling wasm-bindgen v0.2.81
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling solana-program v1.9.29
[INFO] [stderr]    Compiling memmap2 v0.5.5
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling keccak v0.1.2
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling solana-logger v1.9.29
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling ucd-trie v0.1.4
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.81
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling az v1.2.0
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling alloc-traits v0.1.1
[INFO] [stderr]    Compiling rust_decimal v1.25.0
[INFO] [stderr]    Compiling safe-transmute v0.11.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling fixed v1.11.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.81
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling without-alloc v0.2.1
[INFO] [stderr]    Compiling field-offset v0.3.4
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling quick-protobuf v0.8.0
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling bytemuck_derive v1.1.1
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.81
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling solana-sdk-macro v1.9.29
[INFO] [stderr]    Compiling enumflags2_derive v0.6.4
[INFO] [stderr]    Compiling enumflags2 v0.6.4
[INFO] [stderr]    Compiling bytemuck v1.11.0
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_bytes v0.11.6
[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 sha2 v0.9.9
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling anchor-syn v0.24.2
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling rust_decimal_macros v1.25.0
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling num_enum_derive v0.5.7
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling num_enum v0.5.7
[INFO] [stderr]    Compiling switchboard-protos v0.1.60
[INFO] [stderr]    Compiling anchor-attribute-error v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-constant v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-account v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-program 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-state v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-interface v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.24.2
[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 spl-token v3.3.0
[INFO] [stderr]    Compiling anchor-lang v0.24.2
[INFO] [stderr]    Compiling switchboard-utils v0.2.1
[INFO] [stderr]    Compiling mango-common v3.0.0 (https://github.com/blockworks-foundation/mango-v3.git#dcfe4cd6)
[INFO] [stderr]    Compiling pyth-client v0.5.1
[INFO] [stderr]    Compiling mango-macro v3.0.0 (https://github.com/blockworks-foundation/mango-v3.git#dcfe4cd6)
[INFO] [stderr]    Compiling switchboard-program v0.2.1
[INFO] [stderr]    Compiling mango-logs v0.1.0 (https://github.com/blockworks-foundation/mango-v3.git#dcfe4cd6)
[INFO] [stderr]    Compiling serum_dex v0.4.0
[INFO] [stderr]    Compiling serum_dex v0.5.5 (https://github.com/blockworks-foundation/serum-dex.git?rev=7f55a5ef5f7937b74381a3124021a261cd7d7283#7f55a5ef)
[INFO] [stderr]    Compiling spl-associated-token-account v1.0.5
[INFO] [stderr]    Compiling serum_dex v0.5.6 (https://github.com/project-serum/serum-dex.git#0c23a513)
[INFO] [stderr]    Compiling anchor-spl v0.24.2
[INFO] [stderr]    Compiling mango v3.5.1 (https://github.com/blockworks-foundation/mango-v3.git#dcfe4cd6)
[INFO] [stderr]    Compiling mango-markets-trading-risk-check v0.1.0 (/opt/rustwide/workdir/programs/mango-markets-trading-risk-check)
[INFO] [stdout] warning: unused import: `matching::Side`
[INFO] [stdout]  --> programs/mango-markets-trading-risk-check/src/lib.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mango::{ state::{ MangoAccount }, matching::Side};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_position`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             perp_position,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: try ignoring the field: `perp_position: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_unconsumed_position`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             perp_unconsumed_position,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_unconsumed_position: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_long_order_quantity`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             perp_long_order_quantity,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_long_order_quantity: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_short_order_quantity`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             perp_short_order_quantity
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_short_order_quantity: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_type`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         market_type: MarketType,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_direction`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         order_direction: OrderSide,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_direction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_amount`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         order_amount: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 31.71s
[INFO] running `Command { std: "docker" "inspect" "4aa7c44dcb5462033224b302ae7109336f1402bc805b7510fb554c21b2c31bfc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4aa7c44dcb5462033224b302ae7109336f1402bc805b7510fb554c21b2c31bfc", kill_on_drop: false }`
[INFO] [stdout] 4aa7c44dcb5462033224b302ae7109336f1402bc805b7510fb554c21b2c31bfc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc46a3762ca5bd0a350ebc53a3facff9d98f9e77d3df4ff470aa946a04771f12
[INFO] running `Command { std: "docker" "start" "-a" "fc46a3762ca5bd0a350ebc53a3facff9d98f9e77d3df4ff470aa946a04771f12", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/programs/mango-markets-trading-risk-check/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling mango-markets-trading-risk-check v0.1.0 (/opt/rustwide/workdir/programs/mango-markets-trading-risk-check)
[INFO] [stdout] warning: unused import: `matching::Side`
[INFO] [stdout]  --> programs/mango-markets-trading-risk-check/src/lib.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mango::{ state::{ MangoAccount }, matching::Side};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_position`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             perp_position,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: try ignoring the field: `perp_position: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_unconsumed_position`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             perp_unconsumed_position,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_unconsumed_position: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_long_order_quantity`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             perp_long_order_quantity,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_long_order_quantity: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_short_order_quantity`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             perp_short_order_quantity
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_short_order_quantity: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_type`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         market_type: MarketType,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_direction`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         order_direction: OrderSide,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_direction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_amount`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         order_amount: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `matching::Side`
[INFO] [stdout]  --> programs/mango-markets-trading-risk-check/src/lib.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mango::{ state::{ MangoAccount }, matching::Side};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_position`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             perp_position,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: try ignoring the field: `perp_position: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_unconsumed_position`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             perp_unconsumed_position,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_unconsumed_position: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_long_order_quantity`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             perp_long_order_quantity,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_long_order_quantity: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perp_short_order_quantity`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             perp_short_order_quantity
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_short_order_quantity: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_type`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         market_type: MarketType,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_direction`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         order_direction: OrderSide,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_direction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_amount`
[INFO] [stdout]   --> programs/mango-markets-trading-risk-check/src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         order_amount: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "fc46a3762ca5bd0a350ebc53a3facff9d98f9e77d3df4ff470aa946a04771f12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc46a3762ca5bd0a350ebc53a3facff9d98f9e77d3df4ff470aa946a04771f12", kill_on_drop: false }`
[INFO] [stdout] fc46a3762ca5bd0a350ebc53a3facff9d98f9e77d3df4ff470aa946a04771f12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9e9b3ba52139da844fbd5df37015f761069d309eb4edd8b2de577923ee709ccd
[INFO] running `Command { std: "docker" "start" "-a" "9e9b3ba52139da844fbd5df37015f761069d309eb4edd8b2de577923ee709ccd", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/programs/mango-markets-trading-risk-check/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: unused import: `matching::Side`
[INFO] [stderr]  --> programs/mango-markets-trading-risk-check/src/lib.rs:3:39
[INFO] [stderr]   |
[INFO] [stderr] 3 | use mango::{ state::{ MangoAccount }, matching::Side};
[INFO] [stderr]   |                                       ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `perp_position`
[INFO] [stderr]   --> programs/mango-markets-trading-risk-check/src/lib.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |             perp_position,
[INFO] [stderr]    |             ^^^^^^^^^^^^^ help: try ignoring the field: `perp_position: _`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `perp_unconsumed_position`
[INFO] [stderr]   --> programs/mango-markets-trading-risk-check/src/lib.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 |             perp_unconsumed_position,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_unconsumed_position: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `perp_long_order_quantity`
[INFO] [stderr]   --> programs/mango-markets-trading-risk-check/src/lib.rs:38:13
[INFO] [stderr]    |
[INFO] [stderr] 38 |             perp_long_order_quantity,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_long_order_quantity: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `perp_short_order_quantity`
[INFO] [stderr]   --> programs/mango-markets-trading-risk-check/src/lib.rs:39:13
[INFO] [stderr]    |
[INFO] [stderr] 39 |             perp_short_order_quantity
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `perp_short_order_quantity: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `market_type`
[INFO] [stderr]   --> programs/mango-markets-trading-risk-check/src/lib.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 |         market_type: MarketType,
[INFO] [stderr]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_type`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `order_direction`
[INFO] [stderr]   --> programs/mango-markets-trading-risk-check/src/lib.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |         order_direction: OrderSide,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_direction`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `order_amount`
[INFO] [stderr]   --> programs/mango-markets-trading-risk-check/src/lib.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |         order_amount: i64,
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: `mango-markets-trading-risk-check` (lib) generated 8 warnings (run `cargo fix --lib -p mango-markets-trading-risk-check` to apply 8 suggestions)
[INFO] [stderr] warning: `mango-markets-trading-risk-check` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mango_markets_trading_risk_check-4e1fb22b776cc3a7)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mango_markets_trading_risk_check
[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" "9e9b3ba52139da844fbd5df37015f761069d309eb4edd8b2de577923ee709ccd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e9b3ba52139da844fbd5df37015f761069d309eb4edd8b2de577923ee709ccd", kill_on_drop: false }`
[INFO] [stdout] 9e9b3ba52139da844fbd5df37015f761069d309eb4edd8b2de577923ee709ccd
