-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0e2ae26
There was a problem hiding this comment.
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 aconst 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
0e2ae26
There was a problem hiding this comment.
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 aconst 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?
0e2ae26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any news on this ?
0e2ae26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1