[INFO] fetching crate const-writer 0.1.1... [INFO] checking const-writer-0.1.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate const-writer 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate const-writer 0.1.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-7-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1a4932365741e9cdad020910ef58008756e4a048b992760de2e20735745a303 [INFO] running `Command { std: "docker" "start" "-a" "d1a4932365741e9cdad020910ef58008756e4a048b992760de2e20735745a303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1a4932365741e9cdad020910ef58008756e4a048b992760de2e20735745a303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a4932365741e9cdad020910ef58008756e4a048b992760de2e20735745a303", kill_on_drop: false }` [INFO] [stdout] d1a4932365741e9cdad020910ef58008756e4a048b992760de2e20735745a303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2b824bc2d8a8a22e5c7ec812c1a063b60e1a80c5ba7a93f42de61daa679ae79 [INFO] running `Command { std: "docker" "start" "-a" "b2b824bc2d8a8a22e5c7ec812c1a063b60e1a80c5ba7a93f42de61daa679ae79", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.0.1 [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: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] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const-writer` (lib) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b2b824bc2d8a8a22e5c7ec812c1a063b60e1a80c5ba7a93f42de61daa679ae79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b824bc2d8a8a22e5c7ec812c1a063b60e1a80c5ba7a93f42de61daa679ae79", kill_on_drop: false }` [INFO] [stdout] b2b824bc2d8a8a22e5c7ec812c1a063b60e1a80c5ba7a93f42de61daa679ae79