[INFO] cloning repository https://github.com/encratite/unquantified [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/encratite/unquantified" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fencratite%2Funquantified", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fencratite%2Funquantified'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04883c108da46409b0f426ae782a1666ecb74c83 [INFO] checking encratite/unquantified against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fencratite%2Funquantified" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/encratite/unquantified on toolchain 16b569057e4d1591b4bee05f10df34000308dedc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/encratite/unquantified [INFO] finished tweaking git repo https://github.com/encratite/unquantified [INFO] tweaked toml for git repo https://github.com/encratite/unquantified written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/encratite/unquantified 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" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded configparser v3.1.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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f3eccb99dfa7a749a93c1db71f077b214e61a5e59373b1d394f1d2801366fc1 [INFO] running `Command { std: "docker" "start" "-a" "3f3eccb99dfa7a749a93c1db71f077b214e61a5e59373b1d394f1d2801366fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f3eccb99dfa7a749a93c1db71f077b214e61a5e59373b1d394f1d2801366fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f3eccb99dfa7a749a93c1db71f077b214e61a5e59373b1d394f1d2801366fc1", kill_on_drop: false }` [INFO] [stdout] 3f3eccb99dfa7a749a93c1db71f077b214e61a5e59373b1d394f1d2801366fc1 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eb369925c69499b1c3ddf0339a78b03be3da617bfd1b093db2163e244ba9ca4 [INFO] running `Command { std: "docker" "start" "-a" "8eb369925c69499b1c3ddf0339a78b03be3da617bfd1b093db2163e244ba9ca4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling rkyv v0.7.44 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking stopwatch v0.0.7 [INFO] [stderr] Checking configparser v3.1.0 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.44 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking unquantified v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/server.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | let mut manager = AssetManager::new(ticker_directory, assets_path); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/server.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | let mut manager = AssetManager::new(ticker_directory, assets_path); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/server/backtest.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn open_position(&self, symbol: String, count: u32, side: PositionSide) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/server/backtest.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn open_position(&self, symbol: String, count: u32, side: PositionSide) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/server/backtest.rs:67:58 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn open_position(&self, symbol: String, count: u32, side: PositionSide) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/server/backtest.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn open_position(&self, symbol: String, count: u32, side: PositionSide) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/server/backtest.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn open_position(&self, symbol: String, count: u32, side: PositionSide) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/server/backtest.rs:67:58 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn open_position(&self, symbol: String, count: u32, side: PositionSide) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PositionSide` is never used [INFO] [stdout] --> src/server/backtest.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PositionSide { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionSide` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TimeFrame` is never used [INFO] [stdout] --> src/server/backtest.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum TimeFrame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backtest` is never constructed [INFO] [stdout] --> src/server/backtest.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Backtest { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestConfiguration` is never constructed [INFO] [stdout] --> src/server/backtest.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BacktestConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/server/backtest.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PositionSide` is never used [INFO] [stdout] --> src/server/backtest.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PositionSide { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionSide` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/server/manager.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Asset { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 16 | pub symbol: String, [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub asset_type: AssetType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub data_symbol: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub currency: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub tick_size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub tick_value: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub margin: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub broker_fee: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub exchange_fee: f64 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Asset` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TimeFrame` is never used [INFO] [stdout] --> src/server/backtest.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum TimeFrame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backtest` is never constructed [INFO] [stdout] --> src/server/backtest.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Backtest { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestConfiguration` is never constructed [INFO] [stdout] --> src/server/backtest.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BacktestConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/server/backtest.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/server/manager.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Asset { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 16 | pub symbol: String, [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub asset_type: AssetType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub data_symbol: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub currency: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub tick_size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub tick_value: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub margin: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub broker_fee: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub exchange_fee: f64 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Asset` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `assets` is never read [INFO] [stdout] --> src/server/manager.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AssetManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | assets: HashMap [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `assets` is never read [INFO] [stdout] --> src/server/manager.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AssetManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | assets: HashMap [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8eb369925c69499b1c3ddf0339a78b03be3da617bfd1b093db2163e244ba9ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb369925c69499b1c3ddf0339a78b03be3da617bfd1b093db2163e244ba9ca4", kill_on_drop: false }` [INFO] [stdout] 8eb369925c69499b1c3ddf0339a78b03be3da617bfd1b093db2163e244ba9ca4 [INFO] checking encratite/unquantified against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fencratite%2Funquantified" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/encratite/unquantified on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/encratite/unquantified [INFO] finished tweaking git repo https://github.com/encratite/unquantified [INFO] tweaked toml for git repo https://github.com/encratite/unquantified written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/encratite/unquantified 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" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fe8f5b43503dda0a633a219ae3140f74762e737b12dfdd53cc2ae54e52ea95c [INFO] running `Command { std: "docker" "start" "-a" "5fe8f5b43503dda0a633a219ae3140f74762e737b12dfdd53cc2ae54e52ea95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fe8f5b43503dda0a633a219ae3140f74762e737b12dfdd53cc2ae54e52ea95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe8f5b43503dda0a633a219ae3140f74762e737b12dfdd53cc2ae54e52ea95c", kill_on_drop: false }` [INFO] [stdout] 5fe8f5b43503dda0a633a219ae3140f74762e737b12dfdd53cc2ae54e52ea95c [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3cc48078e24910090abcda5c30d3ab1b45940d6739f71c8d5fca68d7da2b669 [INFO] running `Command { std: "docker" "start" "-a" "e3cc48078e24910090abcda5c30d3ab1b45940d6739f71c8d5fca68d7da2b669", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling rkyv v0.7.44 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking stopwatch v0.0.7 [INFO] [stderr] Checking configparser v3.1.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.44 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stdout] error[E0277]: the trait bound `ServiceFn<{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/routing/method_routing.rs:679:46: 679:58}>: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/routing/method_routing.rs:679:35 [INFO] [stdout] | [INFO] [stdout] 679 | let fallback = Route::new(service_fn(|_: Request| async { [INFO] [stdout] | ________________________----------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 680 | | Ok(StatusCode::METHOD_NOT_ALLOWED.into_response()) [INFO] [stdout] 681 | | })); [INFO] [stdout] | |__________^ the trait `Clone` is not implemented for `ServiceFn<{async closure@method_routing.rs:679:46}>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/axum-d86759dc152e5f90.long-type-10626956420975930709.txt' [INFO] [stdout] = note: consider using `--verbose` to print full type name to the console [INFO] [stdout] = note: required for `ServiceFn<{async closure@method_routing.rs:679:46}>` to implement `Clone` [INFO] [stdout] note: required by a bound in `Route::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/routing/route.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn new(svc: T) -> Self [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 35 | where [INFO] [stdout] 36 | T: Service + Clone + Send + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `Route::::new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/axum-d86759dc152e5f90.long-type-10626956420975930709.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 679 | let fallback = Route::new(&service_fn(|_: Request| async { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e3cc48078e24910090abcda5c30d3ab1b45940d6739f71c8d5fca68d7da2b669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3cc48078e24910090abcda5c30d3ab1b45940d6739f71c8d5fca68d7da2b669", kill_on_drop: false }` [INFO] [stdout] e3cc48078e24910090abcda5c30d3ab1b45940d6739f71c8d5fca68d7da2b669