[INFO] crate graphsearch 0.6.0 is already in cache [INFO] extracting crate graphsearch 0.6.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/graphsearch/0.6.0 [INFO] extracting crate graphsearch 0.6.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/graphsearch/0.6.0 [INFO] validating manifest of graphsearch-0.6.0 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 graphsearch-0.6.0 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 graphsearch-0.6.0 [INFO] finished frobbing graphsearch-0.6.0 [INFO] frobbed toml for graphsearch-0.6.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/graphsearch/0.6.0/Cargo.toml [INFO] started frobbing graphsearch-0.6.0 [INFO] finished frobbing graphsearch-0.6.0 [INFO] frobbed toml for graphsearch-0.6.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/graphsearch/0.6.0/Cargo.toml [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 graphsearch-0.6.0 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/graphsearch/0.6.0:/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.36.0" "build" "--frozen"` [INFO] [stdout] efde785c82783b8bdcfad85edf92b5e1345fc36f91fc6dafeb5801f5a121547f [INFO] running `"docker" "start" "-a" "efde785c82783b8bdcfad85edf92b5e1345fc36f91fc6dafeb5801f5a121547f"` [INFO] [stderr] Compiling graphsearch v0.6.0 (/opt/crater/workdir) [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:299:14 [INFO] [stderr] | [INFO] [stderr] 299 | for i in (0..path.len()-1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:320:14 [INFO] [stderr] | [INFO] [stderr] 320 | for i in (0..self.graph.len()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:352:11 [INFO] [stderr] | [INFO] [stderr] 352 | let mut v: Option; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `"docker" "inspect" "efde785c82783b8bdcfad85edf92b5e1345fc36f91fc6dafeb5801f5a121547f"` [INFO] running `"docker" "rm" "-f" "efde785c82783b8bdcfad85edf92b5e1345fc36f91fc6dafeb5801f5a121547f"` [INFO] [stdout] efde785c82783b8bdcfad85edf92b5e1345fc36f91fc6dafeb5801f5a121547f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/graphsearch/0.6.0:/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.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 8ae90f1a267739aeaac356cba52d0b7f588e1e78ea9f21b3f13365e09b81d5ad [INFO] running `"docker" "start" "-a" "8ae90f1a267739aeaac356cba52d0b7f588e1e78ea9f21b3f13365e09b81d5ad"` [INFO] [stderr] Compiling graphsearch v0.6.0 (/opt/crater/workdir) [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:299:14 [INFO] [stderr] | [INFO] [stderr] 299 | for i in (0..path.len()-1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:320:14 [INFO] [stderr] | [INFO] [stderr] 320 | for i in (0..self.graph.len()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:432:16 [INFO] [stderr] | [INFO] [stderr] 432 | for i in (0..expected_path.len()) { assert_eq!(result[i], expected_path[i]); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:493:16 [INFO] [stderr] | [INFO] [stderr] 493 | for i in (0..expected_path.len()) { assert_eq!(result[i], expected_path[i]); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:556:16 [INFO] [stderr] | [INFO] [stderr] 556 | for i in (0..expected_path.len()) { assert_eq!(result[i], expected_path[i]); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:616:16 [INFO] [stderr] | [INFO] [stderr] 616 | for i in (0..expected_path.len()) { assert_eq!(result[i], expected_path[i]); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:678:16 [INFO] [stderr] | [INFO] [stderr] 678 | for i in (0..expected_path.len()) { assert_eq!(result[i], expected_path[i]); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:738:16 [INFO] [stderr] | [INFO] [stderr] 738 | for i in (0..expected_path.len()) { assert_eq!(result[i], expected_path[i]); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/lib.rs:830:16 [INFO] [stderr] | [INFO] [stderr] 830 | for i in (0..expected_path.len()) { assert_eq!(result[i], expected_path[i]); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:352:11 [INFO] [stderr] | [INFO] [stderr] 352 | let mut v: Option; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `"docker" "inspect" "8ae90f1a267739aeaac356cba52d0b7f588e1e78ea9f21b3f13365e09b81d5ad"` [INFO] running `"docker" "rm" "-f" "8ae90f1a267739aeaac356cba52d0b7f588e1e78ea9f21b3f13365e09b81d5ad"` [INFO] [stdout] 8ae90f1a267739aeaac356cba52d0b7f588e1e78ea9f21b3f13365e09b81d5ad [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/graphsearch/0.6.0:/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.36.0" "test" "--frozen"` [INFO] [stdout] 35e1b3f58d8fdd5c4cb3ed1513d0133a0fd3ef2202ce438ffd67aa44bea735c8 [INFO] running `"docker" "start" "-a" "35e1b3f58d8fdd5c4cb3ed1513d0133a0fd3ef2202ce438ffd67aa44bea735c8"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/graphsearch-df8ad8c4cf212d2e [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test depth_first_search_using_index_test ... ok [INFO] [stdout] test depth_first_search_using_index_test_no_valid_path ... ok [INFO] [stdout] test depth_first_search_test_no_valid_path ... ok [INFO] [stdout] test depth_first_search_test ... ok [INFO] [stdout] test breadth_first_search_using_index_test_no_valid_path ... ok [INFO] [stdout] test breadth_first_search_using_index_test ... ok [INFO] [stderr] Doc-tests graphsearch [INFO] [stdout] test dijkstra_test_no_valid_path ... ok [INFO] [stdout] test dijkstra_using_index_test ... ok [INFO] [stdout] test dijkstra_using_index_test_no_valid_path ... ok [INFO] [stdout] test search_test ... ok [INFO] [stdout] test breadth_first_search_test_no_valid_path ... ok [INFO] [stdout] test search_test_no_valid_path ... ok [INFO] [stdout] test search_using_index_test ... ok [INFO] [stdout] test breadth_first_search_test ... ok [INFO] [stdout] test search_using_index_test_no_valid_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Graph::new (line 93) ... ok [INFO] [stdout] test src/lib.rs - (line 5) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "35e1b3f58d8fdd5c4cb3ed1513d0133a0fd3ef2202ce438ffd67aa44bea735c8"` [INFO] running `"docker" "rm" "-f" "35e1b3f58d8fdd5c4cb3ed1513d0133a0fd3ef2202ce438ffd67aa44bea735c8"` [INFO] [stdout] 35e1b3f58d8fdd5c4cb3ed1513d0133a0fd3ef2202ce438ffd67aa44bea735c8