My first project with Rust is a webpage scraper so I wanted to install reqwest.
Added the line
reqwest = "0.2"
to dependencies in Cargo.toml,
Version of cargo:
cargo 0.13.0-nightly (eca9e15 2016-11-01)
Version of rustc:
rustc 1.13.0 (2c6933acc 2016-11-07)
When I start with commnd
cargo run
I get bunch of errors:
Compiling unicase v1.4.2
error: expected:
, found,
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/explicit.rs:180:37
|
180 | self.vec.push(Status { level, status });
| ^Compiling dtoa v0.2.2
error: expected:
, found,
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:226:17
|
226 | text,
| ^error: expected
:
, found,
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:303:17
|
303 | text,
| ^error[E0412]: type name
Range
is undefined or not in scope
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/deprecated.rs:28:26
|
28 | pub fn visual_runs(line: Range, levels: &[Level]) -> Vec {
| ^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import several candidates into scope (use ...;
):
= help:std::collections::btree_map::Range
= help:std::collections::btree_set::Range
= help:std::ops::Range
error[E0425]: unresolved name
min
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/deprecated.rs:47:25
|
47 | min_level = min(run_level, min_level);
| ^^^ unresolved nameerror[E0425]: unresolved name
max
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/deprecated.rs:48:25
|
48 | max_level = max(run_level, max_level);
| ^^^ unresolved nameerror[E0063]: missing fields
level
,status
in initializer ofexplicit::Status
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/explicit.rs:180:23
|
180 | self.vec.push(Status { level, status });
| ^^^^^^ missinglevel
,status
error[E0063]: missing fields
original_classes
,paragraphs
,text
in initializer ofInitialInfo<'_>
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:225:9
|
225 | InitialInfo {
| ^^^^^^^^^^^ missingoriginal_classes
,paragraphs
,text
error[E0063]: missing fields
levels
,original_classes
,paragraphs
and 1 other field in initializer ofBidiInfo<'_>
--> /Users/bostjan/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:302:9
|
302 | BidiInfo {
| ^^^^^^^^ missinglevels
,original_classes
,paragraphs
and 1 other fielderror: aborting due to 3 previous errors
Build failed, waiting for other jobs to finish...
error: Could not compileunicode-bidi
.
Any ideas what I'm doing wrong?