[INFO] fetching crate snarkvm-utilities 0.16.12... [INFO] checking snarkvm-utilities-0.16.12 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate snarkvm-utilities 0.16.12 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate snarkvm-utilities 0.16.12 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snarkvm-utilities 0.16.12 [INFO] finished tweaking crates.io crate snarkvm-utilities 0.16.12 [INFO] tweaked toml for crates.io crate snarkvm-utilities 0.16.12 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 packages [INFO] [stderr] Adding snarkvm-utilities-derives v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aleo-std-timed v0.1.2 [INFO] [stderr] Downloaded snarkvm-utilities-derives v0.16.12 [INFO] [stderr] Downloaded aleo-std-timer v0.1.2 [INFO] [stderr] Downloaded aleo-std-profiler v0.1.15 [INFO] [stderr] Downloaded aleo-std v0.1.24 [INFO] [stderr] Downloaded aleo-std-cpu v0.1.4 [INFO] [stderr] Downloaded aleo-std-time v0.1.2 [INFO] [stderr] Downloaded smol_str v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47ee042739f5c06a159360cf59e0243875d3b1c17909b6f50657c28e0511e55c [INFO] running `Command { std: "docker" "start" "-a" "47ee042739f5c06a159360cf59e0243875d3b1c17909b6f50657c28e0511e55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47ee042739f5c06a159360cf59e0243875d3b1c17909b6f50657c28e0511e55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ee042739f5c06a159360cf59e0243875d3b1c17909b6f50657c28e0511e55c", kill_on_drop: false }` [INFO] [stdout] 47ee042739f5c06a159360cf59e0243875d3b1c17909b6f50657c28e0511e55c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 905d9d10c20a58d97a6634664016537825ace1630cc67fa8b76bcf2f1df477fa [INFO] running `Command { std: "docker" "start" "-a" "905d9d10c20a58d97a6634664016537825ace1630cc67fa8b76bcf2f1df477fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking aleo-std-cpu v0.1.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking aleo-std-profiler v0.1.15 [INFO] [stderr] Checking aleo-std-timer v0.1.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking num-traits v0.2.18 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling aleo-std-timed v0.1.2 [INFO] [stderr] Compiling aleo-std-time v0.1.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking aleo-std v0.1.24 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling snarkvm-utilities-derives v0.16.12 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking snarkvm-utilities v0.16.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/bititerator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::ExactSizeIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bits.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bytes.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/serialize/impls.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBytes` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FromBytes, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `FromBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBytes` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ToBytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `ToBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | }; [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Vec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> src/serialize/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use impls::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromBytes`, `ToBytes`, `Vec`, `self` [INFO] [stdout] --> src/serialize/traits.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | FromBytes, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | ToBytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Uniform` is imported redundantly [INFO] [stdout] --> src/biginteger/tests.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 16 | biginteger::*, [INFO] [stdout] | ------------- the item `Uniform` is already imported here [INFO] [stdout] 17 | rand::{TestRng, Uniform}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/bititerator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::ExactSizeIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bits.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 317 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 320 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/serialize/impls.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBytes` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FromBytes, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `FromBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBytes` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ToBytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `ToBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> src/serialize/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use impls::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromBytes`, `ToBytes`, `Vec`, `self` [INFO] [stdout] --> src/serialize/traits.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | FromBytes, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | ToBytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer(String, Option, PhantomData); [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer(String, Option, PhantomData); [INFO] [stdout] | --------------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/bytes.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, Option); [INFO] [stdout] | ---------------- field in this struct ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer(String, Option, PhantomData); [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer(String, Option, PhantomData); [INFO] [stdout] | --------------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/bytes.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, Option); [INFO] [stdout] | ---------------- field in this struct ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.68s [INFO] running `Command { std: "docker" "inspect" "905d9d10c20a58d97a6634664016537825ace1630cc67fa8b76bcf2f1df477fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905d9d10c20a58d97a6634664016537825ace1630cc67fa8b76bcf2f1df477fa", kill_on_drop: false }` [INFO] [stdout] 905d9d10c20a58d97a6634664016537825ace1630cc67fa8b76bcf2f1df477fa [INFO] checking snarkvm-utilities-0.16.12 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate snarkvm-utilities 0.16.12 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate snarkvm-utilities 0.16.12 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snarkvm-utilities 0.16.12 [INFO] finished tweaking crates.io crate snarkvm-utilities 0.16.12 [INFO] tweaked toml for crates.io crate snarkvm-utilities 0.16.12 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feeb501f0855a954177e4e57979d6a1ae2a967eb3e737e8972b498edc1b37c64 [INFO] running `Command { std: "docker" "start" "-a" "feeb501f0855a954177e4e57979d6a1ae2a967eb3e737e8972b498edc1b37c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feeb501f0855a954177e4e57979d6a1ae2a967eb3e737e8972b498edc1b37c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feeb501f0855a954177e4e57979d6a1ae2a967eb3e737e8972b498edc1b37c64", kill_on_drop: false }` [INFO] [stdout] feeb501f0855a954177e4e57979d6a1ae2a967eb3e737e8972b498edc1b37c64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e2ba4659513cfd14b70d522ff107552157ca5732b60fc23056a1902e948ac01 [INFO] running `Command { std: "docker" "start" "-a" "9e2ba4659513cfd14b70d522ff107552157ca5732b60fc23056a1902e948ac01", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking aleo-std-timer v0.1.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking aleo-std-cpu v0.1.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking aleo-std-profiler v0.1.15 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aleo-std-time v0.1.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling aleo-std-timed v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling snarkvm-utilities-derives v0.16.12 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking aleo-std v0.1.24 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking snarkvm-utilities v0.16.12 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/serialize/mod.rs (1 fix) [INFO] [stderr] Fixed src/serialize/traits.rs (1 fix) [INFO] [stderr] Fixed src/serialize/impls.rs (1 fix) [INFO] [stdout] warning: the item `Uniform` is imported redundantly [INFO] [stdout] --> src/biginteger/tests.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 16 | biginteger::*, [INFO] [stdout] | ------------- the item `Uniform` is already imported here [INFO] [stdout] 17 | rand::{TestRng, Uniform}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/bititerator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::ExactSizeIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bits.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 317 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 320 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer(String, Option, PhantomData); [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer(String, Option, PhantomData); [INFO] [stdout] | --------------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/bytes.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, Option); [INFO] [stdout] | ---------------- field in this struct ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/bititerator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::ExactSizeIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bits.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bytes.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer(String, Option, PhantomData); [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer(String, Option, PhantomData); [INFO] [stdout] | --------------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/bytes.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, Option); [INFO] [stdout] | ---------------- field in this struct ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.69s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking snarkvm-utilities v0.16.12 (/tmp/fixit) [INFO] [stdout] warning: the item `Uniform` is imported redundantly [INFO] [stdout] --> src/biginteger/tests.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 16 | biginteger::*, [INFO] [stdout] | ------------- the item `Uniform` is already imported here [INFO] [stdout] 17 | rand::{TestRng, Uniform}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/bititerator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::ExactSizeIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bits.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 317 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 320 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly [INFO] [stdout] --> src/bititerator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::ExactSizeIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ExactSizeIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bits.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bytes.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/parallel.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::{serialize::traits::*, SerializationError}; [INFO] [stdout] | -------------------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/serialize/impls.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer(String, Option, PhantomData); [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer(String, Option, PhantomData); [INFO] [stdout] | --------------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/bytes.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, Option); [INFO] [stdout] | ---------------- field in this struct ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer(String, Option, PhantomData); [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ToBytesSerializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytes.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer(String, Option, PhantomData); [INFO] [stdout] | --------------------- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FromBytesDeserializer((), (), PhantomData); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/bytes.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, Option); [INFO] [stdout] | ---------------- field in this struct ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FromBytesVisitor<'a>(&'a mut Vec, SmolStr, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "9e2ba4659513cfd14b70d522ff107552157ca5732b60fc23056a1902e948ac01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2ba4659513cfd14b70d522ff107552157ca5732b60fc23056a1902e948ac01", kill_on_drop: false }` [INFO] [stdout] 9e2ba4659513cfd14b70d522ff107552157ca5732b60fc23056a1902e948ac01