Build #112637 2018-08-14T10:48:25.004201+00:00
# rustc version
rustc 1.28.0-dev (b9bf4f162 2018-06-02)
# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)
# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading oni v0.1.2
Fresh libc v0.2.43
Fresh rand_core v0.2.1
Fresh slotmap v0.2.0
Fresh rand v0.5.5
Fresh typenum v1.10.0
Fresh generic-array v0.11.1
Compiling oni_simulator v0.1.0
Running `rustc --crate-name oni_simulator .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0145ec775a42d4b3 -C extra-filename=-0145ec775a42d4b3 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern rand=/home/cratesfyi/cratesfyi/debug/deps/librand-29c97574f3dc2f74.rlib --extern-version rand=rand,0.5.5 --extern slotmap=/home/cratesfyi/cratesfyi/debug/deps/libslotmap-c072add28b70559e.rlib --extern-version slotmap=slotmap,0.2.0 --extern generic_array=/home/cratesfyi/cratesfyi/debug/deps/libgeneric_array-73f3e3c0e8699d95.rlib --extern-version generic_array=generic-array,0.11.1 --cap-lints allow`
error[E0432]: unresolved import `slotmap`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/store.rs:3:5
|
3 | use slotmap::{SlotMap, Key};
| ^^^^^^^ Maybe a missing `extern crate slotmap;`?
error[E0433]: failed to resolve. Maybe a missing `extern crate rand;`?
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:1:5
|
1 | use rand::{
| ^^^^ Maybe a missing `extern crate rand;`?
error[E0433]: failed to resolve. Maybe a missing `extern crate rand;`?
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:1:5
|
1 | use rand::prelude::*;
| ^^^^ Maybe a missing `extern crate rand;`?
error[E0432]: unresolved import `generic_array`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:2:5
|
2 | use generic_array::ArrayLength;
| ^^^^^^^^^^^^^ Maybe a missing `extern crate generic_array;`?
error[E0432]: unresolved import `generic_array`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/socket.rs:10:5
|
10 | use generic_array::ArrayLength;
| ^^^^^^^^^^^^^ Maybe a missing `extern crate generic_array;`?
error[E0432]: unresolved import `generic_array`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/payload.rs:1:5
|
1 | use generic_array::{
| ^^^^^^^^^^^^^ Maybe a missing `extern crate generic_array;`?
error[E0433]: failed to resolve. Maybe a missing `extern crate generic_array;`?
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/lib.rs:42:5
|
42 | use generic_array::typenum::{Sum, U200, U1000};
| ^^^^^^^^^^^^^ Maybe a missing `extern crate generic_array;`?
error[E0433]: failed to resolve. Use of undeclared type or module `Uniform`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:22:24
|
22 | if self.loss > Uniform::new(0.0, 100.0).sample(rng) {
| ^^^^^^^ Use of undeclared type or module `Uniform`
error[E0433]: failed to resolve. Use of undeclared type or module `Uniform`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:31:22
|
31 | let dt = Uniform::new(ZERO, self.jitter).sample(rng);
| ^^^^^^^ Use of undeclared type or module `Uniform`
error[E0433]: failed to resolve. Use of undeclared type or module `Uniform`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:43:29
|
43 | if self.duplicate > Uniform::new(0.0, 100.0).sample(rng) {
| ^^^^^^^ Use of undeclared type or module `Uniform`
error[E0433]: failed to resolve. Use of undeclared type or module `Uniform`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:44:29
|
44 | Some(delivery + Uniform::new(ZERO, ONE).sample(rng))
| ^^^^^^^ Use of undeclared type or module `Uniform`
error[E0433]: failed to resolve. Use of undeclared type or module `SmallRng`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:38:18
|
38 | rng: SmallRng::from_entropy(),
| ^^^^^^^^ Use of undeclared type or module `SmallRng`
error[E0433]: failed to resolve. Use of undeclared type or module `SmallRng`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:50:18
|
50 | rng: SmallRng::from_entropy(),
| ^^^^^^^^ Use of undeclared type or module `SmallRng`
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/payload.rs:32:56
|
32 | let mut data: GenericArray<u8, MTU> = unsafe { std::mem::zeroed() };
| ^^^
|
= help: add #![feature(extern_prelude)] to the crate attributes to enable
error[E0405]: cannot find trait `Rng` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:20:18
|
20 | where R: Rng + ?Sized
| ^^^ not found in this scope
error[E0405]: cannot find trait `Rng` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:41:18
|
41 | where R: Rng + ?Sized
| ^^^ not found in this scope
error[E0412]: cannot find type `SmallRng` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:101:10
|
101 | rng: SmallRng,
| ^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Sum` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/lib.rs:45:23
|
45 | pub type DefaultMTU = Sum<U1000, U200>;
| ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
36 | use std::iter::Sum;
|
error[E0412]: cannot find type `U1000` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/lib.rs:45:27
|
45 | pub type DefaultMTU = Sum<U1000, U200>;
| ^^^^^ not found in this scope
error[E0412]: cannot find type `U200` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/lib.rs:45:34
|
45 | pub type DefaultMTU = Sum<U1000, U200>;
| ^^^^ not found in this scope
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/store.rs:5:1
|
5 | crate struct Store<T, K> {
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/store.rs:14:5
|
14 | crate fn new() -> Self {
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/store.rs:22:5
|
22 | crate fn insert<U: Into<Option<K>>>(&mut self, from: K, to: U, data: T) {
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/store.rs:34:5
|
34 | crate fn remove<U: Into<Option<K>>>(&mut self, from: K, to: U) -> Option<T> {
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/store.rs:45:5
|
45 | crate fn any_find<U: Into<Option<K>>>(&self, from: K, to: U) -> Option<&T> {
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:19:5
|
19 | crate fn delivery<R>(&self, rng: &mut R, delivery: Instant) -> Option<Instant>
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/config.rs:40:5
|
40 | crate fn duplicate<R>(&self, rng: &mut R, delivery: Instant) -> Option<Instant>
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` in paths is experimental (see issue #45477)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:10:5
|
10 | use crate::{Config, Socket, store::Store, payload::Payload};
| ^^^^^
|
= help: add #![feature(crate_in_paths)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:15:1
|
15 | crate struct Entry<MTU: ArrayLength<u8>> {
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:16:5
|
16 | crate from: SocketAddr,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:17:5
|
17 | crate to: SocketAddr,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:22:5
|
22 | crate payload: Payload<MTU>,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:108:5
|
108 | crate entries: Vec<Entry<MTU>>,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:111:5
|
111 | crate pending: Vec<Entry<MTU>>,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/simulator.rs:117:5
|
117 | crate fn send(&mut self, from: SocketAddr, to: SocketAddr, payload: Payload<MTU>) -> Option<()> {
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` in paths is experimental (see issue #45477)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/socket.rs:12:5
|
12 | use crate::{simulator::Inner, payload::Payload};
| ^^^^^
|
= help: add #![feature(crate_in_paths)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/socket.rs:16:5
|
16 | crate simulator: Arc<Mutex<Inner<MTU>>>,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/socket.rs:17:5
|
17 | crate local_addr: SocketAddr,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/socket.rs:20:5
|
20 | crate send_bytes: AtomicUsize,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/socket.rs:21:5
|
21 | crate recv_bytes: AtomicUsize,
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` visibility modifier is experimental (see issue #45388)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/payload.rs:22:5
|
22 | crate fn copy_to(&self, buf: &mut [u8]) -> usize {
| ^^^^^
|
= help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable
error[E0658]: `crate` in paths is experimental (see issue #45477)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/lib.rs:36:9
|
36 | pub use crate::{
| ^^^^^
|
= help: add #![feature(crate_in_paths)] to the crate attributes to enable
error: aborting due to 42 previous errors
Some errors occurred: E0405, E0412, E0432, E0433, E0658.
For more information about an error, try `rustc --explain E0405`.
thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not compile `oni_simulator`.,
cause: process didn't exit successfully: `rustc --crate-name oni_simulator .cargo/registry/src/github.com-1ecc6299db9ec823/oni_simulator-0.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0145ec775a42d4b3 -C extra-filename=-0145ec775a42d4b3 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern rand=/home/cratesfyi/cratesfyi/debug/deps/librand-29c97574f3dc2f74.rlib --extern-version rand=rand,0.5.5 --extern slotmap=/home/cratesfyi/cratesfyi/debug/deps/libslotmap-c072add28b70559e.rlib --extern-version slotmap=slotmap,0.2.0 --extern generic_array=/home/cratesfyi/cratesfyi/debug/deps/libgeneric_array-73f3e3c0e8699d95.rlib --extern-version generic_array=generic-array,0.11.1 --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.