[INFO] fetching crate map-trait 0.3.1... [INFO] checking map-trait-0.3.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate map-trait 0.3.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate map-trait 0.3.1 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 crates.io crate map-trait 0.3.1 [INFO] finished tweaking crates.io crate map-trait 0.3.1 [INFO] tweaked toml for crates.io crate map-trait 0.3.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] a55c6c6ac663cfbd60d0e03eb3369a017b026e5baa06f51f96ccbd6a189c87a2 [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" "a55c6c6ac663cfbd60d0e03eb3369a017b026e5baa06f51f96ccbd6a189c87a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a55c6c6ac663cfbd60d0e03eb3369a017b026e5baa06f51f96ccbd6a189c87a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a55c6c6ac663cfbd60d0e03eb3369a017b026e5baa06f51f96ccbd6a189c87a2", kill_on_drop: false }` [INFO] [stdout] a55c6c6ac663cfbd60d0e03eb3369a017b026e5baa06f51f96ccbd6a189c87a2 [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] 3e3714113b3583168b190af83e01413c2ab3c2066dd2d2abc98e26b1f163907b [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" "3e3714113b3583168b190af83e01413c2ab3c2066dd2d2abc98e26b1f163907b", 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] [stderr] Checking map-trait v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0478]: lifetime bound not satisfied [INFO] [stdout] --> src/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | K: Borrow, [INFO] [stdout] 102 | | Q: Hash + Eq, [INFO] [stdout] 103 | | { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'m` as defined on the impl at 90:6 [INFO] [stdout] --> src/map.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'m, K, V, S> Map<'m, K, V> for std::collections::HashMap [INFO] [stdout] | ^^ [INFO] [stdout] note: but lifetime parameter must outlive the lifetime `'a` as defined on the method body at 99:12 [INFO] [stdout] --> src/map.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0478]: lifetime bound not satisfied [INFO] [stdout] --> src/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | K: Borrow, [INFO] [stdout] 102 | | Q: Hash + Eq, [INFO] [stdout] 103 | | { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'m` as defined on the impl at 90:6 [INFO] [stdout] --> src/map.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'m, K, V, S> Map<'m, K, V> for std::collections::HashMap [INFO] [stdout] | ^^ [INFO] [stdout] note: but lifetime parameter must outlive the lifetime `'a` as defined on the method body at 99:12 [INFO] [stdout] --> src/map.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for lifetime parameter 'a in generic type due to conflicting requirements [INFO] [stdout] --> src/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | K: Borrow, [INFO] [stdout] 102 | | Q: Hash + Eq, [INFO] [stdout] 103 | | { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the lifetime `'m` as defined on the impl at 90:6... [INFO] [stdout] --> src/map.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'m, K, V, S> Map<'m, K, V> for std::collections::HashMap [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the declared lifetime parameter bounds are satisfied [INFO] [stdout] --> src/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | K: Borrow, [INFO] [stdout] 102 | | Q: Hash + Eq, [INFO] [stdout] 103 | | { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined on the method body at 99:12... [INFO] [stdout] --> src/map.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the method type is compatible with trait [INFO] [stdout] --> src/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | K: Borrow, [INFO] [stdout] 102 | | Q: Hash + Eq, [INFO] [stdout] 103 | | { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: expected `fn(&'a HashMap, &Q) -> Option<&'a V>` [INFO] [stdout] found `fn(&HashMap, &Q) -> Option<&V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0478]: lifetime bound not satisfied [INFO] [stdout] --> src/map.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | K: Borrow, [INFO] [stdout] 124 | | Q: Ord, [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'m` as defined on the impl at 113:6 [INFO] [stdout] --> src/map.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'m, K, V> Map<'m, K, V> for std::collections::BTreeMap [INFO] [stdout] | ^^ [INFO] [stdout] note: but lifetime parameter must outlive the lifetime `'a` as defined on the method body at 121:12 [INFO] [stdout] --> src/map.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for lifetime parameter 'a in generic type due to conflicting requirements [INFO] [stdout] --> src/map.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | K: Borrow, [INFO] [stdout] 124 | | Q: Ord, [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the lifetime `'m` as defined on the impl at 113:6... [INFO] [stdout] --> src/map.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'m, K, V> Map<'m, K, V> for std::collections::BTreeMap [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the declared lifetime parameter bounds are satisfied [INFO] [stdout] --> src/map.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | K: Borrow, [INFO] [stdout] 124 | | Q: Ord, [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined on the method body at 121:12... [INFO] [stdout] --> src/map.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the method type is compatible with trait [INFO] [stdout] --> src/map.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | K: Borrow, [INFO] [stdout] 124 | | Q: Ord, [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: expected `fn(&'a BTreeMap, &Q) -> Option<&'a V>` [INFO] [stdout] found `fn(&BTreeMap, &Q) -> Option<&V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for lifetime parameter 'a in generic type due to conflicting requirements [INFO] [stdout] --> src/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | K: Borrow, [INFO] [stdout] 102 | | Q: Hash + Eq, [INFO] [stdout] 103 | | { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the lifetime `'m` as defined on the impl at 90:6... [INFO] [stdout] --> src/map.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'m, K, V, S> Map<'m, K, V> for std::collections::HashMap [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the declared lifetime parameter bounds are satisfied [INFO] [stdout] --> src/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | K: Borrow, [INFO] [stdout] 102 | | Q: Hash + Eq, [INFO] [stdout] 103 | | { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined on the method body at 99:12... [INFO] [stdout] --> src/map.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the method type is compatible with trait [INFO] [stdout] --> src/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | K: Borrow, [INFO] [stdout] 102 | | Q: Hash + Eq, [INFO] [stdout] 103 | | { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: expected `fn(&'a HashMap, &Q) -> Option<&'a V>` [INFO] [stdout] found `fn(&HashMap, &Q) -> Option<&V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0478]: lifetime bound not satisfied [INFO] [stdout] --> src/map.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | K: Borrow, [INFO] [stdout] 124 | | Q: Ord, [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'m` as defined on the impl at 113:6 [INFO] [stdout] --> src/map.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'m, K, V> Map<'m, K, V> for std::collections::BTreeMap [INFO] [stdout] | ^^ [INFO] [stdout] note: but lifetime parameter must outlive the lifetime `'a` as defined on the method body at 121:12 [INFO] [stdout] --> src/map.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for lifetime parameter 'a in generic type due to conflicting requirements [INFO] [stdout] --> src/map.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | K: Borrow, [INFO] [stdout] 124 | | Q: Ord, [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the lifetime `'m` as defined on the impl at 113:6... [INFO] [stdout] --> src/map.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'m, K, V> Map<'m, K, V> for std::collections::BTreeMap [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the declared lifetime parameter bounds are satisfied [INFO] [stdout] --> src/map.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | K: Borrow, [INFO] [stdout] 124 | | Q: Ord, [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined on the method body at 121:12... [INFO] [stdout] --> src/map.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the method type is compatible with trait [INFO] [stdout] --> src/map.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | K: Borrow, [INFO] [stdout] 124 | | Q: Ord, [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: expected `fn(&'a BTreeMap, &Q) -> Option<&'a V>` [INFO] [stdout] found `fn(&BTreeMap, &Q) -> Option<&V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0478]: lifetime bound not satisfied [INFO] [stdout] --> src/map.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'m` as defined on the impl at 90:6 [INFO] [stdout] --> src/map.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'m, K, V, S> Map<'m, K, V> for std::collections::HashMap [INFO] [stdout] | ^^ [INFO] [stdout] note: but lifetime parameter must outlive the lifetime `'a` as defined on the method body at 99:12 [INFO] [stdout] --> src/map.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0478]: lifetime bound not satisfied [INFO] [stdout] --> src/map.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'m` as defined on the impl at 113:6 [INFO] [stdout] --> src/map.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'m, K, V> Map<'m, K, V> for std::collections::BTreeMap [INFO] [stdout] | ^^ [INFO] [stdout] note: but lifetime parameter must outlive the lifetime `'a` as defined on the method body at 121:12 [INFO] [stdout] --> src/map.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0478, E0495. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0478`. [INFO] [stdout] [INFO] [stdout] error[E0478]: lifetime bound not satisfied [INFO] [stdout] --> src/map.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / { [INFO] [stdout] 104 | | std::collections::HashMap::get(self, k) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'m` as defined on the impl at 90:6 [INFO] [stdout] --> src/map.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'m, K, V, S> Map<'m, K, V> for std::collections::HashMap [INFO] [stdout] | ^^ [INFO] [stdout] note: but lifetime parameter must outlive the lifetime `'a` as defined on the method body at 99:12 [INFO] [stdout] --> src/map.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0478]: lifetime bound not satisfied [INFO] [stdout] --> src/map.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / { [INFO] [stdout] 126 | | std::collections::BTreeMap::get(self, k) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: lifetime parameter instantiated with the lifetime `'m` as defined on the impl at 113:6 [INFO] [stdout] --> src/map.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'m, K, V> Map<'m, K, V> for std::collections::BTreeMap [INFO] [stdout] | ^^ [INFO] [stdout] note: but lifetime parameter must outlive the lifetime `'a` as defined on the method body at 121:12 [INFO] [stdout] --> src/map.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `map-trait` [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0478, E0495. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0478`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3e3714113b3583168b190af83e01413c2ab3c2066dd2d2abc98e26b1f163907b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3714113b3583168b190af83e01413c2ab3c2066dd2d2abc98e26b1f163907b", kill_on_drop: false }` [INFO] [stdout] 3e3714113b3583168b190af83e01413c2ab3c2066dd2d2abc98e26b1f163907b