[INFO] updating cached repository https://github.com/vasily-kirichenko/threads_test [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] 3b537905608b0683f8489d0b9c043ce2b6f36d01 [INFO] testing vasily-kirichenko/threads_test against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvasily-kirichenko%2Fthreads_test" "work/builds/worker-0/source"` [INFO] [stderr] Cloning into 'work/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vasily-kirichenko/threads_test on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.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 work/builds/worker-0/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-0/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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] e57ee0ddb7616b6b9471ef738b42a6c34bddb32504d23a48d5b335401e78541f [INFO] running `"docker" "start" "-a" "e57ee0ddb7616b6b9471ef738b42a6c34bddb32504d23a48d5b335401e78541f"` [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" "e57ee0ddb7616b6b9471ef738b42a6c34bddb32504d23a48d5b335401e78541f"` [INFO] running `"docker" "rm" "-f" "e57ee0ddb7616b6b9471ef738b42a6c34bddb32504d23a48d5b335401e78541f"` [INFO] [stdout] e57ee0ddb7616b6b9471ef738b42a6c34bddb32504d23a48d5b335401e78541f