[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.38-1/sources/1.37.0/gh/Tyde/rust_ltspice_parser"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/gh/Tyde/rust_ltspice_parser"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Tyde/rust_ltspice_parser on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.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.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Tyde/rust_ltspice_parser against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] ff6d1df7647d864beb14945439c227397bc5d29dd946781479632b4ea9a38648 [INFO] running `"docker" "start" "-a" "ff6d1df7647d864beb14945439c227397bc5d29dd946781479632b4ea9a38648"` [INFO] [stderr] Compiling gnuplot v0.0.20 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [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 11.31s [INFO] running `"docker" "inspect" "ff6d1df7647d864beb14945439c227397bc5d29dd946781479632b4ea9a38648"` [INFO] running `"docker" "rm" "-f" "ff6d1df7647d864beb14945439c227397bc5d29dd946781479632b4ea9a38648"` [INFO] [stdout] ff6d1df7647d864beb14945439c227397bc5d29dd946781479632b4ea9a38648 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] d2476b363ce7f68fe21780d05f307af24e5e4c6f0e0840b493938173ea868f5e [INFO] running `"docker" "start" "-a" "d2476b363ce7f68fe21780d05f307af24e5e4c6f0e0840b493938173ea868f5e"` [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.46s [INFO] running `"docker" "inspect" "d2476b363ce7f68fe21780d05f307af24e5e4c6f0e0840b493938173ea868f5e"` [INFO] running `"docker" "rm" "-f" "d2476b363ce7f68fe21780d05f307af24e5e4c6f0e0840b493938173ea868f5e"` [INFO] [stdout] d2476b363ce7f68fe21780d05f307af24e5e4c6f0e0840b493938173ea868f5e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] f346f9110e43fc903753a0c0fa7d4280d9031b7b3e003be376cd52de95e51bc9 [INFO] running `"docker" "start" "-a" "f346f9110e43fc903753a0c0fa7d4280d9031b7b3e003be376cd52de95e51bc9"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/ltspice_parse-9e5029d8320628b7 [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] Running /opt/crater/target/debug/deps/ltspice_run-9a9586a32f7670b9 [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/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] test src/results.rs - results::VariableResult::find_peaks (line 90) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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" "f346f9110e43fc903753a0c0fa7d4280d9031b7b3e003be376cd52de95e51bc9"` [INFO] running `"docker" "rm" "-f" "f346f9110e43fc903753a0c0fa7d4280d9031b7b3e003be376cd52de95e51bc9"` [INFO] [stdout] f346f9110e43fc903753a0c0fa7d4280d9031b7b3e003be376cd52de95e51bc9