[INFO] fetching crate const-writer 0.1.1... [INFO] documenting const-writer-0.1.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate const-writer 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate const-writer 0.1.1 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-12/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4e0b31ecf58ffffe148a169a9575e7400806a45cb367cc438c0135573a991b1 [INFO] running `Command { std: "docker" "start" "-a" "f4e0b31ecf58ffffe148a169a9575e7400806a45cb367cc438c0135573a991b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4e0b31ecf58ffffe148a169a9575e7400806a45cb367cc438c0135573a991b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e0b31ecf58ffffe148a169a9575e7400806a45cb367cc438c0135573a991b1", kill_on_drop: false }` [INFO] [stdout] f4e0b31ecf58ffffe148a169a9575e7400806a45cb367cc438c0135573a991b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be7420a76adc71a9acc5a0bbf77efdfbbaa4dbbf4ebb05c82656f13cfc17962c [INFO] running `Command { std: "docker" "start" "-a" "be7420a76adc71a9acc5a0bbf77efdfbbaa4dbbf4ebb05c82656f13cfc17962c", kill_on_drop: false }` [INFO] [stderr] Documenting 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] [stderr] error: could not document `const-writer` [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] = 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] [stderr] [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] = 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] [stderr] Caused by: [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] = 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] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name const_writer src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="std"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=aebec86193fa4c62 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.1` (exit status: 1) [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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] [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] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be7420a76adc71a9acc5a0bbf77efdfbbaa4dbbf4ebb05c82656f13cfc17962c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7420a76adc71a9acc5a0bbf77efdfbbaa4dbbf4ebb05c82656f13cfc17962c", kill_on_drop: false }` [INFO] [stdout] be7420a76adc71a9acc5a0bbf77efdfbbaa4dbbf4ebb05c82656f13cfc17962c