[DRAFT] Generate CGUs in parallel. by nnethercote · Pull Request #132711 · rust-lang/rust (original) (raw)

#16 3.004 Building wheels for collected packages: reuse
#16 3.005   Building wheel for reuse (pyproject.toml): started
#16 3.248   Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 3.249   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132720 sha256=026f3bb0f1aa8090b861fd0a0939cb1a782396d84c8aab7875096557d637a0f6
#16 3.249   Stored in directory: /tmp/pip-ephem-wheel-cache-0wiurp3j/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 3.252 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.641 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.641 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.7s
---
    Checking rustc_borrowck v0.0.0 (/checkout/compiler/rustc_borrowck)
error: this boolean expression contains a logic bug
   --> compiler/rustc_codegen_ssa/src/base.rs:739:36
    |
739 |     let mut pre_compiled_cgus = if true || tcx.sess.threads() > 1 {
    |
help: this expression can be optimized out by applying boolean operations to the outer expression
   --> compiler/rustc_codegen_ssa/src/base.rs:739:44
    |
    |
739 |     let mut pre_compiled_cgus = if true || tcx.sess.threads() > 1 {
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#overly_complex_bool_expr
    = note: `-D clippy::overly-complex-bool-expr` implied by `-D clippy::correctness`
    = help: to override `-D clippy::correctness` add `#[allow(clippy::overly_complex_bool_expr)]`