Skip to content

Commit

Permalink
Updating crate socket2#0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Mar 13, 2021
1 parent ae7af54 commit 0e2ae26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions so/ck/socket2
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@
{"name":"socket2","vers":"0.4.0-alpha.3","deps":[{"name":"libc","req":"^0.2.82","features":[],"optional":false,"default_features":true,"target":"cfg(unix)","kind":"normal"},{"name":"winapi","req":"^0.3.9","features":["handleapi","ws2ipdef","ws2tcpip"],"optional":false,"default_features":true,"target":"cfg(windows)","kind":"normal"}],"cksum":"2ff5f7c57341a1dda0d0289c719cbd0d53efbc2317cc9ef931421a8264c2629a","features":{"all":[]},"yanked":false,"links":null}
{"name":"socket2","vers":"0.4.0-alpha.4","deps":[{"name":"libc","req":"^0.2.82","features":[],"optional":false,"default_features":true,"target":"cfg(unix)","kind":"normal"},{"name":"winapi","req":"^0.3.9","features":["handleapi","ws2ipdef","ws2tcpip"],"optional":false,"default_features":true,"target":"cfg(windows)","kind":"normal"}],"cksum":"d89a6e79092a841b8013391d4220309255692e6dbcc982a810fd79c99cd8e1cb","features":{"all":[]},"yanked":false,"links":null}
{"name":"socket2","vers":"0.4.0-alpha.5","deps":[{"name":"libc","req":"^0.2.82","features":[],"optional":false,"default_features":true,"target":"cfg(unix)","kind":"normal"},{"name":"winapi","req":"^0.3.9","features":["handleapi","ws2ipdef","ws2tcpip"],"optional":false,"default_features":true,"target":"cfg(windows)","kind":"normal"}],"cksum":"aa837ba9d8224cbeb63b73e72c88b38d62201f50b8b766e16ddba3dfd79a3657","features":{"all":[]},"yanked":false,"links":null}
{"name":"socket2","vers":"0.4.0","deps":[{"name":"libc","req":"^0.2.86","features":[],"optional":false,"default_features":true,"target":"cfg(unix)","kind":"normal"},{"name":"winapi","req":"^0.3.9","features":["handleapi","ws2ipdef","ws2tcpip"],"optional":false,"default_features":true,"target":"cfg(windows)","kind":"normal"}],"cksum":"9e3dfc207c526015c632472a77be09cf1b6e46866581aecae5cc38fb4235dea2","features":{"all":[]},"yanked":false,"links":null}

4 comments on commit 0e2ae26

@StormRat
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiling filetime v0.2.14
Compiling dirs-sys v0.3.5
Compiling daemonize v0.4.1
Compiling bytes v0.4.12
Compiling tokio-sync v0.1.8
Compiling tower-service v0.2.0
Compiling clap v2.33.3
Compiling blocking v1.0.2
error[E0658]: match is not allowed in a const fn
--> /root/.cargo/registry/src/mirrors.tools.huawei.com-530b4d703ccc752a/socket2-0.4.0/src/lib.rs:156:9
|
156 | / match address {
157 | | SocketAddr::V4() => Domain::IPV4,
158 | | SocketAddr::V6(
) => Domain::IPV6,
159 | | }
| |_________^
|
= note: see issue #49146 rust-lang/rust#49146 for more information

Compiling async-executor v1.4.0
Compiling rand_core v0.6.2
Compiling uuid v0.8.2
Compiling directories v3.0.1
Compiling futures-cpupool v0.1.8
Compiling cc v1.0.67
Compiling tower-layer v0.1.0
Compiling tower-discover v0.1.0
Compiling rand_core v0.5.1
Compiling tar v0.4.33
Compiling mime_guess v2.0.3
Compiling tower-load-shed v0.1.0
error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile socket2.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile sccache v0.2.15, intermediate artifacts can be found at /tmp/cargo-installbXP1PT

Caused by:
build failed

@navlok-mishra
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiling libc v0.2.92
Compiling cfg-if v1.0.0
Compiling autocfg v1.0.1
Compiling log v0.4.14
Compiling proc-macro2 v1.0.26
Compiling unicode-xid v0.2.1
Compiling syn v1.0.68
Compiling pkg-config v0.3.19
Compiling pin-project-lite v0.2.6
Compiling memchr v2.3.4
Compiling cc v1.0.67
Compiling scopeguard v1.1.0
Compiling smallvec v1.6.1
Compiling matches v0.1.8
Compiling bytes v1.0.1
Compiling once_cell v1.7.2
Compiling itoa v0.4.7
Compiling bitflags v1.2.1
Compiling tinyvec_macros v0.1.0
Compiling futures-core v0.3.13
Compiling openssl v0.10.33
Compiling lazy_static v1.4.0
Compiling foreign-types-shared v0.1.1
Compiling fnv v1.0.7
Compiling httparse v1.3.5
Compiling futures-sink v0.3.13
Compiling futures-task v0.3.13
Compiling pin-utils v0.1.0
Compiling futures-io v0.3.13
Compiling ryu v1.0.5
Compiling hashbrown v0.9.1
Compiling serde v1.0.125
Compiling slab v0.4.2
Compiling native-tls v0.2.7
Compiling version_check v0.1.5
Compiling try-lock v0.2.3
Compiling percent-encoding v2.1.0
Compiling openssl-probe v0.1.2
Compiling serde_json v1.0.64
Compiling httpdate v0.3.2
Compiling tower-service v0.3.1
Compiling encoding_rs v0.8.28
Compiling percent-encoding v1.0.1
Compiling safemem v0.3.3
Compiling byteorder v1.4.3
Compiling unicode-width v0.1.8
Compiling ansi_term v0.11.0
Compiling typeable v0.1.2
Compiling base64 v0.13.0
Compiling traitobject v0.1.0
Compiling mime v0.3.16
Compiling language-tags v0.2.2
Compiling yaml-rust v0.3.5
Compiling ipnet v2.3.0
Compiling strsim v0.8.0
Compiling vec_map v0.8.2
Compiling rustc-serialize v0.3.24 (https://github.com/jethrogb/rustc-serialize.git?branch=portability#9800ee07)
Compiling instant v0.1.9
Compiling lock_api v0.4.3
Compiling unicode-bidi v0.3.4
Compiling tinyvec v1.1.1
Compiling futures-channel v0.3.13
Compiling tokio v1.4.0
Compiling indexmap v1.6.2
Compiling tracing-core v0.1.17
Compiling foreign-types v0.3.2
Compiling http v0.2.3
Compiling form_urlencoded v1.0.1
Compiling textwrap v0.11.0
Compiling unicase v1.4.2
Compiling base64 v0.9.3
Compiling openssl-sys v0.9.61
Compiling tracing v0.1.25
Compiling unicode-normalization v0.1.17
Compiling want v0.3.0
Compiling log v0.3.9
Compiling futures-util v0.3.13
Compiling quote v1.0.9
Compiling num_cpus v1.13.0
Compiling parking_lot_core v0.8.3
Compiling mio v0.7.11
Compiling signal-hook-registry v1.3.0
Compiling socket2 v0.4.0
error[E0658]: match is not allowed in a const fn
--> /home/navlok/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.0/src/lib.rs:156:9
|
156 | / match address {
157 | | SocketAddr::V4() => Domain::IPV4,
158 | | SocketAddr::V6(
) => Domain::IPV6,
159 | | }
| |_________^
|
= note: see issue #49146 rust-lang/rust#49146 for more information

Compiling atty v0.2.14
Compiling time v0.1.43
error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile socket2.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Any workaround of this issue?

@Kxuan
Copy link

@Kxuan Kxuan commented on 0e2ae26 Apr 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any news on this ?

@giacomocariello
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Please sign in to comment.