[INFO] fetching crate r3_port_std 0.1.0... [INFO] checking r3_port_std-0.1.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate r3_port_std 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate r3_port_std 0.1.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate r3_port_std 0.1.0 [INFO] finished tweaking crates.io crate r3_port_std 0.1.0 [INFO] tweaked toml for crates.io crate r3_port_std 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic_ref v0.2.0 [INFO] [stderr] Downloaded try-mutex v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af75fe2551679bc3c21a2f43dbd90a7361bfa335c7ed21aa4629d6bba677d7cc [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" "af75fe2551679bc3c21a2f43dbd90a7361bfa335c7ed21aa4629d6bba677d7cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af75fe2551679bc3c21a2f43dbd90a7361bfa335c7ed21aa4629d6bba677d7cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af75fe2551679bc3c21a2f43dbd90a7361bfa335c7ed21aa4629d6bba677d7cc", kill_on_drop: false }` [INFO] [stdout] af75fe2551679bc3c21a2f43dbd90a7361bfa335c7ed21aa4629d6bba677d7cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99448963b2072b4a0557c5070f03698014843bbd9c601d2631b069c87277f827 [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" "99448963b2072b4a0557c5070f03698014843bbd9c601d2631b069c87277f827", kill_on_drop: false }` [INFO] [stderr] Compiling pom v1.1.0 [INFO] [stderr] Compiling svg v0.5.12 [INFO] [stderr] Checking tokenlock v0.3.1 [INFO] [stderr] Checking staticvec v0.10.5 [INFO] [stderr] Checking try-mutex v0.2.0 [INFO] [stderr] Checking atomic_ref v0.2.0 [INFO] [stderr] Compiling svgbob v0.4.1 [INFO] [stderr] Compiling svgbobdoc v0.2.3 [INFO] [stderr] Checking r3 v0.1.0 [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/int.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | if (MAX <= u8::MAX as u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 9 | if ({ MAX <= u8::MAX as u128 }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/int.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | } else if (MAX <= u16::MAX as u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 11 | } else if ({ MAX <= u16::MAX as u128 }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/int.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | } else if (MAX <= u32::MAX as u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 13 | } else if ({ MAX <= u32::MAX as u128 }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/int.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | } else if (MAX <= u64::MAX as u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 15 | } else if ({ MAX <= u64::MAX as u128 }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | if (LEN <= WORD_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 14 | if ({ LEN <= WORD_LEN }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | } else if (LEN <= WORD_LEN * WORD_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 16 | } else if ({ LEN <= WORD_LEN * WORD_LEN }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | } else if (LEN <= WORD_LEN * WORD_LEN * WORD_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 21 | } else if ({ LEN <= WORD_LEN * WORD_LEN * WORD_LEN }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | if (LEN == 0) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 38 | if ({ LEN == 0 }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | } else if (LEN <= 8 && LEN <= WORD_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 40 | } else if ({ LEN <= 8 && LEN <= WORD_LEN }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | } else if (LEN <= 16 && LEN <= WORD_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 42 | } else if ({ LEN <= 16 && LEN <= WORD_LEN }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | } else if (LEN <= 32 && LEN <= WORD_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 44 | } else if ({ LEN <= 32 && LEN <= WORD_LEN }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | } else if (LEN <= 64 && LEN <= WORD_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 46 | } else if ({ LEN <= 64 && LEN <= WORD_LEN }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/prio_bitmap.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | } else if (LEN <= 128 && LEN <= WORD_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 48 | } else if ({ LEN <= 128 && LEN <= WORD_LEN }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/for_times.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | type Bn = If! { if (I == 0) { B0 } else { B1 } }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 36 | type Bn = If! { if ({ I == 0 }) { B0 } else { B1 } }; [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r3-0.1.0/src/utils/for_times.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | if (I <= U_MAX) { WrappingU } else { Overflow } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: enclose the `const` expression in braces [INFO] [stdout] | [INFO] [stdout] 43 | if ({ I <= U_MAX }) { WrappingU } else { Overflow } [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r3` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "99448963b2072b4a0557c5070f03698014843bbd9c601d2631b069c87277f827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99448963b2072b4a0557c5070f03698014843bbd9c601d2631b069c87277f827", kill_on_drop: false }` [INFO] [stdout] 99448963b2072b4a0557c5070f03698014843bbd9c601d2631b069c87277f827