[INFO] fetching crate map-trait 0.3.1... [INFO] checking map-trait-0.3.1 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate map-trait 0.3.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate map-trait 0.3.1 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7e3027c81349a82663a7f26258288a4915baacbce6adefa68171b2115b3b68b [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" "b7e3027c81349a82663a7f26258288a4915baacbce6adefa68171b2115b3b68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7e3027c81349a82663a7f26258288a4915baacbce6adefa68171b2115b3b68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e3027c81349a82663a7f26258288a4915baacbce6adefa68171b2115b3b68b", kill_on_drop: false }` [INFO] [stdout] b7e3027c81349a82663a7f26258288a4915baacbce6adefa68171b2115b3b68b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04048ab266d409926dc930eb6ede8dbfb2c6e97130171865a93a51d26eb9e9f1 [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" "04048ab266d409926dc930eb6ede8dbfb2c6e97130171865a93a51d26eb9e9f1", kill_on_drop: false }` [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[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[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] [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" "04048ab266d409926dc930eb6ede8dbfb2c6e97130171865a93a51d26eb9e9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04048ab266d409926dc930eb6ede8dbfb2c6e97130171865a93a51d26eb9e9f1", kill_on_drop: false }` [INFO] [stdout] 04048ab266d409926dc930eb6ede8dbfb2c6e97130171865a93a51d26eb9e9f1