Skip to content

Fails to install on Ubtuntu 18.04 #468

@flanglet

Description

@flanglet

rustc --version
rustc 1.38.0-nightly (c798dffac 2019-07-27)

cargo install --path tokei
[...]

Compiling toml v0.5.6
error[E0658]: use of unstable library feature 'map_get_key_value'
--> /home/fred/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/dashmap-3.7.0/src/lib.rs:609:37
|
609 | if let Some((k, v)) = shard.get_key_value(key) {
| ^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#49347
= help: add #![feature(map_get_key_value)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'map_get_key_value'
--> /home/fred/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/dashmap-3.7.0/src/lib.rs:639:43
|
639 | if let Some((kptr, vptr)) = shard.get_key_value(key) {
| ^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#49347
= help: add #![feature(map_get_key_value)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'map_get_key_value'
--> /home/fred/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/dashmap-3.7.0/src/lib.rs:659:43
|
659 | if let Some((kptr, vptr)) = shard.get_key_value(key) {
| ^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#49347
= help: add #![feature(map_get_key_value)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'map_get_key_value'
--> /home/fred/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/dashmap-3.7.0/src/lib.rs:717:43
|
717 | if let Some((kptr, vptr)) = shard.get_key_value(&key) {
| ^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#49347
= help: add #![feature(map_get_key_value)] to the crate attributes to enable

Compiling serde_json v1.0.48
error[E0658]: use of unstable library feature 'map_get_key_value'
--> /home/fred/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/dashmap-3.7.0/src/mapref/entry.rs:106:37
|
106 | let (k, v) = self.shard.get_key_value(&c).unwrap();
| ^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#49347
= help: add #![feature(map_get_key_value)] to the crate attributes to enable

error: aborting due to 5 previous errors

For more information about this error, try rustc --explain E0658.
error: Could not compile dashmap.
warning: build failed, waiting for other jobs to finish...
error: failed to compile tokei v11.0.0 (/mnt/ddd4dfd5-591c-4868-b1f3-f2c8b0ab4ba6/ws/tokei), intermediate artifacts can be found at /mnt/ddd4dfd5-591c-4868-b1f3-f2c8b0ab4ba6/ws/tokei/target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions