[INFO] fetching crate daa-economy 0.2.1... [INFO] testing daa-economy-0.2.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate daa-economy 0.2.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate daa-economy 0.2.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4760f5ee00f481a68f2825a046bd69b720ab97d5b9469ec7813d3ea2d8938cd0 [INFO] running `Command { std: "docker" "start" "-a" "4760f5ee00f481a68f2825a046bd69b720ab97d5b9469ec7813d3ea2d8938cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4760f5ee00f481a68f2825a046bd69b720ab97d5b9469ec7813d3ea2d8938cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4760f5ee00f481a68f2825a046bd69b720ab97d5b9469ec7813d3ea2d8938cd0", kill_on_drop: false }` [INFO] [stdout] 4760f5ee00f481a68f2825a046bd69b720ab97d5b9469ec7813d3ea2d8938cd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 654949a4562971b13778459a50ac2fd849d357aaee4eb32ccf0cc8a4cb7cccd9 [INFO] running `Command { std: "docker" "start" "-a" "654949a4562971b13778459a50ac2fd849d357aaee4eb32ccf0cc8a4cb7cccd9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling 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 rust_decimal_macros v1.37.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling daa-economy v0.2.1 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.47s [INFO] running `Command { std: "docker" "inspect" "654949a4562971b13778459a50ac2fd849d357aaee4eb32ccf0cc8a4cb7cccd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654949a4562971b13778459a50ac2fd849d357aaee4eb32ccf0cc8a4cb7cccd9", kill_on_drop: false }` [INFO] [stdout] 654949a4562971b13778459a50ac2fd849d357aaee4eb32ccf0cc8a4cb7cccd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b80167146dd0706bb4f7b2b2b4faf5c637139e011dfd94ef37b7d5cbd6d69ab4 [INFO] running `Command { std: "docker" "start" "-a" "b80167146dd0706bb4f7b2b2b4faf5c637139e011dfd94ef37b7d5cbd6d69ab4", kill_on_drop: false }` [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] [stderr] Compiling 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] 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" "b80167146dd0706bb4f7b2b2b4faf5c637139e011dfd94ef37b7d5cbd6d69ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b80167146dd0706bb4f7b2b2b4faf5c637139e011dfd94ef37b7d5cbd6d69ab4", kill_on_drop: false }` [INFO] [stdout] b80167146dd0706bb4f7b2b2b4faf5c637139e011dfd94ef37b7d5cbd6d69ab4