[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mats852/ha-store-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-4/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: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 134e1885faf763d9f8e1ebe867b36748731c018cb16a233778658ae0b4d8c224 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "134e1885faf763d9f8e1ebe867b36748731c018cb16a233778658ae0b4d8c224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "134e1885faf763d9f8e1ebe867b36748731c018cb16a233778658ae0b4d8c224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134e1885faf763d9f8e1ebe867b36748731c018cb16a233778658ae0b4d8c224", kill_on_drop: false }` [INFO] [stdout] 134e1885faf763d9f8e1ebe867b36748731c018cb16a233778658ae0b4d8c224 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 553d7fe5435e4871630fc9a79fdcc9830aa2ed6f8cf1299e9b05e68a30a1dc56 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "553d7fe5435e4871630fc9a79fdcc9830aa2ed6f8cf1299e9b05e68a30a1dc56", 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[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/store.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the lifetime `'_` as defined on the body at 27:12... [INFO] [stdout] --> src/store.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...so that closure can access `self` [INFO] [stdout] --> src/store.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | ^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the anonymous lifetime defined on the method body at 24:20... [INFO] [stdout] --> src/store.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_multi(&mut self, keys: &Vec<&K>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: ...so that the expression is assignable [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] = note: expected `Vec>` [INFO] [stdout] found `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/store.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the lifetime `'_` as defined on the body at 27:12... [INFO] [stdout] --> src/store.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...so that closure can access `self` [INFO] [stdout] --> src/store.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|&key| self.get(key)) [INFO] [stdout] | ^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the anonymous lifetime defined on the method body at 24:20... [INFO] [stdout] --> src/store.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_multi(&mut self, keys: &Vec<&K>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: ...so that the expression is assignable [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] = note: expected `Vec>` [INFO] [stdout] found `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ha-store-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "553d7fe5435e4871630fc9a79fdcc9830aa2ed6f8cf1299e9b05e68a30a1dc56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "553d7fe5435e4871630fc9a79fdcc9830aa2ed6f8cf1299e9b05e68a30a1dc56", kill_on_drop: false }` [INFO] [stdout] 553d7fe5435e4871630fc9a79fdcc9830aa2ed6f8cf1299e9b05e68a30a1dc56