[INFO] cloning repository https://github.com/spaghetus/funky-subtitles
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spaghetus/funky-subtitles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaghetus%2Ffunky-subtitles", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaghetus%2Ffunky-subtitles'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c59a91f42e07ad1f7299eb5c51718b2118fd1aa3
[INFO] checking spaghetus/funky-subtitles against c60b92c03ca8a3b101eb9d57f51e2232690638c7 for pr-164148-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaghetus%2Ffunky-subtitles" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/spaghetus/funky-subtitles
[INFO] finished tweaking git repo https://github.com/spaghetus/funky-subtitles
[INFO] tweaked toml for git repo https://github.com/spaghetus/funky-subtitles written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spaghetus/funky-subtitles on toolchain c60b92c03ca8a3b101eb9d57f51e2232690638c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spaghetus/funky-subtitles already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731
[INFO] running `Command { std: "docker" "start" "7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731" "/opt/rustwide/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731" "/opt/rustwide/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]     Checking clap_lex v0.6.0
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking itertools v0.12.0
[INFO] [stderr]     Checking braille v1.0.3
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking png v0.17.11
[INFO] [stderr]     Checking anstream v0.6.11
[INFO] [stderr]     Checking clap_builder v4.4.18
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking rayon v1.8.1
[INFO] [stderr]     Checking exr v1.71.0
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking image v0.24.8
[INFO] [stderr]     Checking clap v4.4.18
[INFO] [stderr]     Checking funky-subtitles v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout]  8 |       threshold: &'a T,
[INFO] [stdout]    |       --------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 30 |               coordinates.map(move |block| {
[INFO] [stdout]    |                                          - inferred to be a `FnMut` closure
[INFO] [stdout] 31 |                   // Read the corresponding pixels from the image,
[INFO] [stdout] 32 | /                 block
[INFO] [stdout] 33 | |                     .map(move |(x, y)| image.get_pixel(x, y).channels()[channel_index].clone())
[INFO] [stdout] 34 | |                     // And replace the coordinates with whether or not that color passed the threshold
[INFO] [stdout] 35 | |                     .map(|value| &value >= threshold)
[INFO] [stdout]    | |____________________________________________---------^ returns a closure that contains a reference to a captured variable, which then escapes the closure body
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              variable captured here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]    = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] help: consider adding 'move' keyword before the nested closure
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     .map(move |value| &value >= threshold)
[INFO] [stdout]    |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout]  8 |       threshold: &'a T,
[INFO] [stdout]    |       --------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 30 |               coordinates.map(move |block| {
[INFO] [stdout]    |                                          - inferred to be a `FnMut` closure
[INFO] [stdout] 31 |                   // Read the corresponding pixels from the image,
[INFO] [stdout] 32 | /                 block
[INFO] [stdout] 33 | |                     .map(move |(x, y)| image.get_pixel(x, y).channels()[channel_index].clone())
[INFO] [stdout] 34 | |                     // And replace the coordinates with whether or not that color passed the threshold
[INFO] [stdout] 35 | |                     .map(|value| &value >= threshold)
[INFO] [stdout]    | |____________________________________________---------^ returns a closure that contains a reference to a captured variable, which then escapes the closure body
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              variable captured here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]    = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] help: consider adding 'move' keyword before the nested closure
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     .map(move |value| &value >= threshold)
[INFO] [stdout]    |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `funky-subtitles` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `funky-subtitles` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731", kill_on_drop: false }`
[INFO] [stdout] 7584a63f082dd0b67ab7af64ca419ca83fd8c263873fc1a6bb31445f49741731
