[INFO] fetching crate ranged_type 0.1.0... [INFO] testing ranged_type-0.1.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate ranged_type 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate ranged_type 0.1.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8a75f8db326e4ac464e776b60746053203563f1346e415e1a68082bd33237411 [INFO] running `Command { std: "docker" "start" "-a" "8a75f8db326e4ac464e776b60746053203563f1346e415e1a68082bd33237411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a75f8db326e4ac464e776b60746053203563f1346e415e1a68082bd33237411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a75f8db326e4ac464e776b60746053203563f1346e415e1a68082bd33237411", kill_on_drop: false }` [INFO] [stdout] 8a75f8db326e4ac464e776b60746053203563f1346e415e1a68082bd33237411 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7ab4ee58691b5ea34ed1001d4c0847b24dc60bbef863c24de77cb4c191b53d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b7ab4ee58691b5ea34ed1001d4c0847b24dc60bbef863c24de77cb4c191b53d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [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: 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: 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] running `Command { std: "docker" "inspect" "6b7ab4ee58691b5ea34ed1001d4c0847b24dc60bbef863c24de77cb4c191b53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7ab4ee58691b5ea34ed1001d4c0847b24dc60bbef863c24de77cb4c191b53d", kill_on_drop: false }` [INFO] [stdout] 6b7ab4ee58691b5ea34ed1001d4c0847b24dc60bbef863c24de77cb4c191b53d