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