phf_mac 0.5.0

Compiler plugin for perfect hash function data structures
Build #90220 2018-03-06 02:23:13

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.26.0-dev (5c1d29af0 2018-03-03)

# docs.rs version cratesfyi 0.5.0 (579f83b 2018-03-05)

# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading phf_mac v0.5.0 Downloading phf_shared v0.5.0 Compiling phf_shared v0.5.0 Running `rustc --crate-name phf_shared .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=64cb884a7fc38287 -C extra-filename=-64cb884a7fc38287 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` error[E0259]: the name `core` is defined multiple times --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:3:1 | 3 | extern crate core; | ^^^^^^^^^^^^^^^^^^ `core` reimported here | = note: `core` must be defined only once in the type namespace of this module help: You can use `as` to change the binding name of the import | 3 | extern crate core as other_core; | error[E0432]: unresolved import `core::slice::AsSlice` --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:5:5 | 5 | use core::slice::AsSlice; | ^^^^^^^^^^^^^^^^^^^^ no `AsSlice` in `slice` error[E0432]: unresolved import `core::hash::Writer` --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:7:18 | 7 | use core::hash::{Writer, Hasher, Hash, SipHasher}; | ^^^^^^ no `Writer` in `hash` error[E0658]: use of unstable library feature 'core_str_ext': stable interface provided by `impl str` in later crates (see issue #32110) --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:6:5 | 6 | use core::str::StrExt; | ^^^^^^^^^^^^^^^^^ | = help: add #![feature(core_str_ext)] to the crate attributes to enable error[E0599]: no method named `as_slice` found for type `&[u8; 1]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 98 | array_impl!(u8, 1); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 2]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 99 | array_impl!(u8, 2); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 3]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 100 | array_impl!(u8, 3); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 4]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 101 | array_impl!(u8, 4); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 5]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 102 | array_impl!(u8, 5); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 6]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 103 | array_impl!(u8, 6); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 7]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 104 | array_impl!(u8, 7); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 8]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 105 | array_impl!(u8, 8); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 9]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 106 | array_impl!(u8, 9); | ------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 10]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 107 | array_impl!(u8, 10); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 11]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 108 | array_impl!(u8, 11); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 12]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 109 | array_impl!(u8, 12); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 13]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 110 | array_impl!(u8, 13); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 14]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 111 | array_impl!(u8, 14); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 15]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 112 | array_impl!(u8, 15); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 16]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 113 | array_impl!(u8, 16); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 17]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 114 | array_impl!(u8, 17); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 18]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 115 | array_impl!(u8, 18); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 19]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 116 | array_impl!(u8, 19); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 20]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 117 | array_impl!(u8, 20); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 21]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 118 | array_impl!(u8, 21); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 22]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 119 | array_impl!(u8, 22); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 23]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 120 | array_impl!(u8, 23); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 24]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 121 | array_impl!(u8, 24); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 25]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 122 | array_impl!(u8, 25); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 26]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 123 | array_impl!(u8, 26); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 27]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 124 | array_impl!(u8, 27); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 28]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 125 | array_impl!(u8, 28); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 29]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 126 | array_impl!(u8, 29); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 30]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 127 | array_impl!(u8, 30); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 31]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 128 | array_impl!(u8, 31); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error[E0599]: no method named `as_slice` found for type `&[u8; 32]` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs:91:35 | 91 | hasher.write(self.as_slice()); | ^^^^^^^^ ... 129 | array_impl!(u8, 32); | -------------------- in this macro invocation | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope, perhaps add a `use` for it: | 5 | use core::array::FixedSizeArray; | error: aborting due to 36 previous errors You've got a few errors: E0259, E0432, E0599, E0658 If you want more information on an error, try using "rustc --explain E0259" thread 'main' panicked at 'Error( CargoError( ChainedError { error: Could not compile `phf_shared`., cause: process didn't exit successfully: `rustc --crate-name phf_shared .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.5.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=64cb884a7fc38287 -C extra-filename=-64cb884a7fc38287 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) } ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.