[INFO] cloning repository https://github.com/capnfabs/blitz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/capnfabs/blitz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcapnfabs%2Fblitz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcapnfabs%2Fblitz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8487618cb0ba1b04b293defc2f09a4e749b23f1 [INFO] checking capnfabs/blitz against 5f93549e108157f071a34f220b74b25690496aa1 for pr-162986 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcapnfabs%2Fblitz" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/capnfabs/blitz [INFO] finished tweaking git repo https://github.com/capnfabs/blitz [INFO] tweaked toml for git repo https://github.com/capnfabs/blitz written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/capnfabs/blitz on toolchain 5f93549e108157f071a34f220b74b25690496aa1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/capnfabs/blitz already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d [INFO] running `Command { std: "docker" "start" "4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking deflate v0.8.3 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:243:55 [INFO] [stdout] | [INFO] [stdout] 243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gif v0.10.3 [INFO] [stdout] error[E0277]: no implementation for `usize & u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:243:53 [INFO] [stdout] | [INFO] [stdout] 243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^ no implementation for `usize & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `usize` [INFO] [stdout] help: the following other types implement trait `BitAnd` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&usize` implements `BitAnd` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `BitAnd<&usize>` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&usize` implements `BitAnd` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/bit.rs:174:8 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `BitAnd` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/bit.rs:187:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] = note: this error originates in the macro `forward_ref_binop` which comes from the expansion of the macro `bitand_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | let (q, r) = shift.ceil_divmod(Limb::BITS); [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `u32` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let (q, r) = shift.ceil_divmod(Limb::BITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `ceil_divmod` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/util/num.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn ceil_divmod(self, y: Self) -> (Self, i32) { [INFO] [stdout] | ^^^^^^^^^^^ ------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 261 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/bigint.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let bytes = bits / Limb::BITS; [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/bigint.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let bytes = bits / Limb::BITS; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking approx v0.3.2 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1045:42 [INFO] [stdout] | [INFO] [stdout] 1045 | let mut count = index.saturating_mul(Limb::BITS); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/uint_macros.rs:2614:21 [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1457:4 [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1481:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] note: the `saturating_mul` call is resolved to the method in `static_assertions::core::num::`, shadowing the method of the same name on trait `util::num::Integer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1045:27 [INFO] [stdout] | [INFO] [stdout] 1045 | let mut count = index.saturating_mul(Limb::BITS); [INFO] [stdout] | ^^^^^^^^^^^^^^ refers to `static_assertions::core::num::::saturating_mul` [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1045 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you might have meant to call the other method; you can use the fully-qualified path to call it explicitly [INFO] [stdout] | [INFO] [stdout] 1045 - let mut count = index.saturating_mul(Limb::BITS); [INFO] [stdout] 1045 + let mut count = <_ as util::num::Integer>::saturating_mul(index, Limb::BITS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking png v0.16.7 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1060:28 [INFO] [stdout] | [INFO] [stdout] 1060 | Limb::BITS.checked_mul(x.len()) [INFO] [stdout] | ----------- ^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/uint_macros.rs:1359:21 [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1295:4 [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1319:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] note: the `checked_mul` call is resolved to the method in `static_assertions::core::num::`, shadowing the method of the same name on trait `util::num::Integer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1060:16 [INFO] [stdout] | [INFO] [stdout] 1060 | Limb::BITS.checked_mul(x.len()) [INFO] [stdout] | ^^^^^^^^^^^ refers to `static_assertions::core::num::::checked_mul` [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1060 | Limb::BITS.checked_mul(x.len().try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you might have meant to call the other method; you can use the fully-qualified path to call it explicitly [INFO] [stdout] | [INFO] [stdout] 1060 - Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1060 + <_ as util::num::Integer>::checked_mul(Limb::BITS, x.len()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1061:22 [INFO] [stdout] | [INFO] [stdout] 1061 | .map(|v| v - nlz) [INFO] [stdout] | ^^^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1061:20 [INFO] [stdout] | [INFO] [stdout] 1061 | .map(|v| v - nlz) [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] help: the following other types implement trait `Sub` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] = note: this error originates in the macro `forward_ref_binop` which comes from the expansion of the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1062:20 [INFO] [stdout] | [INFO] [stdout] 1056 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- this return type influences the call expression's return type [INFO] [stdout] ... [INFO] [stdout] 1062 | .unwrap_or(usize::max_value()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `usize` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1060:5 [INFO] [stdout] | [INFO] [stdout] 1060 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1061 | | .map(|v| v - nlz) [INFO] [stdout] 1062 | | .unwrap_or(usize::max_value()) [INFO] [stdout] | |____________________------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/option.rs:1038:17 [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1062 | .unwrap_or(usize::max_value().try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1060:5 [INFO] [stdout] | [INFO] [stdout] 1056 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1060 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1061 | | .map(|v| v - nlz) [INFO] [stdout] 1062 | | .unwrap_or(usize::max_value()) [INFO] [stdout] | |______________________________________^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1062 | .unwrap_or(usize::max_value()).try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1087:23 [INFO] [stdout] | [INFO] [stdout] 1087 | debug_assert!(n < bits && n != 0); [INFO] [stdout] | - ^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1087 | debug_assert!(n < bits.try_into().unwrap() && n != 0); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1094:25 [INFO] [stdout] | [INFO] [stdout] 1094 | let lshift = bits - n; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1094:23 [INFO] [stdout] | [INFO] [stdout] 1094 | let lshift = bits - n; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] help: the following other types implement trait `Sub` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] = note: this error originates in the macro `forward_ref_binop` which comes from the expansion of the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1135:19 [INFO] [stdout] | [INFO] [stdout] 1135 | let rem = n % bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot calculate the remainder of `usize` divided by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1135:17 [INFO] [stdout] | [INFO] [stdout] 1135 | let rem = n % bits; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Rem`: [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem>` [INFO] [stdout] `usize` implements `Rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1136:19 [INFO] [stdout] | [INFO] [stdout] 1136 | let div = n / bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1136:17 [INFO] [stdout] | [INFO] [stdout] 1136 | let div = n / bits; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1192:23 [INFO] [stdout] | [INFO] [stdout] 1192 | debug_assert!(n < bits); [INFO] [stdout] | - ^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1192 | debug_assert!(n < bits.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1202:25 [INFO] [stdout] | [INFO] [stdout] 1202 | let rshift = bits - n; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1202:23 [INFO] [stdout] | [INFO] [stdout] 1202 | let rshift = bits - n; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] help: the following other types implement trait `Sub` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] = note: this error originates in the macro `forward_ref_binop` which comes from the expansion of the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1254:19 [INFO] [stdout] | [INFO] [stdout] 1254 | let rem = n % bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot calculate the remainder of `usize` divided by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1254:17 [INFO] [stdout] | [INFO] [stdout] 1254 | let rem = n % bits; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Rem`: [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem>` [INFO] [stdout] `usize` implements `Rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1255:19 [INFO] [stdout] | [INFO] [stdout] 1255 | let div = n / bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1255:17 [INFO] [stdout] | [INFO] [stdout] 1255 | let div = n / bits; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:2066:27 [INFO] [stdout] | [INFO] [stdout] 2066 | let rs = Limb::BITS - s; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.4.6/src/atof/algorithm/math.rs:2066:25 [INFO] [stdout] | [INFO] [stdout] 2066 | let rs = Limb::BITS - s; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] help: the following other types implement trait `Sub` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] = note: this error originates in the macro `forward_ref_binop` which comes from the expansion of the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexical-core` (lib) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.3.0/src/biguint.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found reference `&_` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/uint_macros.rs:3817:21 [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1327:4 [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1351:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] note: the `div_ceil` call is resolved to the method in `core::num::`, shadowing the method of the same name on trait `num_integer::Integer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.3.0/src/biguint.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] | ^^^^^^^^ refers to `core::num::::div_ceil` [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 198 - .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] 198 + .div_ceil(big_digit::BITS.into()) [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the other method; you can use the fully-qualified path to call it explicitly [INFO] [stdout] | [INFO] [stdout] 196 ~ let big_digits = <_ as num_integer::Integer>::div_ceil(&(v.len() as u64) [INFO] [stdout] 197 ~ .saturating_mul(bits.into()), &big_digit::BITS.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.3.0/src/biguint.rs:1700:50 [INFO] [stdout] | [INFO] [stdout] 1700 | let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] | -------- ^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/uint_macros.rs:3817:21 [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1327:4 [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1351:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] note: the `div_ceil` call is resolved to the method in `core::num::`, shadowing the method of the same name on trait `num_integer::Integer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.3.0/src/biguint.rs:1700:41 [INFO] [stdout] | [INFO] [stdout] 1700 | let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] | ^^^^^^^^ refers to `core::num::::div_ceil` [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 1700 - let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] 1700 + let root_scale = extra_bits.div_ceil(n64); [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the other method; you can use the fully-qualified path to call it explicitly [INFO] [stdout] | [INFO] [stdout] 1700 - let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] 1700 + let root_scale = <_ as num_integer::Integer>::div_ceil(&extra_bits, &n64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.3.0/src/biguint.rs:2119:19 [INFO] [stdout] | [INFO] [stdout] 2119 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/uint_macros.rs:3817:21 [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1327:4 [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1351:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] note: the `div_ceil` call is resolved to the method in `core::num::`, shadowing the method of the same name on trait `num_integer::Integer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.3.0/src/biguint.rs:2119:10 [INFO] [stdout] | [INFO] [stdout] 2119 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | ^^^^^^^^ refers to `core::num::::div_ceil` [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 2119 - .div_ceil(&u64::from(bits)) [INFO] [stdout] 2119 + .div_ceil(u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the other method; you can use the fully-qualified path to call it explicitly [INFO] [stdout] | [INFO] [stdout] 2117 ~ let digits = <_ as num_integer::Integer>::div_ceil(&u [INFO] [stdout] 2118 ~ .bits(), &u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.3.0/src/biguint.rs:2147:19 [INFO] [stdout] | [INFO] [stdout] 2147 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/uint_macros.rs:3817:21 [INFO] [stdout] --> /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1327:4 [INFO] [stdout] ::: /rustc/5f93549e108157f071a34f220b74b25690496aa1/library/core/src/num/mod.rs:1351:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] note: the `div_ceil` call is resolved to the method in `core::num::`, shadowing the method of the same name on trait `num_integer::Integer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.3.0/src/biguint.rs:2147:10 [INFO] [stdout] | [INFO] [stdout] 2147 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | ^^^^^^^^ refers to `core::num::::div_ceil` [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 2147 - .div_ceil(&u64::from(bits)) [INFO] [stdout] 2147 + .div_ceil(u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the other method; you can use the fully-qualified path to call it explicitly [INFO] [stdout] | [INFO] [stdout] 2145 ~ let digits = <_ as num_integer::Integer>::div_ceil(&u [INFO] [stdout] 2146 ~ .bits(), &u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-bigint` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d", kill_on_drop: false }` [INFO] [stdout] 4c60f80e97450d37cd77a2e05d9942a6ba782a10c9b9ae5ea274c1560052b12d