[INFO] updating cached repository mxhold/histogramify [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mxhold/histogramify [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mxhold/histogramify" "work/ex/beta-1.38-1/sources/1.37.0/gh/mxhold/histogramify"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/mxhold/histogramify'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mxhold/histogramify" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/mxhold/histogramify"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/mxhold/histogramify'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 318a01d41ff12eaadf7c5e3f4e7c59bf6628693e [INFO] sha for GitHub repo mxhold/histogramify: 318a01d41ff12eaadf7c5e3f4e7c59bf6628693e [INFO] validating manifest of mxhold/histogramify 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 mxhold/histogramify 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 mxhold/histogramify [INFO] finished frobbing mxhold/histogramify [INFO] frobbed toml for mxhold/histogramify written to work/ex/beta-1.38-1/sources/1.37.0/gh/mxhold/histogramify/Cargo.toml [INFO] started frobbing mxhold/histogramify [INFO] finished frobbing mxhold/histogramify [INFO] frobbed toml for mxhold/histogramify written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/mxhold/histogramify/Cargo.toml [INFO] crate mxhold/histogramify 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing mxhold/histogramify 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-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/mxhold/histogramify:/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] a8c6e8f6ca5b79bad7f788510d386d5e7282325e60574a609308ae63bf5d5f57 [INFO] running `"docker" "start" "-a" "a8c6e8f6ca5b79bad7f788510d386d5e7282325e60574a609308ae63bf5d5f57"` [INFO] [stderr] Compiling histogramify v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0495]: cannot infer an appropriate lifetime for lifetime parameter in function call due to conflicting requirements [INFO] [stderr] --> src/main.rs:20:35 [INFO] [stderr] | [INFO] [stderr] 20 | let words_for_threads = words.chunks(words.len() / THREADS as usize); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the function body at 17:1... [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / fn word_frequencies(words: Vec<&str>) -> HashMap<&str, u32> { [INFO] [stderr] 18 | | let mut word_frequencies: Arc>> = Arc::new(Mutex::new(HashMap::new())); [INFO] [stderr] 19 | | let mut handles = vec![]; [INFO] [stderr] 20 | | let words_for_threads = words.chunks(words.len() / THREADS as usize); [INFO] [stderr] ... | [INFO] [stderr] 40 | | *word_frequencies.lock().unwrap() [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] note: ...so that the reference type `&std::vec::Vec<&str>` does not outlive the data it points at [INFO] [stderr] --> src/main.rs:20:35 [INFO] [stderr] | [INFO] [stderr] 20 | let words_for_threads = words.chunks(words.len() / THREADS as usize); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stderr] note: ...so that the type `[closure@src/main.rs:23:36: 32:10 words:&[&str], word_frequencies:std::sync::Arc>>]` will meet its required lifetime bounds [INFO] [stderr] --> src/main.rs:23:22 [INFO] [stderr] | [INFO] [stderr] 23 | let handle = thread::spawn(move || { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `histogramify`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a8c6e8f6ca5b79bad7f788510d386d5e7282325e60574a609308ae63bf5d5f57"` [INFO] running `"docker" "rm" "-f" "a8c6e8f6ca5b79bad7f788510d386d5e7282325e60574a609308ae63bf5d5f57"` [INFO] [stdout] a8c6e8f6ca5b79bad7f788510d386d5e7282325e60574a609308ae63bf5d5f57