[INFO] cloning repository https://github.com/jonatlib/stm32-433mhz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonatlib/stm32-433mhz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonatlib%2Fstm32-433mhz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonatlib%2Fstm32-433mhz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da99f6e885d686833d4119750c01b8e763c60231 [INFO] testing jonatlib/stm32-433mhz against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonatlib%2Fstm32-433mhz" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/jonatlib/stm32-433mhz [INFO] finished tweaking git repo https://github.com/jonatlib/stm32-433mhz [INFO] tweaked toml for git repo https://github.com/jonatlib/stm32-433mhz written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonatlib/stm32-433mhz on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jonatlib/stm32-433mhz 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a1dc31c7fb0d39f667ec2f35c7edfe17833d4cbba3219e74ad7f492e90c18f6 [INFO] running `Command { std: "docker" "start" "-a" "2a1dc31c7fb0d39f667ec2f35c7edfe17833d4cbba3219e74ad7f492e90c18f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a1dc31c7fb0d39f667ec2f35c7edfe17833d4cbba3219e74ad7f492e90c18f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a1dc31c7fb0d39f667ec2f35c7edfe17833d4cbba3219e74ad7f492e90c18f6", kill_on_drop: false }` [INFO] [stdout] 2a1dc31c7fb0d39f667ec2f35c7edfe17833d4cbba3219e74ad7f492e90c18f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da2b74a4d9123aa7583d990be1fc227bbc91c7c43b18f8322ed4f1c0b342a76e [INFO] running `Command { std: "docker" "start" "-a" "da2b74a4d9123aa7583d990be1fc227bbc91c7c43b18f8322ed4f1c0b342a76e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling defmt v0.3.2 [INFO] [stderr] Compiling defmt-macros v0.3.3 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling critical-section v1.1.1 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m-rt v0.7.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling atomic-polyfill v1.0.1 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling stm32-metapac v9.0.0 [INFO] [stderr] Compiling embassy-sync v0.2.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling embassy-executor v0.2.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling embedded-storage v0.3.0 [INFO] [stderr] Compiling static_cell v1.1.0 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.10 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling embassy-cortex-m v0.1.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling embassy-futures v0.1.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling embedded-hal-async v0.2.0-alpha.1 [INFO] [stderr] Compiling embedded-storage-async v0.4.0 [INFO] [stderr] Compiling lzss v0.9.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling stm32-fmc v0.2.4 [INFO] [stderr] Compiling seq-macro v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sdio-host v0.5.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling reed-solomon v0.2.1 [INFO] [stderr] Compiling panic-probe v0.3.0 [INFO] [stderr] Compiling stm32_433mhz_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling onewire v0.3.13 [INFO] [stderr] Compiling external_memory v0.1.0 (/opt/rustwide/workdir/workspaces/external_memory) [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> workspaces/external_memory/src/box_type/box_ref.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ColdBoxRef<'a, T> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | pub(super) value: T, [INFO] [stdout] 7 | pub(super) handle: &'a ColdBox<'a, T>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> workspaces/external_memory/src/box_type/box_ref.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ColdBoxArrayRef<'a, T, const SIZE: usize> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 39 | pub(super) handle: &'a ColdBox<'a, [T; SIZE]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_range` and `size` are never used [INFO] [stdout] --> workspaces/external_memory/src/vec_type.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl<'a, T> RawColdVec<'a, T> [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | T: Sized, [INFO] [stdout] 19 | | [(); core::mem::size_of::()]:, [INFO] [stdout] | |_____________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_range(&self, _range: Range) -> Result<&[T], AllocatorError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `GROW_FACTOR` and `SHRINK_FACTOR` are never used [INFO] [stdout] --> workspaces/external_memory/src/vec_type.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 82 | / impl<'a, T> ColdVec<'a, T> [INFO] [stdout] 83 | | where [INFO] [stdout] 84 | | T: Sized, [INFO] [stdout] 85 | | [(); core::mem::size_of::()]:, [INFO] [stdout] | |_____________________________________- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | const GROW_FACTOR: usize = 20; // This means 20% [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | const SHRINK_FACTOR: usize = 30; // This means 30% [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shrink_default` and `shrink` are never used [INFO] [stdout] --> workspaces/external_memory/src/vec_type.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 144 | / impl<'a, T> ColdVec<'a, T> [INFO] [stdout] 145 | | where [INFO] [stdout] 146 | | T: Sized, [INFO] [stdout] 147 | | [(); core::mem::size_of::()]:, [INFO] [stdout] | |_____________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | fn shrink_default(&mut self) -> Result<(), AllocatorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn shrink(&mut self, _new_capacity: usize) -> Result<(), AllocatorError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> workspaces/external_memory/src/allocator.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | fn allocate(&self, size: Size) -> Result; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn allocate(&self, size: Size) -> Result, AllocatorError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> workspaces/external_memory/src/allocator.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | fn allocate(&self, size: Size) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | fn allocate(&self, size: Size) -> Result, AllocatorError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> workspaces/external_memory/src/box_type.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | core::mem::forget(buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; { core::mem::size_of::() }]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 43 - core::mem::forget(buffer); [INFO] [stdout] 43 + let _ = buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> workspaces/external_memory/src/box_type.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | core::mem::forget(buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; { core::mem::size_of::() }]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 116 - core::mem::forget(buffer); [INFO] [stdout] 116 + let _ = buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> workspaces/external_memory/src/vec_type.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | core::mem::forget(buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; { core::mem::size_of::() }]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 52 - core::mem::forget(buffer); [INFO] [stdout] 52 + let _ = buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling bitfield-struct v0.3.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling embassy-macros v0.2.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling embassy-stm32 v0.1.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling embassy-time v0.1.1 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling embedded-io v0.4.0 [INFO] [stderr] Compiling embassy-hal-common v0.1.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling embassy-usb-driver v0.1.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling embassy-net-driver v0.1.0 (https://github.com/embassy-rs/embassy#d36feb64) [INFO] [stderr] Compiling bxcan v0.7.0 [INFO] [stderr] Compiling manchester v0.1.0 (/opt/rustwide/workdir/workspaces/manchester) [INFO] [stderr] Compiling sequence_number v0.1.0 (/opt/rustwide/workdir/workspaces/sequence_number) [INFO] [stderr] Compiling codec v0.1.0 (/opt/rustwide/workdir/workspaces/codec) [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> workspaces/codec/src/chain.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | A: Default + Codec + ~const CodecSize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `defmt::trace` [INFO] [stdout] --> workspaces/manchester/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use defmt::trace; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> workspaces/codec/src/chain.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | B: Default + Codec + ~const CodecSize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> workspaces/codec/src/chain.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | C: Default + Codec + ~const CodecSize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> workspaces/manchester/src/lib.rs:156:34 [INFO] [stdout] | [INFO] [stdout] 156 | self.current_byte |= (0x01 << self.current_index); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - self.current_byte |= (0x01 << self.current_index); [INFO] [stdout] 156 + self.current_byte |= 0x01 << self.current_index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bit_order` is never read [INFO] [stdout] --> workspaces/manchester/src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct DecoderBool { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 102 | bit_order: BitOrder, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> workspaces/codec/src/chain.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | CodecA: Default + Codec + ~const CodecSize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> workspaces/codec/src/chain.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl Codec for Chain [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | CodecA: Default + Codec + ~const CodecSize, [INFO] [stdout] 32 | | CodecB: Default + Codec + ~const CodecSize, [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> workspaces/codec/src/chain.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | CodecB: Default + Codec + ~const CodecSize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> workspaces/codec/src/chain.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl Codec for Chain [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | CodecA: Default + Codec + ~const CodecSize, [INFO] [stdout] 32 | | CodecB: Default + Codec + ~const CodecSize, [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CodecA: const CodecSize` is not satisfied [INFO] [stdout] --> workspaces/codec/src/chain.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | [(); max_size_1::(INPUT_DATA_SIZE)]: Sized, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `max_size_1` [INFO] [stdout] --> workspaces/codec/src/chain.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub const fn max_size_1(input: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `max_size_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CodecA: const CodecSize` is not satisfied [INFO] [stdout] --> workspaces/codec/src/chain.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | let a_encoded: Vec<_, { max_size_1::(INPUT_DATA_SIZE) }> = [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `max_size_1` [INFO] [stdout] --> workspaces/codec/src/chain.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub const fn max_size_1(input: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `max_size_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CodecA: const CodecSize` is not satisfied [INFO] [stdout] --> workspaces/codec/src/chain.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | let b_decoded: Vec<_, { max_size_1::(INPUT_DATA_SIZE) }> = [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `max_size_1` [INFO] [stdout] --> workspaces/codec/src/chain.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub const fn max_size_1(input: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `max_size_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `A: const CodecSize` is not satisfied [INFO] [stdout] --> workspaces/codec/src/chain.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | = Chain(INPUT_DATA_SIZE) }>, INPUT_DATA_SIZE>; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `max_size_1` [INFO] [stdout] --> workspaces/codec/src/chain.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub const fn max_size_1(input: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `max_size_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codec` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "da2b74a4d9123aa7583d990be1fc227bbc91c7c43b18f8322ed4f1c0b342a76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da2b74a4d9123aa7583d990be1fc227bbc91c7c43b18f8322ed4f1c0b342a76e", kill_on_drop: false }` [INFO] [stdout] da2b74a4d9123aa7583d990be1fc227bbc91c7c43b18f8322ed4f1c0b342a76e