[INFO] updating cached repository rohanprabhu/hippo [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/rohanprabhu/hippo [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/rohanprabhu/hippo" "work/ex/beta-1.38-1/sources/1.37.0/gh/rohanprabhu/hippo"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/rohanprabhu/hippo'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rohanprabhu/hippo" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rohanprabhu/hippo"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rohanprabhu/hippo'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6ef9f6408157e146e6d7f380f299b6c24e0763d5 [INFO] sha for GitHub repo rohanprabhu/hippo: 6ef9f6408157e146e6d7f380f299b6c24e0763d5 [INFO] validating manifest of rohanprabhu/hippo 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 rohanprabhu/hippo 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 rohanprabhu/hippo [INFO] finished frobbing rohanprabhu/hippo [INFO] frobbed toml for rohanprabhu/hippo written to work/ex/beta-1.38-1/sources/1.37.0/gh/rohanprabhu/hippo/Cargo.toml [INFO] started frobbing rohanprabhu/hippo [INFO] finished frobbing rohanprabhu/hippo [INFO] frobbed toml for rohanprabhu/hippo written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rohanprabhu/hippo/Cargo.toml [INFO] crate rohanprabhu/hippo 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 rohanprabhu/hippo 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-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/rohanprabhu/hippo:/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] f81596abb190c4bddc162f879a87dc0e4b797dcb0eb3304ceef0aebb3ed75219 [INFO] running `"docker" "start" "-a" "f81596abb190c4bddc162f879a87dc0e4b797dcb0eb3304ceef0aebb3ed75219"` [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling serde v1.0.25 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling getopts v0.2.15 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] warning[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.15/src/lib.rs:1033:33 [INFO] [stderr] | [INFO] [stderr] 978 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stderr] | ---------------------------------------- borrow of `state` occurs here [INFO] [stderr] ... [INFO] [stderr] 982 | state = match (state, whitespace, limit) { [INFO] [stderr] | ----- borrow occurs due to use of `state` in closure [INFO] [stderr] ... [INFO] [stderr] 1033 | while cont && match state { B | C => true, A => false } { [INFO] [stderr] | ^ use of borrowed `state` [INFO] [stderr] 1034 | machine(&mut cont, (fake_i, ' ')); [INFO] [stderr] | ------- borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling encode_unicode v0.3.1 [INFO] [stderr] Compiling colored v1.6.0 [INFO] [stderr] Compiling serde_derive_internals v0.18.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling users v0.5.3 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling pretty-bytes v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling prettytable-rs v0.6.7 [INFO] [stderr] Compiling serde_derive v1.0.25 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling uuid v0.4.0 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.8 [INFO] [stderr] Compiling hippo v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:30:44 [INFO] [stderr] | [INFO] [stderr] 30 | let mut home_dir = if let Some(path) = env::home_dir() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error[E0716]: temporary value dropped while borrowed [INFO] [stderr] --> src/snap.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | for ref file_path in file_paths { [INFO] [stderr] | ^^^^^^^^^^ creates a temporary which is freed while still in use [INFO] [stderr] ... [INFO] [stderr] 24 | let mut managed_file = managed_file_journal.create_or_get_managed_file(file_path)?; [INFO] [stderr] | -------------------- borrow later used here [INFO] [stderr] 25 | managed_file.snap_current_state(name.to_owned(), comment.to_owned(), None)?; [INFO] [stderr] 26 | } [INFO] [stderr] | - temporary value is freed at the end of this statement [INFO] [stderr] | [INFO] [stderr] = note: consider using a `let` binding to create a longer lived value [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `managed_file_journal` as mutable more than once at a time [INFO] [stderr] --> src/snap.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | let mut managed_file = managed_file_journal.create_or_get_managed_file(file_path)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow starts here in previous iteration of loop [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0499, E0716. [INFO] [stderr] For more information about an error, try `rustc --explain E0499`. [INFO] [stderr] error: Could not compile `hippo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f81596abb190c4bddc162f879a87dc0e4b797dcb0eb3304ceef0aebb3ed75219"` [INFO] running `"docker" "rm" "-f" "f81596abb190c4bddc162f879a87dc0e4b797dcb0eb3304ceef0aebb3ed75219"` [INFO] [stdout] f81596abb190c4bddc162f879a87dc0e4b797dcb0eb3304ceef0aebb3ed75219