[INFO] updating cached repository Tyde/rust_ltspice_parser [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Tyde/rust_ltspice_parser [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Tyde/rust_ltspice_parser" "work/ex/beta-1.37-6/sources/1.36.0/gh/Tyde/rust_ltspice_parser"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/Tyde/rust_ltspice_parser'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Tyde/rust_ltspice_parser" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tyde/rust_ltspice_parser"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tyde/rust_ltspice_parser'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fb223bcf85efdaaa3b01843183c4a8b126428998 [INFO] sha for GitHub repo Tyde/rust_ltspice_parser: fb223bcf85efdaaa3b01843183c4a8b126428998 [INFO] validating manifest of Tyde/rust_ltspice_parser on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Tyde/rust_ltspice_parser on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Tyde/rust_ltspice_parser [INFO] finished frobbing Tyde/rust_ltspice_parser [INFO] frobbed toml for Tyde/rust_ltspice_parser written to work/ex/beta-1.37-6/sources/1.36.0/gh/Tyde/rust_ltspice_parser/Cargo.toml [INFO] started frobbing Tyde/rust_ltspice_parser [INFO] finished frobbing Tyde/rust_ltspice_parser [INFO] frobbed toml for Tyde/rust_ltspice_parser written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tyde/rust_ltspice_parser/Cargo.toml [INFO] crate Tyde/rust_ltspice_parser already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/Tyde/rust_ltspice_parser/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Tyde/rust_ltspice_parser against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tyde/rust_ltspice_parser:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 692a3ab0cc24c7deb5d033ae250eb14c2e069eeaeff2345fc94880f1f2db0bee [INFO] running `"docker" "start" "-a" "692a3ab0cc24c7deb5d033ae250eb14c2e069eeaeff2345fc94880f1f2db0bee"` [INFO] [stderr] Compiling gnuplot v0.0.20 [INFO] [stderr] Compiling statistical v0.1.1 [INFO] [stderr] Compiling rust_ltspice_parser v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `steps` [INFO] [stderr] --> src/main.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let steps = results.available_steps(); [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_steps` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.83s [INFO] running `"docker" "inspect" "692a3ab0cc24c7deb5d033ae250eb14c2e069eeaeff2345fc94880f1f2db0bee"` [INFO] running `"docker" "rm" "-f" "692a3ab0cc24c7deb5d033ae250eb14c2e069eeaeff2345fc94880f1f2db0bee"` [INFO] [stdout] 692a3ab0cc24c7deb5d033ae250eb14c2e069eeaeff2345fc94880f1f2db0bee [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tyde/rust_ltspice_parser:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] 2f3b84a9076535a3b94e8c7397e961c0fbd54d5a2a31b6028f2855cd7a4cbbf3 [INFO] running `"docker" "start" "-a" "2f3b84a9076535a3b94e8c7397e961c0fbd54d5a2a31b6028f2855cd7a4cbbf3"` [INFO] [stderr] Compiling rust_ltspice_parser v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `steps` [INFO] [stderr] --> src/main.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let steps = results.available_steps(); [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_steps` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `"docker" "inspect" "2f3b84a9076535a3b94e8c7397e961c0fbd54d5a2a31b6028f2855cd7a4cbbf3"` [INFO] running `"docker" "rm" "-f" "2f3b84a9076535a3b94e8c7397e961c0fbd54d5a2a31b6028f2855cd7a4cbbf3"` [INFO] [stdout] 2f3b84a9076535a3b94e8c7397e961c0fbd54d5a2a31b6028f2855cd7a4cbbf3 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tyde/rust_ltspice_parser:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen"` [INFO] [stdout] 68a961d3ac23537d123404874737300ce403ce2d42a08f661812d640f99cf7fd [INFO] running `"docker" "start" "-a" "68a961d3ac23537d123404874737300ce403ce2d42a08f661812d640f99cf7fd"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/crater/target/debug/deps/ltspice_parse-6b1426b2ba181b10 [INFO] [stderr] Running /opt/crater/target/debug/deps/ltspice_run-83a21feabf3f1a41 [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 [INFO] [stdout] [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 [INFO] [stdout] [INFO] [stderr] Doc-tests ltspice_parse [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/results.rs - results::VariableResult::find_peaks (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - SteppedSimulation (line 34) ... FAILED [INFO] [stdout] test src/results.rs - results::VariableResult::find_value_near_freq (line 182) ... FAILED [INFO] [stdout] test src/results.rs - results::VariableResult::get_data (line 42) ... FAILED [INFO] [stdout] test src/results.rs - results::VariableResult (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/results.rs - results::VariableResult::find_peaks (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PeakType` [INFO] [stdout] --> src/results.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 3 | let peaks = result.find_peaks(Some(PeakType::Maximum),&DataType::AbsoluteDecibel); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `PeakType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DataType` [INFO] [stdout] --> src/results.rs:91:56 [INFO] [stdout] | [INFO] [stdout] 3 | let peaks = result.find_peaks(Some(PeakType::Maximum),&DataType::AbsoluteDecibel); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `DataType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `result` in this scope [INFO] [stdout] --> src/results.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 3 | let peaks = result.find_peaks(Some(PeakType::Maximum),&DataType::AbsoluteDecibel); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SteppedSimulation (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PathBuf` [INFO] [stdout] --> src/lib.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut path = PathBuf::from("./simulations/"); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PathBuf` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SteppedSimulation` [INFO] [stdout] --> src/lib.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 8 | let results = SteppedSimulation::from_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `SteppedSimulation` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/results.rs - results::VariableResult::find_value_near_freq (line 182) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `}` [INFO] [stdout] --> src/results.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 3 | let (position_in_dataset, value) = find_value_near_freq(&DataType::AbsoluteDecibel,&frequency_dataset,500.0) [INFO] [stdout] | - expected one of `.`, `;`, `?`, or an operator here [INFO] [stdout] 4 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/results.rs - results::VariableResult::get_data (line 42) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DataType` [INFO] [stdout] --> src/results.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 3 | let imaginary_values = result.get_data(&DataType::Imaginary); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `DataType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `result` in this scope [INFO] [stdout] --> src/results.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 3 | let imaginary_values = result.get_data(&DataType::Imaginary); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/results.rs - results::VariableResult (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DataType` [INFO] [stdout] --> src/results.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 4 | let decibel_data = result.get_data(&DataType::AbsoluteDecibel); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `DataType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `result` in this scope [INFO] [stdout] --> src/results.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 4 | let decibel_data = result.get_data(&DataType::AbsoluteDecibel); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - SteppedSimulation (line 34) [INFO] [stdout] src/results.rs - results::VariableResult (line 13) [INFO] [stdout] src/results.rs - results::VariableResult::find_peaks (line 90) [INFO] [stdout] src/results.rs - results::VariableResult::find_value_near_freq (line 182) [INFO] [stdout] src/results.rs - results::VariableResult::get_data (line 42) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "68a961d3ac23537d123404874737300ce403ce2d42a08f661812d640f99cf7fd"` [INFO] running `"docker" "rm" "-f" "68a961d3ac23537d123404874737300ce403ce2d42a08f661812d640f99cf7fd"` [INFO] [stdout] 68a961d3ac23537d123404874737300ce403ce2d42a08f661812d640f99cf7fd