[INFO] fetching crate flashmap 0.2.0... [INFO] checking flashmap-0.2.0 against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027 [INFO] extracting crate flashmap 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate flashmap 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate flashmap 0.2.0 [INFO] tweaked toml for crates.io crate flashmap 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flashmap 0.2.0 on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flashmap 0.2.0 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cf0b51341cb27e5f40867fab761af76b8ee847af6947c5debeefa4759611602 [INFO] running `Command { std: "docker" "start" "-a" "5cf0b51341cb27e5f40867fab761af76b8ee847af6947c5debeefa4759611602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf0b51341cb27e5f40867fab761af76b8ee847af6947c5debeefa4759611602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf0b51341cb27e5f40867fab761af76b8ee847af6947c5debeefa4759611602", kill_on_drop: false }` [INFO] [stdout] 5cf0b51341cb27e5f40867fab761af76b8ee847af6947c5debeefa4759611602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de2c7133ec8c97af8a4ad70d47d909488e45180f08797b7176b11d647662b67e [INFO] running `Command { std: "docker" "start" "-a" "de2c7133ec8c97af8a4ad70d47d909488e45180f08797b7176b11d647662b67e", kill_on_drop: false }` [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking flashmap v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0309]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/view.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn iter<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | ----- the parameter type `S` must be valid for the lifetime `'read` as defined here... [INFO] [stdout] ... [INFO] [stdout] 163 | .with_map(|map| map.iter().map(|(key, value)| (&**key, &**value))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 160 | (K, V): 'read, S: 'read [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/view.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn keys<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | ----- the parameter type `S` must be valid for the lifetime `'read` as defined here... [INFO] [stdout] ... [INFO] [stdout] 193 | self.guard.with_map(|map| map.keys().map(Deref::deref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 191 | (K, V): 'read, S: 'read [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/view.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn values<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | ----- the parameter type `S` must be valid for the lifetime `'read` as defined here... [INFO] [stdout] ... [INFO] [stdout] 223 | self.guard.with_map(|map| map.values().map(Deref::deref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 221 | (K, V): 'read, S: 'read [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/view.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn iter<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | ----- the parameter type `S` must be valid for the lifetime `'read` as defined here... [INFO] [stdout] ... [INFO] [stdout] 163 | .with_map(|map| map.iter().map(|(key, value)| (&**key, &**value))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 160 | (K, V): 'read, S: 'read [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/view.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn keys<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | ----- the parameter type `S` must be valid for the lifetime `'read` as defined here... [INFO] [stdout] ... [INFO] [stdout] 193 | self.guard.with_map(|map| map.keys().map(Deref::deref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 191 | (K, V): 'read, S: 'read [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `K` may not live long enough [INFO] [stdout] --> src/view.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get(&self, key: &Q) -> Option<&V> [INFO] [stdout] | ----- the parameter type `K` must be valid for the anonymous lifetime defined here... [INFO] [stdout] ... [INFO] [stdout] 132 | .with_map(|map| map.get(BorrowHelper::new_ref(key)).map(Deref::deref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `K` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 126 ~ pub fn get<'a, Q>(&'a self, key: &Q) -> Option<&'a V> [INFO] [stdout] 127 | where [INFO] [stdout] 128 | K: Borrow + Eq + Hash, [INFO] [stdout] 129 ~ Q: Hash + Eq + ?Sized, K: 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/view.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get(&self, key: &Q) -> Option<&V> [INFO] [stdout] | ----- the parameter type `S` must be valid for the anonymous lifetime defined here... [INFO] [stdout] ... [INFO] [stdout] 132 | .with_map(|map| map.get(BorrowHelper::new_ref(key)).map(Deref::deref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 126 ~ pub fn get<'a, Q>(&'a self, key: &Q) -> Option<&'a V> [INFO] [stdout] 127 | where [INFO] [stdout] 128 | K: Borrow + Eq + Hash, [INFO] [stdout] 129 ~ Q: Hash + Eq + ?Sized, S: 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/view.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn values<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | ----- the parameter type `S` must be valid for the lifetime `'read` as defined here... [INFO] [stdout] ... [INFO] [stdout] 223 | self.guard.with_map(|map| map.values().map(Deref::deref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 221 | (K, V): 'read, S: 'read [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0309, E0311. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flashmap` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0311]: the parameter type `K` may not live long enough [INFO] [stdout] --> src/view.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get(&self, key: &Q) -> Option<&V> [INFO] [stdout] | ----- the parameter type `K` must be valid for the anonymous lifetime defined here... [INFO] [stdout] ... [INFO] [stdout] 132 | .with_map(|map| map.get(BorrowHelper::new_ref(key)).map(Deref::deref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `K` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 126 ~ pub fn get<'a, Q>(&'a self, key: &Q) -> Option<&'a V> [INFO] [stdout] 127 | where [INFO] [stdout] 128 | K: Borrow + Eq + Hash, [INFO] [stdout] 129 ~ Q: Hash + Eq + ?Sized, K: 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/view.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get(&self, key: &Q) -> Option<&V> [INFO] [stdout] | ----- the parameter type `S` must be valid for the anonymous lifetime defined here... [INFO] [stdout] ... [INFO] [stdout] 132 | .with_map(|map| map.get(BorrowHelper::new_ref(key)).map(Deref::deref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 126 ~ pub fn get<'a, Q>(&'a self, key: &Q) -> Option<&'a V> [INFO] [stdout] 127 | where [INFO] [stdout] 128 | K: Borrow + Eq + Hash, [INFO] [stdout] 129 ~ Q: Hash + Eq + ?Sized, S: 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0309, E0311. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flashmap` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "de2c7133ec8c97af8a4ad70d47d909488e45180f08797b7176b11d647662b67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2c7133ec8c97af8a4ad70d47d909488e45180f08797b7176b11d647662b67e", kill_on_drop: false }` [INFO] [stdout] de2c7133ec8c97af8a4ad70d47d909488e45180f08797b7176b11d647662b67e