[INFO] cloning repository https://github.com/vasily-kirichenko/threads_test [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vasily-kirichenko/threads_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvasily-kirichenko%2Fthreads_test"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvasily-kirichenko%2Fthreads_test'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3b537905608b0683f8489d0b9c043ce2b6f36d01 [INFO] testing vasily-kirichenko/threads_test against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvasily-kirichenko%2Fthreads_test" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vasily-kirichenko/threads_test 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/vasily-kirichenko/threads_test [INFO] finished tweaking git repo https://github.com/vasily-kirichenko/threads_test [INFO] tweaked toml for git repo https://github.com/vasily-kirichenko/threads_test written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/vasily-kirichenko/threads_test 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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 8f92452dfb482c9903d270e8e23e432ef8533ab2a4e1a3c6bf3003acb95a0d59 [INFO] running `"docker" "start" "-a" "8f92452dfb482c9903d270e8e23e432ef8533ab2a4e1a3c6bf3003acb95a0d59"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling threads_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `v`, which is owned by the current function [INFO] [stderr] --> src/main.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | let t = thread::spawn(|| { [INFO] [stderr] | ^^ may outlive borrowed value `v` [INFO] [stderr] 7 | let mut v = v.lock().unwrap(); [INFO] [stderr] | - `v` is borrowed here [INFO] [stderr] | [INFO] [stderr] note: function requires argument type to outlive `'static` [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let t = thread::spawn(|| { [INFO] [stderr] | _____________^ [INFO] [stderr] 7 | | let mut v = v.lock().unwrap(); [INFO] [stderr] 8 | | v.push(4); [INFO] [stderr] 9 | | }); [INFO] [stderr] | |______^ [INFO] [stderr] help: to force the closure to take ownership of `v` (and any other referenced variables), use the `move` keyword [INFO] [stderr] | [INFO] [stderr] 6 | let t = 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 E0373`. [INFO] [stderr] error: could not compile `threads_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8f92452dfb482c9903d270e8e23e432ef8533ab2a4e1a3c6bf3003acb95a0d59"` [INFO] running `"docker" "rm" "-f" "8f92452dfb482c9903d270e8e23e432ef8533ab2a4e1a3c6bf3003acb95a0d59"` [INFO] [stdout] 8f92452dfb482c9903d270e8e23e432ef8533ab2a4e1a3c6bf3003acb95a0d59