[INFO] cloning repository rohanprabhu/hippo [INFO] running `"git" "clone" "--bare" "git://github.com/rohanprabhu/hippo.git" "work/cache/sources/gh/rohanprabhu/hippo"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/rohanprabhu/hippo'... [INFO] running `"git" "clone" "work/cache/sources/gh/rohanprabhu/hippo" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/rohanprabhu/hippo"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/rohanprabhu/hippo'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rohanprabhu/hippo" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/rohanprabhu/hippo"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/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#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rohanprabhu/hippo on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-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-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/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-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/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" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking rohanprabhu/hippo against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-5/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/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" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] db7bd72ceea2aed14e942202b76754b36c8b439969a6175cb188b8738e774202 [INFO] running `"docker" "start" "-a" "db7bd72ceea2aed14e942202b76754b36c8b439969a6175cb188b8738e774202"` [INFO] [stderr] Checking encode_unicode v0.3.1 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking serde v1.0.25 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand v0.3.20 [INFO] [stderr] Checking users v0.5.3 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Compiling serde_derive_internals v0.18.1 [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking prettytable-rs v0.6.7 [INFO] [stderr] Compiling serde_derive v1.0.25 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking serde_json v1.0.8 [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::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] warning: build failed, waiting for other jobs to finish... [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" "db7bd72ceea2aed14e942202b76754b36c8b439969a6175cb188b8738e774202"` [INFO] running `"docker" "rm" "-f" "db7bd72ceea2aed14e942202b76754b36c8b439969a6175cb188b8738e774202"` [INFO] [stdout] db7bd72ceea2aed14e942202b76754b36c8b439969a6175cb188b8738e774202