rust
rust copied to clipboard
WIP Add Set entry API
See https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/HashSet.3A.3Aentry/near/413224639 and https://github.com/rust-lang/rust/issues/60896#issuecomment-678708111
r? @thomcc
(rustbot has picked a reviewer for you, use r? to override)
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=SUPERCILEX
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_cb3bbb4e-c897-4d35-9936-bf91dee50956
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_HEAD_REF=set-entry
GITHUB_JOB=pr
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_cb3bbb4e-c897-4d35-9936-bf91dee50956
GITHUB_REF=refs/pull/120077/merge
GITHUB_REF_NAME=120077/merge
GITHUB_REF_PROTECTED=false
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=d35e4fbd83a263dc655f3fa54f135bb4670db362
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_cb3bbb4e-c897-4d35-9936-bf91dee50956
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_cb3bbb4e-c897-4d35-9936-bf91dee50956
GITHUB_TRIGGERING_ACTOR=SUPERCILEX
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/120077/merge
GITHUB_WORKFLOW_SHA=d35e4fbd83a263dc655f3fa54f135bb4670db362
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
---
Doc-tests std
running 1173 tests
........................iii.............................i............................... 88/1173
.....................................................FFFFFF...........F................. 176/1173
.............F.FFF..FFFF................................................................ 264/1173
........................................................................................ 440/1173
..................................ii.................................................... 528/1173
................................i....i.................................................. 616/1173
...............i............ii.......................................................... 704/1173
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry (line 1862) stdout ----
error: hidden lifetime parameters in types are deprecated
##[error] --> library/std/src/collections/hash/set.rs:1870:17
error: doctest failed, to rerun pass `-p std --doc`
|
|
11 | let entry: Entry<_, _> = set.entry("a");
| -----^----- expected lifetime parameter
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1860:9
|
1 | #![deny(warnings)]
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(elided_lifetimes_in_paths)]` implied by `#[deny(warnings)]`
help: indicate the anonymous lifetime
|
11 | let entry: Entry<'_, _, _> = set.entry("a");
error: hidden lifetime parameters in types are deprecated
##[error] --> library/std/src/collections/hash/set.rs:1871:26
|
|
12 | let _raw_o: OccupiedEntry<_, _> = entry.insert();
| -------------^----- expected lifetime parameter
help: indicate the anonymous lifetime
|
|
12 | let _raw_o: OccupiedEntry<'_, _, _> = entry.insert();
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1870:12
|
|
11 | let entry: Entry<_, _> = set.entry("a");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1871:13
|
12 | let _raw_o: OccupiedEntry<_, _> = entry.insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1870:30
|
11 | let entry: Entry<_, _> = set.entry("a");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1871:41
|
12 | let _raw_o: OccupiedEntry<_, _> = entry.insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1874:5
|
15 | set.entry("d").insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1874:16
|
15 | set.entry("d").insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1877:5
|
18 | set.entry("b").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1877:16
|
18 | set.entry("b").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1879:5
|
20 | set.entry("e").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1879:16
|
20 | set.entry("e").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry::Vacant (line 1910) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1915:5
|
8 | Entry::Occupied(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1916:5
|
9 | Entry::Vacant(_) => { }
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1914:11
|
7 | match set.entry("a") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1915:21
|
8 | Entry::Occupied(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1916:19
|
9 | Entry::Vacant(_) => { }
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry::Occupied (line 1895) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1900:5
|
8 | Entry::Vacant(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1901:5
|
9 | Entry::Occupied(_) => { }
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1899:11
|
7 | match set.entry("a") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1900:19
|
8 | Entry::Vacant(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1901:21
|
9 | Entry::Occupied(_) => { }
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry<'a,T,S>::insert (line 2023) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2027:17
|
7 | let entry = set.entry("horseyland").insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2027:37
|
7 | let entry = set.entry("horseyland").insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2029:18
|
9 | assert_eq!(entry.get(), &"horseyland");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry<'a,T,S>::get (line 2078) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2082:5
|
7 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2082:24
|
7 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2084:16
|
9 | assert_eq!(set.entry("poneyland").get(), &"poneyland");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2084:35
|
9 | assert_eq!(set.entry("poneyland").get(), &"poneyland");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2086:16
|
11 | assert_eq!(set.entry("horseland").get(), &"horseland");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2086:35
|
11 | assert_eq!(set.entry("horseland").get(), &"horseland");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry<'a,T,S>::or_insert (line 2048) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2054:5
|
9 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2054:24
|
9 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2058:5
|
13 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2058:24
|
13 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::HashSet<T,S>::entry (line 796) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:804:12
|
11 | if let Vacant(dupe_entry) = dupes.entry(ch) {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:808:13
|
15 | Vacant(single_entry) => {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:812:13
|
19 | Occupied(single_entry) => {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:804:39
|
11 | if let Vacant(dupe_entry) = dupes.entry(ch) {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:804:19
|
11 | if let Vacant(dupe_entry) = dupes.entry(ch) {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:807:23
|
14 | match singles.entry(ch) {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:808:20
|
15 | Vacant(single_entry) => {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:812:22
|
19 | Occupied(single_entry) => {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::OccupiedEntry (line 1939) stdout ----
error: hidden lifetime parameters in types are deprecated
##[error] --> library/std/src/collections/hash/set.rs:1945:28
|
9 | let _entry_o: OccupiedEntry<_, _> = set.entry("a").insert();
| -------------^----- expected lifetime parameter
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1937:9
|
1 | #![deny(warnings)]
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(elided_lifetimes_in_paths)]` implied by `#[deny(warnings)]`
help: indicate the anonymous lifetime
|
9 | let _entry_o: OccupiedEntry<'_, _, _> = set.entry("a").insert();
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1945:15
|
|
9 | let _entry_o: OccupiedEntry<_, _> = set.entry("a").insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1950:5
|
14 | Entry::Vacant(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1951:5
|
15 | Entry::Occupied(view) => {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1960:5
|
24 | Entry::Vacant(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1961:5
|
25 | Entry::Occupied(view) => {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1945:41
|
9 | let _entry_o: OccupiedEntry<_, _> = set.entry("a").insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1945:52
|
9 | let _entry_o: OccupiedEntry<_, _> = set.entry("a").insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1949:11
|
13 | match set.entry("a") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1950:19
|
14 | Entry::Vacant(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1951:21
|
15 | Entry::Occupied(view) => {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1952:25
|
16 | assert_eq!(view.get(), &"a");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1959:11
|
23 | match set.entry("c") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1960:19
|
24 | Entry::Vacant(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1961:21
|
25 | Entry::Occupied(view) => {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1962:25
|
26 | assert_eq!(view.remove(), "c");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::OccupiedEntry<'_,T,S>::get (line 2103) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2110:5
|
10 | Entry::Vacant(_) => panic!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2111:5
|
11 | Entry::Occupied(entry) => assert_eq!(entry.get(), &"poneyland"),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2107:5
|
7 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2107:24
|
7 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2109:11
|
9 | match set.entry("poneyland") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2110:19
|
10 | Entry::Vacant(_) => panic!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2111:21
|
11 | Entry::Occupied(entry) => assert_eq!(entry.get(), &"poneyland"),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2111:48
|
11 | Entry::Occupied(entry) => assert_eq!(entry.get(), &"poneyland"),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::OccupiedEntry<'_,T,S>::remove (line 2125) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2136:8
|
14 | if let Entry::Occupied(o) = set.entry("poneyland") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2133:5
|
11 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2133:24
|
11 | set.entry("poneyland").or_insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2136:33
|
14 | if let Entry::Occupied(o) = set.entry("poneyland") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2136:24
|
14 | if let Entry::Occupied(o) = set.entry("poneyland") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2137:18
|
15 | assert_eq!(o.remove(), "poneyland");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2175:6
|
19 | Entry::Vacant(_) => panic!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2170:12
|
14 | match set.entry(key_two.clone()) {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2175:20
|
19 | Entry::Vacant(_) => panic!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2172:42
|
16 | let old_key: Rc<String> = entry.replace();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::VacantEntry (line 1987) stdout ----
error: hidden lifetime parameters in types are deprecated
##[error] --> library/std/src/collections/hash/set.rs:1992:25
|
8 | let entry_v: VacantEntry<_, _> = match set.entry("a") {
| -----------^----- expected lifetime parameter
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1985:9
|
1 | #![deny(warnings)]
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(elided_lifetimes_in_paths)]` implied by `#[deny(warnings)]`
help: indicate the anonymous lifetime
|
8 | let entry_v: VacantEntry<'_, _, _> = match set.entry("a") {
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1993:5
|
|
9 | Entry::Vacant(view) => view,
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1994:5
|
10 | Entry::Occupied(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1992:14
|
8 | let entry_v: VacantEntry<_, _> = match set.entry("a") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2001:5
|
17 | Entry::Vacant(view) => view.insert(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2002:5
|
18 | Entry::Occupied(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1992:44
|
8 | let entry_v: VacantEntry<_, _> = match set.entry("a") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1993:19
|
9 | Entry::Vacant(view) => view,
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1994:21
|
10 | Entry::Occupied(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:1996:9
|
12 | entry_v.insert();
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2000:11
|
16 | match set.entry("b") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2001:19
|
17 | Entry::Vacant(view) => view.insert(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2002:21
|
18 | Entry::Occupied(_) => unreachable!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2001:33
|
17 | Entry::Vacant(view) => view.insert(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::VacantEntry<'a,T,S>::get (line 2194) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2198:16
|
7 | assert_eq!(set.entry("poneyland").get(), &"poneyland");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2198:35
|
7 | assert_eq!(set.entry("poneyland").get(), &"poneyland");
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::VacantEntry<'a,T,S>::insert (line 2230) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2236:8
|
9 | if let Entry::Vacant(o) = set.entry("poneyland") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2236:31
|
9 | if let Entry::Vacant(o) = set.entry("poneyland") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2236:22
|
9 | if let Entry::Vacant(o) = set.entry("poneyland") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::VacantEntry<'a,T,S>::into_value (line 2210) stdout ----
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2216:5
|
9 | Entry::Occupied(_) => panic!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2217:5
|
10 | Entry::Vacant(v) => assert_eq!(v.into_value(), "poneyland"),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2215:11
|
8 | match set.entry("poneyland") {
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2216:21
|
9 | Entry::Occupied(_) => panic!(),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2217:19
|
10 | Entry::Vacant(v) => assert_eq!(v.into_value(), "poneyland"),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'hash_set_entry'
##[error] --> library/std/src/collections/hash/set.rs:2217:38
|
10 | Entry::Vacant(v) => assert_eq!(v.into_value(), "poneyland"),
|
= note: see issue #60896 <https://github.com/rust-lang/rust/issues/60896> for more information
= help: add `#![feature(hash_set_entry)]` to the crate attributes to enable
I assume the PR title is wrong here? This is adding HashSet::entry and friends...
I assume the PR title is wrong here? This is adding
HashSet::entryand friends...
Oops, thanks. Rebase error.
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=SUPERCILEX
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_c3522509-c9a2-424e-964d-e376740de360
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_HEAD_REF=set-entry
GITHUB_JOB=pr
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_c3522509-c9a2-424e-964d-e376740de360
GITHUB_REF=refs/pull/120077/merge
GITHUB_REF_NAME=120077/merge
GITHUB_REF_PROTECTED=false
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=d6b648f9f74091c50e27ea22780475d3ed52de29
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_c3522509-c9a2-424e-964d-e376740de360
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_c3522509-c9a2-424e-964d-e376740de360
GITHUB_TRIGGERING_ACTOR=SUPERCILEX
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/120077/merge
GITHUB_WORKFLOW_SHA=d6b648f9f74091c50e27ea22780475d3ed52de29
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
---
Doc-tests std
running 1173 tests
........................iii.............................i............................... 88/1173
.....................................................F.....F............................ 176/1173
.............F.....F.................................................................... 264/1173
........................................................................................ 440/1173
..................................ii.................................................... 528/1173
................................i....i.................................................. 616/1173
...............i............ii.......................................................... 704/1173
---
.........i...................
failures:
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry (line 1863) stdout ----
error: hidden lifetime parameters in types are deprecated
error: doctest failed, to rerun pass `-p std --doc`
Build completed unsuccessfully in 0:05:00
|
|
13 | let entry: Entry<_, _> = set.entry("a");
| -----^----- expected lifetime parameter
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1861:9
|
1 | #![deny(warnings)]
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(elided_lifetimes_in_paths)]` implied by `#[deny(warnings)]`
help: indicate the anonymous lifetime
|
13 | let entry: Entry<'_, _, _> = set.entry("a");
error: hidden lifetime parameters in types are deprecated
##[error] --> library/std/src/collections/hash/set.rs:1874:26
|
|
14 | let _raw_o: OccupiedEntry<_, _> = entry.insert();
| -------------^----- expected lifetime parameter
help: indicate the anonymous lifetime
|
|
14 | let _raw_o: OccupiedEntry<'_, _, _> = entry.insert();
error: aborting due to 2 previous errors
Couldn't compile the test.
---
6: 0x55a72cc43e6d - std::panicking::rust_panic_with_hook::h8aa26e84dbfe00c2
7: 0x55a72cc43cf9 - std::panicking::begin_panic_handler::{{closure}}::h050fd3a042aa14d7
8: 0x55a72cc429b6 - std::sys_common::backtrace::__rust_end_short_backtrace::ha34c79bca2d7112e
9: 0x55a72cc43a44 - rust_begin_unwind
10: 0x55a72cc188f5 - core::panicking::panic_fmt::h500bb33cd24b6cba
11: 0x55a72cc189b3 - core::panicking::panic::hc53f706a99f04a4d
12: 0x55a72cc19720 - std::collections::hash::set::VacantEntry<T,S>::insert_entry::h44618a0d4a0e8413
13: 0x55a72cc195c6 - std::collections::hash::set::Entry<T,S>::insert::h6685cad8afc0ab0a
14: 0x55a72cc1fd5d - rust_out::main::_doctest_main_library_std_src_collections_hash_set_rs_2034_0::h1846ee0f2f8db848
15: 0x55a72cc1fce6 - rust_out::main::h71185a25be64b52e
17: 0x55a72cc194f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h44b264e90518e6aa
18: 0x55a72cc1a489 - std::rt::lang_start::{{closure}}::hf92ba4f93a08128a
19: 0x55a72cc3dec6 - std::rt::lang_start_internal::hbeed09ea1fc92c20
20: 0x55a72cc1a467 - std::rt::lang_start::h2b98a589fffc6873
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::OccupiedEntry (line 1946) stdout ----
error: hidden lifetime parameters in types are deprecated
##[error] --> library/std/src/collections/hash/set.rs:1954:28
|
11 | let _entry_o: OccupiedEntry<_, _> = set.entry("a").insert();
| -------------^----- expected lifetime parameter
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1944:9
|
1 | #![deny(warnings)]
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(elided_lifetimes_in_paths)]` implied by `#[deny(warnings)]`
help: indicate the anonymous lifetime
|
11 | let _entry_o: OccupiedEntry<'_, _, _> = set.entry("a").insert();
error: aborting due to 1 previous error
Couldn't compile the test.
Couldn't compile the test.
---- library/std/src/collections/hash/set.rs - collections::hash::set::VacantEntry (line 1996) stdout ----
error: hidden lifetime parameters in types are deprecated
##[error] --> library/std/src/collections/hash/set.rs:2003:25
|
10 | let entry_v: VacantEntry<_, _> = match set.entry("a") {
| -----------^----- expected lifetime parameter
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1994:9
|
1 | #![deny(warnings)]
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(elided_lifetimes_in_paths)]` implied by `#[deny(warnings)]`
help: indicate the anonymous lifetime
|
10 | let entry_v: VacantEntry<'_, _, _> = match set.entry("a") {
error: aborting due to 1 previous error
Couldn't compile the test.
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=SUPERCILEX
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_0827bc56-3e69-4382-b69f-72a81595bedf
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_HEAD_REF=set-entry
GITHUB_JOB=pr
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_0827bc56-3e69-4382-b69f-72a81595bedf
GITHUB_REF=refs/pull/120077/merge
GITHUB_REF_NAME=120077/merge
GITHUB_REF_PROTECTED=false
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=49ee14a5352d9314332a678d180acda56857e3b2
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_0827bc56-3e69-4382-b69f-72a81595bedf
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_0827bc56-3e69-4382-b69f-72a81595bedf
GITHUB_TRIGGERING_ACTOR=SUPERCILEX
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/120077/merge
GITHUB_WORKFLOW_SHA=49ee14a5352d9314332a678d180acda56857e3b2
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
---
Doc-tests std
running 1173 tests
........................iii.............................i............................... 88/1173
.....................................................FF....F............................ 176/1173
.............F.....F.................................................................... 264/1173
........................................................................................ 440/1173
..................................ii.................................................... 528/1173
................................i....i.................................................. 616/1173
...............i............ii.......................................................... 704/1173
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry::Occupied (line 1898) stdout ----
error: unused import: `HashSet`
##[error] --> library/std/src/collections/hash/set.rs:1901:41
|
6 | use std::collections::hash_set::{Entry, HashSet};
|
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1896:9
|
|
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
error[E0282]: type annotations needed
##[error] --> library/std/src/collections/hash/set.rs:1902:5
|
7 | let mut set = ["a", "b"].into();
8 |
8 |
9 | match set.entry("a") {
| --- type must be known at this point
|
help: consider giving `set` an explicit type
|
7 | let mut set: /* Type */ = ["a", "b"].into();
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0282`.
For more information about this error, try `rustc --explain E0282`.
Couldn't compile the test.
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry (line 1863) stdout ----
error: unused imports: `Entry`, `OccupiedEntry`
|
|
6 | use std::collections::hash_set::{Entry, HashSet, OccupiedEntry};
|
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1861:9
|
---
7: 0x55ea7ebc5cf9 - std::panicking::begin_panic_handler::{{closure}}::h050fd3a042aa14d7
8: 0x55ea7ebc49b6 - std::sys_common::backtrace::__rust_end_short_backtrace::ha34c79bca2d7112e
9: 0x55ea7ebc5a44 - rust_begin_unwind
10: 0x55ea7eb9a8f5 - core::panicking::panic_fmt::h500bb33cd24b6cba
11: 0x55ea7eb9a9b3 - core::panicking::panic::hc53f706a99f04a4d
12: 0x55ea7eb9b720 - std::collections::hash::set::VacantEntry<T,S>::insert_entry::h44618a0d4a0e8413
13: 0x55ea7eb9b5c6 - std::collections::hash::set::Entry<T,S>::insert::h6685cad8afc0ab0a
14: 0x55ea7eba1d5d - rust_out::main::_doctest_main_library_std_src_collections_hash_set_rs_2034_0::h1846ee0f2f8db848
15: 0x55ea7eba1ce6 - rust_out::main::h71185a25be64b52e
17: 0x55ea7eb9b4f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h44b264e90518e6aa
18: 0x55ea7eb9c489 - std::rt::lang_start::{{closure}}::hf92ba4f93a08128a
19: 0x55ea7ebbfec6 - std::rt::lang_start_internal::hbeed09ea1fc92c20
20: 0x55ea7eb9c467 - std::rt::lang_start::h2b98a589fffc6873
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::OccupiedEntry (line 1946) stdout ----
error: unused import: `OccupiedEntry`
##[error] --> library/std/src/collections/hash/set.rs:1949:50
|
6 | use std::collections::hash_set::{Entry, HashSet, OccupiedEntry};
|
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1944:9
|
---
---- library/std/src/collections/hash/set.rs - collections::hash::set::VacantEntry (line 1996) stdout ----
error: unused import: `VacantEntry`
##[error] --> library/std/src/collections/hash/set.rs:1999:50
|
6 | use std::collections::hash_set::{Entry, HashSet, VacantEntry};
|
note: the lint level is defined here
--> library/std/src/collections/hash/set.rs:1994:9
|
---
library/std/src/collections/hash/set.rs - collections::hash::set::OccupiedEntry (line 1946)
library/std/src/collections/hash/set.rs - collections::hash::set::VacantEntry (line 1996)
test result: FAILED. 1151 passed; 5 failed; 17 ignored; 0 measured; 0 filtered out; finished in 33.68s
error: doctest failed, to rerun pass `-p std --doc`
local time: Thu Jan 18 02:35:12 UTC 2024
network time: Thu, 18 Jan 2024 02:35:12 GMT
##[error]Process completed with exit code 1.
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=SUPERCILEX
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_571505aa-7453-4f35-97ba-6720d8a2a77e
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_HEAD_REF=set-entry
GITHUB_JOB=pr
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_571505aa-7453-4f35-97ba-6720d8a2a77e
GITHUB_REF=refs/pull/120077/merge
GITHUB_REF_NAME=120077/merge
GITHUB_REF_PROTECTED=false
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=c3240d663e2cacd1891ec4b0a2f55391c3fd2932
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_571505aa-7453-4f35-97ba-6720d8a2a77e
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_571505aa-7453-4f35-97ba-6720d8a2a77e
GITHUB_TRIGGERING_ACTOR=SUPERCILEX
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/120077/merge
GITHUB_WORKFLOW_SHA=c3240d663e2cacd1891ec4b0a2f55391c3fd2932
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
---
Doc-tests std
running 1173 tests
........................iii.............................i............................... 88/1173
........................................................F.F............................. 176/1173
........................................................................................ 352/1173
........................................................................................ 440/1173
..................................ii.................................................... 528/1173
................................i....i.................................................. 616/1173
---
.........i...................
failures:
---- library/std/src/collections/hash/set.rs - collections::hash::set::Entry (line 1863) stdout ----
error: doctest failed, to rerun pass `-p std --doc`
Test executable failed (exit status: 101).
stderr:
thread 'main' panicked at /checkout/library/std/src/collections/hash/set.rs:2289:9:
not yet implemented
stack backtrace:
---
7: 0x55628153a309 - std::panicking::begin_panic_handler::{{closure}}::h050fd3a042aa14d7
8: 0x556281538fc6 - std::sys_common::backtrace::__rust_end_short_backtrace::ha34c79bca2d7112e
9: 0x55628153a054 - rust_begin_unwind
10: 0x5562814fed05 - core::panicking::panic_fmt::h500bb33cd24b6cba
11: 0x5562814fedc3 - core::panicking::panic::hc53f706a99f04a4d
12: 0x5562815007d0 - std::collections::hash::set::VacantEntry<T,S>::insert_entry::h44618a0d4a0e8413
13: 0x5562815004e6 - std::collections::hash::set::Entry<T,S>::insert::h6685cad8afc0ab0a
14: 0x5562815155b7 - rust_out::main::_doctest_main_library_std_src_collections_hash_set_rs_1863_0::h36c7b348bd070a89
15: 0x556281515366 - rust_out::main::h71185a25be64b52e
16: 0x556281503443 - core::ops::function::FnOnce::call_once::h7af256b740eb5453
18: 0x5562815014e9 - std::rt::lang_start::{{closure}}::hf92ba4f93a08128a
19: 0x556281533a06 - std::rt::lang_start_internal::hbeed09ea1fc92c20
20: 0x5562815014c7 - std::rt::lang_start::h2b98a589fffc6873
21: 0x556281515855 - main
---
7: 0x561363f05cf9 - std::panicking::begin_panic_handler::{{closure}}::h050fd3a042aa14d7
8: 0x561363f049b6 - std::sys_common::backtrace::__rust_end_short_backtrace::ha34c79bca2d7112e
9: 0x561363f05a44 - rust_begin_unwind
10: 0x561363eda8f5 - core::panicking::panic_fmt::h500bb33cd24b6cba
11: 0x561363eda9b3 - core::panicking::panic::hc53f706a99f04a4d
12: 0x561363edb720 - std::collections::hash::set::VacantEntry<T,S>::insert_entry::h44618a0d4a0e8413
13: 0x561363edb5c6 - std::collections::hash::set::Entry<T,S>::insert::h6685cad8afc0ab0a
14: 0x561363ee1d5d - rust_out::main::_doctest_main_library_std_src_collections_hash_set_rs_2036_0::h183bbc339dac315e
15: 0x561363ee1ce6 - rust_out::main::h71185a25be64b52e
17: 0x561363edb4f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h44b264e90518e6aa
18: 0x561363edc489 - std::rt::lang_start::{{closure}}::hf92ba4f93a08128a
19: 0x561363effec6 - std::rt::lang_start_internal::hbeed09ea1fc92c20
20: 0x561363edc467 - std::rt::lang_start::h2b98a589fffc6873
I'm going to be away for a few months, so I'm rerolling my PRs so that folks don't have to wait for me. Sorry/thanks.
r? libs
Removing this from my review queue while you're waiting for hashbrown...
@rustbot author
@SUPERCILEX any updates on this? thanks
@Dylan-DPC the hashbrown PR was merged. @Amanieu What are the next steps?
@Amanieu Can you release hashbrown 0.15 so this can make progress?
I'm working on a cleanup of the Entry/EntryRef API in hashbrown. Once that's done I will publish 0.15.
@SUPERCILEX @Amanieu any updates on this? thanks
On my end: waiting for the hashbrown release.