[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/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/rohanprabhu/hippo"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/rohanprabhu/hippo'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rohanprabhu/hippo" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/rohanprabhu/hippo"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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 master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rohanprabhu/hippo on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "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/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/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/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking rohanprabhu/hippo against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-3/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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=forbid" "-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" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b7d27967caecdc789af7c448cd57f18c174750e31c7f12f559176b57430814ab [INFO] running `"docker" "start" "-a" "b7d27967caecdc789af7c448cd57f18c174750e31c7f12f559176b57430814ab"` [INFO] [stderr] Checking getopts v0.2.15 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand v0.3.20 [INFO] [stderr] Checking users v0.5.3 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking csv v0.15.0 [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] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking prettytable-rs v0.6.7 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Checking 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] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/commons.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref HIPPO_PRINTABLE : ColoredString = { [INFO] [stderr] 7 | | "hippo".magenta() [INFO] [stderr] 8 | | }; [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [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] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/commons.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref HIPPO_PRINTABLE : ColoredString = { [INFO] [stderr] 7 | | "hippo".magenta() [INFO] [stderr] 8 | | }; [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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[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: 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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `hippo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b7d27967caecdc789af7c448cd57f18c174750e31c7f12f559176b57430814ab"` [INFO] running `"docker" "rm" "-f" "b7d27967caecdc789af7c448cd57f18c174750e31c7f12f559176b57430814ab"` [INFO] [stdout] b7d27967caecdc789af7c448cd57f18c174750e31c7f12f559176b57430814ab