[INFO] fetching crate ranged_type 0.1.0... [INFO] checking ranged_type-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate ranged_type 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate ranged_type 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate ranged_type 0.1.0 [INFO] finished tweaking crates.io crate ranged_type 0.1.0 [INFO] tweaked toml for crates.io crate ranged_type 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding arith_traits v0.1.0 (available: v0.3.2) [INFO] [stderr] Adding arith_wrappers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arith_wrappers v0.1.0 [INFO] [stderr] Downloaded arith_traits v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbe7316e881a0542bb7934605399048c6f6e9a87b613e38eb62f835dd07e0bda [INFO] running `Command { std: "docker" "start" "-a" "fbe7316e881a0542bb7934605399048c6f6e9a87b613e38eb62f835dd07e0bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbe7316e881a0542bb7934605399048c6f6e9a87b613e38eb62f835dd07e0bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe7316e881a0542bb7934605399048c6f6e9a87b613e38eb62f835dd07e0bda", kill_on_drop: false }` [INFO] [stdout] fbe7316e881a0542bb7934605399048c6f6e9a87b613e38eb62f835dd07e0bda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b7b4c49f9b891c34a4a57aeb518876999632266c99d47e1ae354cc7241cce64 [INFO] running `Command { std: "docker" "start" "-a" "1b7b4c49f9b891c34a4a57aeb518876999632266c99d47e1ae354cc7241cce64", kill_on_drop: false }` [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking libc v0.2.164 [INFO] [stderr] Compiling assert2-macros v0.3.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking assert2 v0.3.15 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking arith_traits v0.1.0 [INFO] [stderr] Checking arith_wrappers v0.1.0 [INFO] [stderr] Checking ranged_type v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | const_fn, [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | const_fn, [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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: generic parameters may not be used in const operations [INFO] [stdout] --> src/ranged_i32/add/ranged_i32.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>: , [INFO] [stdout] | ^^^^^ cannot perform const operation using `START` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START` [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/ranged_i32/add/ranged_i32.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>: , [INFO] [stdout] | ^^^^^^^^^ cannot perform const operation using `START_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START_RHS` [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/ranged_i32/add/ranged_i32.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>: , [INFO] [stdout] | ^^^ cannot perform const operation using `END` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END` [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/ranged_i32/add/ranged_i32.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>: , [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `END_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END_RHS` [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/ranged_i32/add/ranged_i32.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>; [INFO] [stdout] | ^^^^^ cannot perform const operation using `START` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START` [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/ranged_i32/add/ranged_i32.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>; [INFO] [stdout] | ^^^^^^^^^ cannot perform const operation using `START_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START_RHS` [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/ranged_i32/add/ranged_i32.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>; [INFO] [stdout] | ^^^ cannot perform const operation using `END` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END` [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/ranged_i32/add/ranged_i32.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>; [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `END_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END_RHS` [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/ranged_i32/sub/ranged_i32.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>: , [INFO] [stdout] | ^^^^^ cannot perform const operation using `START` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START` [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/ranged_i32/sub/ranged_i32.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>: , [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `END_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END_RHS` [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/ranged_i32/sub/ranged_i32.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>: , [INFO] [stdout] | ^^^ cannot perform const operation using `END` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END` [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/ranged_i32/sub/ranged_i32.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>: , [INFO] [stdout] | ^^^^^^^^^ cannot perform const operation using `START_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START_RHS` [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/ranged_i32/sub/ranged_i32.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>; [INFO] [stdout] | ^^^^^ cannot perform const operation using `START` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START` [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/ranged_i32/sub/ranged_i32.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>; [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `END_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END_RHS` [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/ranged_i32/sub/ranged_i32.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>; [INFO] [stdout] | ^^^ cannot perform const operation using `END` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END` [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/ranged_i32/sub/ranged_i32.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>; [INFO] [stdout] | ^^^^^^^^^ cannot perform const operation using `START_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START_RHS` [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/ranged_i32/add/ranged_i32.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>: , [INFO] [stdout] | ^^^^^ cannot perform const operation using `START` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START` [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/ranged_i32/add/ranged_i32.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>: , [INFO] [stdout] | ^^^^^^^^^ cannot perform const operation using `START_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START_RHS` [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/ranged_i32/add/ranged_i32.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>: , [INFO] [stdout] | ^^^ cannot perform const operation using `END` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END` [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/ranged_i32/add/ranged_i32.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>: , [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `END_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END_RHS` [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/ranged_i32/add/ranged_i32.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>; [INFO] [stdout] | ^^^^^ cannot perform const operation using `START` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START` [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/ranged_i32/add/ranged_i32.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>; [INFO] [stdout] | ^^^^^^^^^ cannot perform const operation using `START_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START_RHS` [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/ranged_i32/add/ranged_i32.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>; [INFO] [stdout] | ^^^ cannot perform const operation using `END` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END` [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/ranged_i32/add/ranged_i32.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START + START_RHS }, { END + END_RHS - 1 }>; [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `END_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END_RHS` [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/ranged_i32/sub/ranged_i32.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>: , [INFO] [stdout] | ^^^^^ cannot perform const operation using `START` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START` [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/ranged_i32/sub/ranged_i32.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>: , [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `END_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END_RHS` [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/ranged_i32/sub/ranged_i32.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>: , [INFO] [stdout] | ^^^ cannot perform const operation using `END` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END` [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/ranged_i32/sub/ranged_i32.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>: , [INFO] [stdout] | ^^^^^^^^^ cannot perform const operation using `START_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START_RHS` [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/ranged_i32/sub/ranged_i32.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>; [INFO] [stdout] | ^^^^^ cannot perform const operation using `START` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START` [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/ranged_i32/sub/ranged_i32.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>; [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `END_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END_RHS` [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/ranged_i32/sub/ranged_i32.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>; [INFO] [stdout] | ^^^ cannot perform const operation using `END` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `END` [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/ranged_i32/sub/ranged_i32.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | type Output = RangedI32<{ START - END_RHS + 1 }, { END - START_RHS - 1 }>; [INFO] [stdout] | ^^^^^^^^^ cannot perform const operation using `START_RHS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `START_RHS` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ranged_type` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ranged_type` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "1b7b4c49f9b891c34a4a57aeb518876999632266c99d47e1ae354cc7241cce64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7b4c49f9b891c34a4a57aeb518876999632266c99d47e1ae354cc7241cce64", kill_on_drop: false }` [INFO] [stdout] 1b7b4c49f9b891c34a4a57aeb518876999632266c99d47e1ae354cc7241cce64