[INFO] cloning repository https://github.com/ljm2ya/btc-option-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ljm2ya/btc-option-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljm2ya%2Fbtc-option-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljm2ya%2Fbtc-option-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa20443c5012a418ebe2b982334f252035d843f8 [INFO] testing ljm2ya/btc-option-manager against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljm2ya%2Fbtc-option-manager" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ljm2ya/btc-option-manager [INFO] finished tweaking git repo https://github.com/ljm2ya/btc-option-manager [INFO] tweaked toml for git repo https://github.com/ljm2ya/btc-option-manager written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ljm2ya/btc-option-manager on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ljm2ya/btc-option-manager 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest Rust 1.91.0-nightly compatible versions [INFO] [stderr] Adding futures v0.3.31 [INFO] [stderr] Adding futures-executor v0.3.31 [INFO] [stderr] Adding futures-io v0.3.31 [INFO] [stderr] Adding futures-macro v0.3.31 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded black_scholes v0.10.2 [INFO] [stderr] Downloaded special v0.10.3 [INFO] [stderr] Downloaded nrfind v1.0.3 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89cbf51915dc9cade4ac3c56793ab93065c764ffd3ffd78e05fdaf82405457e3 [INFO] running `Command { std: "docker" "start" "-a" "89cbf51915dc9cade4ac3c56793ab93065c764ffd3ffd78e05fdaf82405457e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89cbf51915dc9cade4ac3c56793ab93065c764ffd3ffd78e05fdaf82405457e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89cbf51915dc9cade4ac3c56793ab93065c764ffd3ffd78e05fdaf82405457e3", kill_on_drop: false }` [INFO] [stdout] 89cbf51915dc9cade4ac3c56793ab93065c764ffd3ffd78e05fdaf82405457e3 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 723751c4ee721e0d0d7f665c812a693c9d91e0c9e73da906d31c27571309fad8 [INFO] running `Command { std: "docker" "start" "-a" "723751c4ee721e0d0d7f665c812a693c9d91e0c9e73da906d31c27571309fad8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling special v0.10.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling nrfind v1.0.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling black_scholes v0.10.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling btc_options_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `f64: Eq` is not satisfied [INFO] [stdout] --> src/iv_oracle.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | .entry(strike) [INFO] [stdout] | ^^^^^ the trait `Eq` is not implemented for `f64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Eq`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `HashMap::::entry` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/collections/hash/map.rs:887:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: Hash` is not satisfied [INFO] [stdout] --> src/iv_oracle.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | .entry(strike) [INFO] [stdout] | ^^^^^ the trait `Hash` is not implemented for `f64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Hash`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `HashMap::::entry` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/collections/hash/map.rs:887:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iv_oracle` [INFO] [stdout] --> src/main.rs:392:20 [INFO] [stdout] | [INFO] [stdout] 392 | async fn get_delta(iv_oracle: web::Data>) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iv_oracle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/iv_oracle.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(sides) = strikes.get(&strike_price) { [INFO] [stdout] | ^^^ method cannot be called on `&HashMap>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `f64: Eq` [INFO] [stdout] `f64: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/iv_oracle.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | .and_then(|strikes| strikes.get(&strike_price)) [INFO] [stdout] | ^^^ method cannot be called on `&HashMap>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `f64: Eq` [INFO] [stdout] `f64: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/iv_oracle.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | .copied() [INFO] [stdout] | ^^^^^^ multiple `copied` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btc_options_api` (bin "btc_options_api") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "723751c4ee721e0d0d7f665c812a693c9d91e0c9e73da906d31c27571309fad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "723751c4ee721e0d0d7f665c812a693c9d91e0c9e73da906d31c27571309fad8", kill_on_drop: false }` [INFO] [stdout] 723751c4ee721e0d0d7f665c812a693c9d91e0c9e73da906d31c27571309fad8