[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#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mats852/ha-store-rust on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-1/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df8504dd5fbd857d71e9b3facd7b746e10869b3f32d0e1d4682c5ded09e60043 [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" "df8504dd5fbd857d71e9b3facd7b746e10869b3f32d0e1d4682c5ded09e60043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df8504dd5fbd857d71e9b3facd7b746e10869b3f32d0e1d4682c5ded09e60043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8504dd5fbd857d71e9b3facd7b746e10869b3f32d0e1d4682c5ded09e60043", kill_on_drop: false }` [INFO] [stdout] df8504dd5fbd857d71e9b3facd7b746e10869b3f32d0e1d4682c5ded09e60043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b70fc4a845af906e0c99458709f7785055e644fb4e33c38ba57468ba10b7871f [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" "b70fc4a845af906e0c99458709f7785055e644fb4e33c38ba57468ba10b7871f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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" "b70fc4a845af906e0c99458709f7785055e644fb4e33c38ba57468ba10b7871f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b70fc4a845af906e0c99458709f7785055e644fb4e33c38ba57468ba10b7871f", kill_on_drop: false }` [INFO] [stdout] b70fc4a845af906e0c99458709f7785055e644fb4e33c38ba57468ba10b7871f