[INFO] fetching crate ranged_type 0.1.0... [INFO] testing ranged_type-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ranged_type 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ranged_type 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 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.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff4ba0eb771625f866d13cd49e424d47f8ffaaa2411b288726cd34861356b765 [INFO] running `Command { std: "docker" "start" "-a" "ff4ba0eb771625f866d13cd49e424d47f8ffaaa2411b288726cd34861356b765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff4ba0eb771625f866d13cd49e424d47f8ffaaa2411b288726cd34861356b765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4ba0eb771625f866d13cd49e424d47f8ffaaa2411b288726cd34861356b765", kill_on_drop: false }` [INFO] [stdout] ff4ba0eb771625f866d13cd49e424d47f8ffaaa2411b288726cd34861356b765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d64dd934946fb45ae2c16350334b0ab3ec4552cba9292458e1d0a765d6fbbb1 [INFO] running `Command { std: "docker" "start" "-a" "9d64dd934946fb45ae2c16350334b0ab3ec4552cba9292458e1d0a765d6fbbb1", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling arith_traits v0.1.0 [INFO] [stderr] Compiling arith_wrappers v0.1.0 [INFO] [stderr] Compiling 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: 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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | const_fn, [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [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 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: 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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 here, 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] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ranged_i32/overflowing.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [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; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9d64dd934946fb45ae2c16350334b0ab3ec4552cba9292458e1d0a765d6fbbb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d64dd934946fb45ae2c16350334b0ab3ec4552cba9292458e1d0a765d6fbbb1", kill_on_drop: false }` [INFO] [stdout] 9d64dd934946fb45ae2c16350334b0ab3ec4552cba9292458e1d0a765d6fbbb1