[INFO] fetching crate aedat 1.3.3... [INFO] checking aedat-1.3.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate aedat 1.3.3 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking crates.io crate aedat 1.3.3 [INFO] finished tweaking crates.io crate aedat 1.3.3 [INFO] tweaked toml for crates.io crate aedat 1.3.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aedat 1.3.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding flatbuffers v2.1.2 (available: v25.2.10) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding roxmltree v0.14.1 (available: v0.20.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding zstd v0.12.4 (available: v0.13.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68e0d9e1a24edbceec3ad9da3be8633c82c3f37f5b9f5e25c139617d6cbc3125 [INFO] running `Command { std: "docker" "start" "-a" "68e0d9e1a24edbceec3ad9da3be8633c82c3f37f5b9f5e25c139617d6cbc3125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68e0d9e1a24edbceec3ad9da3be8633c82c3f37f5b9f5e25c139617d6cbc3125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e0d9e1a24edbceec3ad9da3be8633c82c3f37f5b9f5e25c139617d6cbc3125", kill_on_drop: false }` [INFO] [stdout] 68e0d9e1a24edbceec3ad9da3be8633c82c3f37f5b9f5e25c139617d6cbc3125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d93156067762b54555a292b3723a804caadf8a575d3157b4f7aa8f61676e3657 [INFO] running `Command { std: "docker" "start" "-a" "d93156067762b54555a292b3723a804caadf8a575d3157b4f7aa8f61676e3657", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Checking flatbuffers v2.1.2 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking lz4 v1.28.1 [INFO] [stderr] Checking aedat v1.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/base.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(FromPrimitive, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StreamContent` [INFO] [stdout] 64 | pub enum StreamContent { [INFO] [stdout] | ------------- `StreamContent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./ioheader_generated.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn root_as_ioheader(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn root_as_ioheader(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./ioheader_generated.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | buf: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 289 | ) -> Result { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 289 | ) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./ioheader_generated.rs:322:47 [INFO] [stdout] | [INFO] [stdout] 322 | pub unsafe fn root_as_ioheader_unchecked(buf: &[u8]) -> Ioheader { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 322 | pub unsafe fn root_as_ioheader_unchecked(buf: &[u8]) -> Ioheader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./ioheader_generated.rs:329:61 [INFO] [stdout] | [INFO] [stdout] 329 | pub unsafe fn size_prefixed_root_as_ioheader_unchecked(buf: &[u8]) -> Ioheader { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 329 | pub unsafe fn size_prefixed_root_as_ioheader_unchecked(buf: &[u8]) -> Ioheader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./events_generated.rs:312:34 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn root_as_event_packet(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 312 | pub fn root_as_event_packet(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./events_generated.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | buf: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 324 | ) -> Result { [INFO] [stdout] | ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 324 | ) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./events_generated.rs:357:51 [INFO] [stdout] | [INFO] [stdout] 357 | pub unsafe fn root_as_event_packet_unchecked(buf: &[u8]) -> EventPacket { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 357 | pub unsafe fn root_as_event_packet_unchecked(buf: &[u8]) -> EventPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./events_generated.rs:364:65 [INFO] [stdout] | [INFO] [stdout] 364 | pub unsafe fn size_prefixed_root_as_event_packet_unchecked(buf: &[u8]) -> EventPacket { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 364 | pub unsafe fn size_prefixed_root_as_event_packet_unchecked(buf: &[u8]) -> EventPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./frame_generated.rs:378:27 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn root_as_frame(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 378 | pub fn root_as_frame(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./frame_generated.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn size_prefixed_root_as_frame(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 388 | pub fn size_prefixed_root_as_frame(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./frame_generated.rs:421:44 [INFO] [stdout] | [INFO] [stdout] 421 | pub unsafe fn root_as_frame_unchecked(buf: &[u8]) -> Frame { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 421 | pub unsafe fn root_as_frame_unchecked(buf: &[u8]) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./frame_generated.rs:428:58 [INFO] [stdout] | [INFO] [stdout] 428 | pub unsafe fn size_prefixed_root_as_frame_unchecked(buf: &[u8]) -> Frame { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 428 | pub unsafe fn size_prefixed_root_as_frame_unchecked(buf: &[u8]) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./imus_generated.rs:402:32 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn root_as_imu_packet(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 402 | pub fn root_as_imu_packet(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./imus_generated.rs:413:10 [INFO] [stdout] | [INFO] [stdout] 413 | buf: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 414 | ) -> Result { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 414 | ) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./imus_generated.rs:447:49 [INFO] [stdout] | [INFO] [stdout] 447 | pub unsafe fn root_as_imu_packet_unchecked(buf: &[u8]) -> ImuPacket { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 447 | pub unsafe fn root_as_imu_packet_unchecked(buf: &[u8]) -> ImuPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./imus_generated.rs:454:63 [INFO] [stdout] | [INFO] [stdout] 454 | pub unsafe fn size_prefixed_root_as_imu_packet_unchecked(buf: &[u8]) -> ImuPacket { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 454 | pub unsafe fn size_prefixed_root_as_imu_packet_unchecked(buf: &[u8]) -> ImuPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./triggers_generated.rs:381:36 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn root_as_trigger_packet(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 381 | pub fn root_as_trigger_packet(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./triggers_generated.rs:392:10 [INFO] [stdout] | [INFO] [stdout] 392 | buf: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 393 | ) -> Result { [INFO] [stdout] | ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 393 | ) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./triggers_generated.rs:426:53 [INFO] [stdout] | [INFO] [stdout] 426 | pub unsafe fn root_as_trigger_packet_unchecked(buf: &[u8]) -> TriggerPacket { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 426 | pub unsafe fn root_as_trigger_packet_unchecked(buf: &[u8]) -> TriggerPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./triggers_generated.rs:433:67 [INFO] [stdout] | [INFO] [stdout] 433 | pub unsafe fn size_prefixed_root_as_trigger_packet_unchecked(buf: &[u8]) -> TriggerPacket { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 433 | pub unsafe fn size_prefixed_root_as_trigger_packet_unchecked(buf: &[u8]) -> TriggerPacket<'_> { [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/base.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(FromPrimitive, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StreamContent` [INFO] [stdout] 64 | pub enum StreamContent { [INFO] [stdout] | ------------- `StreamContent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./ioheader_generated.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn root_as_ioheader(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn root_as_ioheader(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./ioheader_generated.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | buf: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 289 | ) -> Result { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 289 | ) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./ioheader_generated.rs:322:47 [INFO] [stdout] | [INFO] [stdout] 322 | pub unsafe fn root_as_ioheader_unchecked(buf: &[u8]) -> Ioheader { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 322 | pub unsafe fn root_as_ioheader_unchecked(buf: &[u8]) -> Ioheader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./ioheader_generated.rs:329:61 [INFO] [stdout] | [INFO] [stdout] 329 | pub unsafe fn size_prefixed_root_as_ioheader_unchecked(buf: &[u8]) -> Ioheader { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 329 | pub unsafe fn size_prefixed_root_as_ioheader_unchecked(buf: &[u8]) -> Ioheader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./events_generated.rs:312:34 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn root_as_event_packet(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 312 | pub fn root_as_event_packet(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./events_generated.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | buf: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 324 | ) -> Result { [INFO] [stdout] | ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 324 | ) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./events_generated.rs:357:51 [INFO] [stdout] | [INFO] [stdout] 357 | pub unsafe fn root_as_event_packet_unchecked(buf: &[u8]) -> EventPacket { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 357 | pub unsafe fn root_as_event_packet_unchecked(buf: &[u8]) -> EventPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./events_generated.rs:364:65 [INFO] [stdout] | [INFO] [stdout] 364 | pub unsafe fn size_prefixed_root_as_event_packet_unchecked(buf: &[u8]) -> EventPacket { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 364 | pub unsafe fn size_prefixed_root_as_event_packet_unchecked(buf: &[u8]) -> EventPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./frame_generated.rs:378:27 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn root_as_frame(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 378 | pub fn root_as_frame(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./frame_generated.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn size_prefixed_root_as_frame(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 388 | pub fn size_prefixed_root_as_frame(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./frame_generated.rs:421:44 [INFO] [stdout] | [INFO] [stdout] 421 | pub unsafe fn root_as_frame_unchecked(buf: &[u8]) -> Frame { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 421 | pub unsafe fn root_as_frame_unchecked(buf: &[u8]) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./frame_generated.rs:428:58 [INFO] [stdout] | [INFO] [stdout] 428 | pub unsafe fn size_prefixed_root_as_frame_unchecked(buf: &[u8]) -> Frame { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 428 | pub unsafe fn size_prefixed_root_as_frame_unchecked(buf: &[u8]) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./imus_generated.rs:402:32 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn root_as_imu_packet(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 402 | pub fn root_as_imu_packet(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./imus_generated.rs:413:10 [INFO] [stdout] | [INFO] [stdout] 413 | buf: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 414 | ) -> Result { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 414 | ) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./imus_generated.rs:447:49 [INFO] [stdout] | [INFO] [stdout] 447 | pub unsafe fn root_as_imu_packet_unchecked(buf: &[u8]) -> ImuPacket { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 447 | pub unsafe fn root_as_imu_packet_unchecked(buf: &[u8]) -> ImuPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./imus_generated.rs:454:63 [INFO] [stdout] | [INFO] [stdout] 454 | pub unsafe fn size_prefixed_root_as_imu_packet_unchecked(buf: &[u8]) -> ImuPacket { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 454 | pub unsafe fn size_prefixed_root_as_imu_packet_unchecked(buf: &[u8]) -> ImuPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./triggers_generated.rs:381:36 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn root_as_trigger_packet(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 381 | pub fn root_as_trigger_packet(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./triggers_generated.rs:392:10 [INFO] [stdout] | [INFO] [stdout] 392 | buf: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 393 | ) -> Result { [INFO] [stdout] | ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 393 | ) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./triggers_generated.rs:426:53 [INFO] [stdout] | [INFO] [stdout] 426 | pub unsafe fn root_as_trigger_packet_unchecked(buf: &[u8]) -> TriggerPacket { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 426 | pub unsafe fn root_as_trigger_packet_unchecked(buf: &[u8]) -> TriggerPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/./triggers_generated.rs:433:67 [INFO] [stdout] | [INFO] [stdout] 433 | pub unsafe fn size_prefixed_root_as_trigger_packet_unchecked(buf: &[u8]) -> TriggerPacket { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 433 | pub unsafe fn size_prefixed_root_as_trigger_packet_unchecked(buf: &[u8]) -> TriggerPacket<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.47s [INFO] running `Command { std: "docker" "inspect" "d93156067762b54555a292b3723a804caadf8a575d3157b4f7aa8f61676e3657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93156067762b54555a292b3723a804caadf8a575d3157b4f7aa8f61676e3657", kill_on_drop: false }` [INFO] [stdout] d93156067762b54555a292b3723a804caadf8a575d3157b4f7aa8f61676e3657