[INFO] cloning repository https://github.com/Ugoo-Labs/clearing_house [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ugoo-Labs/clearing_house" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUgoo-Labs%2Fclearing_house", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUgoo-Labs%2Fclearing_house'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f33ed1a8ea45b76d667b967d91a19c5b37b8aa42 [INFO] checking Ugoo-Labs/clearing_house/f33ed1a8ea45b76d667b967d91a19c5b37b8aa42 against master#9050733395f7c10560d49f549e022f411fa28cea for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUgoo-Labs%2Fclearing_house" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ugoo-Labs/clearing_house [INFO] finished tweaking git repo https://github.com/Ugoo-Labs/clearing_house [INFO] tweaked toml for git repo https://github.com/Ugoo-Labs/clearing_house written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ugoo-Labs/clearing_house on toolchain 9050733395f7c10560d49f549e022f411fa28cea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ugoo-Labs/clearing_house 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" "+9050733395f7c10560d49f549e022f411fa28cea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded candid_derive v0.10.17 [INFO] [stderr] Downloaded ic-ledger-types v0.15.0 [INFO] [stderr] Downloaded candid v0.10.17 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.2 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.10 [INFO] [stderr] Downloaded ic-stable-structures v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b326d012698823988e0eb212e7d41cdfdec70ecb68e0a109213fcb5b3341998 [INFO] running `Command { std: "docker" "start" "-a" "7b326d012698823988e0eb212e7d41cdfdec70ecb68e0a109213fcb5b3341998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b326d012698823988e0eb212e7d41cdfdec70ecb68e0a109213fcb5b3341998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b326d012698823988e0eb212e7d41cdfdec70ecb68e0a109213fcb5b3341998", kill_on_drop: false }` [INFO] [stdout] 7b326d012698823988e0eb212e7d41cdfdec70ecb68e0a109213fcb5b3341998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3467e30f5beca955d8964e030bf0a284235469925f0c35556a651092c72688ba [INFO] running `Command { std: "docker" "start" "-a" "3467e30f5beca955d8964e030bf0a284235469925f0c35556a651092c72688ba", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking ic0 v1.0.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.10.17 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ic-error-types v0.2.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ic-stable-structures v0.6.9 [INFO] [stderr] Checking ic-stable-structures v0.7.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking candid v0.10.17 [INFO] [stderr] Checking ic-management-canister-types v0.3.1 [INFO] [stderr] Checking icrc-cbor v0.1.0 [INFO] [stderr] Checking icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Checking ic-cdk v0.18.5 [INFO] [stderr] Checking ic-ledger-types v0.15.0 [INFO] [stderr] Checking ic-cdk-timers v0.12.2 [INFO] [stderr] Checking clearing_house v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `functions` [INFO] [stdout] --> src/asset_management/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod functions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `functions`, create file "src/asset_management/functions.rs" or "src/asset_management/functions/mod.rs" [INFO] [stdout] = note: if there is a `mod functions` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `functions` [INFO] [stdout] --> src/asset_management/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod functions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `functions`, create file "src/asset_management/functions.rs" or "src/asset_management/functions/mod.rs" [INFO] [stdout] = note: if there is a `mod functions` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::asset_management::asset_management` [INFO] [stdout] --> src/lib.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::asset_management::asset_management::AssetLedger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `asset_management` in `asset_management` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::asset_management::asset_management` [INFO] [stdout] --> src/house_settings.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::asset_management::asset_management::AssetLedger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `asset_management` in `asset_management` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::time` [INFO] [stdout] --> src/market/functions/collect_borrow_fees.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::api::time; [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 import: `crate::market::components::liquidity_state::HouseLiquidityState` [INFO] [stdout] --> src/market/functions/collect_borrow_fees.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::market::components::liquidity_state::HouseLiquidityState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_within_price_update_interval` [INFO] [stdout] --> src/open_position/open_position.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | is_within_price_update_interval, put_price_waiting_operation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::asset_management::asset_management` [INFO] [stdout] --> src/lib.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::asset_management::asset_management::AssetLedger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `asset_management` in `asset_management` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::asset_management::asset_management` [INFO] [stdout] --> src/house_settings.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::asset_management::asset_management::AssetLedger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `asset_management` in `asset_management` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::time` [INFO] [stdout] --> src/market/functions/collect_borrow_fees.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::api::time; [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 import: `crate::market::components::liquidity_state::HouseLiquidityState` [INFO] [stdout] --> src/market/functions/collect_borrow_fees.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::market::components::liquidity_state::HouseLiquidityState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_within_price_update_interval` [INFO] [stdout] --> src/open_position/open_position.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | is_within_price_update_interval, put_price_waiting_operation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration_in_secs` [INFO] [stdout] --> src/market/functions/collect_borrow_fees.rs:16:65 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn _collect_borrowing_fees_after_duration(&mut self, duration_in_secs: F) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_in_secs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clearing_house` (lib) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `duration_in_secs` [INFO] [stdout] --> src/market/functions/collect_borrow_fees.rs:16:65 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn _collect_borrowing_fees_after_duration(&mut self, duration_in_secs: F) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_in_secs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clearing_house` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3467e30f5beca955d8964e030bf0a284235469925f0c35556a651092c72688ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3467e30f5beca955d8964e030bf0a284235469925f0c35556a651092c72688ba", kill_on_drop: false }` [INFO] [stdout] 3467e30f5beca955d8964e030bf0a284235469925f0c35556a651092c72688ba