[INFO] cloning repository https://github.com/majiayu000/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/majiayu000/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajiayu000%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajiayu000%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 811d9535d12a175e225c20604c1da14ab9d5fda2 [INFO] checking majiayu000/rust against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajiayu000%2Frust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/majiayu000/rust [INFO] finished tweaking git repo https://github.com/majiayu000/rust [INFO] tweaked toml for git repo https://github.com/majiayu000/rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/majiayu000/rust on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/majiayu000/rust 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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_assertions v0.3.4 [INFO] [stderr] Downloaded neutrino v0.3.1 [INFO] [stderr] Downloaded bytecount v0.6.0 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded webview-sys v0.1.4 [INFO] [stderr] Downloaded web-view v0.4.5 [INFO] [stderr] Downloaded rsass v0.11.2 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] [stderr] Downloaded nom v5.1.1 [INFO] [stderr] Downloaded lexical-core v0.6.7 [INFO] [stderr] Downloaded json v0.11.15 [INFO] [stderr] Downloaded strfmt v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e78680ddea48f6a1e7fd26a547b65c415186233e4160390119df5fec158bb39 [INFO] running `Command { std: "docker" "start" "-a" "1e78680ddea48f6a1e7fd26a547b65c415186233e4160390119df5fec158bb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e78680ddea48f6a1e7fd26a547b65c415186233e4160390119df5fec158bb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e78680ddea48f6a1e7fd26a547b65c415186233e4160390119df5fec158bb39", kill_on_drop: false }` [INFO] [stdout] 1e78680ddea48f6a1e7fd26a547b65c415186233e4160390119df5fec158bb39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbccaf3ae2145aa7f47ad4125ab0f1ea984c05c27bfa8cca1d147dc0a282ddee [INFO] running `Command { std: "docker" "start" "-a" "bbccaf3ae2145aa7f47ad4125ab0f1ea984c05c27bfa8cca1d147dc0a282ddee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bytecount v0.6.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.6.7/src/atof/algorithm/bhcomp.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | 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.6.7/src/atof/algorithm/bhcomp.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | 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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.6.7/src/atof/algorithm/bigcomp.rs:157:55 [INFO] [stdout] | [INFO] [stdout] 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `usize & u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.6.7/src/atof/algorithm/bigcomp.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/bit.rs:174:8 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `BitAnd` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/bit.rs:187:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&usize` implements `BitAnd` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `BitAnd<&usize>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&usize` implements `BitAnd` [INFO] [stdout] = note: this error originates in 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.6.7/src/atof/algorithm/bigcomp.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | 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.6.7/src/atof/algorithm/bigcomp.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | 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.6.7/src/util/num.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | 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] 175 | 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.6.7/src/atof/algorithm/math.rs:1049:42 [INFO] [stdout] | [INFO] [stdout] 1049 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/uint_macros.rs:2443:21 [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/mod.rs:1396:4 [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/mod.rs:1420:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [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] 1049 | let mut count = index.saturating_mul(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.6.7/src/atof/algorithm/math.rs:1064:28 [INFO] [stdout] | [INFO] [stdout] 1064 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/uint_macros.rs:1214:21 [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/mod.rs:1239:4 [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/mod.rs:1263:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [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] 1064 | Limb::BITS.checked_mul(x.len().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.6.7/src/atof/algorithm/math.rs:1065:22 [INFO] [stdout] | [INFO] [stdout] 1065 | .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.6.7/src/atof/algorithm/math.rs:1065:20 [INFO] [stdout] | [INFO] [stdout] 1065 | .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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] = note: this error originates in 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.6.7/src/atof/algorithm/math.rs:1066:20 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- this return type influences the call expression's return type [INFO] [stdout] ... [INFO] [stdout] 1066 | .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.6.7/src/atof/algorithm/math.rs:1064:5 [INFO] [stdout] | [INFO] [stdout] 1064 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1065 | | .map(|v| v - nlz) [INFO] [stdout] 1066 | | .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/a611f2a14e38407ec6717a86a01424ee6fc80762/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] 1066 | .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.6.7/src/atof/algorithm/math.rs:1064:5 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1064 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1065 | | .map(|v| v - nlz) [INFO] [stdout] 1066 | | .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] 1066 | .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.6.7/src/atof/algorithm/math.rs:1091:23 [INFO] [stdout] | [INFO] [stdout] 1091 | 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] 1091 | 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.6.7/src/atof/algorithm/math.rs:1098:25 [INFO] [stdout] | [INFO] [stdout] 1098 | 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.6.7/src/atof/algorithm/math.rs:1098:23 [INFO] [stdout] | [INFO] [stdout] 1098 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] = note: this error originates in 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.6.7/src/atof/algorithm/math.rs:1140:19 [INFO] [stdout] | [INFO] [stdout] 1140 | 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.6.7/src/atof/algorithm/math.rs:1140:17 [INFO] [stdout] | [INFO] [stdout] 1140 | 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.6.7/src/atof/algorithm/math.rs:1141:19 [INFO] [stdout] | [INFO] [stdout] 1141 | 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.6.7/src/atof/algorithm/math.rs:1141:17 [INFO] [stdout] | [INFO] [stdout] 1141 | 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.6.7/src/atof/algorithm/math.rs:1197:23 [INFO] [stdout] | [INFO] [stdout] 1197 | 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] 1197 | 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.6.7/src/atof/algorithm/math.rs:1207:25 [INFO] [stdout] | [INFO] [stdout] 1207 | 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.6.7/src/atof/algorithm/math.rs:1207:23 [INFO] [stdout] | [INFO] [stdout] 1207 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] = note: this error originates in 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.6.7/src/atof/algorithm/math.rs:1259:19 [INFO] [stdout] | [INFO] [stdout] 1259 | 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.6.7/src/atof/algorithm/math.rs:1259:17 [INFO] [stdout] | [INFO] [stdout] 1259 | 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.6.7/src/atof/algorithm/math.rs:1260:19 [INFO] [stdout] | [INFO] [stdout] 1260 | 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.6.7/src/atof/algorithm/math.rs:1260:17 [INFO] [stdout] | [INFO] [stdout] 1260 | 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.6.7/src/atof/algorithm/math.rs:2071:27 [INFO] [stdout] | [INFO] [stdout] 2071 | 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.6.7/src/atof/algorithm/math.rs:2071:25 [INFO] [stdout] | [INFO] [stdout] 2071 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] = note: this error originates in the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling webview-sys v0.1.4 [INFO] [stderr] Checking urlencoding v1.0.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/lexical-core-0.6.7/src/atof/algorithm/bhcomp.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | 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.6.7/src/atof/algorithm/bhcomp.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | 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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.6.7/src/atof/algorithm/bigcomp.rs:157:55 [INFO] [stdout] | [INFO] [stdout] 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `usize & u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.6.7/src/atof/algorithm/bigcomp.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/bit.rs:174:8 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `BitAnd` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/bit.rs:187:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&usize` implements `BitAnd` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `BitAnd<&usize>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&usize` implements `BitAnd` [INFO] [stdout] = note: this error originates in 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.6.7/src/atof/algorithm/bigcomp.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | 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.6.7/src/atof/algorithm/bigcomp.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | 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.6.7/src/util/num.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | 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] 175 | 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.6.7/src/atof/algorithm/math.rs:1049:42 [INFO] [stdout] | [INFO] [stdout] 1049 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/uint_macros.rs:2443:21 [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/mod.rs:1396:4 [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/mod.rs:1420:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [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] 1049 | let mut count = index.saturating_mul(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.6.7/src/atof/algorithm/math.rs:1064:28 [INFO] [stdout] | [INFO] [stdout] 1064 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/uint_macros.rs:1214:21 [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/mod.rs:1239:4 [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/num/mod.rs:1263:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [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] 1064 | Limb::BITS.checked_mul(x.len().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.6.7/src/atof/algorithm/math.rs:1065:22 [INFO] [stdout] | [INFO] [stdout] 1065 | .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.6.7/src/atof/algorithm/math.rs:1065:20 [INFO] [stdout] | [INFO] [stdout] 1065 | .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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] = note: this error originates in 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.6.7/src/atof/algorithm/math.rs:1066:20 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- this return type influences the call expression's return type [INFO] [stdout] ... [INFO] [stdout] 1066 | .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.6.7/src/atof/algorithm/math.rs:1064:5 [INFO] [stdout] | [INFO] [stdout] 1064 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1065 | | .map(|v| v - nlz) [INFO] [stdout] 1066 | | .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/a611f2a14e38407ec6717a86a01424ee6fc80762/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] 1066 | .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.6.7/src/atof/algorithm/math.rs:1064:5 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1064 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1065 | | .map(|v| v - nlz) [INFO] [stdout] 1066 | | .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] 1066 | .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.6.7/src/atof/algorithm/math.rs:1091:23 [INFO] [stdout] | [INFO] [stdout] 1091 | 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] 1091 | 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.6.7/src/atof/algorithm/math.rs:1098:25 [INFO] [stdout] | [INFO] [stdout] 1098 | 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.6.7/src/atof/algorithm/math.rs:1098:23 [INFO] [stdout] | [INFO] [stdout] 1098 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] = note: this error originates in 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.6.7/src/atof/algorithm/math.rs:1140:19 [INFO] [stdout] | [INFO] [stdout] 1140 | 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.6.7/src/atof/algorithm/math.rs:1140:17 [INFO] [stdout] | [INFO] [stdout] 1140 | 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.6.7/src/atof/algorithm/math.rs:1141:19 [INFO] [stdout] | [INFO] [stdout] 1141 | 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.6.7/src/atof/algorithm/math.rs:1141:17 [INFO] [stdout] | [INFO] [stdout] 1141 | 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.6.7/src/atof/algorithm/math.rs:1197:23 [INFO] [stdout] | [INFO] [stdout] 1197 | 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] 1197 | 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.6.7/src/atof/algorithm/math.rs:1207:25 [INFO] [stdout] | [INFO] [stdout] 1207 | 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.6.7/src/atof/algorithm/math.rs:1207:23 [INFO] [stdout] | [INFO] [stdout] 1207 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] = note: this error originates in 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.6.7/src/atof/algorithm/math.rs:1259:19 [INFO] [stdout] | [INFO] [stdout] 1259 | 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.6.7/src/atof/algorithm/math.rs:1259:17 [INFO] [stdout] | [INFO] [stdout] 1259 | 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.6.7/src/atof/algorithm/math.rs:1260:19 [INFO] [stdout] | [INFO] [stdout] 1260 | 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.6.7/src/atof/algorithm/math.rs:1260:17 [INFO] [stdout] | [INFO] [stdout] 1260 | 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.6.7/src/atof/algorithm/math.rs:2071:27 [INFO] [stdout] | [INFO] [stdout] 2071 | 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.6.7/src/atof/algorithm/math.rs:2071:25 [INFO] [stdout] | [INFO] [stdout] 2071 | 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/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:210:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/ops/arith.rs:225:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sub<&u32>` [INFO] [stdout] ::: /rustc/a611f2a14e38407ec6717a86a01424ee6fc80762/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u32` implements `Sub` [INFO] [stdout] = note: this error originates in the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "bbccaf3ae2145aa7f47ad4125ab0f1ea984c05c27bfa8cca1d147dc0a282ddee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbccaf3ae2145aa7f47ad4125ab0f1ea984c05c27bfa8cca1d147dc0a282ddee", kill_on_drop: false }` [INFO] [stdout] bbccaf3ae2145aa7f47ad4125ab0f1ea984c05c27bfa8cca1d147dc0a282ddee