[INFO] cloning repository https://github.com/noneuclideangirl/cryptid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noneuclideangirl/cryptid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoneuclideangirl%2Fcryptid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoneuclideangirl%2Fcryptid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4eec335cfefcd713919dbe30ece63bfafb457fc4 [INFO] checking noneuclideangirl/cryptid against try#55b3f428b4fac6790b1e8492e0b91ff2d80aec7c for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoneuclideangirl%2Fcryptid" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noneuclideangirl/cryptid on toolchain 55b3f428b4fac6790b1e8492e0b91ff2d80aec7c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/noneuclideangirl/cryptid [INFO] finished tweaking git repo https://github.com/noneuclideangirl/cryptid [INFO] tweaked toml for git repo https://github.com/noneuclideangirl/cryptid written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.6.0 [INFO] [stderr] Downloaded curve25519-dalek v2.1.0 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d1a4ff9bbc38ef1f79d9bada91555235bd28d4b3d231a0153f6d6a9ee9b66cd0 [INFO] running `Command { std: "docker" "start" "-a" "d1a4ff9bbc38ef1f79d9bada91555235bd28d4b3d231a0153f6d6a9ee9b66cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1a4ff9bbc38ef1f79d9bada91555235bd28d4b3d231a0153f6d6a9ee9b66cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a4ff9bbc38ef1f79d9bada91555235bd28d4b3d231a0153f6d6a9ee9b66cd0", kill_on_drop: false }` [INFO] [stdout] d1a4ff9bbc38ef1f79d9bada91555235bd28d4b3d231a0153f6d6a9ee9b66cd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06fb4626b8e5ee0356f686040814b47dcff4b32d004b01f73ba79aaeda401244 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "06fb4626b8e5ee0356f686040814b47dcff4b32d004b01f73ba79aaeda401244", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking cryptid v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `from_seed` found for struct `ChaCha20Rng` in the current scope [INFO] [stdout] --> src/elgamal.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | Arc::new(Mutex::new(ChaCha20Rng::from_seed(buf))) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `ChaCha20Rng` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::SeedableRng;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MutexGuard<'_, ChaCha20Rng>` in the current scope [INFO] [stdout] --> src/elgamal.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | rng.fill_bytes(&mut buf); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MutexGuard<'_, ChaCha20Rng>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::RngCore;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ChaCha20Rng: rand::RngCore` is not satisfied [INFO] [stdout] --> src/elgamal.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | curve::CurveElem(RistrettoPoint::random(rng.deref_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `rand::RngCore` is not implemented for `ChaCha20Rng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-2.1.0/src/ristretto.rs:651:22 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn random(rng: &mut R) -> Self { [INFO] [stdout] | ------- required by this bound in `RistrettoPoint::random` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ChaCha20Rng: rand::CryptoRng` is not satisfied [INFO] [stdout] --> src/elgamal.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | curve::CurveElem(RistrettoPoint::random(rng.deref_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `rand::CryptoRng` is not implemented for `ChaCha20Rng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-2.1.0/src/ristretto.rs:651:32 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn random(rng: &mut R) -> Self { [INFO] [stdout] | --------- required by this bound in `RistrettoPoint::random` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for mutable reference `&mut ChaCha20Rng` in the current scope [INFO] [stdout] --> src/shuffle.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let k = rng.gen_range(i, n); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut ChaCha20Rng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.3.0/src/chacha.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | chacha_impl!(ChaCha20Core, ChaCha20Rng, 10, "ChaCha with 20 rounds"); [INFO] [stdout] | --------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `ChaCha20Rng: Rng` [INFO] [stdout] | doesn't satisfy `ChaCha20Rng: rand::RngCore` [INFO] [stdout] | [INFO] [stdout] = note: the method `gen_range` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ChaCha20Rng: rand::RngCore` [INFO] [stdout] which is required by `ChaCha20Rng: Rng` [INFO] [stdout] `&mut ChaCha20Rng: rand::RngCore` [INFO] [stdout] which is required by `&mut ChaCha20Rng: Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MutexGuard<'_, ChaCha20Rng>` in the current scope [INFO] [stdout] --> src/commit.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | rng.fill_bytes(&mut seed); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MutexGuard<'_, ChaCha20Rng>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::RngCore;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MutexGuard<'_, ChaCha20Rng>` in the current scope [INFO] [stdout] --> src/commit.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | rng.fill_bytes(&mut seed); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MutexGuard<'_, ChaCha20Rng>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::RngCore;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MutexGuard<'_, ChaCha20Rng>` in the current scope [INFO] [stdout] --> src/commit.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | rng.fill_bytes(&mut seed); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MutexGuard<'_, ChaCha20Rng>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::RngCore;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MutexGuard<'_, ChaCha20Rng>` in the current scope [INFO] [stdout] --> src/commit.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | rng.fill_bytes(&mut seed); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MutexGuard<'_, ChaCha20Rng>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::RngCore;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_seed` found for struct `ChaCha20Rng` in the current scope [INFO] [stdout] --> src/elgamal.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | Arc::new(Mutex::new(ChaCha20Rng::from_seed(buf))) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `ChaCha20Rng` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::SeedableRng;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MutexGuard<'_, ChaCha20Rng>` in the current scope [INFO] [stdout] --> src/elgamal.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | rng.fill_bytes(&mut buf); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MutexGuard<'_, ChaCha20Rng>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::RngCore;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ChaCha20Rng: rand::RngCore` is not satisfied [INFO] [stdout] --> src/elgamal.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | curve::CurveElem(RistrettoPoint::random(rng.deref_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `rand::RngCore` is not implemented for `ChaCha20Rng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-2.1.0/src/ristretto.rs:651:22 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn random(rng: &mut R) -> Self { [INFO] [stdout] | ------- required by this bound in `RistrettoPoint::random` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ChaCha20Rng: rand::CryptoRng` is not satisfied [INFO] [stdout] --> src/elgamal.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | curve::CurveElem(RistrettoPoint::random(rng.deref_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `rand::CryptoRng` is not implemented for `ChaCha20Rng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-2.1.0/src/ristretto.rs:651:32 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn random(rng: &mut R) -> Self { [INFO] [stdout] | --------- required by this bound in `RistrettoPoint::random` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for mutable reference `&mut ChaCha20Rng` in the current scope [INFO] [stdout] --> src/shuffle.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let k = rng.gen_range(i, n); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut ChaCha20Rng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.3.0/src/chacha.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | chacha_impl!(ChaCha20Core, ChaCha20Rng, 10, "ChaCha with 20 rounds"); [INFO] [stdout] | --------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `ChaCha20Rng: Rng` [INFO] [stdout] | doesn't satisfy `ChaCha20Rng: rand::RngCore` [INFO] [stdout] | [INFO] [stdout] = note: the method `gen_range` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ChaCha20Rng: rand::RngCore` [INFO] [stdout] which is required by `ChaCha20Rng: Rng` [INFO] [stdout] `&mut ChaCha20Rng: rand::RngCore` [INFO] [stdout] which is required by `&mut ChaCha20Rng: Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> src/elgamal.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{SeedableRng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/elgamal.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{SeedableRng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/shuffle.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptid` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MutexGuard<'_, ChaCha20Rng>` in the current scope [INFO] [stdout] --> src/shuffle.rs:508:17 [INFO] [stdout] | [INFO] [stdout] 508 | rng.fill_bytes(&mut seed); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MutexGuard<'_, ChaCha20Rng>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::RngCore;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MutexGuard<'_, ChaCha20Rng>` in the current scope [INFO] [stdout] --> src/shuffle.rs:535:17 [INFO] [stdout] | [INFO] [stdout] 535 | rng.fill_bytes(&mut seed); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MutexGuard<'_, ChaCha20Rng>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_chacha::rand_core::RngCore;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/commit.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> src/elgamal.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{SeedableRng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/elgamal.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{SeedableRng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/shuffle.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/shuffle.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "06fb4626b8e5ee0356f686040814b47dcff4b32d004b01f73ba79aaeda401244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06fb4626b8e5ee0356f686040814b47dcff4b32d004b01f73ba79aaeda401244", kill_on_drop: false }` [INFO] [stdout] 06fb4626b8e5ee0356f686040814b47dcff4b32d004b01f73ba79aaeda401244