[INFO] fetching crate const-writer 0.1.1... [INFO] checking const-writer-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate const-writer 0.1.1 into /workspace/builds/worker-7-tc1/source [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] validating manifest of crates.io crate const-writer 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b06b7afda7cdd2169626287aaa6fa3e1092bc753b01323f8d7839006faa66c19 [INFO] running `Command { std: "docker" "start" "-a" "b06b7afda7cdd2169626287aaa6fa3e1092bc753b01323f8d7839006faa66c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b06b7afda7cdd2169626287aaa6fa3e1092bc753b01323f8d7839006faa66c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b06b7afda7cdd2169626287aaa6fa3e1092bc753b01323f8d7839006faa66c19", kill_on_drop: false }` [INFO] [stdout] b06b7afda7cdd2169626287aaa6fa3e1092bc753b01323f8d7839006faa66c19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bee58950087059408169fe34b8de28d6e6c94dd6d471cb0d28599a94a85a6ed7 [INFO] running `Command { std: "docker" "start" "-a" "bee58950087059408169fe34b8de28d6e6c94dd6d471cb0d28599a94a85a6ed7", 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 1.56.0; see for more information [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: removed in 1.56.0; see for more information [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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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] 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; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bee58950087059408169fe34b8de28d6e6c94dd6d471cb0d28599a94a85a6ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee58950087059408169fe34b8de28d6e6c94dd6d471cb0d28599a94a85a6ed7", kill_on_drop: false }` [INFO] [stdout] bee58950087059408169fe34b8de28d6e6c94dd6d471cb0d28599a94a85a6ed7