[INFO] fetching crate daa-economy 0.2.1... [INFO] checking daa-economy-0.2.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate daa-economy 0.2.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate daa-economy 0.2.1 [INFO] finished tweaking crates.io crate daa-economy 0.2.1 [INFO] tweaked toml for crates.io crate daa-economy 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate daa-economy 0.2.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate daa-economy 0.2.1 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20a68c6e7adfdd817453786699fa2607342f3abdee7eb53c322a4a7cce8a3299 [INFO] running `Command { std: "docker" "start" "-a" "20a68c6e7adfdd817453786699fa2607342f3abdee7eb53c322a4a7cce8a3299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20a68c6e7adfdd817453786699fa2607342f3abdee7eb53c322a4a7cce8a3299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a68c6e7adfdd817453786699fa2607342f3abdee7eb53c322a4a7cce8a3299", kill_on_drop: false }` [INFO] [stdout] 20a68c6e7adfdd817453786699fa2607342f3abdee7eb53c322a4a7cce8a3299 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89f4ecea220430457e393ff00e28c5d40ccc8f0637d6c075dd84bc59242cc9df [INFO] running `Command { std: "docker" "start" "-a" "89f4ecea220430457e393ff00e28c5d40ccc8f0637d6c075dd84bc59242cc9df", kill_on_drop: false }` [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking daa-economy v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `MarketData` in the current scope [INFO] [stdout] --> src/optimization.rs:613:40 [INFO] [stdout] | [INFO] [stdout] 613 | let mut btc_data = MarketData::new("BTC".to_string()); [INFO] [stdout] | ^^^ function or associated item not found in `MarketData` [INFO] [stdout] | [INFO] [stdout] ::: src/market.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MarketData { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PricePoint` in the current scope [INFO] [stdout] --> src/optimization.rs:614:46 [INFO] [stdout] | [INFO] [stdout] 614 | btc_data.add_price_point(PricePoint::new(dec!(50000.0), dec!(100.0))); [INFO] [stdout] | ^^^ function or associated item not found in `PricePoint` [INFO] [stdout] | [INFO] [stdout] ::: src/market.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct PricePoint { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PricePoint` in the current scope [INFO] [stdout] --> src/optimization.rs:615:46 [INFO] [stdout] | [INFO] [stdout] 615 | btc_data.add_price_point(PricePoint::new(dec!(52000.0), dec!(110.0))); [INFO] [stdout] | ^^^ function or associated item not found in `PricePoint` [INFO] [stdout] | [INFO] [stdout] ::: src/market.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct PricePoint { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `market::MarketAnalyzer` in the current scope [INFO] [stdout] --> src/lib.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | let market_analyzer = MarketAnalyzer::new(); [INFO] [stdout] | ^^^ function or associated item not found in `market::MarketAnalyzer` [INFO] [stdout] | [INFO] [stdout] ::: src/market.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct MarketAnalyzer { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `market::MarketAnalyzer` in the current scope [INFO] [stdout] --> src/lib.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let mut market_analyzer = MarketAnalyzer::new(); [INFO] [stdout] | ^^^ function or associated item not found in `market::MarketAnalyzer` [INFO] [stdout] | [INFO] [stdout] ::: src/market.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct MarketAnalyzer { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `MarketData` in the current scope [INFO] [stdout] --> src/lib.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | let mut btc_data = market::MarketData::new("BTC".to_string()); [INFO] [stdout] | ^^^ function or associated item not found in `MarketData` [INFO] [stdout] | [INFO] [stdout] ::: src/market.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MarketData { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PricePoint` in the current scope [INFO] [stdout] --> src/lib.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | btc_data.add_price_point(market::PricePoint::new( [INFO] [stdout] | ^^^ function or associated item not found in `PricePoint` [INFO] [stdout] | [INFO] [stdout] ::: src/market.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct PricePoint { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/optimization.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | for (i, (asset, expected_return)) in asset_returns.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/optimization.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | for (i, (asset, expected_return)) in asset_returns.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/market.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MarketManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 24 | config: MarketMakerConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `assessment_interval_hours` is never read [INFO] [stdout] --> src/risk.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct RiskAssessmentEngine { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 248 | assessment_interval_hours: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unlock_order_funds` and `unlock_order_funds_by_id` are never used [INFO] [stdout] --> src/trading.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl TradingEngine { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 550 | fn unlock_order_funds(&mut self, order: &TradeOrder) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 705 | fn unlock_order_funds_by_id(&mut self, order_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `daa-economy` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "89f4ecea220430457e393ff00e28c5d40ccc8f0637d6c075dd84bc59242cc9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89f4ecea220430457e393ff00e28c5d40ccc8f0637d6c075dd84bc59242cc9df", kill_on_drop: false }` [INFO] [stdout] 89f4ecea220430457e393ff00e28c5d40ccc8f0637d6c075dd84bc59242cc9df