[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 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-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mats852/ha-store-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-12/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lru v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4a9a1b083b45b791e543121ffdca0446d721102f6aae7e89d2000559819ab1b [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" "a4a9a1b083b45b791e543121ffdca0446d721102f6aae7e89d2000559819ab1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4a9a1b083b45b791e543121ffdca0446d721102f6aae7e89d2000559819ab1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4a9a1b083b45b791e543121ffdca0446d721102f6aae7e89d2000559819ab1b", kill_on_drop: false }` [INFO] [stdout] a4a9a1b083b45b791e543121ffdca0446d721102f6aae7e89d2000559819ab1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf602ed5e295bffd646987f82e0ee5e8896e026098d8d8cf28bca3380ffa162e [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" "cf602ed5e295bffd646987f82e0ee5e8896e026098d8d8cf28bca3380ffa162e", kill_on_drop: false }` [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: 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[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: build failed [INFO] running `Command { std: "docker" "inspect" "cf602ed5e295bffd646987f82e0ee5e8896e026098d8d8cf28bca3380ffa162e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf602ed5e295bffd646987f82e0ee5e8896e026098d8d8cf28bca3380ffa162e", kill_on_drop: false }` [INFO] [stdout] cf602ed5e295bffd646987f82e0ee5e8896e026098d8d8cf28bca3380ffa162e