[INFO] fetching crate exotic 0.1.3... [INFO] checking exotic-0.1.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate exotic 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate exotic 0.1.3 [INFO] finished tweaking crates.io crate exotic 0.1.3 [INFO] tweaked toml for crates.io crate exotic 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate exotic 0.1.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding crossterm v0.19.0 (available: v0.29.0) [INFO] [stderr] Adding num v0.3.1 (available: v0.4.3) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding realfft v1.1.0 (available: v3.5.0) [INFO] [stderr] Adding rustfft v5.1.1 (available: v6.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10fda80d7f85b5ea93114759ace495c5c1c8cc701a2bbd9ae3499d9dc77ba3b5 [INFO] running `Command { std: "docker" "start" "-a" "10fda80d7f85b5ea93114759ace495c5c1c8cc701a2bbd9ae3499d9dc77ba3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10fda80d7f85b5ea93114759ace495c5c1c8cc701a2bbd9ae3499d9dc77ba3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10fda80d7f85b5ea93114759ace495c5c1c8cc701a2bbd9ae3499d9dc77ba3b5", kill_on_drop: false }` [INFO] [stdout] 10fda80d7f85b5ea93114759ace495c5c1c8cc701a2bbd9ae3499d9dc77ba3b5 [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a573e90c05bb59566f5ab37c264269bff9356fceb801ee6a8e5d1d079111214 [INFO] running `Command { std: "docker" "start" "-a" "6a573e90c05bb59566f5ab37c264269bff9356fceb801ee6a8e5d1d079111214", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking rustfft v5.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking realfft v1.1.0 [INFO] [stderr] Checking exotic v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![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[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![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/deep/recurent.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | neurons: [Neuron<{I_LEN + O_LEN}>; O_LEN], [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | neurons: [Neuron<{I_LEN + O_LEN}>; O_LEN], [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buffer = [Neuron::<{I_LEN + O_LEN}>::random(); O_LEN]; [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buffer = [Neuron::<{I_LEN + O_LEN}>::random(); O_LEN]; [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | buffer.iter_mut().for_each(|n|*n = Neuron::<{I_LEN + O_LEN}>::const_xavier::()); [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | buffer.iter_mut().for_each(|n|*n = Neuron::<{I_LEN + O_LEN}>::const_xavier::()); [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Axon<{ A_ + B_ }> for AxonChain{ [INFO] [stdout] | ^^ cannot perform const operation using `A_` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A_` [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/deep.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | Axon<{ A_ + B_ }> for AxonChain{ [INFO] [stdout] | ^^ cannot perform const operation using `B_` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B_` [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/matrix.rs:398:16 [INFO] [stdout] | [INFO] [stdout] 398 | where [FLOAT; LEN/2+1]: Sized [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `LEN` [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/matrix.rs:403:48 [INFO] [stdout] | [INFO] [stdout] 403 | let mut a_buff = [Complex{re: 0., im: 0.}; LEN/2+1]; [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `LEN` [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/matrix.rs:406:48 [INFO] [stdout] | [INFO] [stdout] 406 | let mut b_buff = [Complex{re: 0., im: 0.}; LEN/2+1]; [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `LEN` [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/matrix.rs:411:51 [INFO] [stdout] | [INFO] [stdout] 411 | let mut conv_buff = [Complex{re: 0., im: 0.}; LEN/2+1]; [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `LEN` [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/matrix.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | where [FLOAT; (A+B-1)/2+1]: Sized [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:424:22 [INFO] [stdout] | [INFO] [stdout] 424 | where [FLOAT; (A+B-1)/2+1]: Sized [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:423:93 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn conv_flat(a: &[FLOAT; A], b: &[FLOAT; B]) -> [FLOAT; A+B-1] [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:423:95 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn conv_flat(a: &[FLOAT; A], b: &[FLOAT; B]) -> [FLOAT; A+B-1] [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:426:40 [INFO] [stdout] | [INFO] [stdout] 426 | let pad = |v: &[FLOAT]| -> [FLOAT; A+B-1]{ [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:426:42 [INFO] [stdout] | [INFO] [stdout] 426 | let pad = |v: &[FLOAT]| -> [FLOAT; A+B-1]{ [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | let mut buff = [0.; A+B-1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:427:31 [INFO] [stdout] | [INFO] [stdout] 427 | let mut buff = [0.; A+B-1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:438:49 [INFO] [stdout] | [INFO] [stdout] 438 | let mut a_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:438:51 [INFO] [stdout] | [INFO] [stdout] 438 | let mut a_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:443:49 [INFO] [stdout] | [INFO] [stdout] 443 | let mut b_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:443:51 [INFO] [stdout] | [INFO] [stdout] 443 | let mut b_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:449:52 [INFO] [stdout] | [INFO] [stdout] 449 | let mut conv_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:449:54 [INFO] [stdout] | [INFO] [stdout] 449 | let mut conv_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:455:24 [INFO] [stdout] | [INFO] [stdout] 455 | let mut res = [0.; A+B-1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:455:26 [INFO] [stdout] | [INFO] [stdout] 455 | let mut res = [0.; A+B-1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/deep/recurent.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/deep/recurent.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | neurons: [Neuron<{I_LEN + O_LEN}>; O_LEN], [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | neurons: [Neuron<{I_LEN + O_LEN}>; O_LEN], [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buffer = [Neuron::<{I_LEN + O_LEN}>::random(); O_LEN]; [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buffer = [Neuron::<{I_LEN + O_LEN}>::random(); O_LEN]; [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | buffer.iter_mut().for_each(|n|*n = Neuron::<{I_LEN + O_LEN}>::const_xavier::()); [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | buffer.iter_mut().for_each(|n|*n = Neuron::<{I_LEN + O_LEN}>::const_xavier::()); [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep/recurent.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `I_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `I_LEN` [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/deep/recurent.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | where Neuron<{I_LEN + O_LEN}>: Sized{ [INFO] [stdout] | ^^^^^ cannot perform const operation using `O_LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `O_LEN` [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/deep.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Axon<{ A_ + B_ }> for AxonChain{ [INFO] [stdout] | ^^ cannot perform const operation using `A_` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A_` [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/deep.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | Axon<{ A_ + B_ }> for AxonChain{ [INFO] [stdout] | ^^ cannot perform const operation using `B_` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B_` [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/matrix.rs:398:16 [INFO] [stdout] | [INFO] [stdout] 398 | where [FLOAT; LEN/2+1]: Sized [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `LEN` [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/matrix.rs:403:48 [INFO] [stdout] | [INFO] [stdout] 403 | let mut a_buff = [Complex{re: 0., im: 0.}; LEN/2+1]; [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `LEN` [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/matrix.rs:406:48 [INFO] [stdout] | [INFO] [stdout] 406 | let mut b_buff = [Complex{re: 0., im: 0.}; LEN/2+1]; [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `LEN` [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/matrix.rs:411:51 [INFO] [stdout] | [INFO] [stdout] 411 | let mut conv_buff = [Complex{re: 0., im: 0.}; LEN/2+1]; [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `LEN` [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/matrix.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | where [FLOAT; (A+B-1)/2+1]: Sized [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:424:22 [INFO] [stdout] | [INFO] [stdout] 424 | where [FLOAT; (A+B-1)/2+1]: Sized [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:423:93 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn conv_flat(a: &[FLOAT; A], b: &[FLOAT; B]) -> [FLOAT; A+B-1] [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:423:95 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn conv_flat(a: &[FLOAT; A], b: &[FLOAT; B]) -> [FLOAT; A+B-1] [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:426:40 [INFO] [stdout] | [INFO] [stdout] 426 | let pad = |v: &[FLOAT]| -> [FLOAT; A+B-1]{ [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:426:42 [INFO] [stdout] | [INFO] [stdout] 426 | let pad = |v: &[FLOAT]| -> [FLOAT; A+B-1]{ [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | let mut buff = [0.; A+B-1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:427:31 [INFO] [stdout] | [INFO] [stdout] 427 | let mut buff = [0.; A+B-1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:438:49 [INFO] [stdout] | [INFO] [stdout] 438 | let mut a_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:438:51 [INFO] [stdout] | [INFO] [stdout] 438 | let mut a_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:443:49 [INFO] [stdout] | [INFO] [stdout] 443 | let mut b_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:443:51 [INFO] [stdout] | [INFO] [stdout] 443 | let mut b_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:449:52 [INFO] [stdout] | [INFO] [stdout] 449 | let mut conv_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:449:54 [INFO] [stdout] | [INFO] [stdout] 449 | let mut conv_buff = [Complex{re: 0., im: 0.}; (A+B-1)/2+1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/matrix.rs:455:24 [INFO] [stdout] | [INFO] [stdout] 455 | let mut res = [0.; A+B-1]; [INFO] [stdout] | ^ cannot perform const operation using `A` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `A` [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/matrix.rs:455:26 [INFO] [stdout] | [INFO] [stdout] 455 | let mut res = [0.; A+B-1]; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/deep/recurent.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/deep.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 92 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ----------- expected `std::result::Result<(), std::fmt::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `std::fmt::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::fmt::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.99/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::fmt::Error` is defined in crate `core` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/fmt/mod.rs:107:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/matrix.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 336 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ----------- expected `std::result::Result<(), std::fmt::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 361 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `std::fmt::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::fmt::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.99/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::fmt::Error` is defined in crate `core` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/fmt/mod.rs:107:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/deep.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 92 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ----------- expected `std::result::Result<(), std::fmt::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `std::fmt::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::fmt::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.99/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::fmt::Error` is defined in crate `core` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/fmt/mod.rs:107:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exotic` (lib test) due to 40 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/matrix.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 336 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ----------- expected `std::result::Result<(), std::fmt::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 361 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `std::fmt::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::fmt::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.99/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::fmt::Error` is defined in crate `core` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/fmt/mod.rs:107:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exotic` (lib) due to 40 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6a573e90c05bb59566f5ab37c264269bff9356fceb801ee6a8e5d1d079111214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a573e90c05bb59566f5ab37c264269bff9356fceb801ee6a8e5d1d079111214", kill_on_drop: false }` [INFO] [stdout] 6a573e90c05bb59566f5ab37c264269bff9356fceb801ee6a8e5d1d079111214