[INFO] cloning repository https://github.com/drift-labs/protocol-v1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drift-labs/protocol-v1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrift-labs%2Fprotocol-v1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrift-labs%2Fprotocol-v1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c101d77f5e89821ab6b1e2f3c9d02b9732028edf
[INFO] testing drift-labs/protocol-v1 against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrift-labs%2Fprotocol-v1" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/drift-labs/protocol-v1 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/drift-labs/protocol-v1
[INFO] finished tweaking git repo https://github.com/drift-labs/protocol-v1
[INFO] tweaked toml for git repo https://github.com/drift-labs/protocol-v1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/drift-labs/protocol-v1 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded solana-frozen-abi-macro v1.9.18
[INFO] [stderr]   Downloaded solana-logger v1.9.18
[INFO] [stderr]   Downloaded pyth-client v0.2.2
[INFO] [stderr]   Downloaded solana-sdk-macro v1.9.18
[INFO] [stderr]   Downloaded superslice v1.0.0
[INFO] [stderr]   Downloaded solana-frozen-abi v1.9.18
[INFO] [stderr]   Downloaded solana-program v1.9.18
[INFO] [stderr]   Downloaded switchboard-v2 v0.1.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee1c45fc35393488872cd159b2a212e5e6a9f333dc8f277ad60e40da3b6780b5
[INFO] running `Command { std: "docker" "start" "-a" "ee1c45fc35393488872cd159b2a212e5e6a9f333dc8f277ad60e40da3b6780b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee1c45fc35393488872cd159b2a212e5e6a9f333dc8f277ad60e40da3b6780b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee1c45fc35393488872cd159b2a212e5e6a9f333dc8f277ad60e40da3b6780b5", kill_on_drop: false }`
[INFO] [stdout] ee1c45fc35393488872cd159b2a212e5e6a9f333dc8f277ad60e40da3b6780b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8cb9b5170cb8d6bbdad8c1a832652aebf8515a0d2462ecc6459991e505e78e09
[INFO] running `Command { std: "docker" "start" "-a" "8cb9b5170cb8d6bbdad8c1a832652aebf8515a0d2462ecc6459991e505e78e09", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling semver v1.0.9
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling yansi v0.5.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.80
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling wasm-bindgen v0.2.80
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling rust_decimal v1.22.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling superslice v1.0.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling pyth-client v0.2.2
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling memmap2 v0.5.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling uint v0.9.1
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.9.18
[INFO] [stderr]    Compiling solana-frozen-abi v1.9.18
[INFO] [stderr]    Compiling solana-program v1.9.18
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling solana-logger v1.9.18
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.80
[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.25
[INFO] [stderr]    Compiling bytemuck_derive v1.0.1
[INFO] [stderr]    Compiling solana-sdk-macro v1.9.18
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.80
[INFO] [stderr]    Compiling bytemuck v1.8.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.80
[INFO] [stderr]    Compiling thiserror v1.0.25
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[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 curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.1
[INFO] [stderr]    Compiling anchor-syn v0.24.2
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling borsh v0.9.1
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling num_enum v0.5.1
[INFO] [stderr]    Compiling anchor-attribute-state v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-account v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-interface v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-event v0.24.2
[INFO] [stderr]    Compiling anchor-derive-accounts v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-error v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-constant v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-program v0.24.2
[INFO] [stderr]    Compiling anchor-lang v0.24.2
[INFO] [stderr]    Compiling spl-token v3.2.0
[INFO] [stderr]    Compiling pyth v0.1.0 (/opt/rustwide/workdir/programs/pyth)
[INFO] [stderr]    Compiling spl-associated-token-account v1.0.3
[INFO] [stderr]    Compiling anchor-spl v0.24.2
[INFO] [stderr]    Compiling switchboard-v2 v0.1.10
[INFO] [stderr]    Compiling mock-usdc-faucet v0.1.0 (/opt/rustwide/workdir/programs/mock_usdc_faucet)
[INFO] [stderr]    Compiling clearing-house v1.0.0 (/opt/rustwide/workdir/programs/clearing_house)
[INFO] [stdout] warning: lint `unaligned_references` has been removed: converted into hard error, see issue #82523 <https://github.com/rust-lang/rust/issues/82523> for more information
[INFO] [stdout]  --> programs/clearing_house/src/lib.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![allow(unaligned_references)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]   --> programs/clearing_house/src/controller/orders.rs:84:50
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let discount_tier = calculate_order_fee_tier(&state.fee_structure, discount_token)?;
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]    = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/controller/orders.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |         &state.oracle_guard_rails.validity,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/controller/orders.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |         &state.oracle_guard_rails.validity,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/controller/orders.rs:579:13
[INFO] [stdout]     |
[INFO] [stdout] 579 |             &state.oracle_guard_rails.validity,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/controller/orders.rs:634:9
[INFO] [stdout]     |
[INFO] [stdout] 634 |         &state.oracle_guard_rails.price_divergence,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/controller/orders.rs:639:9
[INFO] [stdout]     |
[INFO] [stdout] 639 |         &state.oracle_guard_rails.price_divergence,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/controller/orders.rs:685:13
[INFO] [stdout]     |
[INFO] [stdout] 685 |             &state.fee_structure,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/controller/orders.rs:686:13
[INFO] [stdout]     |
[INFO] [stdout] 686 |             &order_state.order_filler_reward_structure,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/controller/orders.rs:845:13
[INFO] [stdout]     |
[INFO] [stdout] 845 |             &state.oracle_guard_rails,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/order_validation.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 order.order_id,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `msg` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]  --> programs/clearing_house/src/state/order_state.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[account]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]   = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]   = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.order_filler_reward_structure` which is behind a shared reference
[INFO] [stdout]  --> programs/clearing_house/src/state/order_state.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[account]
[INFO] [stdout]   | ---------- in this procedural macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub order_filler_reward_structure: OrderFillerRewardStructure,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.order_filler_reward_structure` has type `order_state::OrderFillerRewardStructure`, which does not implement the `Copy` trait
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `Clone` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]  --> programs/clearing_house/src/state/settlement.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[account]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]   = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]   = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]  --> programs/clearing_house/src/state/state.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[account]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]   = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]   = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.fee_structure` which is behind a shared reference
[INFO] [stdout]   --> programs/clearing_house/src/state/state.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[account]
[INFO] [stdout]    | ---------- in this procedural macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fee_structure: FeeStructure,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.fee_structure` has type `state::state::FeeStructure`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Clone` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.oracle_guard_rails` which is behind a shared reference
[INFO] [stdout]   --> programs/clearing_house/src/state/state.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[account]
[INFO] [stdout]    | ---------- in this procedural macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub oracle_guard_rails: OracleGuardRails,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.oracle_guard_rails` has type `state::state::OracleGuardRails`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Clone` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]  --> programs/clearing_house/src/state/user.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[account]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]   = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]   = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:570:17
[INFO] [stdout]     |
[INFO] [stdout] 570 |                 &ctx.accounts.state.oracle_guard_rails.validity,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:653:17
[INFO] [stdout]     |
[INFO] [stdout] 653 |                 &ctx.accounts.state.fee_structure,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:706:13
[INFO] [stdout]     |
[INFO] [stdout] 706 |             &ctx.accounts.state.oracle_guard_rails.price_divergence,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:710:13
[INFO] [stdout]     |
[INFO] [stdout] 710 |             &ctx.accounts.state.oracle_guard_rails.price_divergence,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:778:17
[INFO] [stdout]     |
[INFO] [stdout] 778 |                 &ctx.accounts.state.oracle_guard_rails,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:855:17
[INFO] [stdout]     |
[INFO] [stdout] 855 |                 &ctx.accounts.state.fee_structure,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:914:13
[INFO] [stdout]     |
[INFO] [stdout] 914 |             &ctx.accounts.state.oracle_guard_rails.validity,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:926:13
[INFO] [stdout]     |
[INFO] [stdout] 926 |             &ctx.accounts.state.oracle_guard_rails.price_divergence,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:930:13
[INFO] [stdout]     |
[INFO] [stdout] 930 |             &ctx.accounts.state.oracle_guard_rails.price_divergence,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]    --> programs/clearing_house/src/lib.rs:971:13
[INFO] [stdout]     |
[INFO] [stdout] 971 |             &ctx.accounts.state.oracle_guard_rails,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]     --> programs/clearing_house/src/lib.rs:1292:13
[INFO] [stdout]      |
[INFO] [stdout] 1292 |             &ctx.accounts.state.oracle_guard_rails,
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]      = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]     --> programs/clearing_house/src/lib.rs:1392:21
[INFO] [stdout]      |
[INFO] [stdout] 1392 |                     &state.oracle_guard_rails.price_divergence,
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]      = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]     --> programs/clearing_house/src/lib.rs:1601:21
[INFO] [stdout]      |
[INFO] [stdout] 1601 |                     &state.oracle_guard_rails.price_divergence,
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]      = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]     --> programs/clearing_house/src/lib.rs:1903:37
[INFO] [stdout]      |
[INFO] [stdout] 1903 |         let oracle_validity_rails = &ctx.accounts.state.oracle_guard_rails;
[INFO] [stdout]      |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]      = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]     --> programs/clearing_house/src/lib.rs:2012:13
[INFO] [stdout]      |
[INFO] [stdout] 2012 |             &ctx.accounts.state.oracle_guard_rails.validity,
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]      = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to packed field is unaligned
[INFO] [stdout]     --> programs/clearing_house/src/lib.rs:2109:13
[INFO] [stdout]      |
[INFO] [stdout] 2109 |             &ctx.accounts.state.oracle_guard_rails,
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]      = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 33 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0793.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `clearing-house` (lib) due to 34 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "8cb9b5170cb8d6bbdad8c1a832652aebf8515a0d2462ecc6459991e505e78e09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cb9b5170cb8d6bbdad8c1a832652aebf8515a0d2462ecc6459991e505e78e09", kill_on_drop: false }`
[INFO] [stdout] 8cb9b5170cb8d6bbdad8c1a832652aebf8515a0d2462ecc6459991e505e78e09
