[INFO] cloning repository https://github.com/mats852/ha-store-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mats852/ha-store-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b66edb7e60f2548050a069892454714ebe442b6 [INFO] checking mats852/ha-store-rust against master#f4d794ea0b845413344621d89f6c945062748485 for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mats852/ha-store-rust on toolchain f4d794ea0b845413344621d89f6c945062748485 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mats852/ha-store-rust [INFO] finished tweaking git repo https://github.com/mats852/ha-store-rust [INFO] tweaked toml for git repo https://github.com/mats852/ha-store-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mats852/ha-store-rust 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" "+f4d794ea0b845413344621d89f6c945062748485" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking mats852/ha-store-rust against try#3832a95f57d4260fb5641e183906f49b4e5c6bdd for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mats852/ha-store-rust on toolchain 3832a95f57d4260fb5641e183906f49b4e5c6bdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mats852/ha-store-rust [INFO] finished tweaking git repo https://github.com/mats852/ha-store-rust [INFO] tweaked toml for git repo https://github.com/mats852/ha-store-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mats852/ha-store-rust 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" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking mats852/ha-store-rust against try#3832a95f57d4260fb5641e183906f49b4e5c6bdd for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mats852/ha-store-rust on toolchain 3832a95f57d4260fb5641e183906f49b4e5c6bdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mats852/ha-store-rust [INFO] finished tweaking git repo https://github.com/mats852/ha-store-rust [INFO] tweaked toml for git repo https://github.com/mats852/ha-store-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mats852/ha-store-rust 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" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e51b1993110a84d60a4cc2c7b8e5374189d5f29ef92c42a5df944a278ab6f07 [INFO] running `Command { std: "docker" "start" "-a" "3e51b1993110a84d60a4cc2c7b8e5374189d5f29ef92c42a5df944a278ab6f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e51b1993110a84d60a4cc2c7b8e5374189d5f29ef92c42a5df944a278ab6f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e51b1993110a84d60a4cc2c7b8e5374189d5f29ef92c42a5df944a278ab6f07", kill_on_drop: false }` [INFO] [stdout] 3e51b1993110a84d60a4cc2c7b8e5374189d5f29ef92c42a5df944a278ab6f07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1cb0ac6196087d944d27e6616f49926506d9e888da4310bade19f2c46448a3e [INFO] running `Command { std: "docker" "start" "-a" "a1cb0ac6196087d944d27e6616f49926506d9e888da4310bade19f2c46448a3e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Checking lru v0.6.0 [INFO] [stderr] Checking ha-store-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/store.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | - ^^^^^^^^^^^^^ returns a reference to a captured variable which escapes the closure body [INFO] [stdout] | | [INFO] [stdout] | inferred to be a `FnMut` closure [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] [INFO] [stdout] [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/store.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | - ^^^^^^^^^^^^^ returns a reference to a captured variable which escapes the closure body [INFO] [stdout] | | [INFO] [stdout] | inferred to be a `FnMut` closure [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] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `self`, which is owned by the current function [INFO] [stdout] --> src/store.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | ^^^^^^ ---- `self` is borrowed here [INFO] [stdout] | | [INFO] [stdout] | may outlive borrowed value `self` [INFO] [stdout] | [INFO] [stdout] note: closure is returned here [INFO] [stdout] --> src/store.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | return keys [INFO] [stdout] | ____________^ [INFO] [stdout] 26 | | .iter() [INFO] [stdout] 27 | | .map(|&key| self.get(key)) [INFO] [stdout] 28 | | .collect::>(); [INFO] [stdout] | |__________________________^ [INFO] [stdout] help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 27 | .map(move |&key| self.get(key)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `self`, which is owned by the current function [INFO] [stdout] --> src/store.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | ^^^^^^ ---- `self` is borrowed here [INFO] [stdout] | | [INFO] [stdout] | may outlive borrowed value `self` [INFO] [stdout] | [INFO] [stdout] note: closure is returned here [INFO] [stdout] --> src/store.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | return keys [INFO] [stdout] | ____________^ [INFO] [stdout] 26 | | .iter() [INFO] [stdout] 27 | | .map(|&key| self.get(key)) [INFO] [stdout] 28 | | .collect::>(); [INFO] [stdout] | |__________________________^ [INFO] [stdout] help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 27 | .map(move |&key| self.get(key)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ha-store-rust` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ha-store-rust` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a1cb0ac6196087d944d27e6616f49926506d9e888da4310bade19f2c46448a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1cb0ac6196087d944d27e6616f49926506d9e888da4310bade19f2c46448a3e", kill_on_drop: false }` [INFO] [stdout] a1cb0ac6196087d944d27e6616f49926506d9e888da4310bade19f2c46448a3e