[INFO] fetching crate r3_port_riscv 0.1.0... [INFO] checking r3_port_riscv-0.1.0 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] extracting crate r3_port_riscv 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate r3_port_riscv 0.1.0 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate r3_port_riscv 0.1.0 [INFO] finished tweaking crates.io crate r3_port_riscv 0.1.0 [INFO] tweaked toml for crates.io crate r3_port_riscv 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 112271bebe59e379945f2935b47ad8ee09855888b2f55e59b9db08e5f4a89d01 [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" "112271bebe59e379945f2935b47ad8ee09855888b2f55e59b9db08e5f4a89d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "112271bebe59e379945f2935b47ad8ee09855888b2f55e59b9db08e5f4a89d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112271bebe59e379945f2935b47ad8ee09855888b2f55e59b9db08e5f4a89d01", kill_on_drop: false }` [INFO] [stdout] 112271bebe59e379945f2935b47ad8ee09855888b2f55e59b9db08e5f4a89d01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fd0c5103ba36945868b8347a2e710e1337a758897e69a4b9d5529d2e2d090eb [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" "9fd0c5103ba36945868b8347a2e710e1337a758897e69a4b9d5529d2e2d090eb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pom v1.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling svg v0.5.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking staticvec v0.10.5 [INFO] [stderr] Checking assert_matches v1.4.0 [INFO] [stderr] Checking tokenlock v0.3.1 [INFO] [stderr] Checking tock-registers v0.5.0 [INFO] [stderr] Checking r0 v1.0.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking register v0.5.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling svgbob v0.4.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Compiling svgbobdoc v0.2.3 [INFO] [stderr] Compiling riscv-rt v0.8.0 [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] [stderr] Compiling riscv-rt-macros v0.1.6 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9fd0c5103ba36945868b8347a2e710e1337a758897e69a4b9d5529d2e2d090eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd0c5103ba36945868b8347a2e710e1337a758897e69a4b9d5529d2e2d090eb", kill_on_drop: false }` [INFO] [stdout] 9fd0c5103ba36945868b8347a2e710e1337a758897e69a4b9d5529d2e2d090eb