[INFO] fetching crate net_ensembles 0.5.0...
[INFO] checking net_ensembles-0.5.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate net_ensembles 0.5.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate net_ensembles 0.5.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate net_ensembles 0.5.0
[INFO] finished tweaking crates.io crate net_ensembles 0.5.0
[INFO] tweaked toml for crates.io crate net_ensembles 0.5.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sampling v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a1f70726a168dcf4cbf73c7f6f72327eddc4a06db8a97b4d12c45866f9c715ff
[INFO] running `Command { std: "docker" "start" "-a" "a1f70726a168dcf4cbf73c7f6f72327eddc4a06db8a97b4d12c45866f9c715ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a1f70726a168dcf4cbf73c7f6f72327eddc4a06db8a97b4d12c45866f9c715ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1f70726a168dcf4cbf73c7f6f72327eddc4a06db8a97b4d12c45866f9c715ff", kill_on_drop: false }`
[INFO] [stdout] a1f70726a168dcf4cbf73c7f6f72327eddc4a06db8a97b4d12c45866f9c715ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e36902d78ba58a3807d059dfdf476989e8dc72fb00cb5c79ab2f840253ce914
[INFO] running `Command { std: "docker" "start" "-a" "8e36902d78ba58a3807d059dfdf476989e8dc72fb00cb5c79ab2f840253ce914", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking plotters-backend v0.3.5
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]     Checking strength_reduce v0.2.4
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking plotters-svg v0.3.5
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking easy-cast v0.4.4
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking permutation v0.2.5
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking average v0.13.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking criterion-plot v0.4.5
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking transpose v0.2.3
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking serde_json v1.0.115
[INFO] [stderr]     Checking sampling v0.1.1
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking rand_pcg v0.3.1
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.3.6
[INFO] [stderr]     Checking net_ensembles v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: the item `GraphErrors` is imported redundantly
[INFO] [stdout]    --> src/generic_graph.rs:4:33
[INFO] [stdout]     |
[INFO] [stdout] 4   | use crate::{traits::*, iter::*, GraphErrors};
[INFO] [stdout]     |             ---------           ^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the item `GraphErrors` is already imported here
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:279:23
[INFO] [stdout]     |
[INFO] [stdout] 279 | #![deny(missing_docs, warnings)]
[INFO] [stdout]     |                       ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphErrors` is imported redundantly
[INFO] [stdout]  --> src/graph.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{traits::*, GraphErrors, GenericGraph};
[INFO] [stdout]   |             ---------  ^^^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             the item `GraphErrors` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `From` is imported redundantly
[INFO] [stdout]   --> src/graph.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::convert::From;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/er_c.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/er_m.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Node` is imported redundantly
[INFO] [stdout]  --> src/barabasi_albert.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::Node;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 7 | use crate::traits::*;
[INFO] [stdout]   |     ---------------- the item `Node` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/barabasi_albert.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `SliceRandom` is imported redundantly
[INFO] [stdout]   --> src/barabasi_albert.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::seq::SliceRandom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 | use rand::distributions::WeightedIndex;
[INFO] [stdout] 14 | use rand::prelude::*;
[INFO] [stdout]    |     ---------------- the item `SliceRandom` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AdjContainer` is imported redundantly
[INFO] [stdout]  --> src/traits/ensemble_traits.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{AdjContainer, traits::*, iter::*, GenericGraph};
[INFO] [stdout]   |             ^^^^^^^^^^^^  --------- the item `AdjContainer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `permutation` is imported redundantly
[INFO] [stdout]  --> src/watts_strogatz/ws_container.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use permutation;
[INFO] [stdout]   |     ^^^^^^^^^^^ the item `permutation` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/watts_strogatz/ensemble.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::AsRef;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AdjContainer` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::AdjContainer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `AdjContainer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Node` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | use crate::Node;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `Node` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GenericGraph` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | use crate::GenericGraph;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout]    |                                                                            ---------------- the item `GenericGraph` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `WithGraph` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::WithGraph;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `WithGraph` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `HasRng` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{HasRng, SimpleSample};
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `HasRng` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `SimpleSample` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{HasRng, SimpleSample};
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `SimpleSample` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphIteratorsMut` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `GraphIteratorsMut` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphIterators` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:12:32
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `GraphIterators` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `SerdeStateConform` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:12:48
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `SerdeStateConform` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphErrors` is imported redundantly
[INFO] [stdout]  --> src/spacial/spacial_graph.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{traits::*, GraphErrors, GenericGraph};
[INFO] [stdout]   |             ---------  ^^^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             the item `GraphErrors` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphErrors` is imported redundantly
[INFO] [stdout]    --> src/generic_graph.rs:4:33
[INFO] [stdout]     |
[INFO] [stdout] 4   | use crate::{traits::*, iter::*, GraphErrors};
[INFO] [stdout]     |             ---------           ^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the item `GraphErrors` is already imported here
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:279:23
[INFO] [stdout]     |
[INFO] [stdout] 279 | #![deny(missing_docs, warnings)]
[INFO] [stdout]     |                       ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphErrors` is imported redundantly
[INFO] [stdout]  --> src/graph.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{traits::*, GraphErrors, GenericGraph};
[INFO] [stdout]   |             ---------  ^^^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             the item `GraphErrors` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `From` is imported redundantly
[INFO] [stdout]   --> src/graph.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::convert::From;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/er_c.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/er_m.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Node` is imported redundantly
[INFO] [stdout]  --> src/barabasi_albert.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::Node;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 7 | use crate::traits::*;
[INFO] [stdout]   |     ---------------- the item `Node` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/barabasi_albert.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `SliceRandom` is imported redundantly
[INFO] [stdout]   --> src/barabasi_albert.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::seq::SliceRandom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 | use rand::distributions::WeightedIndex;
[INFO] [stdout] 14 | use rand::prelude::*;
[INFO] [stdout]    |     ---------------- the item `SliceRandom` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `SeedableRng` is imported redundantly
[INFO] [stdout]    --> src/barabasi_albert.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |     use super::*;
[INFO] [stdout]     |         -------- the item `SeedableRng` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 231 |     use rand::SeedableRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AdjContainer` is imported redundantly
[INFO] [stdout]  --> src/traits/ensemble_traits.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{AdjContainer, traits::*, iter::*, GenericGraph};
[INFO] [stdout]   |             ^^^^^^^^^^^^  --------- the item `AdjContainer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `serde_json` is imported redundantly
[INFO] [stdout]    --> src/sw_graph.rs:556:9
[INFO] [stdout]     |
[INFO] [stdout] 556 |     use serde_json;
[INFO] [stdout]     |         ^^^^^^^^^^ the item `serde_json` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `permutation` is imported redundantly
[INFO] [stdout]  --> src/watts_strogatz/ws_container.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use permutation;
[INFO] [stdout]   |     ^^^^^^^^^^^ the item `permutation` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/watts_strogatz/ensemble.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::AsRef;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AdjContainer` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::AdjContainer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `AdjContainer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Node` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | use crate::Node;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `Node` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GenericGraph` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | use crate::GenericGraph;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout]    |                                                                            ---------------- the item `GenericGraph` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `WithGraph` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::WithGraph;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `WithGraph` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `HasRng` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{HasRng, SimpleSample};
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `HasRng` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `SimpleSample` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{HasRng, SimpleSample};
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `SimpleSample` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphIteratorsMut` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `GraphIteratorsMut` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphIterators` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:12:32
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `GraphIterators` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `SerdeStateConform` is imported redundantly
[INFO] [stdout]   --> src/watts_strogatz/ensemble.rs:12:48
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{GraphIteratorsMut, GraphIterators, SerdeStateConform, iter::*, generic_graph::*};
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 | use crate::traits::*;
[INFO] [stdout]    |     ---------------- the item `SerdeStateConform` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Dot` is imported redundantly
[INFO] [stdout]    --> src/watts_strogatz/ensemble.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |     use super::*;
[INFO] [stdout]     |         -------- the item `Dot` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 327 |     use crate::Dot;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `WithGraph` is imported redundantly
[INFO] [stdout]    --> src/watts_strogatz/ensemble.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |     use super::*;
[INFO] [stdout]     |         -------- the item `WithGraph` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 329 |     use crate::WithGraph;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `GraphErrors` is imported redundantly
[INFO] [stdout]  --> src/spacial/spacial_graph.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{traits::*, GraphErrors, GenericGraph};
[INFO] [stdout]   |             ---------  ^^^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             the item `GraphErrors` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `net_ensembles` (lib) due to 22 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 25 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `net_ensembles` (lib test) due to 26 previous errors
[INFO] running `Command { std: "docker" "inspect" "8e36902d78ba58a3807d059dfdf476989e8dc72fb00cb5c79ab2f840253ce914", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e36902d78ba58a3807d059dfdf476989e8dc72fb00cb5c79ab2f840253ce914", kill_on_drop: false }`
[INFO] [stdout] 8e36902d78ba58a3807d059dfdf476989e8dc72fb00cb5c79ab2f840253ce914
