[INFO] updating cached repository vihu/leetcode_rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/vihu/leetcode_rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/vihu/leetcode_rust" "work/ex/beta-1.38-1/sources/1.37.0/gh/vihu/leetcode_rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/vihu/leetcode_rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/vihu/leetcode_rust" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vihu/leetcode_rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vihu/leetcode_rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3e820ef2caa2ebcce8ca5d0643f6190aa5c06885 [INFO] sha for GitHub repo vihu/leetcode_rust: 3e820ef2caa2ebcce8ca5d0643f6190aa5c06885 [INFO] validating manifest of vihu/leetcode_rust 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 vihu/leetcode_rust 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 vihu/leetcode_rust [INFO] finished frobbing vihu/leetcode_rust [INFO] frobbed toml for vihu/leetcode_rust written to work/ex/beta-1.38-1/sources/1.37.0/gh/vihu/leetcode_rust/Cargo.toml [INFO] started frobbing vihu/leetcode_rust [INFO] finished frobbing vihu/leetcode_rust [INFO] frobbed toml for vihu/leetcode_rust written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vihu/leetcode_rust/Cargo.toml [INFO] crate vihu/leetcode_rust 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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing vihu/leetcode_rust against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vihu/leetcode_rust:/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-08-13" "build" "--frozen"` [INFO] [stdout] 980e91b2c6edb5658715a91e71dca9ee8812bc0969f86cbccfd9d62860638903 [INFO] running `"docker" "start" "-a" "980e91b2c6edb5658715a91e71dca9ee8812bc0969f86cbccfd9d62860638903"` [INFO] [stderr] Compiling leetcode_rust v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/google/p560.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 27 | match map.get(&sum) { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 32 | map.insert(sum, v + 1); [INFO] [stderr] | ^^^ - immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/google/p155.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `push` [INFO] [stderr] --> src/google/p155.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | fn push(&mut self, x: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `pop` [INFO] [stderr] --> src/google/p155.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | fn pop(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `top` [INFO] [stderr] --> src/google/p155.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | fn top(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `get_min` [INFO] [stderr] --> src/google/p155.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | fn get_min(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `len` [INFO] [stderr] --> src/google/p155.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | fn len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `"docker" "inspect" "980e91b2c6edb5658715a91e71dca9ee8812bc0969f86cbccfd9d62860638903"` [INFO] running `"docker" "rm" "-f" "980e91b2c6edb5658715a91e71dca9ee8812bc0969f86cbccfd9d62860638903"` [INFO] [stdout] 980e91b2c6edb5658715a91e71dca9ee8812bc0969f86cbccfd9d62860638903 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vihu/leetcode_rust:/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-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] a9b57453ef3ee7a093528f7789e4532dcbb13790cb16b82f905717e52e0cfcc9 [INFO] running `"docker" "start" "-a" "a9b57453ef3ee7a093528f7789e4532dcbb13790cb16b82f905717e52e0cfcc9"` [INFO] [stderr] Compiling leetcode_rust v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `BSTIterator` [INFO] [stderr] --> src/google/p173.rs:67:17 [INFO] [stderr] | [INFO] [stderr] 67 | use super::{BSTIterator, TreeNode}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/google/p560.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 27 | match map.get(&sum) { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 32 | map.insert(sum, v + 1); [INFO] [stderr] | ^^^ - immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/google/p173.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | let mut root = TreeNode::new(7); [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 2.83s [INFO] running `"docker" "inspect" "a9b57453ef3ee7a093528f7789e4532dcbb13790cb16b82f905717e52e0cfcc9"` [INFO] running `"docker" "rm" "-f" "a9b57453ef3ee7a093528f7789e4532dcbb13790cb16b82f905717e52e0cfcc9"` [INFO] [stdout] a9b57453ef3ee7a093528f7789e4532dcbb13790cb16b82f905717e52e0cfcc9 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vihu/leetcode_rust:/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-08-13" "test" "--frozen"` [INFO] [stdout] 54dbfd11d80c6b6d4623132f884d6a1e9f46a6fd89dd41c29fb5c5c61d6addf8 [INFO] running `"docker" "start" "-a" "54dbfd11d80c6b6d4623132f884d6a1e9f46a6fd89dd41c29fb5c5c61d6addf8"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/leetcode_rust-c3a236aa2f77d0a1 [INFO] [stdout] [INFO] [stdout] running 75 tests [INFO] [stdout] test google::p200::test::example1 ... ok [INFO] [stdout] test google::p173::test::example1 ... ok [INFO] [stdout] test google::p20::test::example1 ... ok [INFO] [stdout] test google::p155::test::example2 ... ok [INFO] [stdout] test google::p200::test::example2 ... ok [INFO] [stdout] test google::p155::test::example1 ... ok [INFO] [stdout] test google::p20::test::example5 ... ok [INFO] [stdout] test google::p20::test::example4 ... ok [INFO] [stdout] test google::p20::test::example3 ... ok [INFO] [stdout] test google::p20::test::example6 ... ok [INFO] [stdout] test google::p20::test::example7 ... ok [INFO] [stdout] test google::p20::test::example8 ... ok [INFO] [stdout] test google::p20::test::example9 ... ok [INFO] [stdout] test google::p231::test::example1 ... ok [INFO] [stdout] test google::p231::test::example10 ... ok [INFO] [stdout] test google::p231::test::example11 ... ok [INFO] [stdout] test google::p231::test::example12 ... ok [INFO] [stdout] test google::p231::test::example13 ... ok [INFO] [stdout] test google::p231::test::example2 ... ok [INFO] [stdout] test google::p231::test::example3 ... ok [INFO] [stdout] test google::p231::test::example4 ... ok [INFO] [stdout] test google::p20::test::example2 ... ok [INFO] [stdout] test google::p231::test::example5 ... ok [INFO] [stdout] test google::p231::test::example6 ... ok [INFO] [stdout] test google::p231::test::example7 ... ok [INFO] [stdout] test google::p231::test::example8 ... ok [INFO] [stdout] test google::p231::test::example9 ... ok [INFO] [stdout] test google::p253::test::example1 ... ok [INFO] [stdout] test google::p253::test::example2 ... ok [INFO] [stdout] test google::p326::test::example1 ... ok [INFO] [stdout] test google::p326::test::example2 ... ok [INFO] [stdout] test google::p326::test::example3 ... ok [INFO] [stdout] test google::p345::test::example2 ... ok [INFO] [stdout] test google::p345::test::example3 ... ok [INFO] [stdout] test google::p326::test::example4 ... ok [INFO] [stdout] test google::p326::test::example5 ... ok [INFO] [stdout] test google::p20::test::example11 ... ok [INFO] [stdout] test google::p326::test::example6 ... ok [INFO] [stdout] test google::p345::test::example1 ... ok [INFO] [stdout] test google::p20::test::example10 ... ok [INFO] [stdout] test google::p387::test::example2 ... ok [INFO] [stdout] test google::p387::test::example1 ... ok [INFO] [stdout] test google::p345::test::example7 ... ok [INFO] [stdout] test google::p345::test::example6 ... ok [INFO] [stdout] test google::p345::test::example4 ... ok [INFO] [stdout] test google::p345::test::example5 ... ok [INFO] [stdout] test google::p415::test::example1 ... ok [INFO] [stdout] test google::p415::test::example2 ... ok [INFO] [stdout] test google::p415::test::example3 ... ok [INFO] [stdout] test google::p415::test::example4 ... ok [INFO] [stdout] test google::p406::test::example1 ... ok [INFO] [stdout] test google::p387::test::example3 ... ok [INFO] [stdout] test google::p415::test::example6 ... ok [INFO] [stdout] test google::p448::test::example1 ... ok [INFO] [stdout] test google::p463::test::example1 ... ok [INFO] [stdout] test google::p463::test::example2 ... ok [INFO] [stdout] test google::p50::test::example1 ... ok [INFO] [stdout] test google::p50::test::example3 ... ok [INFO] [stdout] test google::p50::test::example4 ... ok [INFO] [stdout] test google::p560::test::example1 ... ok [INFO] [stdout] test google::p56::test::example2 ... ok [INFO] [stdout] test google::p56::test::example1 ... ok [INFO] [stdout] test google::p657::test::example1 ... ok [INFO] [stdout] test google::p657::test::example2 ... ok [INFO] [stdout] test google::p66::test::example1 ... ok [INFO] [stdout] test google::p66::test::example2 ... ok [INFO] [stdout] test google::p739::test::example1 ... ok [INFO] [stdout] test google::p832::test::example1 ... ok [INFO] [stdout] test google::p832::test::example2 ... ok [INFO] [stdout] test google::p929::test::example1 ... ok [INFO] [stdout] test google::p929::test::example2 ... ok [INFO] [stdout] test google::p929::test::example3 ... ok [INFO] [stdout] test google::p929::test::example4 ... ok [INFO] [stdout] test google::p415::test::example5 ... ok [INFO] [stdout] test google::p387::test::example4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 75 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "54dbfd11d80c6b6d4623132f884d6a1e9f46a6fd89dd41c29fb5c5c61d6addf8"` [INFO] running `"docker" "rm" "-f" "54dbfd11d80c6b6d4623132f884d6a1e9f46a6fd89dd41c29fb5c5c61d6addf8"` [INFO] [stdout] 54dbfd11d80c6b6d4623132f884d6a1e9f46a6fd89dd41c29fb5c5c61d6addf8