[INFO] fetching crate daa-economy 0.2.1... [INFO] checking daa-economy-0.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate daa-economy 0.2.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate daa-economy 0.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b719c1a23f25999a92ab7181fee4e73bd3e879eb903a855f04a3f96345368ac3 [INFO] running `Command { std: "docker" "start" "-a" "b719c1a23f25999a92ab7181fee4e73bd3e879eb903a855f04a3f96345368ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b719c1a23f25999a92ab7181fee4e73bd3e879eb903a855f04a3f96345368ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b719c1a23f25999a92ab7181fee4e73bd3e879eb903a855f04a3f96345368ac3", kill_on_drop: false }` [INFO] [stdout] b719c1a23f25999a92ab7181fee4e73bd3e879eb903a855f04a3f96345368ac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74df117912bbe0d927dbd6963208720bc7140cfa909da2dffbfb001952a1397b [INFO] running `Command { std: "docker" "start" "-a" "74df117912bbe0d927dbd6963208720bc7140cfa909da2dffbfb001952a1397b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 tracing v0.1.41 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.17.0 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "74df117912bbe0d927dbd6963208720bc7140cfa909da2dffbfb001952a1397b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74df117912bbe0d927dbd6963208720bc7140cfa909da2dffbfb001952a1397b", kill_on_drop: false }` [INFO] [stdout] 74df117912bbe0d927dbd6963208720bc7140cfa909da2dffbfb001952a1397b