[INFO] fetching crate ranged_type 0.1.0... [INFO] checking ranged_type-0.1.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate ranged_type 0.1.0 into /workspace/builds/worker-112/source [INFO] validating manifest of crates.io crate ranged_type 0.1.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-112/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-112/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert2-macros v0.3.6 [INFO] [stderr] Downloaded arith_traits v0.1.0 [INFO] [stderr] Downloaded assert2 v0.3.6 [INFO] [stderr] Downloaded arith_wrappers v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2abd6d217f18806cfc828cc9dbf441f4cda7ae5254cc9f2311d64ed998a3efb [INFO] running `Command { std: "docker" "start" "-a" "d2abd6d217f18806cfc828cc9dbf441f4cda7ae5254cc9f2311d64ed998a3efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2abd6d217f18806cfc828cc9dbf441f4cda7ae5254cc9f2311d64ed998a3efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2abd6d217f18806cfc828cc9dbf441f4cda7ae5254cc9f2311d64ed998a3efb", kill_on_drop: false }` [INFO] [stdout] d2abd6d217f18806cfc828cc9dbf441f4cda7ae5254cc9f2311d64ed998a3efb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 753a8bb50f0fe3bad2be484521d774a47647d77d4c7930ccae4fdb0b4bc5a662 [INFO] running `Command { std: "docker" "start" "-a" "753a8bb50f0fe3bad2be484521d774a47647d77d4c7930ccae4fdb0b4bc5a662", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking libc v0.2.102 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling assert2-macros v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking assert2 v0.3.6 [INFO] [stderr] Checking thiserror v1.0.29 [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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [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` due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ranged_i32/unit_tests/add.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let res = r1 + r2; [INFO] [stdout] | ^^^ consider giving `res` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ranged_i32/unit_tests/sub.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let res = r1 - r2; [INFO] [stdout] | ^^^ consider giving `res` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "753a8bb50f0fe3bad2be484521d774a47647d77d4c7930ccae4fdb0b4bc5a662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "753a8bb50f0fe3bad2be484521d774a47647d77d4c7930ccae4fdb0b4bc5a662", kill_on_drop: false }` [INFO] [stdout] 753a8bb50f0fe3bad2be484521d774a47647d77d4c7930ccae4fdb0b4bc5a662