[INFO] fetching crate bird-protocol 0.1.3... [INFO] checking bird-protocol-0.1.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bird-protocol 0.1.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate bird-protocol 0.1.3 [INFO] finished tweaking crates.io crate bird-protocol 0.1.3 [INFO] tweaked toml for crates.io crate bird-protocol 0.1.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bird-protocol 0.1.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bird-protocol-derive v0.1.3 [INFO] [stderr] Downloaded bird-chat v0.1.3 [INFO] [stderr] Downloaded fastnbt v2.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0c5d829b2a283c455e8c6bda7558dfe42eefe546fd43b69ec48770fe66e7c26 [INFO] running `Command { std: "docker" "start" "-a" "c0c5d829b2a283c455e8c6bda7558dfe42eefe546fd43b69ec48770fe66e7c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0c5d829b2a283c455e8c6bda7558dfe42eefe546fd43b69ec48770fe66e7c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c5d829b2a283c455e8c6bda7558dfe42eefe546fd43b69ec48770fe66e7c26", kill_on_drop: false }` [INFO] [stdout] c0c5d829b2a283c455e8c6bda7558dfe42eefe546fd43b69ec48770fe66e7c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b0f9f7e74680e44e72547cb4bc7953a8a08a5e682d4e884a0300719c5835ee [INFO] running `Command { std: "docker" "start" "-a" "32b0f9f7e74680e44e72547cb4bc7953a8a08a5e682d4e884a0300719c5835ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking bird-chat v0.1.3 [INFO] [stderr] Checking bird-protocol v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PacketLength` which is not `const` [INFO] [stdout] --> src/packet_types.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | impl const PacketLength for $num { [INFO] [stdout] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `PacketLength` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 256 | #[const_trait] pub trait PacketLength { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bird-protocol` (lib test) due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bird-protocol` (lib) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "32b0f9f7e74680e44e72547cb4bc7953a8a08a5e682d4e884a0300719c5835ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b0f9f7e74680e44e72547cb4bc7953a8a08a5e682d4e884a0300719c5835ee", kill_on_drop: false }` [INFO] [stdout] 32b0f9f7e74680e44e72547cb4bc7953a8a08a5e682d4e884a0300719c5835ee