Comments (5)
Which version of rustc
are you compiling against?
Works fine on Ubuntu 18.04 with rustc
version 1.26.2
from taizen.
I built it on 18.04 like this:
sudo apt-get install libncursesw5-dev libssl-dev
curl https://sh.rustup.rs -sSf | sh
# log out and back in
cd ~/Downloads
git clone https://github.com/nerdypepper/taizen
cd taizen
cargo run --release
from taizen.
`~ [ cd taizen ] 3:05 PM
~/taizen [ cargo run --release master ] 3:05 PM
Compiling arc-swap v0.2.0
Compiling unicode-width v0.1.5
error[E0658]: slice pattern syntax is experimental (see issue #23121)
--> /home/adien/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.2.0/src/lib.rs:658:59
|
658 | let groups = self.shards.iter().fold([0, 0], |[a1, a2], s| {
| ^^^^^^^^
error[E0658]: slice pattern syntax is experimental (see issue #23121)
--> /home/adien/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.2.0/src/lib.rs:659:21
|
659 | let [v1, v2] = s.snapshot();
| ^^^^^^^^
error: aborting due to 2 previous errors
error: Could not compile arc-swap
.
warning: build failed, waiting for other jobs to finish...
error: build failed
~/taizen [ rustc -v master ] 3:05 PM
error: no input filename given
~/taizen [ rustc --version master ] 3:05 PM
rustc 1.25.0
~/taizen [ cargo run --release master ] 3:23 PM
Compiling build_const v0.2.1
Compiling arc-swap v0.2.0
error[E0658]: slice pattern syntax is experimental (see issue #23121)
--> /home/adien/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.2.0/src/lib.rs:658:59
|
658 | let groups = self.shards.iter().fold([0, 0], |[a1, a2], s| {
| ^^^^^^^^
error[E0658]: slice pattern syntax is experimental (see issue #23121)
--> /home/adien/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.2.0/src/lib.rs:659:21
|
659 | let [v1, v2] = s.snapshot();
| ^^^^^^^^
error: aborting due to 2 previous errors
error: Could not compile arc-swap
.
warning: build failed, waiting for other jobs to finish...
error: build failed
~/taizen [ cargo run --release master ] 3:23 PM
Compiling array-macro v1.0.2
Compiling futures v0.1.23
Compiling num-rational v0.2.1
Compiling void v1.0.2
Compiling openssl v0.9.24
Compiling unicode-segmentation v1.2.1
Compiling arc-swap v0.2.0
error[E0658]: slice pattern syntax is experimental (see issue #23121)
--> /home/adien/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.2.0/src/lib.rs:658:59
|
658 | let groups = self.shards.iter().fold([0, 0], |[a1, a2], s| {
| ^^^^^^^^
error[E0658]: slice pattern syntax is experimental (see issue #23121)
--> /home/adien/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.2.0/src/lib.rs:659:21
|
659 | let [v1, v2] = s.snapshot();
| ^^^^^^^^
error: aborting due to 2 previous errors
error: Could not compile arc-swap
.
warning: build failed, waiting for other jobs to finish...
error: build failed
~/taizen [ master ] 3:25 PM
`
from taizen.
error[E0658]: slice pattern syntax is experimental (see issue #23121)
I got this error with rustc 1.25 which is in the Ubuntu repos.
Please try sudo apt-get remove rustc
and then installing rustc like this:
curl https://sh.rustup.rs -sSf | sh
This installed rustc 1.29.2 (17a9dc751 2018-10-05) earlier today for me and I could then build taizen.
from taizen.
thank you, I suppose I misread the output, because I tried removing the rust package. thank you for the guidance
from taizen.
Related Issues (12)
- Publish to crates.io HOT 3
- Use the library Parse Wiki Text HOT 2
- Support non-english HOT 1
- Taizen quiting
- Readme images not found HOT 7
- Tagged release HOT 1
- Cargo installation generates build erorr HOT 3
- Readme images return 404 (not found) HOT 1
- Crate seems to be broken HOT 1
- Building and running in Docker container produces a segmentation fault HOT 4
- License and release versioning? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taizen.