[INFO] fetching crate juliet 0.3.0... [INFO] building juliet-0.3.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate juliet 0.3.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate juliet 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate juliet 0.3.0 [INFO] tweaked toml for crates.io crate juliet 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate juliet 0.3.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate juliet 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_more-impl v1.0.0-beta.2 [INFO] [stderr] Downloaded unicode-xid v0.2.4 [INFO] [stderr] Downloaded proptest-attr-macro v1.0.0 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded proptest-derive v0.3.0 [INFO] [stderr] Downloaded derive_more v1.0.0-beta.2 [INFO] [stderr] Downloaded proptest v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e23d4c5e9e18266fc03aadee17ab1474623a38c2654a2f951610712c5652480 [INFO] running `Command { std: "docker" "start" "-a" "2e23d4c5e9e18266fc03aadee17ab1474623a38c2654a2f951610712c5652480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e23d4c5e9e18266fc03aadee17ab1474623a38c2654a2f951610712c5652480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e23d4c5e9e18266fc03aadee17ab1474623a38c2654a2f951610712c5652480", kill_on_drop: false }` [INFO] [stdout] 2e23d4c5e9e18266fc03aadee17ab1474623a38c2654a2f951610712c5652480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d5fbc4f8282eda7272b1aa03bdb6df24a4fe8d78c6f5637c87872058ca59df3 [INFO] running `Command { std: "docker" "start" "-a" "3d5fbc4f8282eda7272b1aa03bdb6df24a4fe8d78c6f5637c87872058ca59df3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling juliet v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/header.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Header structure. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// Implements [`AsRef`], which will return a byte slice with the correct encoding of the header [INFO] [stdout] 16 | | /// that can be sent directly to a peer. [INFO] [stdout] 17 | | #[derive(Copy, Clone, Eq, PartialEq, Pod, Zeroable)] [INFO] [stdout] 18 | | #[repr(transparent)] [INFO] [stdout] 19 | | pub struct Header([u8; Header::SIZE]); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/outgoing_message.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | struct Preamble { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/protocol/outgoing_message.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / /// Combination of header and potential message payload length. [INFO] [stdout] 160 | | /// [INFO] [stdout] 161 | | /// A message with a payload always starts with an initial frame that has a header and a varint [INFO] [stdout] 162 | | /// encoded payload length. This type combines the two, and allows for the payload length to [INFO] [stdout] ... | [INFO] [stdout] 174 | | payload_length: Varint32, [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/varint.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / /// An encoded varint32. [INFO] [stdout] 62 | | /// [INFO] [stdout] 63 | | /// Internally these are stored as six byte arrays to make passing around convenient. Since the [INFO] [stdout] 64 | | /// maximum length a 32 bit varint can posses is 5 bytes, the 6th byte is used to record the [INFO] [stdout] ... | [INFO] [stdout] 67 | | #[derive(Copy, Clone, Pod, Zeroable)] [INFO] [stdout] 68 | | pub struct Varint32([u8; 6]); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rpc.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn create_request(&self, channel: ChannelId) -> JulietRpcRequestBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn create_request(&self, channel: ChannelId) -> JulietRpcRequestBuilder<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.82s [INFO] running `Command { std: "docker" "inspect" "3d5fbc4f8282eda7272b1aa03bdb6df24a4fe8d78c6f5637c87872058ca59df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5fbc4f8282eda7272b1aa03bdb6df24a4fe8d78c6f5637c87872058ca59df3", kill_on_drop: false }` [INFO] [stdout] 3d5fbc4f8282eda7272b1aa03bdb6df24a4fe8d78c6f5637c87872058ca59df3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 546c37d5008f88b147a10af11f9e3f42352af094a1a365d9c5f9c2748408366d [INFO] running `Command { std: "docker" "start" "-a" "546c37d5008f88b147a10af11f9e3f42352af094a1a365d9c5f9c2748408366d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.4.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling proptest-attr-macro v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling derive_more-impl v1.0.0-beta.2 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling derive_more v1.0.0-beta.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling juliet v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/header.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Header structure. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// Implements [`AsRef`], which will return a byte slice with the correct encoding of the header [INFO] [stdout] 16 | | /// that can be sent directly to a peer. [INFO] [stdout] 17 | | #[derive(Copy, Clone, Eq, PartialEq, Pod, Zeroable)] [INFO] [stdout] 18 | | #[repr(transparent)] [INFO] [stdout] 19 | | pub struct Header([u8; Header::SIZE]); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/outgoing_message.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | struct Preamble { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/protocol/outgoing_message.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / /// Combination of header and potential message payload length. [INFO] [stdout] 160 | | /// [INFO] [stdout] 161 | | /// A message with a payload always starts with an initial frame that has a header and a varint [INFO] [stdout] 162 | | /// encoded payload length. This type combines the two, and allows for the payload length to [INFO] [stdout] ... | [INFO] [stdout] 174 | | payload_length: Varint32, [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/varint.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / /// An encoded varint32. [INFO] [stdout] 62 | | /// [INFO] [stdout] 63 | | /// Internally these are stored as six byte arrays to make passing around convenient. Since the [INFO] [stdout] 64 | | /// maximum length a 32 bit varint can posses is 5 bytes, the 6th byte is used to record the [INFO] [stdout] ... | [INFO] [stdout] 67 | | #[derive(Copy, Clone, Pod, Zeroable)] [INFO] [stdout] 68 | | pub struct Varint32([u8; 6]); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rpc.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn create_request(&self, channel: ChannelId) -> JulietRpcRequestBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn create_request(&self, channel: ChannelId) -> JulietRpcRequestBuilder<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/header.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Header structure. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// Implements [`AsRef`], which will return a byte slice with the correct encoding of the header [INFO] [stdout] 16 | | /// that can be sent directly to a peer. [INFO] [stdout] 17 | | #[derive(Copy, Clone, Eq, PartialEq, Pod, Zeroable)] [INFO] [stdout] 18 | | #[repr(transparent)] [INFO] [stdout] 19 | | pub struct Header([u8; Header::SIZE]); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/outgoing_message.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | struct Preamble { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/protocol/outgoing_message.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / /// Combination of header and potential message payload length. [INFO] [stdout] 160 | | /// [INFO] [stdout] 161 | | /// A message with a payload always starts with an initial frame that has a header and a varint [INFO] [stdout] 162 | | /// encoded payload length. This type combines the two, and allows for the payload length to [INFO] [stdout] ... | [INFO] [stdout] 174 | | payload_length: Varint32, [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/varint.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / /// An encoded varint32. [INFO] [stdout] 62 | | /// [INFO] [stdout] 63 | | /// Internally these are stored as six byte arrays to make passing around convenient. Since the [INFO] [stdout] 64 | | /// maximum length a 32 bit varint can posses is 5 bytes, the 6th byte is used to record the [INFO] [stdout] ... | [INFO] [stdout] 67 | | #[derive(Copy, Clone, Pod, Zeroable)] [INFO] [stdout] 68 | | pub struct Varint32([u8; 6]); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/header.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_ErrorKind` [INFO] [stdout] 53 | #[repr(u8)] [INFO] [stdout] 54 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `proptest_derive::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/header.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Kind` [INFO] [stdout] 104 | #[repr(u8)] [INFO] [stdout] 105 | pub enum Kind { [INFO] [stdout] | ---- `Kind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `proptest_derive::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/protocol/multiframe.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | #[derive(Arbitrary, derive_more::Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Action` [INFO] [stdout] 363 | enum Action { [INFO] [stdout] | ------ `Action` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/protocol.rs:1085:14 [INFO] [stdout] | [INFO] [stdout] 1085 | #[derive(Arbitrary, Clone, Copy, Debug, EnumIter)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_VaryingPayload` [INFO] [stdout] 1086 | enum VaryingPayload { [INFO] [stdout] | -------------- `VaryingPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rpc.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn create_request(&self, channel: ChannelId) -> JulietRpcRequestBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn create_request(&self, channel: ChannelId) -> JulietRpcRequestBuilder<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/varint.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | format!("{:?}", Varint32::encode(value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 313 | let _ = format!("{:?}", Varint32::encode(value)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "546c37d5008f88b147a10af11f9e3f42352af094a1a365d9c5f9c2748408366d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546c37d5008f88b147a10af11f9e3f42352af094a1a365d9c5f9c2748408366d", kill_on_drop: false }` [INFO] [stdout] 546c37d5008f88b147a10af11f9e3f42352af094a1a365d9c5f9c2748408366d