[INFO] fetching crate lmc 0.2.0... [INFO] testing lmc-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lmc 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate lmc 0.2.0 [INFO] finished tweaking crates.io crate lmc 0.2.0 [INFO] tweaked toml for crates.io crate lmc 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lmc 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 163 packages to latest compatible versions [INFO] [stderr] Adding console-subscriber v0.1.10 (available: v0.5.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.10) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] [stderr] Adding rustls v0.20.9 (available: v0.23.37) [INFO] [stderr] Adding rustls-native-certs v0.6.3 (available: v0.8.3) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28dff200591fabda6660cde1dac4e5b569a7a12a67c001287a209d04c23dbe6f [INFO] running `Command { std: "docker" "start" "-a" "28dff200591fabda6660cde1dac4e5b569a7a12a67c001287a209d04c23dbe6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28dff200591fabda6660cde1dac4e5b569a7a12a67c001287a209d04c23dbe6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28dff200591fabda6660cde1dac4e5b569a7a12a67c001287a209d04c23dbe6f", kill_on_drop: false }` [INFO] [stdout] 28dff200591fabda6660cde1dac4e5b569a7a12a67c001287a209d04c23dbe6f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aa38eca45c0e87c5618c300f8d445142f8f8560494120c490fbb2574f0d77c9 [INFO] running `Command { std: "docker" "start" "-a" "2aa38eca45c0e87c5618c300f8d445142f8f8560494120c490fbb2574f0d77c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling lmc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/transceiver/packets.rs:207:3 [INFO] [stdout] | [INFO] [stdout] 207 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | #![feature(new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 508 | impl const Packet for ConnAckPacket [INFO] [stdout] | ^^^^^^ this trait is not `const` [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] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:723:12 [INFO] [stdout] | [INFO] [stdout] 723 | impl const Packet for IncomingPublishPacket [INFO] [stdout] | ^^^^^^ this trait is not `const` [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] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:1037:12 [INFO] [stdout] | [INFO] [stdout] 1037 | impl const Packet for SubAckPacket [INFO] [stdout] | ^^^^^^ this trait is not `const` [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] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:1248:12 [INFO] [stdout] | [INFO] [stdout] 1248 | impl const Packet for PingRespPacket [INFO] [stdout] | ^^^^^^ this trait is not `const` [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] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:878:20 [INFO] [stdout] | [INFO] [stdout] 878 | impl const Packet for $name [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 918 | def_simple_packet!(PubAckPacket, PacketType::PubAck, flags = 0, direction = in_out); [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 `def_simple_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:878:20 [INFO] [stdout] | [INFO] [stdout] 878 | impl const Packet for $name [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 919 | def_simple_packet!(PubRecPacket, PacketType::PubRec, flags = 0, direction = in_out); [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 `def_simple_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:878:20 [INFO] [stdout] | [INFO] [stdout] 878 | impl const Packet for $name [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 920 | def_simple_packet!(PubRelPacket, PacketType::PubRel, flags = 2, direction = in_out); [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 `def_simple_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:878:20 [INFO] [stdout] | [INFO] [stdout] 878 | impl const Packet for $name [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 921 | def_simple_packet!(PubCompPacket, PacketType::PubComp, flags = 0, direction = in_out); [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 `def_simple_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:878:20 [INFO] [stdout] | [INFO] [stdout] 878 | impl const Packet for $name [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 922 | def_simple_packet!(UnsubAckPacket, PacketType::UnsubAck, flags = 0, direction = in); [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 `def_simple_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:1211:20 [INFO] [stdout] | [INFO] [stdout] 1211 | impl const Packet for $name [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 1241 | def_empty_outgoing_packet!(PingReqPacket, PacketType::PingReq); [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 `def_empty_outgoing_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Packet` which is not `const` [INFO] [stdout] --> src/transceiver/packets.rs:1211:20 [INFO] [stdout] | [INFO] [stdout] 1211 | impl const Packet for $name [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 1242 | def_empty_outgoing_packet!(DisconnectPacket, PacketType::Disconnect); [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 `def_empty_outgoing_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Packet` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::packet_type` in constant functions [INFO] [stdout] --> src/transceiver/packets.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | $(assert!(<$type>::packet_type() as u8 == PacketType::$name as u8);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / def_incoming_packets! { [INFO] [stdout] 100 | | /// An enumeration of all the packets that can possibly be received [INFO] [stdout] 101 | | /// by an MQTT client. [INFO] [stdout] 102 | | pub enum IncomingPacket [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function `packet_type` is not const because trait `Packet` is not const [INFO] [stdout] --> src/transceiver/packets.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait Packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 211 | fn packet_type() -> PacketType; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `def_incoming_packets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `Packet` const [INFO] [stdout] | [INFO] [stdout] 208 | pub const trait Packet [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lmc` (lib) due to 21 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2aa38eca45c0e87c5618c300f8d445142f8f8560494120c490fbb2574f0d77c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa38eca45c0e87c5618c300f8d445142f8f8560494120c490fbb2574f0d77c9", kill_on_drop: false }` [INFO] [stdout] 2aa38eca45c0e87c5618c300f8d445142f8f8560494120c490fbb2574f0d77c9