[INFO] fetching crate const-writer 0.1.1... [INFO] checking const-writer-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate const-writer 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate const-writer 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate const-writer 0.1.1 [INFO] finished tweaking crates.io crate const-writer 0.1.1 [INFO] tweaked toml for crates.io crate const-writer 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate const-writer 0.1.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6af9ee362f86075734d5fd136a34b7a2a0db8a13b8d355b755b7c39521bd6106 [INFO] running `Command { std: "docker" "start" "-a" "6af9ee362f86075734d5fd136a34b7a2a0db8a13b8d355b755b7c39521bd6106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6af9ee362f86075734d5fd136a34b7a2a0db8a13b8d355b755b7c39521bd6106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af9ee362f86075734d5fd136a34b7a2a0db8a13b8d355b755b7c39521bd6106", kill_on_drop: false }` [INFO] [stdout] 6af9ee362f86075734d5fd136a34b7a2a0db8a13b8d355b755b7c39521bd6106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00359956e6f5228dbfda10c4197af43d81b00cbc34d74307ba82d15282e69dcd [INFO] running `Command { std: "docker" "start" "-a" "00359956e6f5228dbfda10c4197af43d81b00cbc34d74307ba82d15282e69dcd", kill_on_drop: false }` [INFO] [stderr] Checking const-writer v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 136 | implement_write!(write_u8_le, u8, to_le_bytes); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 137 | implement_write!(write_u16_le, u16, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 138 | implement_write!(write_u32_le, u32, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 139 | implement_write!(write_u64_le, u64, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 140 | implement_write!(write_u128_le, u128, to_le_bytes); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 142 | implement_write!(write_i8_le, i8, to_le_bytes); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 143 | implement_write!(write_i16_le, i16, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 144 | implement_write!(write_i32_le, i32, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 145 | implement_write!(write_i64_le, i64, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 146 | implement_write!(write_i128_le, i128, to_le_bytes); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 148 | implement_write!(write_u8_be, u8, to_be_bytes); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 149 | implement_write!(write_u16_be, u16, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 150 | implement_write!(write_u32_be, u32, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 151 | implement_write!(write_u64_be, u64, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 152 | implement_write!(write_u128_be, u128, to_be_bytes); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 154 | implement_write!(write_i8_be, i8, to_be_bytes); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 155 | implement_write!(write_i16_be, i16, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 156 | implement_write!(write_i32_be, i32, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 157 | implement_write!(write_i64_be, i64, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 158 | implement_write!(write_i128_be, i128, to_be_bytes); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 160 | implement_write!(write_f32_be, f32, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 161 | implement_write!(write_f64_be, f64, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 163 | implement_write!(write_f32_le, f32, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 164 | implement_write!(write_f64_le, f64, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:173:83 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn write_slice(self, value: &[u8; M]) -> ConstWriter { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:173:85 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn write_slice(self, value: &[u8; M]) -> ConstWriter { [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `M` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 136 | implement_write!(write_u8_le, u8, to_le_bytes); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 137 | implement_write!(write_u16_le, u16, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 138 | implement_write!(write_u32_le, u32, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 139 | implement_write!(write_u64_le, u64, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 140 | implement_write!(write_u128_le, u128, to_le_bytes); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 142 | implement_write!(write_i8_le, i8, to_le_bytes); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 143 | implement_write!(write_i16_le, i16, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 144 | implement_write!(write_i32_le, i32, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 145 | implement_write!(write_i64_le, i64, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 146 | implement_write!(write_i128_le, i128, to_le_bytes); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 148 | implement_write!(write_u8_be, u8, to_be_bytes); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 149 | implement_write!(write_u16_be, u16, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 150 | implement_write!(write_u32_be, u32, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 151 | implement_write!(write_u64_be, u64, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 152 | implement_write!(write_u128_be, u128, to_be_bytes); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 154 | implement_write!(write_i8_be, i8, to_be_bytes); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 155 | implement_write!(write_i16_be, i16, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 156 | implement_write!(write_i32_be, i32, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 157 | implement_write!(write_i64_be, i64, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 158 | implement_write!(write_i128_be, i128, to_be_bytes); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 160 | implement_write!(write_f32_be, f32, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 161 | implement_write!(write_f64_be, f64, to_be_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 163 | implement_write!(write_f32_le, f32, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn $name(self, value: $type) ->ConstWriter()}> { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] ... [INFO] [stdout] 164 | implement_write!(write_f64_le, f64, to_le_bytes); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `implement_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:173:83 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn write_slice(self, value: &[u8; M]) -> ConstWriter { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:173:85 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn write_slice(self, value: &[u8; M]) -> ConstWriter { [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `M` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const-writer` (lib) due to 29 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const-writer` (lib test) due to 29 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "00359956e6f5228dbfda10c4197af43d81b00cbc34d74307ba82d15282e69dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00359956e6f5228dbfda10c4197af43d81b00cbc34d74307ba82d15282e69dcd", kill_on_drop: false }` [INFO] [stdout] 00359956e6f5228dbfda10c4197af43d81b00cbc34d74307ba82d15282e69dcd