[INFO] fetching crate ranged_type 0.1.0... [INFO] checking ranged_type-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ranged_type 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate ranged_type 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e7f9a89470172df6af7be84b99d5ee9e911441b201b7793586e727fb1d05a90 [INFO] running `Command { std: "docker" "start" "-a" "8e7f9a89470172df6af7be84b99d5ee9e911441b201b7793586e727fb1d05a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e7f9a89470172df6af7be84b99d5ee9e911441b201b7793586e727fb1d05a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e7f9a89470172df6af7be84b99d5ee9e911441b201b7793586e727fb1d05a90", kill_on_drop: false }` [INFO] [stdout] 8e7f9a89470172df6af7be84b99d5ee9e911441b201b7793586e727fb1d05a90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d737b9dd2a5e53c9f0c3343cdb9a674aa691fb061d35bed5fdd1616157d142f9 [INFO] running `Command { std: "docker" "start" "-a" "d737b9dd2a5e53c9f0c3343cdb9a674aa691fb061d35bed5fdd1616157d142f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.159 [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 rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling assert2-macros v0.3.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking assert2 v0.3.15 [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: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: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: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] warning: the feature `const_panic` has been stable since 1.57.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | const_panic, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | bool_to_option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_checked_int_methods` has been stable since 1.47.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | const_checked_int_methods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: the feature `const_panic` has been stable since 1.57.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | const_panic, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | bool_to_option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_checked_int_methods` has been stable since 1.47.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | const_checked_int_methods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted [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 20 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted [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 test) due to 20 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d737b9dd2a5e53c9f0c3343cdb9a674aa691fb061d35bed5fdd1616157d142f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d737b9dd2a5e53c9f0c3343cdb9a674aa691fb061d35bed5fdd1616157d142f9", kill_on_drop: false }` [INFO] [stdout] d737b9dd2a5e53c9f0c3343cdb9a674aa691fb061d35bed5fdd1616157d142f9