[INFO] cloning repository https://github.com/Hareas/modus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hareas/modus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHareas%2Fmodus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHareas%2Fmodus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edab0032f75d19c5316442dc8c749d24ec8bc59e [INFO] testing Hareas/modus against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHareas%2Fmodus" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hareas/modus [INFO] finished tweaking git repo https://github.com/Hareas/modus [INFO] tweaked toml for git repo https://github.com/Hareas/modus written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hareas/modus on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hareas/modus 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d75821f52e666d3b512675529d72d7a61602ff1b6c8f43e7fceb57c819f8d11 [INFO] running `Command { std: "docker" "start" "-a" "1d75821f52e666d3b512675529d72d7a61602ff1b6c8f43e7fceb57c819f8d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d75821f52e666d3b512675529d72d7a61602ff1b6c8f43e7fceb57c819f8d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d75821f52e666d3b512675529d72d7a61602ff1b6c8f43e7fceb57c819f8d11", kill_on_drop: false }` [INFO] [stdout] 1d75821f52e666d3b512675529d72d7a61602ff1b6c8f43e7fceb57c819f8d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ee4027464c62f40848e9e1e9cc30bc2c4829c3d99d012f462c5d799139e0a74 [INFO] running `Command { std: "docker" "start" "-a" "6ee4027464c62f40848e9e1e9cc30bc2c4829c3d99d012f462c5d799139e0a74", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling zerocopy v0.7.33 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling special-fun v0.2.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling spaces v5.0.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling modus-derive v0.1.0 (/opt/rustwide/workdir/modus-derive) [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling rstat v0.6.0 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling modus v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/yahoo_finance.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct YChart { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 95 | pub result: Vec, [INFO] [stdout] 96 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YChart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `exchange_name`, and `instrument_type` are never read [INFO] [stdout] --> src/yahoo_finance.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct YMetaData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 109 | pub currency: String, [INFO] [stdout] 110 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 111 | pub exchange_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 112 | pub instrument_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YMetaData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.99s [INFO] running `Command { std: "docker" "inspect" "6ee4027464c62f40848e9e1e9cc30bc2c4829c3d99d012f462c5d799139e0a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ee4027464c62f40848e9e1e9cc30bc2c4829c3d99d012f462c5d799139e0a74", kill_on_drop: false }` [INFO] [stdout] 6ee4027464c62f40848e9e1e9cc30bc2c4829c3d99d012f462c5d799139e0a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57a3e2a3a3243e6842ab98720453d57edb9cc7057126ad36bb3b907aa88767b3 [INFO] running `Command { std: "docker" "start" "-a" "57a3e2a3a3243e6842ab98720453d57edb9cc7057126ad36bb3b907aa88767b3", kill_on_drop: false }` [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/yahoo_finance.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct YChart { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 95 | pub result: Vec, [INFO] [stdout] 96 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YChart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `exchange_name`, and `instrument_type` are never read [INFO] [stdout] --> src/yahoo_finance.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct YMetaData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 109 | pub currency: String, [INFO] [stdout] 110 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 111 | pub exchange_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 112 | pub instrument_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YMetaData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling modus v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/yahoo_finance.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct YChart { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 95 | pub result: Vec, [INFO] [stdout] 96 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YChart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `exchange_name`, and `instrument_type` are never read [INFO] [stdout] --> src/yahoo_finance.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct YMetaData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 109 | pub currency: String, [INFO] [stdout] 110 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 111 | pub exchange_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 112 | pub instrument_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YMetaData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.72s [INFO] running `Command { std: "docker" "inspect" "57a3e2a3a3243e6842ab98720453d57edb9cc7057126ad36bb3b907aa88767b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a3e2a3a3243e6842ab98720453d57edb9cc7057126ad36bb3b907aa88767b3", kill_on_drop: false }` [INFO] [stdout] 57a3e2a3a3243e6842ab98720453d57edb9cc7057126ad36bb3b907aa88767b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 04b39cf0383b8faf14884dc8501c4d8c945f892d479a4a27d7eab64014e07fab [INFO] running `Command { std: "docker" "start" "-a" "04b39cf0383b8faf14884dc8501c4d8c945f892d479a4a27d7eab64014e07fab", kill_on_drop: false }` [INFO] [stderr] warning: field `error` is never read [INFO] [stderr] --> src/yahoo_finance.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 94 | pub struct YChart { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 95 | pub result: Vec, [INFO] [stderr] 96 | pub error: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `YChart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `symbol`, `exchange_name`, and `instrument_type` are never read [INFO] [stderr] --> src/yahoo_finance.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 108 | pub struct YMetaData { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 109 | pub currency: String, [INFO] [stderr] 110 | pub symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 111 | pub exchange_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 112 | pub instrument_type: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `YMetaData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `modus` (lib) generated 2 warnings [INFO] [stderr] warning: `modus` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modus-8626363e4cc438f4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/modus-9027fe2f02d1e3db) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests modus [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/options.rs - options (line 10) ... FAILED [INFO] [stdout] test src/stock_returns.rs - stock_returns (line 10) ... FAILED [INFO] [stdout] test src/yahoo_finance.rs - yahoo_finance::ProviderError (line 162) ... FAILED [INFO] [stdout] test src/options.rs - options (line 48) ... FAILED [INFO] [stdout] test src/stock_returns.rs - stock_returns::StocksError (line 87) ... FAILED [INFO] [stdout] test src/options.rs - options (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/options.rs - options (line 10) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Options` in this scope [INFO] [stdout] --> src/options.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 3 | let a_option = Options{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use modus::options::Options; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bs_price` in this scope [INFO] [stdout] --> src/options.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 12 | println!("{}", bs_price(&a_option)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use modus::options::bs_price; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OptionType` [INFO] [stdout] --> src/options.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 4 | form: OptionType::Call, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OptionType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stock_returns.rs - stock_returns (line 10) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Portfolio` in this scope [INFO] [stdout] --> src/stock_returns.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 3 | let portfolio = Portfolio{portfolio: vec![Equity{ticker: "MSFT".to_string(), buy: Transaction { date: TransactionDate { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use modus::stock_returns::Portfolio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Equity` in this scope [INFO] [stdout] --> src/stock_returns.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 3 | let portfolio = Portfolio{portfolio: vec![Equity{ticker: "MSFT".to_string(), buy: Transaction { date: TransactionDate { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transaction` in this scope [INFO] [stdout] --> src/stock_returns.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 3 | let portfolio = Portfolio{portfolio: vec![Equity{ticker: "MSFT".to_string(), buy: Transaction { date: TransactionDate { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionDate` in this scope [INFO] [stdout] --> src/stock_returns.rs:11:103 [INFO] [stdout] | [INFO] [stdout] 3 | let portfolio = Portfolio{portfolio: vec![Equity{ticker: "MSFT".to_string(), buy: Transaction { date: TransactionDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `total_returns` in this scope [INFO] [stdout] --> src/stock_returns.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 8 | if let Ok(s) = total_returns(&portfolio).await { println!("{:?}", s); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use modus::stock_returns::total_returns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/stock_returns.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_stock_returns_rs_10_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | if let Ok(s) = total_returns(&portfolio).await { println!("{:?}", s); } [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/yahoo_finance.rs - yahoo_finance::ProviderError (line 162) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `YahooError` in this scope [INFO] [stdout] --> src/yahoo_finance.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for ProviderError { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl From for ProviderError { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProviderError` in this scope [INFO] [stdout] --> src/yahoo_finance.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for ProviderError { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `modus::stock_returns::StocksError::ProviderError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 - impl From for ProviderError { [INFO] [stdout] 3 + impl From for modus::stock_returns::StocksError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YahooError` in this scope [INFO] [stdout] --> src/yahoo_finance.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 4 | fn from (_e: YahooError) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProviderError` [INFO] [stdout] --> src/yahoo_finance.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 5 | ProviderError::YahooError [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ProviderError` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `modus::stock_returns::StocksError::ProviderError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 5 - ProviderError::YahooError [INFO] [stdout] 5 + modus::stock_returns::StocksError::YahooError [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options.rs - options (line 48) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Options` in this scope [INFO] [stdout] --> src/options.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 3 | let a_option = Options{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use modus::options::Options; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kelly_ratio` in this scope [INFO] [stdout] --> src/options.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 12 | if let Some(s) = kelly_ratio(&a_option) { println!("{:?}", s); } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use modus::options::kelly_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OptionType` [INFO] [stdout] --> src/options.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 4 | form: OptionType::Call, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OptionType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stock_returns.rs - stock_returns::StocksError (line 87) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ComponentRange` in this scope [INFO] [stdout] --> src/stock_returns.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for StocksError { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use time::error::ComponentRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StocksError` in this scope [INFO] [stdout] --> src/stock_returns.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for StocksError { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use modus::stock_returns::StocksError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ComponentRange` in this scope [INFO] [stdout] --> src/stock_returns.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 4 | fn from (_e: ComponentRange) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use time::error::ComponentRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StocksError` [INFO] [stdout] --> src/stock_returns.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 5 | StocksError::ComponentRange [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StocksError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use modus::stock_returns::StocksError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options.rs - options (line 27) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Options` in this scope [INFO] [stdout] --> src/options.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 3 | let a_option = Options{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use modus::options::Options; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `expected` in this scope [INFO] [stdout] --> src/options.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 12 | if let Ok(s) = expected(&a_option) { println!("{:?}", s); } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use modus::options::expected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OptionType` [INFO] [stdout] --> src/options.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 4 | form: OptionType::Call, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OptionType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/options.rs - options (line 10) [INFO] [stdout] src/options.rs - options (line 27) [INFO] [stdout] src/options.rs - options (line 48) [INFO] [stdout] src/stock_returns.rs - stock_returns (line 10) [INFO] [stdout] src/stock_returns.rs - stock_returns::StocksError (line 87) [INFO] [stdout] src/yahoo_finance.rs - yahoo_finance::ProviderError (line 162) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "04b39cf0383b8faf14884dc8501c4d8c945f892d479a4a27d7eab64014e07fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b39cf0383b8faf14884dc8501c4d8c945f892d479a4a27d7eab64014e07fab", kill_on_drop: false }` [INFO] [stdout] 04b39cf0383b8faf14884dc8501c4d8c945f892d479a4a27d7eab64014e07fab