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.12.0-nightly (54c0dcfd6 2016-07-28)# docs.rs version cratesfyi 0.2.0 (5dbd676 2016-07-30)# build log Build failed, waiting for other jobs to finish... Updating registry `https://github.com/rust-lang/crates.io-index` Downloading r2d2_postgres v0.1.1 Downloading r2d2 v0.1.2 Compiling regex-syntax v0.3.4 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.3.4/src/lib.rs --crate-name regex_syntax --crate-type lib -g -C metadata=b24da02611351433 -C extra-filename=-b24da02611351433 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` Compiling winapi-build v0.1.1 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/winapi-build-0.1.1/src/lib.rs --crate-name build --crate-type lib -g -C metadata=493a7b0628804707 -C extra-filename=-493a7b0628804707 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` Compiling winapi v0.2.8 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.2.8/src/lib.rs --crate-name winapi --crate-type lib -g -C metadata=0889532d327ff4e2 -C extra-filename=-0889532d327ff4e2 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` Compiling rustc-serialize v0.1.5 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.1.5/src/lib.rs --crate-name rustc_serialize --crate-type lib -g -C metadata=54ca772a0d2c8ff9 -C extra-filename=-54ca772a0d2c8ff9 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` Compiling libc v0.2.15 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.15/src/lib.rs --crate-name libc --crate-type lib -g --cfg feature=\"use_std\" --cfg feature=\"default\" -C metadata=1bd8847afb79f283 -C extra-filename=-1bd8847afb79f283 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` Compiling phf_shared v0.4.9 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs --crate-name phf_shared --crate-type lib -g -C metadata=515ef7c55ff37c45 -C extra-filename=-515ef7c55ff37c45 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` Compiling r2d2 v0.1.2 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/r2d2-0.1.2/src/lib.rs --crate-name r2d2 --crate-type lib -g -C metadata=1419e2572685be95 -C extra-filename=-1419e2572685be95 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` Compiling pkg-config v0.1.7 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs --crate-name pkg_config --crate-type lib -g -C metadata=bfe439f4ecb833c7 -C extra-filename=-bfe439f4ecb833c7 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70:60: 70:61 error: expected expression, found `]` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70 if options.statik && !is_system_lib(val, &dirs[]) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70:60: 70:61 error: expected `{`, found `]` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70 if options.statik && !is_system_lib(val, &dirs[]) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70:60: 70:61 help: place this code inside a block .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.1.5/src/serialize.rs:175:38: 175:41 error: expected one of `:`, `where`, or `{`, found `for` .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.1.5/src/serialize.rs:175 pub trait Encodable<S:Encoder<E>, E> for Sized? { ^~~ error: aborting due to previous error .cargo/registry/src/github.com-1ecc6299db9ec823/r2d2-0.1.2/src/lib.rs:89:46: 89:50 error: expected expression, found reserved keyword `proc` .cargo/registry/src/github.com-1ecc6299db9ec823/r2d2-0.1.2/src/lib.rs:89 inner.internals.lock().task_pool.execute(proc() { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/r2d2-0.1.2/src/lib.rs:89:46: 89:50 error: expected one of `)`, `.`, `;`, `<`, `?`, `break`, `continue`, `false`, `for`, `if`, `loop`, `match`, `move`, `return`, `true`, `unsafe`, `while`, `}`, or an operator, found `proc` .cargo/registry/src/github.com-1ecc6299db9ec823/r2d2-0.1.2/src/lib.rs:89 inner.internals.lock().task_pool.execute(proc() { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:3:1: 3:19 error: an extern crate named `core` has already been imported in this module [E0259] .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:3 extern crate core; ^~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:3:1: 3:19 help: run `rustc --explain E0259` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:5:5: 5:25 error: unresolved import `core::slice::AsSlice`. There is no `AsSlice` in `core::slice` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:5 use core::slice::AsSlice; ^~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:5:5: 5:25 help: run `rustc --explain E0432` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:7:18: 7:24 error: unresolved import `core::hash::Writer`. There is no `Writer` in `core::hash` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:7 use core::hash::{Writer, Hasher, Hash, SipHasher}; ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:7:18: 7:24 help: run `rustc --explain E0432` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:3:5: 3:25 error: unresolved import `std::old_io::Command`. Could not find `old_io` in `std` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:3 use std::old_io::Command; ^~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:3:5: 3:25 help: run `rustc --explain E0432` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:4:5: 4:36 error: unresolved import `std::old_io::fs::PathExtensions`. Could not find `old_io` in `std` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:4 use std::old_io::fs::PathExtensions; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:4:5: 4:36 help: run `rustc --explain E0432` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:5: 9:15 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9 os::getenv("HOST") == os::getenv("TARGET") || ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:5: 9:15 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:27: 9:37 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9 os::getenv("HOST") == os::getenv("TARGET") || ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:27: 9:37 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:10:9: 10:19 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:10 os::getenv("PKG_CONFIG_ALLOW_CROSS") == Some("1".to_string()) ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:10:9: 10:19 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:8: 23:18 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23 if os::getenv(format!("{}_NO_PKG_CONFIG", envify(name)).as_slice()).is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:8: 23:18 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:65:23: 65:32 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:65 dirs.push(Path::new(val)); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:65:23: 65:32 help: run `rustc --explain E0433` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:21: 82:31 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82 let statik = if os::getenv(format!("{}_STATIC", name).as_slice()).is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:21: 82:31 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:15: 84:25 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84 } else if os::getenv(format!("{}_DYNAMIC", name).as_slice()).is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:15: 84:25 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:86:15: 86:25 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:86 } else if os::getenv("PKG_CONFIG_ALL_STATIC").is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:86:15: 86:25 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:88:15: 88:25 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:88 } else if os::getenv("PKG_CONFIG_ALL_DYNAMIC").is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:88:15: 88:25 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101:38: 101:42 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101 fn is_system_lib(name: &str, dirs: &[Path]) -> bool { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101:38: 101:42 help: run `rustc --explain E0412` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101:38: 101:42 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:103:16: 103:25 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:103 let root = Path::new("/usr"); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:103:16: 103:25 help: run `rustc --explain E0433` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/r2d2-0.1.2/src/lib.rs:68:9: 68:14 error: macro undefined: 'error!' .cargo/registry/src/github.com-1ecc6299db9ec823/r2d2-0.1.2/src/lib.rs:68 error!("{}", error); ^~~~~ error: aborting due to 4 previous errors .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:61: 23:69 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23 if os::getenv(format!("{}_NO_PKG_CONFIG", envify(name)).as_slice()).is_some() { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:59: 82:67 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82 let statik = if os::getenv(format!("{}_STATIC", name).as_slice()).is_some() { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:54: 84:62 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84 } else if os::getenv(format!("{}_DYNAMIC", name).as_slice()).is_some() { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:55: 97:56 error: binary operation `==` cannot be applied to type `std::char::ToUppercase` [E0369] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97 name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c}) ^ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:55: 97:56 help: run `rustc --explain E0369` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:55: 97:56 note: an implementation of `std::cmp::PartialEq` might be missing for `std::char::ToUppercase` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97 name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c}) ^ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 error: if and else have incompatible types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97 name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c}) ^~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 help: run `rustc --explain E0308` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 note: expected type `char` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 note: found type `std::char::ToUppercase` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 note: expected char, found struct `std::char::ToUppercase` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97 name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c}) ^~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to 5 previous errors .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:56:21: 56:27 error: no method named `result` found for type `core::hash::SipHasher` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:56 split(state.result()) ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 1]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:98:1: 98:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 2]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:99:1: 99:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 3]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:100:1: 100:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 4]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:101:1: 101:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 5]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:102:1: 102:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 6]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:103:1: 103:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 7]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:104:1: 104:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 8]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:105:1: 105:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 9]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:106:1: 106:20 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 10]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:107:1: 107:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 11]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:108:1: 108:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 12]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:109:1: 109:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 13]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:110:1: 110:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 14]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:111:1: 111:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 15]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:112:1: 112:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 16]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:113:1: 113:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 17]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:114:1: 114:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 18]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:115:1: 115:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 19]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:116:1: 116:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 20]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:117:1: 117:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 21]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:118:1: 118:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 22]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:119:1: 119:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 23]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:120:1: 120:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 24]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:121:1: 121:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 25]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:122:1: 122:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 26]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:123:1: 123:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 27]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:124:1: 124:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 28]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:125:1: 125:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 29]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:126:1: 126:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 30]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:127:1: 127:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 31]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:128:1: 128:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 error: no method named `as_slice` found for type `&[u8; 32]` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91 hasher.write(self.as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:129:1: 129:21 note: in this expansion of array_impl! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/phf_shared-0.4.9/src/lib.rs:91:35: 91:43 help: candidate #1: `use core::array::FixedSizeArray` error: aborting due to 33 previous errors thread 'main' panicked at 'ChainedError { error: failed to compile `r2d2_postgres v0.1.1`, intermediate artifacts can be found at `/home/cratesfyi/r2d2_postgres-0.1.1`, cause: ChainedError { error: Could not compile `rustc-serialize`., cause: Process didn't exit successfully: `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.1.5/src/lib.rs --crate-name rustc_serialize --crate-type lib -g -C metadata=54ca772a0d2c8ff9 -C extra-filename=-54ca772a0d2c8ff9 --out-dir /home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps -L dependency=/home/cratesfyi/r2d2_postgres-0.1.1/debug/deps --cap-lints allow` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.