[INFO] updating cached repository https://github.com/mxhold/histogramify [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 318a01d41ff12eaadf7c5e3f4e7c59bf6628693e [INFO] testing mxhold/histogramify against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxhold%2Fhistogramify" "work/builds/worker-5/source"` [INFO] [stderr] Cloning into 'work/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mxhold/histogramify on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mxhold/histogramify [INFO] finished tweaking git repo https://github.com/mxhold/histogramify [INFO] tweaked toml for git repo https://github.com/mxhold/histogramify written to work/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/mxhold/histogramify already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] c6442e4861131b80bba04bd41e469c3a866e2be742275a56cb5060fd782465c0 [INFO] running `"docker" "start" "-a" "c6442e4861131b80bba04bd41e469c3a866e2be742275a56cb5060fd782465c0"` [INFO] [stderr] Compiling histogramify v0.1.0 (/opt/rustwide/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" "c6442e4861131b80bba04bd41e469c3a866e2be742275a56cb5060fd782465c0"` [INFO] running `"docker" "rm" "-f" "c6442e4861131b80bba04bd41e469c3a866e2be742275a56cb5060fd782465c0"` [INFO] [stdout] c6442e4861131b80bba04bd41e469c3a866e2be742275a56cb5060fd782465c0