[INFO] fetching crate map-trait 0.3.1... [INFO] checking map-trait-0.3.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate map-trait 0.3.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate map-trait 0.3.1 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 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d81625067e994901dbfaeb6f1f28cbf488f4b10428305e862e8410d50ecac167 [INFO] running `Command { std: "docker" "start" "-a" "d81625067e994901dbfaeb6f1f28cbf488f4b10428305e862e8410d50ecac167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d81625067e994901dbfaeb6f1f28cbf488f4b10428305e862e8410d50ecac167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81625067e994901dbfaeb6f1f28cbf488f4b10428305e862e8410d50ecac167", kill_on_drop: false }` [INFO] [stdout] d81625067e994901dbfaeb6f1f28cbf488f4b10428305e862e8410d50ecac167 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] af276796a0931396ba8a902d0e2e9fb734e63a3533f9a61458c6485a5a616584 [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" "af276796a0931396ba8a902d0e2e9fb734e63a3533f9a61458c6485a5a616584", 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[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[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[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: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[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" "af276796a0931396ba8a902d0e2e9fb734e63a3533f9a61458c6485a5a616584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af276796a0931396ba8a902d0e2e9fb734e63a3533f9a61458c6485a5a616584", kill_on_drop: false }` [INFO] [stdout] af276796a0931396ba8a902d0e2e9fb734e63a3533f9a61458c6485a5a616584