[INFO] cloning repository https://github.com/ogalright40-del/SolanaRate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ogalright40-del/SolanaRate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogalright40-del%2FSolanaRate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogalright40-del%2FSolanaRate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b92b8b1a4e749a704b5e0dee200653871d4a688d [INFO] checking ogalright40-del/SolanaRate against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogalright40-del%2FSolanaRate" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ogalright40-del/SolanaRate [INFO] finished tweaking git repo https://github.com/ogalright40-del/SolanaRate [INFO] tweaked toml for git repo https://github.com/ogalright40-del/SolanaRate written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ogalright40-del/SolanaRate on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ogalright40-del/SolanaRate 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b4a129f9b64e198ea9d294f04ff477076b4ba083261a66c4ac0117e3e99b945 [INFO] running `Command { std: "docker" "start" "-a" "3b4a129f9b64e198ea9d294f04ff477076b4ba083261a66c4ac0117e3e99b945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b4a129f9b64e198ea9d294f04ff477076b4ba083261a66c4ac0117e3e99b945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4a129f9b64e198ea9d294f04ff477076b4ba083261a66c4ac0117e3e99b945", kill_on_drop: false }` [INFO] [stdout] 3b4a129f9b64e198ea9d294f04ff477076b4ba083261a66c4ac0117e3e99b945 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d701fe08857080caf92a67eb3662e98c6719b8c4992a998601555c00f1242a26 [INFO] running `Command { std: "docker" "start" "-a" "d701fe08857080caf92a67eb3662e98c6719b8c4992a998601555c00f1242a26", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling solana-amm-rate-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_json v1.0.142 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stdout] warning: value assigned to `simulation_mode` is never read [INFO] [stdout] --> src/client.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | let mut simulation_mode = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `simulation_mode` is never read [INFO] [stdout] --> src/client.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | let mut simulation_mode = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PriceUpdate` is never constructed [INFO] [stdout] --> src/amm_types.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct PriceUpdate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/amm_types.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct AmmProgram { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 68 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AmmProgram` 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: methods `create_market_rate` and `get_performance_log` are never used [INFO] [stdout] --> src/rate_calculator.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RateCalculator { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn create_market_rate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_performance_log(&self) -> &Vec<(String, Instant)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_screen` is never used [INFO] [stdout] --> src/table_ui.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TableUI { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn clear_screen() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AmmProgram` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/solana-amm-rate-calculator-baf55ef6b0271ce3/out/solana.amm.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AmmProgram { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PriceUpdate` is never constructed [INFO] [stdout] --> src/amm_types.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct PriceUpdate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/amm_types.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct AmmProgram { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 68 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AmmProgram` 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: methods `calculate_rate`, `create_market_rate`, and `get_performance_log` are never used [INFO] [stdout] --> src/rate_calculator.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RateCalculator { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn calculate_rate(&mut self, base_amount: f64, quote_amount: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn create_market_rate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_performance_log(&self) -> &Vec<(String, Instant)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_screen` is never used [INFO] [stdout] --> src/table_ui.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TableUI { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn clear_screen() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AmmProgram` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/solana-amm-rate-calculator-baf55ef6b0271ce3/out/solana.amm.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AmmProgram { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.31s [INFO] running `Command { std: "docker" "inspect" "d701fe08857080caf92a67eb3662e98c6719b8c4992a998601555c00f1242a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d701fe08857080caf92a67eb3662e98c6719b8c4992a998601555c00f1242a26", kill_on_drop: false }` [INFO] [stdout] d701fe08857080caf92a67eb3662e98c6719b8c4992a998601555c00f1242a26