[INFO] crate cxmr-ta-core 0.1.5 is already in cache [INFO] testing cxmr-ta-core-0.1.5 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate cxmr-ta-core 0.1.5 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate cxmr-ta-core 0.1.5 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cxmr-ta-core 0.1.5 [INFO] finished tweaking crates.io crate cxmr-ta-core 0.1.5 [INFO] tweaked toml for crates.io crate cxmr-ta-core 0.1.5 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate cxmr-ta-core 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 153130932a649d825fa0799ae640ee7d357ff4d2f9e6b297defe35637ddcbd12 [INFO] running `"docker" "start" "-a" "153130932a649d825fa0799ae640ee7d357ff4d2f9e6b297defe35637ddcbd12"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling cxmr-ta-core v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.73s [INFO] running `"docker" "inspect" "153130932a649d825fa0799ae640ee7d357ff4d2f9e6b297defe35637ddcbd12"` [INFO] running `"docker" "rm" "-f" "153130932a649d825fa0799ae640ee7d357ff4d2f9e6b297defe35637ddcbd12"` [INFO] [stdout] 153130932a649d825fa0799ae640ee7d357ff4d2f9e6b297defe35637ddcbd12 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ffec2b0a619bb0380c4094adb63d91596c94165be52b99ce1d910893e6a37916 [INFO] running `"docker" "start" "-a" "ffec2b0a619bb0380c4094adb63d91596c94165be52b99ce1d910893e6a37916"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling cxmr-ta-core v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.11s [INFO] running `"docker" "inspect" "ffec2b0a619bb0380c4094adb63d91596c94165be52b99ce1d910893e6a37916"` [INFO] running `"docker" "rm" "-f" "ffec2b0a619bb0380c4094adb63d91596c94165be52b99ce1d910893e6a37916"` [INFO] [stdout] ffec2b0a619bb0380c4094adb63d91596c94165be52b99ce1d910893e6a37916 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ab414bd4cb5e6f060ae5573f606a5959e2f27c0351644f7fc88d0564dc1d385 [INFO] running `"docker" "start" "-a" "8ab414bd4cb5e6f060ae5573f606a5959e2f27c0351644f7fc88d0564dc1d385"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cxmr_ta_core-3bb2c54f6693812a [INFO] [stdout] [INFO] [stdout] running 87 tests [INFO] [stdout] test helpers::tests::test_max3 ... ok [INFO] [stdout] test indicators::efficiency_ratio::tests::test_display ... ok [INFO] [stdout] test indicators::efficiency_ratio::tests::test_indicator ... ok [INFO] [stdout] test indicators::exponential_moving_average::tests::test_display ... ok [INFO] [stdout] test indicators::average_true_range::tests::test_indicator ... ok [INFO] [stdout] test indicators::average_true_range::tests::test_display ... ok [INFO] [stdout] test indicators::average_true_range::tests::test_next ... ok [INFO] [stdout] test indicators::average_true_range::tests::test_default ... ok [INFO] [stdout] test indicators::exponential_moving_average::tests::test_default ... ok [INFO] [stdout] test indicators::average_true_range::tests::test_reset ... ok [INFO] [stdout] test indicators::exponential_moving_average::tests::test_indicator ... ok [INFO] [stdout] test indicators::exponential_moving_average::tests::test_next ... ok [INFO] [stdout] test indicators::fast_stochastic::tests::test_next_with_bars ... ok [INFO] [stdout] test indicators::fast_stochastic::tests::test_next_with_f64 ... ok [INFO] [stdout] test indicators::exponential_moving_average::tests::test_reset ... ok [INFO] [stdout] test indicators::efficiency_ratio::tests::test_next_f64 ... ok [INFO] [stdout] test indicators::fast_stochastic::tests::test_default ... ok [INFO] [stdout] test indicators::fast_stochastic::tests::test_display ... ok [INFO] [stdout] test indicators::fast_stochastic::tests::test_indicator ... ok [INFO] [stdout] test indicators::maximum::tests::test_indicator ... ok [INFO] [stdout] test indicators::maximum::tests::test_display ... ok [INFO] [stdout] test indicators::fast_stochastic::tests::test_reset ... ok [INFO] [stdout] test indicators::minimum::tests::test_indicator ... ok [INFO] [stdout] test indicators::maximum::tests::test_next ... ok [INFO] [stdout] test indicators::minimum::tests::test_display ... ok [INFO] [stdout] test indicators::maximum::tests::test_default ... ok [INFO] [stdout] test indicators::minimum::tests::test_default ... ok [INFO] [stdout] test indicators::maximum::tests::test_next_with_bars ... ok [INFO] [stdout] test indicators::minimum::tests::test_next ... ok [INFO] [stdout] test indicators::minimum::tests::test_reset ... ok [INFO] [stdout] test indicators::money_flow_index::tests::test_display ... ok [INFO] [stdout] test indicators::maximum::tests::test_reset ... ok [INFO] [stdout] test indicators::money_flow_index::tests::test_next_bar ... ok [INFO] [stdout] test indicators::on_balance_volume::tests::test_next_bar ... ok [INFO] [stdout] test indicators::on_balance_volume::tests::test_reset ... ok [INFO] [stdout] test indicators::minimum::tests::test_next_with_bars ... ok [INFO] [stdout] test indicators::rate_of_change::tests::test_indicator ... ok [INFO] [stdout] test indicators::on_balance_volume::tests::test_default ... ok [INFO] [stdout] test indicators::money_flow_index::tests::test_default ... ok [INFO] [stdout] test indicators::on_balance_volume::tests::test_display ... ok [INFO] [stdout] test indicators::rate_of_change::tests::test_next_bar ... ok [INFO] [stdout] test indicators::relative_strength_index::tests::test_display ... ok [INFO] [stdout] test indicators::money_flow_index::tests::test_reset ... ok [INFO] [stdout] test indicators::rate_of_change::tests::test_next_f64 ... ok [INFO] [stdout] test indicators::relative_strength_index::tests::test_default ... ok [INFO] [stdout] test indicators::rate_of_change::tests::test_reset ... ok [INFO] [stdout] test indicators::relative_strength_index::tests::test_indicator ... ok [INFO] [stdout] test indicators::relative_strength_index::tests::test_next ... ok [INFO] [stdout] test indicators::simple_moving_average::tests::test_display ... ok [INFO] [stdout] test indicators::relative_strength_index::tests::test_reset ... ok [INFO] [stdout] test indicators::simple_moving_average::tests::test_default ... ok [INFO] [stdout] test indicators::simple_moving_average::tests::test_next ... ok [INFO] [stdout] test indicators::simple_moving_average::tests::test_indicator ... ok [INFO] [stdout] test indicators::simple_moving_average::tests::test_reset ... ok [INFO] [stdout] test indicators::simple_moving_average::tests::test_next_with_bars ... ok [INFO] [stdout] test indicators::slow_stochastic::tests::test_display ... ok [INFO] [stdout] test indicators::slow_stochastic::tests::test_default ... ok [INFO] [stdout] test indicators::slow_stochastic::tests::test_indicator ... ok [INFO] [stdout] test indicators::slow_stochastic::tests::test_next_with_bars ... ok [INFO] [stdout] test indicators::slow_stochastic::tests::test_next_with_f64 ... ok [INFO] [stdout] test indicators::slow_stochastic::tests::test_reset ... ok [INFO] [stdout] test indicators::standard_deviation::tests::test_display ... ok [INFO] [stdout] test indicators::standard_deviation::tests::test_default ... ok [INFO] [stdout] test indicators::standard_deviation::tests::test_indicator ... ok [INFO] [stdout] test indicators::standard_deviation::tests::test_next ... ok [INFO] [stdout] test indicators::standard_deviation::tests::test_next_same_values ... ok [INFO] [stdout] test indicators::standard_deviation::tests::test_next_with_bars ... ok [INFO] [stdout] test indicators::standard_deviation::tests::test_reset ... ok [INFO] [stdout] test indicators::true_range::tests::test_default ... ok [INFO] [stdout] test indicators::true_range::tests::test_display ... ok [INFO] [stdout] test indicators::true_range::tests::test_indicator ... ok [INFO] [stdout] test indicators::true_range::tests::test_next_bar ... ok [INFO] [stdout] test indicators::true_range::tests::test_next_f64 ... ok [INFO] [stdout] test indicators::true_range::tests::test_reset ... ok [INFO] [stdout] test indicators::fast_stochastic::tests::test_new ... ok [INFO] [stdout] test indicators::efficiency_ratio::tests::test_new ... ok [INFO] [stdout] test indicators::average_true_range::tests::test_new ... ok [INFO] [stdout] test indicators::exponential_moving_average::tests::test_new ... ok [INFO] [stdout] test indicators::maximum::tests::test_new ... ok [INFO] [stdout] test indicators::minimum::tests::test_new ... ok [INFO] [stdout] test indicators::money_flow_index::tests::test_new ... ok [INFO] [stdout] test indicators::rate_of_change::tests::test_new ... ok [INFO] [stdout] test data_item::tests::test_builder ... ok [INFO] [stdout] test indicators::simple_moving_average::tests::test_new ... ok [INFO] [stdout] test indicators::standard_deviation::tests::test_new ... ok [INFO] [stdout] test indicators::relative_strength_index::tests::test_new ... ok [INFO] [stdout] test indicators::slow_stochastic::tests::test_new ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 87 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests cxmr-ta-core [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/indicators/average_true_range.rs - indicators::average_true_range::AverageTrueRange (line 28) ... FAILED [INFO] [stdout] test src/indicators/money_flow_index.rs - indicators::money_flow_index::MoneyFlowIndex (line 35) ... FAILED [INFO] [stdout] test src/indicators/slow_stochastic.rs - indicators::slow_stochastic::SlowStochastic (line 18) ... FAILED [INFO] [stdout] test src/indicators/true_range.rs - indicators::true_range::TrueRange (line 21) ... FAILED [INFO] [stdout] test src/indicators/exponential_moving_average.rs - indicators::exponential_moving_average::ExponentialMovingAverage (line 37) ... FAILED [INFO] [stdout] test src/indicators/standard_deviation.rs - indicators::standard_deviation::StandardDeviation (line 26) ... FAILED [INFO] [stdout] test src/indicators/minimum.rs - indicators::minimum::Minimum (line 15) ... FAILED [INFO] [stdout] test src/indicators/efficiency_ratio.rs - indicators::efficiency_ratio::EfficiencyRatio (line 18) ... FAILED [INFO] [stdout] test src/indicators/maximum.rs - indicators::maximum::Maximum (line 15) ... FAILED [INFO] [stdout] test src/indicators/fast_stochastic.rs - indicators::fast_stochastic::FastStochastic (line 30) ... FAILED [INFO] [stdout] test src/indicators/on_balance_volume.rs - indicators::on_balance_volume::OnBalanceVolume (line 28) ... FAILED [INFO] [stdout] test src/indicators/relative_strength_index.rs - indicators::relative_strength_index::RelativeStrengthIndex (line 54) ... FAILED [INFO] [stdout] test src/indicators/simple_moving_average.rs - indicators::simple_moving_average::SimpleMovingAverage (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/data_item.rs - data_item::DataItem (line 8) ... FAILED [INFO] [stdout] test src/indicators/rate_of_change.rs - indicators::rate_of_change::RateOfChange (line 25) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/indicators/average_true_range.rs - indicators::average_true_range::AverageTrueRange (line 28) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `ta` [INFO] [stdout] --> src/indicators/average_true_range.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/money_flow_index.rs - indicators::money_flow_index::MoneyFlowIndex (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/money_flow_index.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::MoneyFlowIndex; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/money_flow_index.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Next, DataItem}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MoneyFlowIndex` [INFO] [stdout] --> src/indicators/money_flow_index.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut mfi = MoneyFlowIndex::new(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `MoneyFlowIndex` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/slow_stochastic.rs - indicators::slow_stochastic::SlowStochastic (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/slow_stochastic.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::SlowStochastic; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/slow_stochastic.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SlowStochastic` [INFO] [stdout] --> src/indicators/slow_stochastic.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 6 | let mut stoch = SlowStochastic::new(3, 2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `SlowStochastic` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/true_range.rs - indicators::true_range::TrueRange (line 21) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `ta` [INFO] [stdout] --> src/indicators/true_range.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/exponential_moving_average.rs - indicators::exponential_moving_average::ExponentialMovingAverage (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/exponential_moving_average.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::ExponentialMovingAverage; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/exponential_moving_average.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ExponentialMovingAverage` [INFO] [stdout] --> src/indicators/exponential_moving_average.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut ema = ExponentialMovingAverage::new(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ExponentialMovingAverage` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/standard_deviation.rs - indicators::standard_deviation::StandardDeviation (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/standard_deviation.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::StandardDeviation; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/standard_deviation.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `StandardDeviation` [INFO] [stdout] --> src/indicators/standard_deviation.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 6 | let mut sd = StandardDeviation::new(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `StandardDeviation` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/minimum.rs - indicators::minimum::Minimum (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/minimum.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::Minimum; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/minimum.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Minimum` [INFO] [stdout] --> src/indicators/minimum.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut min = Minimum::new(3).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Minimum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/efficiency_ratio.rs - indicators::efficiency_ratio::EfficiencyRatio (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/efficiency_ratio.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::EfficiencyRatio; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/efficiency_ratio.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EfficiencyRatio` [INFO] [stdout] --> src/indicators/efficiency_ratio.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 6 | let mut er = EfficiencyRatio::new(4).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `EfficiencyRatio` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/maximum.rs - indicators::maximum::Maximum (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/maximum.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::Maximum; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/maximum.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Maximum` [INFO] [stdout] --> src/indicators/maximum.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut max = Maximum::new(3).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Maximum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/fast_stochastic.rs - indicators::fast_stochastic::FastStochastic (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/fast_stochastic.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::FastStochastic; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/fast_stochastic.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FastStochastic` [INFO] [stdout] --> src/indicators/fast_stochastic.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 6 | let mut stoch = FastStochastic::new(5).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `FastStochastic` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/on_balance_volume.rs - indicators::on_balance_volume::OnBalanceVolume (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/on_balance_volume.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::OnBalanceVolume; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/on_balance_volume.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Next, DataItem}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `OnBalanceVolume` [INFO] [stdout] --> src/indicators/on_balance_volume.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut obv = OnBalanceVolume::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `OnBalanceVolume` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/relative_strength_index.rs - indicators::relative_strength_index::RelativeStrengthIndex (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/relative_strength_index.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::RelativeStrengthIndex; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/relative_strength_index.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RelativeStrengthIndex` [INFO] [stdout] --> src/indicators/relative_strength_index.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut rsi = RelativeStrengthIndex::new(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `RelativeStrengthIndex` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/simple_moving_average.rs - indicators::simple_moving_average::SimpleMovingAverage (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/simple_moving_average.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::SimpleMovingAverage; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/simple_moving_average.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SimpleMovingAverage` [INFO] [stdout] --> src/indicators/simple_moving_average.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut sma = SimpleMovingAverage::new(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SimpleMovingAverage` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::ExponentialMovingAverage; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ExponentialMovingAverage` [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut ema = ExponentialMovingAverage::new(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ExponentialMovingAverage` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/data_item.rs - data_item::DataItem (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/data_item.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::DataItem; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/data_item.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Open, High, Low, Close, Volume}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/indicators/rate_of_change.rs - indicators::rate_of_change::RateOfChange (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ta` [INFO] [stdout] --> src/indicators/rate_of_change.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ta::indicators::RateOfChange; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ta` [INFO] [stdout] --> src/indicators/rate_of_change.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ta::{Calculate, Next}; [INFO] [stdout] | ^^ use of undeclared type or module `ta` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RateOfChange` [INFO] [stdout] --> src/indicators/rate_of_change.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut roc = RateOfChange::new(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `RateOfChange` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/data_item.rs - data_item::DataItem (line 8) [INFO] [stdout] src/indicators/average_true_range.rs - indicators::average_true_range::AverageTrueRange (line 28) [INFO] [stdout] src/indicators/efficiency_ratio.rs - indicators::efficiency_ratio::EfficiencyRatio (line 18) [INFO] [stdout] src/indicators/exponential_moving_average.rs - indicators::exponential_moving_average::ExponentialMovingAverage (line 37) [INFO] [stdout] src/indicators/fast_stochastic.rs - indicators::fast_stochastic::FastStochastic (line 30) [INFO] [stdout] src/indicators/maximum.rs - indicators::maximum::Maximum (line 15) [INFO] [stdout] src/indicators/minimum.rs - indicators::minimum::Minimum (line 15) [INFO] [stdout] src/indicators/money_flow_index.rs - indicators::money_flow_index::MoneyFlowIndex (line 35) [INFO] [stdout] src/indicators/on_balance_volume.rs - indicators::on_balance_volume::OnBalanceVolume (line 28) [INFO] [stdout] src/indicators/rate_of_change.rs - indicators::rate_of_change::RateOfChange (line 25) [INFO] [stdout] src/indicators/relative_strength_index.rs - indicators::relative_strength_index::RelativeStrengthIndex (line 54) [INFO] [stdout] src/indicators/simple_moving_average.rs - indicators::simple_moving_average::SimpleMovingAverage (line 24) [INFO] [stdout] src/indicators/slow_stochastic.rs - indicators::slow_stochastic::SlowStochastic (line 18) [INFO] [stdout] src/indicators/standard_deviation.rs - indicators::standard_deviation::StandardDeviation (line 26) [INFO] [stdout] src/indicators/true_range.rs - indicators::true_range::TrueRange (line 21) [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "8ab414bd4cb5e6f060ae5573f606a5959e2f27c0351644f7fc88d0564dc1d385"` [INFO] running `"docker" "rm" "-f" "8ab414bd4cb5e6f060ae5573f606a5959e2f27c0351644f7fc88d0564dc1d385"` [INFO] [stdout] 8ab414bd4cb5e6f060ae5573f606a5959e2f27c0351644f7fc88d0564dc1d385