[INFO] fetching crate gw_signal 0.1.10-alpha.2... [INFO] testing gw_signal-0.1.10-alpha.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gw_signal 0.1.10-alpha.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate gw_signal 0.1.10-alpha.2 [INFO] finished tweaking crates.io crate gw_signal 0.1.10-alpha.2 [INFO] tweaked toml for crates.io crate gw_signal 0.1.10-alpha.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gw_signal 0.1.10-alpha.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 085949f43d347647d9e5aa950f34649621a601d3fa26ecf06f2414eb7cb94338 [INFO] running `Command { std: "docker" "start" "-a" "085949f43d347647d9e5aa950f34649621a601d3fa26ecf06f2414eb7cb94338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "085949f43d347647d9e5aa950f34649621a601d3fa26ecf06f2414eb7cb94338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085949f43d347647d9e5aa950f34649621a601d3fa26ecf06f2414eb7cb94338", kill_on_drop: false }` [INFO] [stdout] 085949f43d347647d9e5aa950f34649621a601d3fa26ecf06f2414eb7cb94338 [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=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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0e2cbc73c33425a57a6df59392bb35389c039ffeebf342de5dd85e212d3b59 [INFO] running `Command { std: "docker" "start" "-a" "2b0e2cbc73c33425a57a6df59392bb35389c039ffeebf342de5dd85e212d3b59", kill_on_drop: false }` [INFO] [stderr] Compiling more-asserts v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling rustfft v6.4.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling gw_signal v0.1.10-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.58s [INFO] running `Command { std: "docker" "inspect" "2b0e2cbc73c33425a57a6df59392bb35389c039ffeebf342de5dd85e212d3b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0e2cbc73c33425a57a6df59392bb35389c039ffeebf342de5dd85e212d3b59", kill_on_drop: false }` [INFO] [stdout] 2b0e2cbc73c33425a57a6df59392bb35389c039ffeebf342de5dd85e212d3b59 [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=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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b5f3116787cddc08fc93d652c437c8a6966e5e57b14ce1d0b685b324115d342 [INFO] running `Command { std: "docker" "start" "-a" "9b5f3116787cddc08fc93d652c437c8a6966e5e57b14ce1d0b685b324115d342", kill_on_drop: false }` [INFO] [stderr] Compiling gw_signal v0.1.10-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "9b5f3116787cddc08fc93d652c437c8a6966e5e57b14ce1d0b685b324115d342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5f3116787cddc08fc93d652c437c8a6966e5e57b14ce1d0b685b324115d342", kill_on_drop: false }` [INFO] [stdout] 9b5f3116787cddc08fc93d652c437c8a6966e5e57b14ce1d0b685b324115d342 [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=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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51cba64bf1e15c4ebefad6bd619f2a4679683be36acd08ba7fe328b82de0ccef [INFO] running `Command { std: "docker" "start" "-a" "51cba64bf1e15c4ebefad6bd619f2a4679683be36acd08ba7fe328b82de0ccef", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gw_signal-9ac3dfea4f96fa3e) [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 gw_signal [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test src/filters.rs - filters::Filter::chebyshev_type2 (line 147) ... FAILED [INFO] [stdout] test src/lib.rs - SeriesIO::write_csv (line 606) ... FAILED [INFO] [stdout] test src/filters.rs - filters::Filter::butterworth (line 47) ... FAILED [INFO] [stdout] test src/filters.rs - filters::Filter::get_poles (line 535) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::psd (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::apply_filter (line 452) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::asd (line 144) ... FAILED [INFO] [stdout] test src/timeseries.rs - timeseries::&'amutTimeSeries (line 486) ... FAILED [INFO] [stdout] test src/filters.rs - filters::Filter::chebyshev_type1 (line 89) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::time_psd (line 330) ... FAILED [INFO] [stdout] test src/lib.rs - SeriesIO::read_csv (line 622) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::time_cohe (line 383) ... FAILED [INFO] [stdout] test src/lib.rs - SeriesIO::print (line 589) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::csd (line 50) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::time_tf (line 414) ... FAILED [INFO] [stdout] test src/timeseries.rs - timeseries::TimeSeries::wave (line 61) ... FAILED [INFO] [stdout] test src/timeseries.rs - timeseries::TimeSeries::constant (line 88) ... FAILED [INFO] [stdout] test src/timeseries.rs - timeseries::ToType::to_c32 (line 385) ... FAILED [INFO] [stdout] test src/timeseries.rs - timeseries::ToType::to_c64 (line 398) ... FAILED [INFO] [stdout] test src/timeseries.rs - timeseries::TimeSeries::white_noise (line 34) ... FAILED [INFO] [stdout] test src/windows.rs - windows::Window (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::time_asd (line 357) ... FAILED [INFO] [stdout] test src/timeseries.rs - timeseries::ToType::to_f32 (line 358) ... ok [INFO] [stdout] test src/lib.rs - TimeSeries::transfer_function (line 200) ... FAILED [INFO] [stdout] test src/timeseries.rs - timeseries::TimeSeries::modulated_signal (line 129) ... ok [INFO] [stdout] test src/timeseries.rs - timeseries::ToType::to_f64 (line 372) ... ok [INFO] [stdout] test src/lib.rs - TimeSeries::coherence (line 169) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::time_csd (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - TimeSeries::convolution (line 514) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/filters.rs - filters::Filter::chebyshev_type2 (line 147) stdout ---- [INFO] [stdout] error: expected type, found `8` [INFO] [stdout] --> src/filters.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 10 | let my_filter: flt::Filter::chebyshev_type2(8, 40., flt::BType::LowType(10.), fs); [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for `my_filter` [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `timeseries` [INFO] [stdout] --> src/filters.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::timeseries::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `gw_signal::timeseries` [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/lib.rs - SeriesIO::write_csv (line 606) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gw_signal::filter` [INFO] [stdout] --> src/lib.rs:610:2 [INFO] [stdout] | [INFO] [stdout] 7 | filter::*, [INFO] [stdout] | ^^^^^^ could not find `filter` in `gw_signal` [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:615:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, fs, 1.); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 12 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, fs, 1.); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:615:30 [INFO] [stdout] | [INFO] [stdout] 12 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, fs, 1.); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- argument #4 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn white_noise(size: usize, fs: f64, mu: D, sigma: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, fs, 1., /* sigma */); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filters.rs - filters::Filter::butterworth (line 47) stdout ---- [INFO] [stdout] error: expected type, found `8` [INFO] [stdout] --> src/filters.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 10 | let my_filter: flt::Filter::butterworth(8, flt::BType::LowType(10.), fs); [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for `my_filter` [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `timeseries` [INFO] [stdout] --> src/filters.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::timeseries::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `gw_signal::timeseries` [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/filters.rs - filters::Filter::get_poles (line 535) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gw_signal::filter` [INFO] [stdout] --> src/filters.rs:539:2 [INFO] [stdout] | [INFO] [stdout] 7 | filter as flt, [INFO] [stdout] | ------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `filter` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Filter` [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fs` [INFO] [stdout] --> src/filters.rs:543:81 [INFO] [stdout] | [INFO] [stdout] 11 | let butter: flt::Filter = flt::Filter::butterworth(8, flt::BType::LowType(10.), fs); [INFO] [stdout] | ^^ not a value [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::psd (line 117) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::apply_filter (line 452) stdout ---- [INFO] [stdout] error: expected type, found `8` [INFO] [stdout] --> src/lib.rs:464:33 [INFO] [stdout] | [INFO] [stdout] 15 | let butter: Filter::butterworth(8, BType::LowPass(10.), fs); [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for `butter` [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gw_signal::filter` [INFO] [stdout] --> src/lib.rs:456:2 [INFO] [stdout] | [INFO] [stdout] 7 | filter::*, [INFO] [stdout] | ^^^^^^ could not find `filter` in `gw_signal` [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:467:19 [INFO] [stdout] | [INFO] [stdout] 18 | let mut signal_2: TimeSeries = signal_1.apply_filter(&butter); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 18 | let mut signal_2: TimeSeries = signal_1.apply_filter(&butter); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::asd (line 144) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/timeseries.rs - timeseries::&'amutTimeSeries (line 486) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `operators` [INFO] [stdout] --> src/timeseries.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 1 | The operators DOES NOT create a new time series, they modify one of the time series parameter. [INFO] [stdout] | ^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filters.rs - filters::Filter::chebyshev_type1 (line 89) stdout ---- [INFO] [stdout] error: expected type, found `8` [INFO] [stdout] --> src/filters.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 10 | let my_filter: flt::Filter::chebyshev_type1(8, 0.1, flt::BType::LowType(10.), fs); [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for `my_filter` [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `timeseries` [INFO] [stdout] --> src/filters.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::timeseries::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `gw_signal::timeseries` [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/lib.rs - TimeSeries::time_psd (line 330) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SeriesIO::read_csv (line 622) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gw_signal::filter` [INFO] [stdout] --> src/lib.rs:626:2 [INFO] [stdout] | [INFO] [stdout] 7 | filter::*, [INFO] [stdout] | ^^^^^^ could not find `filter` in `gw_signal` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read_csv` found for struct `gw_signal::timeseries::TimeSeries` in the current scope [INFO] [stdout] --> src/lib.rs:630:54 [INFO] [stdout] | [INFO] [stdout] 11 | let mut signal: TimeSeries = TimeSeries::::read_csv("TimeSeries.csv"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `gw_signal::timeseries::TimeSeries` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `gw_signal::timeseries::TimeSeries` consider using one of the following associated functions: [INFO] [stdout] gw_signal::timeseries::TimeSeries::::white_noise [INFO] [stdout] gw_signal::timeseries::TimeSeries::::wave [INFO] [stdout] gw_signal::timeseries::TimeSeries::::constant [INFO] [stdout] gw_signal::timeseries::TimeSeries::::from_vector [INFO] [stdout] gw_signal::timeseries::TimeSeries::::modulated_signal [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn white_noise(size: usize, fs: f64, mu: D, sigma: D) -> Self [INFO] [stdout] 43 | | where StandardNormal: Distribution [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn wave(size: usize, fs: f64, freq: D, ampl: D, phase: D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn constant(size: usize, fs: f64, value: D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | / pub fn from_vector(fs: f64, [INFO] [stdout] 105 | | t0: f64, [INFO] [stdout] 106 | | input_data: Vec) -> Self { [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 147 | / pub fn modulated_signal( [INFO] [stdout] 148 | | size: usize, [INFO] [stdout] 149 | | fs: f64, [INFO] [stdout] 150 | | carrier: f64, [INFO] [stdout] ... | [INFO] [stdout] 153 | | phase_mod: fn(f64) -> f64 [INFO] [stdout] 154 | | ) -> TimeSeries { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SeriesIO` which provides `read_csv` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::gw_signal::SeriesIO; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::time_cohe (line 383) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:392:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:393:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SeriesIO::print (line 589) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gw_signal::Series_IO` [INFO] [stdout] --> src/lib.rs:593:2 [INFO] [stdout] | [INFO] [stdout] 7 | Series_IO, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Series_IO` in the root [INFO] [stdout] | help: a similar name exists in the module: `SeriesIO` [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, fs, 1.); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 12 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, fs, 1.); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 12 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, fs, 1.); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- argument #4 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn white_noise(size: usize, fs: f64, mu: D, sigma: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, fs, 1., /* sigma */); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::csd (line 50) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(20000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(20000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone * 2.; [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone * 2.; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::time_tf (line 414) stdout ---- [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `10` [INFO] [stdout] --> src/lib.rs:428:78 [INFO] [stdout] | [INFO] [stdout] 17 | let transfer_function: FrequencySeries = signal_1.time_tf(&signal_2, &window 10); [INFO] [stdout] | -^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:423:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/timeseries.rs - timeseries::TimeSeries::wave (line 61) stdout ---- [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/timeseries.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 10 | let mut signal: TimeSeries = TimeSeries::wave(20000, 1e3, 5f64, 10f64, 0f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 10 | let mut signal: TimeSeries = TimeSeries::wave(20000, 1e3, 5f64, 10f64, 0f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/timeseries.rs - timeseries::TimeSeries::constant (line 88) stdout ---- [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/timeseries.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut signal: TimeSeries = TimeSeries::constant(20000, 1e3, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 8 | let mut signal: TimeSeries = TimeSeries::constant(20000, 1e3, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/timeseries.rs - timeseries::ToType::to_c32 (line 385) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Complex` in this scope [INFO] [stdout] --> src/timeseries.rs:392:28 [INFO] [stdout] | [INFO] [stdout] 10 | let signal_c32: TimeSeries> = signal_f64.to_c32(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use num::Complex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/timeseries.rs - timeseries::ToType::to_c64 (line 398) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Complex` in this scope [INFO] [stdout] --> src/timeseries.rs:405:28 [INFO] [stdout] | [INFO] [stdout] 10 | let signal_c64: TimeSeries> = signal_f64.to_c64(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use num::Complex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/timeseries.rs - timeseries::TimeSeries::white_noise (line 34) stdout ---- [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/timeseries.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 9 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 9 | let mut signal: TimeSeries = TimeSeries::white_noise(20000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/windows.rs - windows::Window (line 13) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/windows.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 10 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 11 | // sampling frequency in Hz [INFO] [stdout] 12 | let frequency: f64 = 1e3; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected type, found `20000` [INFO] [stdout] --> src/windows.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 16 | let signal: ts::TimeSeries::white_noise(20000, frequency, 0.1); [INFO] [stdout] | - ^^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for `signal` [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gw_signal::window` [INFO] [stdout] --> src/windows.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 9 | window as win, [INFO] [stdout] | ------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `window` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Window` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/windows.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 16 | let signal: ts::TimeSeries::white_noise(20000, frequency, 0.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- argument #4 of type `{float}` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn white_noise(size: usize, fs: f64, mu: D, sigma: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 16 | let signal: ts::TimeSeries::white_noise(20000, frequency, 0.1, /* sigma */); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::time_asd (line 357) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::transfer_function (line 200) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::coherence (line 169) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] --> src/lib.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TimeSeries::time_csd (line 232) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Spectrogram` in this scope [INFO] [stdout] --> src/lib.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 17 | let csd: Spectrogram = signal_1.time_csd(&signal_2, &window, 10.); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gw_signal::spectrogram::Spectrogram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hann` in this scope [INFO] [stdout] --> src/lib.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 12 | let window: Window = hann(1., 0.5, 1e3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | let mut signal_1: TimeSeries = TimeSeries::white_noise(2000000, 1e3, 0f64, 1f64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `gw_signal::timeseries::TimeSeries` [INFO] [stdout] --> src/lib.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `D` [INFO] [stdout] --> /opt/rustwide/workdir/src/timeseries.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TimeSeries { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | let mut signal_2: TimeSeries = signal_1.clone() * 2.; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/filters.rs - filters::Filter::butterworth (line 47) [INFO] [stdout] src/filters.rs - filters::Filter::chebyshev_type1 (line 89) [INFO] [stdout] src/filters.rs - filters::Filter::chebyshev_type2 (line 147) [INFO] [stdout] src/filters.rs - filters::Filter::get_poles (line 535) [INFO] [stdout] src/lib.rs - SeriesIO::print (line 589) [INFO] [stdout] src/lib.rs - SeriesIO::read_csv (line 622) [INFO] [stdout] src/lib.rs - SeriesIO::write_csv (line 606) [INFO] [stdout] src/lib.rs - TimeSeries::apply_filter (line 452) [INFO] [stdout] src/lib.rs - TimeSeries::asd (line 144) [INFO] [stdout] src/lib.rs - TimeSeries::coherence (line 169) [INFO] [stdout] src/lib.rs - TimeSeries::csd (line 50) [INFO] [stdout] src/lib.rs - TimeSeries::psd (line 117) [INFO] [stdout] src/lib.rs - TimeSeries::time_asd (line 357) [INFO] [stdout] src/lib.rs - TimeSeries::time_cohe (line 383) [INFO] [stdout] src/lib.rs - TimeSeries::time_csd (line 232) [INFO] [stdout] src/lib.rs - TimeSeries::time_psd (line 330) [INFO] [stdout] src/lib.rs - TimeSeries::time_tf (line 414) [INFO] [stdout] src/lib.rs - TimeSeries::transfer_function (line 200) [INFO] [stdout] src/timeseries.rs - timeseries::&'amutTimeSeries (line 486) [INFO] [stdout] src/timeseries.rs - timeseries::TimeSeries::constant (line 88) [INFO] [stdout] src/timeseries.rs - timeseries::TimeSeries::wave (line 61) [INFO] [stdout] src/timeseries.rs - timeseries::TimeSeries::white_noise (line 34) [INFO] [stdout] src/timeseries.rs - timeseries::ToType::to_c32 (line 385) [INFO] [stdout] src/timeseries.rs - timeseries::ToType::to_c64 (line 398) [INFO] [stdout] src/windows.rs - windows::Window (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 25 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51cba64bf1e15c4ebefad6bd619f2a4679683be36acd08ba7fe328b82de0ccef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51cba64bf1e15c4ebefad6bd619f2a4679683be36acd08ba7fe328b82de0ccef", kill_on_drop: false }` [INFO] [stdout] 51cba64bf1e15c4ebefad6bd619f2a4679683be36acd08ba7fe328b82de0ccef