[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/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/mxhold/histogramify"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/mxhold/histogramify'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mxhold/histogramify" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/mxhold/histogramify"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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 master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mxhold/histogramify on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "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/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/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/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking mxhold/histogramify against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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=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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9fe1084e067cf6085a3433d60e215b9b3d8a5154296cb53e45f96ed25ea6841a [INFO] running `"docker" "start" "-a" "9fe1084e067cf6085a3433d60e215b9b3d8a5154296cb53e45f96ed25ea6841a"` [INFO] [stderr] Checking 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] warning: build failed, waiting for other jobs to finish... [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" "9fe1084e067cf6085a3433d60e215b9b3d8a5154296cb53e45f96ed25ea6841a"` [INFO] running `"docker" "rm" "-f" "9fe1084e067cf6085a3433d60e215b9b3d8a5154296cb53e45f96ed25ea6841a"` [INFO] [stdout] 9fe1084e067cf6085a3433d60e215b9b3d8a5154296cb53e45f96ed25ea6841a