[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] testing mxhold/histogramify against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxhold%2Fhistogramify" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mxhold/histogramify on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-7/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a44581e58a8bcc7f7c0ec21ce830501931732e1caac865a93cdba36c01b29b13 [INFO] running `"docker" "start" "-a" "a44581e58a8bcc7f7c0ec21ce830501931732e1caac865a93cdba36c01b29b13"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] 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" "a44581e58a8bcc7f7c0ec21ce830501931732e1caac865a93cdba36c01b29b13"` [INFO] running `"docker" "rm" "-f" "a44581e58a8bcc7f7c0ec21ce830501931732e1caac865a93cdba36c01b29b13"` [INFO] [stdout] a44581e58a8bcc7f7c0ec21ce830501931732e1caac865a93cdba36c01b29b13