[INFO] cloning repository https://github.com/mxhold/histogramify [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mxhold/histogramify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxhold%2Fhistogramify"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxhold%2Fhistogramify'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 318a01d41ff12eaadf7c5e3f4e7c59bf6628693e [INFO] checking mxhold/histogramify against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxhold%2Fhistogramify" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mxhold/histogramify on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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 /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/mxhold/histogramify already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 29a9e96446c64e75d3abba87a397b7c7472792f0c3c16b1038cd47455242ed34 [INFO] running `"docker" "start" "-a" "29a9e96446c64e75d3abba87a397b7c7472792f0c3c16b1038cd47455242ed34"` [INFO] [stderr] Checking 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] For more information about this error, try `rustc --explain E0495`. [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: could not compile `histogramify`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0495`. [INFO] [stderr] error: could not compile `histogramify`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "29a9e96446c64e75d3abba87a397b7c7472792f0c3c16b1038cd47455242ed34"` [INFO] running `"docker" "rm" "-f" "29a9e96446c64e75d3abba87a397b7c7472792f0c3c16b1038cd47455242ed34"` [INFO] [stdout] 29a9e96446c64e75d3abba87a397b7c7472792f0c3c16b1038cd47455242ed34