[INFO] cloning repository https://github.com/Sure-Protocol/sure-v1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sure-Protocol/sure-v1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSure-Protocol%2Fsure-v1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSure-Protocol%2Fsure-v1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 91af293fac2af4e0cfe38398cf720f1cea3295ab
[INFO] testing Sure-Protocol/sure-v1 against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSure-Protocol%2Fsure-v1" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Sure-Protocol/sure-v1 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Sure-Protocol/sure-v1
[INFO] finished tweaking git repo https://github.com/Sure-Protocol/sure-v1
[INFO] tweaked toml for git repo https://github.com/Sure-Protocol/sure-v1 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Sure-Protocol/sure-v1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d64c14188e4da6134c8fb4ea46c031d845e31b0ffcf4b0b5e63a1afc9511846
[INFO] running `Command { std: "docker" "start" "-a" "3d64c14188e4da6134c8fb4ea46c031d845e31b0ffcf4b0b5e63a1afc9511846", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d64c14188e4da6134c8fb4ea46c031d845e31b0ffcf4b0b5e63a1afc9511846", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d64c14188e4da6134c8fb4ea46c031d845e31b0ffcf4b0b5e63a1afc9511846", kill_on_drop: false }`
[INFO] [stdout] 3d64c14188e4da6134c8fb4ea46c031d845e31b0ffcf4b0b5e63a1afc9511846
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d9c5df35d190ce3c560f3987a79dd31ec596c78a83e6ae69a9dc019680397c2
[INFO] running `Command { std: "docker" "start" "-a" "5d9c5df35d190ce3c560f3987a79dd31ec596c78a83e6ae69a9dc019680397c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[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.122
[INFO] [stderr]    Compiling block-padding v0.2.1
[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 anyhow v1.0.56
[INFO] [stderr]    Compiling semver v1.0.7
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.80
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling bumpalo v3.9.1
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling wasm-bindgen v0.2.80
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling uint v0.9.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling memmap2 v0.5.3
[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 blake3 v1.3.1
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling rand v0.7.3
[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-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.80
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling bytemuck_derive v1.1.0
[INFO] [stderr]    Compiling solana-sdk-macro v1.9.18
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.80
[INFO] [stderr]    Compiling bytemuck v1.9.1
[INFO] [stderr]    Compiling thiserror v1.0.30
[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 shank_macro_impl v0.0.2
[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 sha2 v0.9.9
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling shank_macro v0.0.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[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-derive v0.9.3
[INFO] [stderr]    Compiling num_enum_derive v0.5.7
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling shank v0.0.2
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling num_enum v0.5.7
[INFO] [stderr]    Compiling anchor-attribute-program v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-event 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-state v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-error v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-interface v0.24.2
[INFO] [stderr]    Compiling anchor-derive-accounts v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-constant v0.24.2
[INFO] [stderr]    Compiling spl-token v3.2.0
[INFO] [stderr]    Compiling anchor-lang v0.24.2
[INFO] [stderr]    Compiling spl-associated-token-account v1.0.3
[INFO] [stderr]    Compiling mpl-token-vault v0.1.1
[INFO] [stderr]    Compiling anchor-spl v0.24.2
[INFO] [stderr]    Compiling vipers v2.0.4
[INFO] [stderr]    Compiling mpl-token-metadata v1.2.10
[INFO] [stderr]    Compiling sure-pool v0.0.1 (/opt/rustwide/workdir/programs/pool)
[INFO] [stdout] warning: unused imports: `InsuranceTickContract`, `PoolInsuranceContract`, `TickTrait`, `self`
[INFO] [stdout]  --> programs/pool/src/context.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     contract::{InsuranceTickContract,PoolInsuranceContract},
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     liquidity::{self, LiquidityPosition},
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 |     tick::{Tick, TickTrait},
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `associated_token::AssociatedToken`
[INFO] [stdout]   --> programs/pool/src/context.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     associated_token::AssociatedToken,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/context.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> programs/pool/src/states/bitmap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/states/contract.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/states/liquidity.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solana_program::account_info::Account`
[INFO] [stdout]  --> programs/pool/src/states/pool.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_lang::{prelude::*, solana_program::account_info::Account};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word_pos`
[INFO] [stdout]   --> programs/pool/src/states/bitmap.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let Position { word_pos, bit_pos } = position(tick_ratio);
[INFO] [stdout]    |                        ^^^^^^^^ help: try ignoring the field: `word_pos: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_change`
[INFO] [stdout]    --> programs/pool/src/states/contract.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |             let amount_change = new_insured_amount - self.insured_amount;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_change`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tick_pos`
[INFO] [stdout]    --> programs/pool/src/lib.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |         tick_pos: u64,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SURE_TIME_LOCK_IN_SECONDS` is never used
[INFO] [stdout]   --> programs/pool/src/states/contract.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | const SURE_TIME_LOCK_IN_SECONDS: u64 = solana_program::clock::SECONDS_PER_DAY;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `percentage_liquidity_used` is never used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:435:8
[INFO] [stdout]     |
[INFO] [stdout] 435 |     fn percentage_liquidity_used(&self, idx: usize) -> Result<f64, TickError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_remaining_liquidity` is never used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 |     fn get_remaining_liquidity(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:297:9
[INFO] [stdout]     |
[INFO] [stdout] 297 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:362:9
[INFO] [stdout]     |
[INFO] [stdout] 362 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 24s
[INFO] running `Command { std: "docker" "inspect" "5d9c5df35d190ce3c560f3987a79dd31ec596c78a83e6ae69a9dc019680397c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d9c5df35d190ce3c560f3987a79dd31ec596c78a83e6ae69a9dc019680397c2", kill_on_drop: false }`
[INFO] [stdout] 5d9c5df35d190ce3c560f3987a79dd31ec596c78a83e6ae69a9dc019680397c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba23d7f61ff6b550f556d98f7f34a4185ab186e5eb19095a3e481fbe08fe5f0e
[INFO] running `Command { std: "docker" "start" "-a" "ba23d7f61ff6b550f556d98f7f34a4185ab186e5eb19095a3e481fbe08fe5f0e", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stdout] warning: unused imports: `InsuranceTickContract`, `PoolInsuranceContract`, `TickTrait`, `self`
[INFO] [stdout]  --> programs/pool/src/context.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     contract::{InsuranceTickContract,PoolInsuranceContract},
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     liquidity::{self, LiquidityPosition},
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 |     tick::{Tick, TickTrait},
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `associated_token::AssociatedToken`
[INFO] [stdout]   --> programs/pool/src/context.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     associated_token::AssociatedToken,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/context.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> programs/pool/src/states/bitmap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/states/contract.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/states/liquidity.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solana_program::account_info::Account`
[INFO] [stdout]  --> programs/pool/src/states/pool.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_lang::{prelude::*, solana_program::account_info::Account};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word_pos`
[INFO] [stdout]   --> programs/pool/src/states/bitmap.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let Position { word_pos, bit_pos } = position(tick_ratio);
[INFO] [stdout]    |                        ^^^^^^^^ help: try ignoring the field: `word_pos: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_change`
[INFO] [stdout]    --> programs/pool/src/states/contract.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |             let amount_change = new_insured_amount - self.insured_amount;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_change`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tick_pos`
[INFO] [stdout]    --> programs/pool/src/lib.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |         tick_pos: u64,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SURE_TIME_LOCK_IN_SECONDS` is never used
[INFO] [stdout]   --> programs/pool/src/states/contract.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | const SURE_TIME_LOCK_IN_SECONDS: u64 = solana_program::clock::SECONDS_PER_DAY;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `percentage_liquidity_used` is never used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:435:8
[INFO] [stdout]     |
[INFO] [stdout] 435 |     fn percentage_liquidity_used(&self, idx: usize) -> Result<f64, TickError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_remaining_liquidity` is never used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 |     fn get_remaining_liquidity(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:297:9
[INFO] [stdout]     |
[INFO] [stdout] 297 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sure-pool v0.0.1 (/opt/rustwide/workdir/programs/pool)
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:362:9
[INFO] [stdout]     |
[INFO] [stdout] 362 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InsuranceTickContract`, `PoolInsuranceContract`, `TickTrait`, `self`
[INFO] [stdout]  --> programs/pool/src/context.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     contract::{InsuranceTickContract,PoolInsuranceContract},
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     liquidity::{self, LiquidityPosition},
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 |     tick::{Tick, TickTrait},
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `associated_token::AssociatedToken`
[INFO] [stdout]   --> programs/pool/src/context.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     associated_token::AssociatedToken,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/context.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> programs/pool/src/states/bitmap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/states/contract.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_is_ata`
[INFO] [stdout]   --> programs/pool/src/states/liquidity.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solana_program::account_info::Account`
[INFO] [stdout]  --> programs/pool/src/states/pool.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_lang::{prelude::*, solana_program::account_info::Account};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word_pos`
[INFO] [stdout]   --> programs/pool/src/states/bitmap.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let Position { word_pos, bit_pos } = position(tick_ratio);
[INFO] [stdout]    |                        ^^^^^^^^ help: try ignoring the field: `word_pos: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_change`
[INFO] [stdout]    --> programs/pool/src/states/contract.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |             let amount_change = new_insured_amount - self.insured_amount;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_change`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remove_insurance_2`
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:620:13
[INFO] [stdout]     |
[INFO] [stdout] 620 |         let remove_insurance_2 = tick.remove_liquidity(244);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_insurance_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tick_pos`
[INFO] [stdout]    --> programs/pool/src/lib.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |         tick_pos: u64,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:541:9
[INFO] [stdout]     |
[INFO] [stdout] 541 |         assert_eq!(tick.liquidity_position_accumulated[idx], 1000);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unaligned_references)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:542:39
[INFO] [stdout]     |
[INFO] [stdout] 542 |         println!("accumulated: {:?}", tick.liquidity_position_accumulated);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:543:32
[INFO] [stdout]     |
[INFO] [stdout] 543 |         println!("cool: {:?}", tick.liquidity_position_accumulated[idx + 1]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:547:13
[INFO] [stdout]     |
[INFO] [stdout] 547 |             tick.liquidity_position_accumulated
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:559:41
[INFO] [stdout]     |
[INFO] [stdout] 559 |         println!("liquidity pos: {:?}", tick.liquidity_position_accumulated);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:561:9
[INFO] [stdout]     |
[INFO] [stdout] 561 |         assert_eq!(tick.liquidity, 1_000);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:562:9
[INFO] [stdout]     |
[INFO] [stdout] 562 |         assert_eq!(tick.liquidity_position_accumulated[0], 1_000);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 564 |         assert_eq!(tick.liquidity_position_rewards[0], 0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:573:9
[INFO] [stdout]     |
[INFO] [stdout] 573 |         assert_eq!(tick.liquidity, 0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:574:9
[INFO] [stdout]     |
[INFO] [stdout] 574 |         assert_eq!(tick.liquidity_position_accumulated[0], 0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:576:9
[INFO] [stdout]     |
[INFO] [stdout] 576 |         assert_eq!(tick.liquidity_position_rewards[0], 0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:587:41
[INFO] [stdout]     |
[INFO] [stdout] 587 |         println!("liquidity pos: {:?}", tick.liquidity_position_accumulated);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:589:9
[INFO] [stdout]     |
[INFO] [stdout] 589 |         assert_eq!(tick.liquidity, 1_000);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:590:9
[INFO] [stdout]     |
[INFO] [stdout] 590 |         assert_eq!(tick.liquidity_position_accumulated[0], 1_000);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:592:9
[INFO] [stdout]     |
[INFO] [stdout] 592 |         assert_eq!(tick.liquidity_position_rewards[0], 0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:596:9
[INFO] [stdout]     |
[INFO] [stdout] 596 |         assert_eq!(tick.used_liquidity, 1_000);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:605:9
[INFO] [stdout]     |
[INFO] [stdout] 605 |         assert_eq!(tick.used_liquidity, 1_000);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:617:9
[INFO] [stdout]     |
[INFO] [stdout] 617 |         assert_eq!(tick.used_liquidity, 1_000 - 500);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:637:9
[INFO] [stdout]     |
[INFO] [stdout] 637 |         assert_eq!(tick.used_liquidity, new_insurance_amount);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[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 warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SURE_TIME_LOCK_IN_SECONDS` is never used
[INFO] [stdout]   --> programs/pool/src/states/contract.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | const SURE_TIME_LOCK_IN_SECONDS: u64 = solana_program::clock::SECONDS_PER_DAY;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `percentage_liquidity_used` is never used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:435:8
[INFO] [stdout]     |
[INFO] [stdout] 435 |     fn percentage_liquidity_used(&self, idx: usize) -> Result<f64, TickError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_remaining_liquidity` is never used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 |     fn get_remaining_liquidity(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:297:9
[INFO] [stdout]     |
[INFO] [stdout] 297 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:362:9
[INFO] [stdout]     |
[INFO] [stdout] 362 |         self.update_callback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> programs/pool/src/states/tick.rs:566:9
[INFO] [stdout]     |
[INFO] [stdout] 566 |         tick.increase_rewards();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 7.96s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sure-pool v0.0.1 (/opt/rustwide/workdir/programs/pool)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "ba23d7f61ff6b550f556d98f7f34a4185ab186e5eb19095a3e481fbe08fe5f0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba23d7f61ff6b550f556d98f7f34a4185ab186e5eb19095a3e481fbe08fe5f0e", kill_on_drop: false }`
[INFO] [stdout] ba23d7f61ff6b550f556d98f7f34a4185ab186e5eb19095a3e481fbe08fe5f0e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 381338acbabd37669bf46308c6f7c74d0d633e666d929edfc2e5be8a222cb99e
[INFO] running `Command { std: "docker" "start" "-a" "381338acbabd37669bf46308c6f7c74d0d633e666d929edfc2e5be8a222cb99e", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `InsuranceTickContract`, `PoolInsuranceContract`, `TickTrait`, `self`
[INFO] [stderr]  --> programs/pool/src/context.rs:3:16
[INFO] [stderr]   |
[INFO] [stderr] 3 |     contract::{InsuranceTickContract,PoolInsuranceContract},
[INFO] [stderr]   |                ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 4 |     liquidity::{self, LiquidityPosition},
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 7 |     tick::{Tick, TickTrait},
[INFO] [stderr]   |                  ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `associated_token::AssociatedToken`
[INFO] [stderr]   --> programs/pool/src/context.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     associated_token::AssociatedToken,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `assert_is_ata`
[INFO] [stderr]   --> programs/pool/src/context.rs:17:14
[INFO] [stderr]    |
[INFO] [stderr] 17 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stderr]    |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io`
[INFO] [stderr]  --> programs/pool/src/states/bitmap.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `assert_is_ata`
[INFO] [stderr]   --> programs/pool/src/states/contract.rs:17:14
[INFO] [stderr]    |
[INFO] [stderr] 17 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stderr]    |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `assert_is_ata`
[INFO] [stderr]   --> programs/pool/src/states/liquidity.rs:18:14
[INFO] [stderr]    |
[INFO] [stderr] 18 | use vipers::{assert_is_ata, prelude::*};
[INFO] [stderr]    |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `solana_program::account_info::Account`
[INFO] [stderr]  --> programs/pool/src/states/pool.rs:2:31
[INFO] [stderr]   |
[INFO] [stderr] 2 | use anchor_lang::{prelude::*, solana_program::account_info::Account};
[INFO] [stderr]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `word_pos`
[INFO] [stderr]   --> programs/pool/src/states/bitmap.rs:66:24
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let Position { word_pos, bit_pos } = position(tick_ratio);
[INFO] [stderr]    |                        ^^^^^^^^ help: try ignoring the field: `word_pos: _`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `amount_change`
[INFO] [stderr]    --> programs/pool/src/states/contract.rs:180:17
[INFO] [stderr]     |
[INFO] [stderr] 180 |             let amount_change = new_insured_amount - self.insured_amount;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_change`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tick_pos`
[INFO] [stderr]    --> programs/pool/src/lib.rs:213:9
[INFO] [stderr]     |
[INFO] [stderr] 213 |         tick_pos: u64,
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_pos`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `SURE_TIME_LOCK_IN_SECONDS` is never used
[INFO] [stderr]   --> programs/pool/src/states/contract.rs:22:1
[INFO] [stderr]    |
[INFO] [stderr] 22 | const SURE_TIME_LOCK_IN_SECONDS: u64 = solana_program::clock::SECONDS_PER_DAY;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `percentage_liquidity_used` is never used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:435:8
[INFO] [stderr]     |
[INFO] [stderr] 435 |     fn percentage_liquidity_used(&self, idx: usize) -> Result<f64, TickError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get_remaining_liquidity` is never used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:465:8
[INFO] [stderr]     |
[INFO] [stderr] 465 |     fn get_remaining_liquidity(&self) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:155:9
[INFO] [stderr]     |
[INFO] [stderr] 155 |         self.update_callback();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:172:9
[INFO] [stderr]     |
[INFO] [stderr] 172 |         self.update_callback();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:206:9
[INFO] [stderr]     |
[INFO] [stderr] 206 |         self.update_callback();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:256:9
[INFO] [stderr]     |
[INFO] [stderr] 256 |         self.update_callback();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:297:9
[INFO] [stderr]     |
[INFO] [stderr] 297 |         self.update_callback();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:312:9
[INFO] [stderr]     |
[INFO] [stderr] 312 |         self.update_callback();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:362:9
[INFO] [stderr]     |
[INFO] [stderr] 362 |         self.update_callback();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `remove_insurance_2`
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:620:13
[INFO] [stderr]     |
[INFO] [stderr] 620 |         let remove_insurance_2 = tick.remove_liquidity(244);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_insurance_2`
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:541:9
[INFO] [stderr]     |
[INFO] [stderr] 541 |         assert_eq!(tick.liquidity_position_accumulated[idx], 1000);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unaligned_references)]` on by default
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:542:39
[INFO] [stderr]     |
[INFO] [stderr] 542 |         println!("accumulated: {:?}", tick.liquidity_position_accumulated);
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:543:32
[INFO] [stderr]     |
[INFO] [stderr] 543 |         println!("cool: {:?}", tick.liquidity_position_accumulated[idx + 1]);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:547:13
[INFO] [stderr]     |
[INFO] [stderr] 547 |             tick.liquidity_position_accumulated
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:559:41
[INFO] [stderr]     |
[INFO] [stderr] 559 |         println!("liquidity pos: {:?}", tick.liquidity_position_accumulated);
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:561:9
[INFO] [stderr]     |
[INFO] [stderr] 561 |         assert_eq!(tick.liquidity, 1_000);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:562:9
[INFO] [stderr]     |
[INFO] [stderr] 562 |         assert_eq!(tick.liquidity_position_accumulated[0], 1_000);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:564:9
[INFO] [stderr]     |
[INFO] [stderr] 564 |         assert_eq!(tick.liquidity_position_rewards[0], 0);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:573:9
[INFO] [stderr]     |
[INFO] [stderr] 573 |         assert_eq!(tick.liquidity, 0);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:574:9
[INFO] [stderr]     |
[INFO] [stderr] 574 |         assert_eq!(tick.liquidity_position_accumulated[0], 0);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:576:9
[INFO] [stderr]     |
[INFO] [stderr] 576 |         assert_eq!(tick.liquidity_position_rewards[0], 0);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:587:41
[INFO] [stderr]     |
[INFO] [stderr] 587 |         println!("liquidity pos: {:?}", tick.liquidity_position_accumulated);
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:589:9
[INFO] [stderr]     |
[INFO] [stderr] 589 |         assert_eq!(tick.liquidity, 1_000);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:590:9
[INFO] [stderr]     |
[INFO] [stderr] 590 |         assert_eq!(tick.liquidity_position_accumulated[0], 1_000);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:592:9
[INFO] [stderr]     |
[INFO] [stderr] 592 |         assert_eq!(tick.liquidity_position_rewards[0], 0);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:596:9
[INFO] [stderr]     |
[INFO] [stderr] 596 |         assert_eq!(tick.used_liquidity, 1_000);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:605:9
[INFO] [stderr]     |
[INFO] [stderr] 605 |         assert_eq!(tick.used_liquidity, 1_000);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:617:9
[INFO] [stderr]     |
[INFO] [stderr] 617 |         assert_eq!(tick.used_liquidity, 1_000 - 500);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:637:9
[INFO] [stderr]     |
[INFO] [stderr] 637 |         assert_eq!(tick.used_liquidity, new_insurance_amount);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> programs/pool/src/states/tick.rs:566:9
[INFO] [stderr]     |
[INFO] [stderr] 566 |         tick.increase_rewards();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: `sure-pool` (lib) generated 20 warnings
[INFO] [stderr] warning: `sure-pool` (lib test) generated 41 warnings (20 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sure-pool v0.0.1 (/opt/rustwide/workdir/programs/pool)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sure_pool-46a5c03f4054eb99)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test utils::bitmap::tests::test_me ... ok
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test states::tick::tests::add_and_buy_insurance ... ok
[INFO] [stdout] test states::tick::tests::add_remove_liquidity ... ok
[INFO] [stdout] test states::tick::tests::shift_position ... ok
[INFO] [stderr] error: test failed, to rerun pass '--lib'
[INFO] [stdout] test states::tick::tests::generate_rewards ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- states::tick::tests::generate_rewards stdout ----
[INFO] [stdout] Error is what: Unsupported sysvar
[INFO] [stdout] Error is what: Unsupported sysvar
[INFO] [stdout] Error is what: Unsupported sysvar
[INFO] [stdout] thread 'states::tick::tests::generate_rewards' panicked at 'called `Result::unwrap()` on an `Err` value: CouldNotGetTickTimestamp', programs/pool/src/states/tick.rs:640:33
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x564131c0b61d - std::backtrace_rs::backtrace::libunwind::trace::ha6f17a0190089cf8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x564131c0b61d - std::backtrace_rs::backtrace::trace_unsynchronized::h205a094224eb7f22
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x564131c0b61d - std::sys_common::backtrace::_print_fmt::hbb8cd76c874438ae
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x564131c0b61d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5140749f24499626
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x564131c2e10c - core::fmt::write::hb44ee394505bd6f8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/fmt/mod.rs:1197:17
[INFO] [stdout]    5:     0x564131c08071 - std::io::Write::write_fmt::hb4e0ebb2e17fda58
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/io/mod.rs:1672:15
[INFO] [stdout]    6:     0x564131c0d095 - std::sys_common::backtrace::_print::hf34a8184c9680f98
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x564131c0d095 - std::sys_common::backtrace::print::h6e6ffb9f69520522
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x564131c0d095 - std::panicking::default_hook::{{closure}}::h4a6ce615e72f69df
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x564131c0cd39 - std::panicking::default_hook::hcd4065ac7e0beae0
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x564131c0d626 - std::panicking::rust_panic_with_hook::h847d34d7b69cdb65
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x564131c0d517 - std::panicking::begin_panic_handler::{{closure}}::hb575030271dff76d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:588:13
[INFO] [stdout]   12:     0x564131c0bad4 - std::sys_common::backtrace::__rust_end_short_backtrace::hb71757678eb2a6c2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x564131c0d249 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:584:5
[INFO] [stdout]   14:     0x564131b92363 - core::panicking::panic_fmt::hf7d085e9fd9dc429
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panicking.rs:142:14
[INFO] [stdout]   15:     0x564131b92453 - core::result::unwrap_failed::h861592d95cb72a77
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/result.rs:1805:5
[INFO] [stdout]   16:     0x564131b927c5 - core::result::Result<T,E>::unwrap::h77c00f3bf732cdca
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/result.rs:1098:23
[INFO] [stdout]   17:     0x564131b985a3 - sure_pool::states::tick::tests::generate_rewards::h9cee0e3d4b480deb
[INFO] [stdout]                                at /opt/rustwide/workdir/programs/pool/src/states/tick.rs:640:9
[INFO] [stdout]   18:     0x564131b9840a - sure_pool::states::tick::tests::generate_rewards::{{closure}}::h023f01491142065f
[INFO] [stdout]                                at /opt/rustwide/workdir/programs/pool/src/states/tick.rs:626:5
[INFO] [stdout]   19:     0x564131b92ffe - core::ops::function::FnOnce::call_once::h5a5a1c79d6a64d13
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   20:     0x564131bd42c3 - core::ops::function::FnOnce::call_once::he7ad2b4dde46c720
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   21:     0x564131bd42c3 - test::__rust_begin_short_backtrace::h857d05f9709ec1f3
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:572:5
[INFO] [stdout]   22:     0x564131bd30ba - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc3a5608ef45a8da8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   23:     0x564131bd30ba - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hccaecb576373f779
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   24:     0x564131bd30ba - std::panicking::try::do_call::h8eab667553f676ef
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:492:40
[INFO] [stdout]   25:     0x564131bd30ba - std::panicking::try::h13522e8b44ab5e4e
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:456:19
[INFO] [stdout]   26:     0x564131bd30ba - std::panic::catch_unwind::h1f79c673bef37a0c
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panic.rs:137:14
[INFO] [stdout]   27:     0x564131bd30ba - test::run_test_in_process::hfecf104ace99bc2f
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:595:18
[INFO] [stdout]   28:     0x564131bd30ba - test::run_test::run_test_inner::{{closure}}::h21828c2a3f5cb92f
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:489:39
[INFO] [stdout]   29:     0x564131b9f59d - test::run_test::run_test_inner::{{closure}}::hecfe67302276722b
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:516:37
[INFO] [stdout]   30:     0x564131b9f59d - std::sys_common::backtrace::__rust_begin_short_backtrace::ha2c0c8e2f25fd64d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   31:     0x564131ba4f18 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc523fe96d9d2b387
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/mod.rs:505:17
[INFO] [stdout]   32:     0x564131ba4f18 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb145ac919bb97016
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   33:     0x564131ba4f18 - std::panicking::try::do_call::ha985e270f2d947ea
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:492:40
[INFO] [stdout]   34:     0x564131ba4f18 - std::panicking::try::h030316f2f0d133d0
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:456:19
[INFO] [stdout]   35:     0x564131ba4f18 - std::panic::catch_unwind::h231053aff97815f2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panic.rs:137:14
[INFO] [stdout]   36:     0x564131ba4f18 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc596aa71cda6c5a6
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/mod.rs:504:30
[INFO] [stdout]   37:     0x564131ba4f18 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb0ff2925e9add919
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   38:     0x564131c11dd3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hb11cb820f158651d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   39:     0x564131c11dd3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h357cd5c6b7203d32
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   40:     0x564131c11dd3 - std::sys::unix::thread::Thread::new::thread_start::hcf74ef6fcb7b805a
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   41:     0x7f3007016609 - start_thread
[INFO] [stdout]   42:     0x7f3006de6133 - clone
[INFO] [stdout]   43:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     states::tick::tests::generate_rewards
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "381338acbabd37669bf46308c6f7c74d0d633e666d929edfc2e5be8a222cb99e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "381338acbabd37669bf46308c6f7c74d0d633e666d929edfc2e5be8a222cb99e", kill_on_drop: false }`
[INFO] [stdout] 381338acbabd37669bf46308c6f7c74d0d633e666d929edfc2e5be8a222cb99e
