[INFO] cloning repository https://github.com/OakProtocolDev/OakProtocol
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OakProtocolDev/OakProtocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOakProtocolDev%2FOakProtocol", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOakProtocolDev%2FOakProtocol'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ea9f24c3a1260dd72bb2266c8fe1f4fc599a3572
[INFO] checking OakProtocolDev/OakProtocol against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOakProtocolDev%2FOakProtocol" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/OakProtocolDev/OakProtocol
[INFO] finished tweaking git repo https://github.com/OakProtocolDev/OakProtocol
[INFO] tweaked toml for git repo https://github.com/OakProtocolDev/OakProtocol written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/OakProtocolDev/OakProtocol on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/OakProtocolDev/OakProtocol already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking OakProtocolDev/OakProtocol against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOakProtocolDev%2FOakProtocol" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/OakProtocolDev/OakProtocol
[INFO] finished tweaking git repo https://github.com/OakProtocolDev/OakProtocol
[INFO] tweaked toml for git repo https://github.com/OakProtocolDev/OakProtocol written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/OakProtocolDev/OakProtocol on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/OakProtocolDev/OakProtocol already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded stylus-sdk v0.6.1
[INFO] [stderr]   Downloaded const-hex v1.17.0
[INFO] [stderr]   Downloaded stylus-proc v0.6.1
[INFO] [stderr]   Downloaded rand_xorshift v0.4.0
[INFO] [stderr]   Downloaded alloy-sol-macro-input v0.7.7
[INFO] [stderr]   Downloaded alloy-sol-types v0.7.6
[INFO] [stderr]   Downloaded alloy-sol-macro v0.7.7
[INFO] [stderr]   Downloaded alloy-rlp v0.3.13
[INFO] [stderr]   Downloaded mini-alloc v0.6.1
[INFO] [stderr]   Downloaded toml_datetime v1.0.0+spec-1.1.0
[INFO] [stderr]   Downloaded alloy-sol-macro-expander v0.7.7
[INFO] [stderr]   Downloaded syn-solidity v0.7.7
[INFO] [stderr]   Downloaded alloy-primitives v0.7.6
[INFO] [stderr]   Downloaded toml_edit v0.25.4+spec-1.1.0
[INFO] [stderr]   Downloaded pest v2.8.6
[INFO] [stderr]   Downloaded ruint v1.16.0
[INFO] [stderr]   Downloaded proptest v1.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9
[INFO] running `Command { std: "docker" "start" "f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling ruint-macro v1.2.1
[INFO] [stderr]    Compiling const-hex v1.17.0
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling hex-literal v0.4.1
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling keccak v0.1.6
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]     Checking mini-alloc v0.6.1
[INFO] [stderr]     Checking keccak-const v0.2.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling ruint v1.16.0
[INFO] [stderr]    Compiling syn v2.0.116
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling syn-solidity v0.7.7
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling alloy-primitives v0.7.6
[INFO] [stderr]    Compiling alloy-sol-macro-input v0.7.7
[INFO] [stderr]    Compiling alloy-sol-macro-expander v0.7.7
[INFO] [stderr]    Compiling alloy-sol-macro v0.7.7
[INFO] [stderr]    Compiling alloy-sol-types v0.7.6
[INFO] [stderr]    Compiling stylus-proc v0.6.1
[INFO] [stderr]     Checking stylus-sdk v0.6.1
[INFO] [stderr]     Checking oak-protocol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `prelude::public`
[INFO] [stdout]   --> src/logic.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     prelude::public,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BATCH_FEE_REBATE_BPS`, `COMMIT_REVEAL_DELAY`, `DEFAULT_FEE_BPS`, `INITIAL_FEE`, `LP_FEE_PCT`, `MAX_BATCH_POSITIONS`, `MAX_COMMITMENT_AGE`, `MAX_FEE_BPS`, `MAX_PATH_LENGTH`, `MINIMUM_LIQUIDITY`, `OWNER_TRANSFER_DELAY_BLOCKS`, `TREASURY_FEE_BPS`, `default_admin_role`, `emit_add_liquidity`, `emit_batch_positions_executed`, `emit_buyback_wallet_set`, `emit_cancel_commitment`, `emit_circuit_breaker_cleared`, `emit_close_position`, `emit_commit_swap`, `emit_flash_swap`, `emit_lp_transfer`, `emit_open_position`, `emit_order_cancelled`, `emit_order_executed`, `emit_order_placed`, `emit_owner_changed`, `emit_pause_changed`, `emit_pending_owner_set`, `emit_pool_created`, `emit_set_fee`, `emit_set_position_tp_sl`, `emit_set_position_trailing`, `emit_trailing_stop_triggered`, `emit_withdraw_treasury_fees`, `pausable::Pausable`, and `pauser_role`
[INFO] [stdout]   --> src/logic.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     access::{default_admin_role, pauser_role},
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 17 |     constants::{
[INFO] [stdout] 18 |         as_u256, q112_u256, BPS, BATCH_FEE_REBATE_BPS, CIRCUIT_BREAKER_IMPACT_BPS, COMMIT_REVEAL_DELAY,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |         DEFAULT_FEE_BPS, FEE_DENOMINATOR, GAS_REBATE_BPS, INITIAL_FEE, LP_FEE_PCT, MAX_BATCH_POSITIONS,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^                                   ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         MAX_COMMITMENT_AGE, MAX_FEE_BPS, MAX_PATH_LENGTH, MAX_TRADE_RESERVE_BPS, MINIMUM_LIQUIDITY,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |         OWNER_TRANSFER_DELAY_BLOCKS, TREASURY_FEE_BPS, BUYBACK_FEE_PCT, TREASURY_FEE_PCT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |         emit_add_liquidity, emit_buyback_wallet_set, emit_cancel_commitment, emit_circuit_breaker_cleared,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |         emit_circuit_breaker_triggered, emit_close_position, emit_commit_swap, emit_flash_swap,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |         emit_lp_transfer,         emit_open_position, emit_order_cancelled, emit_order_executed,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^          ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |         emit_order_placed, emit_owner_changed, emit_pause_changed, emit_pending_owner_set,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |         emit_batch_positions_executed, emit_pool_created, emit_reveal_swap, emit_set_fee,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                    ^^^^^^^^^^^^
[INFO] [stdout] 30 |         emit_set_position_tp_sl, emit_set_position_trailing, emit_trailing_stop_triggered,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 31 |         emit_withdraw_treasury_fees,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     },
[INFO] [stdout] 33 |     pausable::Pausable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::public`
[INFO] [stdout]   --> src/logic.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     prelude::public,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BATCH_FEE_REBATE_BPS`, `COMMIT_REVEAL_DELAY`, `INITIAL_FEE`, `MAX_BATCH_POSITIONS`, `MAX_COMMITMENT_AGE`, `MAX_FEE_BPS`, `MAX_PATH_LENGTH`, `MINIMUM_LIQUIDITY`, `OWNER_TRANSFER_DELAY_BLOCKS`, `TREASURY_FEE_BPS`, `default_admin_role`, `emit_add_liquidity`, `emit_batch_positions_executed`, `emit_buyback_wallet_set`, `emit_cancel_commitment`, `emit_circuit_breaker_cleared`, `emit_close_position`, `emit_commit_swap`, `emit_flash_swap`, `emit_lp_transfer`, `emit_open_position`, `emit_order_cancelled`, `emit_order_executed`, `emit_order_placed`, `emit_owner_changed`, `emit_pause_changed`, `emit_pending_owner_set`, `emit_pool_created`, `emit_set_fee`, `emit_set_position_tp_sl`, `emit_set_position_trailing`, `emit_trailing_stop_triggered`, `emit_withdraw_treasury_fees`, `pausable::Pausable`, and `pauser_role`
[INFO] [stdout]   --> src/logic.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     access::{default_admin_role, pauser_role},
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 17 |     constants::{
[INFO] [stdout] 18 |         as_u256, q112_u256, BPS, BATCH_FEE_REBATE_BPS, CIRCUIT_BREAKER_IMPACT_BPS, COMMIT_REVEAL_DELAY,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |         DEFAULT_FEE_BPS, FEE_DENOMINATOR, GAS_REBATE_BPS, INITIAL_FEE, LP_FEE_PCT, MAX_BATCH_POSITIONS,
[INFO] [stdout]    |                                                           ^^^^^^^^^^^              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         MAX_COMMITMENT_AGE, MAX_FEE_BPS, MAX_PATH_LENGTH, MAX_TRADE_RESERVE_BPS, MINIMUM_LIQUIDITY,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |         OWNER_TRANSFER_DELAY_BLOCKS, TREASURY_FEE_BPS, BUYBACK_FEE_PCT, TREASURY_FEE_PCT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |         emit_add_liquidity, emit_buyback_wallet_set, emit_cancel_commitment, emit_circuit_breaker_cleared,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |         emit_circuit_breaker_triggered, emit_close_position, emit_commit_swap, emit_flash_swap,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |         emit_lp_transfer,         emit_open_position, emit_order_cancelled, emit_order_executed,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^          ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |         emit_order_placed, emit_owner_changed, emit_pause_changed, emit_pending_owner_set,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |         emit_batch_positions_executed, emit_pool_created, emit_reveal_swap, emit_set_fee,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                    ^^^^^^^^^^^^
[INFO] [stdout] 30 |         emit_set_position_tp_sl, emit_set_position_trailing, emit_trailing_stop_triggered,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 31 |         emit_withdraw_treasury_fees,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     },
[INFO] [stdout] 33 |     pausable::Pausable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `only_owner` is never used
[INFO] [stdout]   --> src/logic.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn only_owner(owner: Address) -> OakResult<()> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `order_id_to_address` is never used
[INFO] [stdout]    --> src/logic.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn order_id_to_address(order_id: U256) -> Address {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `position_id_to_address` is never used
[INFO] [stdout]    --> src/logic.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn position_id_to_address(position_id: U256) -> Address {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_swap_from_to` is never used
[INFO] [stdout]    --> src/logic.rs:386:4
[INFO] [stdout]     |
[INFO] [stdout] 386 | fn process_swap_from_to(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_swap` is never used
[INFO] [stdout]    --> src/logic.rs:402:4
[INFO] [stdout]     |
[INFO] [stdout] 402 | fn process_swap(
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHAIN_ID_ARBITRUM_ONE` is never used
[INFO] [stdout]    --> src/logic.rs:423:7
[INFO] [stdout]     |
[INFO] [stdout] 423 | const CHAIN_ID_ARBITRUM_ONE: u64 = 42161;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `permit_swap_type_hash` is never used
[INFO] [stdout]    --> src/logic.rs:435:4
[INFO] [stdout]     |
[INFO] [stdout] 435 | fn permit_swap_type_hash() -> FixedBytes<32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_permit_swap_digest` is never used
[INFO] [stdout]    --> src/logic.rs:504:4
[INFO] [stdout]     |
[INFO] [stdout] 504 | fn compute_permit_swap_digest(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u256_sqrt` is never used
[INFO] [stdout]    --> src/logic.rs:696:4
[INFO] [stdout]     |
[INFO] [stdout] 696 | fn u256_sqrt(x: U256) -> U256 {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRICE_PRECISION` is never used
[INFO] [stdout]   --> src/vault.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const PRICE_PRECISION: u64 = 1_000_000_000_000_000_000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `only_owner` is never used
[INFO] [stdout]   --> src/logic.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn only_owner(owner: Address) -> OakResult<()> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `order_id_to_address` is never used
[INFO] [stdout]    --> src/logic.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn order_id_to_address(order_id: U256) -> Address {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `position_id_to_address` is never used
[INFO] [stdout]    --> src/logic.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn position_id_to_address(position_id: U256) -> Address {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_swap_from_to` is never used
[INFO] [stdout]    --> src/logic.rs:386:4
[INFO] [stdout]     |
[INFO] [stdout] 386 | fn process_swap_from_to(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_swap` is never used
[INFO] [stdout]    --> src/logic.rs:402:4
[INFO] [stdout]     |
[INFO] [stdout] 402 | fn process_swap(
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHAIN_ID_ARBITRUM_ONE` is never used
[INFO] [stdout]    --> src/logic.rs:423:7
[INFO] [stdout]     |
[INFO] [stdout] 423 | const CHAIN_ID_ARBITRUM_ONE: u64 = 42161;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `permit_swap_type_hash` is never used
[INFO] [stdout]    --> src/logic.rs:435:4
[INFO] [stdout]     |
[INFO] [stdout] 435 | fn permit_swap_type_hash() -> FixedBytes<32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_permit_swap_digest` is never used
[INFO] [stdout]    --> src/logic.rs:504:4
[INFO] [stdout]     |
[INFO] [stdout] 504 | fn compute_permit_swap_digest(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u256_sqrt` is never used
[INFO] [stdout]    --> src/logic.rs:696:4
[INFO] [stdout]     |
[INFO] [stdout] 696 | fn u256_sqrt(x: U256) -> U256 {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRICE_PRECISION` is never used
[INFO] [stdout]   --> src/vault.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const PRICE_PRECISION: u64 = 1_000_000_000_000_000_000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `reserve_sol_2` is never read
[INFO] [stdout]   --> tests/router_integration_tests.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     reserve_sol_2 = reserve_sol_2 - amount_sol_out;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `user_oak` is never read
[INFO] [stdout]   --> tests/router_integration_tests.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     user_oak = user_oak - amount_oak_out;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `addr` is never used
[INFO] [stdout]   --> tests/router_integration_tests.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn addr(id: u8) -> Address {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.04s
[INFO] running `Command { std: "docker" "inspect" "f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9", kill_on_drop: false }`
[INFO] [stdout] f82a880d6687af76beca407964d36f68daad1484d42c64b07ef638d5e5bdfad9
