Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slab: error: the optimizations s or z are only accepted on the nightly compiler #41

Open
paigeadelethompson opened this issue Mar 20, 2019 · 4 comments

Comments

@paigeadelethompson
Copy link

 cargo build --release --features=ssl
    Updating registry `https://github.com/rust-lang/crates.io-index`
warning: spurious network error (2 tries remaining): [12/-2] [18] Transferred a partial file (transfer closed with outstanding read data remaining)
warning: spurious network error (1 tries remaining): [12/-2] [56] Failure when receiving data from the peer (Received HTTP code 503 from proxy after CONNECT)
 Downloading readwrite v0.1.1
 Downloading structopt v0.2.14
 Downloading slab_typesafe v0.1.3
 Downloading tokio-reactor v0.1.9
 Downloading websocket v0.22.3
 Downloading tokio-udp v0.1.3
 Downloading tokio-process v0.2.3
 Downloading tokio-tls v0.2.1
 Downloading tokio-tcp v0.1.3
 Downloading tokio-current-thread v0.1.5
 Downloading futures v0.1.25
 Downloading native-tls v0.2.2
 Downloading hyper v0.10.15
 Downloading tokio-io v0.1.12
 Downloading tokio-codec v0.1.1
 Downloading derivative v1.0.2
 Downloading smart-default v0.3.0
 Downloading env_logger v0.6.0
 Downloading log v0.4.6
 Downloading tokio v0.1.16
 Downloading url v1.7.2
 Downloading tokio-stdin-stdout v0.1.5
 Downloading tk-listen v0.2.1
 Downloading bytes v0.4.11
 Downloading cfg-if v0.1.7
 Downloading byteorder v1.3.1
 Downloading iovec v0.1.2
 Downloading clap v2.32.0
 Downloading structopt-derive v0.2.14
 Downloading textwrap v0.10.0
 Downloading bitflags v1.0.4
 Downloading unicode-width v0.1.5
 Downloading heck v0.3.1
 Downloading proc-macro2 v0.4.27
 Downloading quote v0.6.11
 Downloading syn v0.15.27
 Downloading unicode-segmentation v1.2.1
 Downloading unicode-xid v0.1.0
 Downloading slab v0.4.2
 Downloading num_cpus v1.10.0
 Downloading mio v0.6.16
 Downloading crossbeam-utils v0.6.5
 Downloading lazy_static v1.3.0
 Downloading tokio-sync v0.1.3
 Downloading tokio-executor v0.1.6
 Downloading parking_lot v0.7.1
 Downloading libc v0.2.50
 Downloading lazycell v1.2.1
 Downloading net2 v0.2.33
 Downloading fnv v1.0.6
 Downloading parking_lot_core v0.4.0
 Downloading lock_api v0.1.5
 Downloading smallvec v0.6.9
 Downloading rand v0.6.5
 Downloading rand_core v0.4.0
 Downloading rand_isaac v0.1.1
 Downloading rand_jitter v0.1.3
 Downloading rand_chacha v0.1.1
 Downloading rand_os v0.1.3
 Downloading rand_hc v0.1.0
 Downloading rand_xorshift v0.1.1
 Downloading rand_pcg v0.1.2
 Downloading rand_core v0.3.1
 Downloading autocfg v0.1.2
 Downloading rustc_version v0.2.3
 Downloading semver v0.9.0
 Downloading semver-parser v0.7.0
 Downloading scopeguard v0.3.3
 Downloading owning_ref v0.4.0
 Downloading stable_deref_trait v1.1.1
 Downloading sha1 v0.6.0
 Downloading base64 v0.10.1
 Downloading unicase v1.4.2
 Downloading matches v0.1.8
 Downloading percent-encoding v1.0.1
 Downloading idna v0.1.5
 Downloading unicode-normalization v0.1.8
 Downloading unicode-bidi v0.3.4
 Downloading tokio-threadpool v0.1.12
 Downloading tokio-fs v0.1.6
 Downloading tokio-timer v0.2.10
 Downloading crossbeam-queue v0.1.2
 Downloading crossbeam-deque v0.7.1
 Downloading crossbeam-epoch v0.7.1
 Downloading memoffset v0.2.1
 Downloading arrayvec v0.4.10
 Downloading nodrop v0.1.13
 Downloading log v0.3.9
 Downloading httparse v1.3.3
 Downloading typeable v0.1.2
 Downloading time v0.1.42
 Downloading language-tags v0.2.2
 Downloading mime v0.2.6
 Downloading traitobject v0.1.0
 Downloading base64 v0.9.3
 Downloading version_check v0.1.5
 Downloading safemem v0.3.0
 Downloading tokio-uds v0.2.5
 Downloading tokio-file-unix v0.5.1
 Downloading tokio-signal v0.2.7
 Downloading mio-uds v0.6.7
 Downloading openssl-probe v0.1.2
 Downloading openssl-sys v0.9.42
 Downloading openssl v0.10.19
 Downloading pkg-config v0.3.14
 Downloading cc v1.0.30
 Downloading foreign-types v0.3.2
 Downloading foreign-types-shared v0.1.1
 Downloading signal-hook v0.1.8
 Downloading arc-swap v0.3.7
   Compiling nodrop v0.1.13
   Compiling byteorder v1.3.1
   Compiling traitobject v0.1.0
   Compiling lazycell v1.2.1
   Compiling matches v0.1.8
   Compiling safemem v0.3.0
   Compiling openssl v0.10.19
   Compiling lazy_static v1.3.0
   Compiling pkg-config v0.3.14
   Compiling rand_core v0.4.0
   Compiling unicode-xid v0.1.0
   Compiling fnv v1.0.6
   Compiling autocfg v0.1.2
   Compiling smallvec v0.6.9
   Compiling openssl-probe v0.1.2
   Compiling language-tags v0.2.2
   Compiling stable_deref_trait v1.1.1
   Compiling sha1 v0.6.0
   Compiling unicode-width v0.1.5
   Compiling native-tls v0.2.2
   Compiling foreign-types-shared v0.1.1
   Compiling version_check v0.1.5
   Compiling scopeguard v0.3.3
   Compiling arc-swap v0.3.7
   Compiling futures v0.1.25
   Compiling cfg-if v0.1.7
   Compiling libc v0.2.50
   Compiling arrayvec v0.4.10
   Compiling httparse v1.3.3
   Compiling proc-macro2 v0.4.27
   Compiling unicode-segmentation v1.2.1
   Compiling cc v1.0.30
   Compiling memoffset v0.2.1
   Compiling bitflags v1.0.4
   Compiling typeable v0.1.2
   Compiling percent-encoding v1.0.1
   Compiling semver-parser v0.7.0
   Compiling slab v0.4.2
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `byteorder`.
warning: build failed, waiting for other jobs to finish...
error:error : the optimizations s or z are only accepted on the nightly compilerCould not compile `traitobject`.
warning: build failed, waiting for other jobs to finish...


error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `openssl`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `lazycell`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `nodrop`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `safemem`.
error: the optimizations s or z are only accepted on the nightly compiler
warning: build failed, waiting for other jobs to finish...
error: Could not compile `lazy_static`.
warning: build failed, waiting for other jobs to finish...

error: Could not compile `matches`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `rand_core`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `fnv`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `pkg-config`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `smallvec`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `cc`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `autocfg`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `stable_deref_trait`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `scopeguard`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `arc-swap`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `unicode-width`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `sha1`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `openssl-probe`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `percent-encoding`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `memoffset`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `httparse`.
warning: build failed, waiting for other jobs to finish...
errorerror: the optimizations s or z are only accepted on the nightly compiler: the optimizations s or z are only accepted on the nightly compiler



error: Could not compile `unicode-xid`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `foreign-types-shared`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `native-tls`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `cfg-if`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `language-tags`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `typeable`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `libc`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `version_check`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `slab`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `arrayvec`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `futures`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `bitflags`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `semver-parser`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `proc-macro2`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `unicode-segmentation`.

To learn more, run the command again with --verbose.
@vi
Copy link
Owner

vi commented Mar 20, 2019

What version of Rust?

rustc --version

@mqu
Copy link

mqu commented Sep 24, 2019

facing same error with docker build env based on debian stretch :

root@ede162c3d486:/app# rustc -V
rustc 1.24.1
root@ede162c3d486:/app# cat /etc/os-release  | grep PRETTY_NAME
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"

@vi
Copy link
Owner

vi commented Sep 24, 2019

Either use rust 1.30+ for building current websocat;
or use websocat from tag v1.1.0, with supplied Cargo.lock for building with rust 1.24.

@mqu
Copy link

mqu commented Sep 24, 2019

I have been able to build websocat with docker having latest rust version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants