[INFO] cloning repository https://github.com/kenaniah/ruby-lexer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kenaniah/ruby-lexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenaniah%2Fruby-lexer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenaniah%2Fruby-lexer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b5b8651a574616f063c411065b17f61ff506a1b [INFO] checking kenaniah/ruby-lexer against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenaniah%2Fruby-lexer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kenaniah/ruby-lexer on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kenaniah/ruby-lexer [INFO] finished tweaking git repo https://github.com/kenaniah/ruby-lexer [INFO] tweaked toml for git repo https://github.com/kenaniah/ruby-lexer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kenaniah/ruby-lexer 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" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking kenaniah/ruby-lexer against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenaniah%2Fruby-lexer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kenaniah/ruby-lexer on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kenaniah/ruby-lexer [INFO] finished tweaking git repo https://github.com/kenaniah/ruby-lexer [INFO] tweaked toml for git repo https://github.com/kenaniah/ruby-lexer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kenaniah/ruby-lexer 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" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "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 nom v6.0.0-alpha1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4728ec58fea057b751543c6b6da2e14415e7a231ad2f20782606aa06cba9c6f3 [INFO] running `Command { std: "docker" "start" "-a" "4728ec58fea057b751543c6b6da2e14415e7a231ad2f20782606aa06cba9c6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4728ec58fea057b751543c6b6da2e14415e7a231ad2f20782606aa06cba9c6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4728ec58fea057b751543c6b6da2e14415e7a231ad2f20782606aa06cba9c6f3", kill_on_drop: false }` [INFO] [stdout] 4728ec58fea057b751543c6b6da2e14415e7a231ad2f20782606aa06cba9c6f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb5632abb658c9023ca2cdc4d4735e2838650dbefedf7e42ab8fc14e4d503c6f [INFO] running `Command { std: "docker" "start" "-a" "fb5632abb658c9023ca2cdc4d4735e2838650dbefedf7e42ab8fc14e4d503c6f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking codemap v0.1.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v6.0.0-alpha1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/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.7.4/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.7.4/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.7.4/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] `&usize` implements `BitAnd` [INFO] [stdout] `&usize` implements `BitAnd` [INFO] [stdout] `usize` implements `BitAnd<&usize>` [INFO] [stdout] `usize` implements `BitAnd` [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.7.4/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.7.4/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.7.4/src/util/num.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | 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.7.4/src/atof/algorithm/math.rs:1043:42 [INFO] [stdout] | [INFO] [stdout] 1043 | 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/1f308f12738d8cc40bb23bf0c8114b37c164bb49/library/core/src/num/mod.rs:1228:5 [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] 1043 | 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.7.4/src/atof/algorithm/math.rs:1058:28 [INFO] [stdout] | [INFO] [stdout] 1058 | 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/1f308f12738d8cc40bb23bf0c8114b37c164bb49/library/core/src/num/mod.rs:1108:5 [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] 1058 | 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.7.4/src/atof/algorithm/math.rs:1059:22 [INFO] [stdout] | [INFO] [stdout] 1059 | .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.7.4/src/atof/algorithm/math.rs:1059:20 [INFO] [stdout] | [INFO] [stdout] 1059 | .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] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [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.7.4/src/atof/algorithm/math.rs:1060:20 [INFO] [stdout] | [INFO] [stdout] 1060 | .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.7.4/src/atof/algorithm/math.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1058 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1059 | | .map(|v| v - nlz) [INFO] [stdout] 1060 | | .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/1f308f12738d8cc40bb23bf0c8114b37c164bb49/library/core/src/option.rs:1023:12 [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 | .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.7.4/src/atof/algorithm/math.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1058 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1059 | | .map(|v| v - nlz) [INFO] [stdout] 1060 | | .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] 1060 | .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.7.4/src/atof/algorithm/math.rs:1085:23 [INFO] [stdout] | [INFO] [stdout] 1085 | 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] 1085 | 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.7.4/src/atof/algorithm/math.rs:1092:25 [INFO] [stdout] | [INFO] [stdout] 1092 | 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.7.4/src/atof/algorithm/math.rs:1092:23 [INFO] [stdout] | [INFO] [stdout] 1092 | 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] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [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.7.4/src/atof/algorithm/math.rs:1134:19 [INFO] [stdout] | [INFO] [stdout] 1134 | 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.7.4/src/atof/algorithm/math.rs:1134:17 [INFO] [stdout] | [INFO] [stdout] 1134 | 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.7.4/src/atof/algorithm/math.rs:1135:19 [INFO] [stdout] | [INFO] [stdout] 1135 | 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.7.4/src/atof/algorithm/math.rs:1135:17 [INFO] [stdout] | [INFO] [stdout] 1135 | 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.7.4/src/atof/algorithm/math.rs:1191:23 [INFO] [stdout] | [INFO] [stdout] 1191 | 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] 1191 | 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.7.4/src/atof/algorithm/math.rs:1201:25 [INFO] [stdout] | [INFO] [stdout] 1201 | 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.7.4/src/atof/algorithm/math.rs:1201:23 [INFO] [stdout] | [INFO] [stdout] 1201 | 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] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [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.7.4/src/atof/algorithm/math.rs:1253:19 [INFO] [stdout] | [INFO] [stdout] 1253 | 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.7.4/src/atof/algorithm/math.rs:1253:17 [INFO] [stdout] | [INFO] [stdout] 1253 | 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.7.4/src/atof/algorithm/math.rs:1254:19 [INFO] [stdout] | [INFO] [stdout] 1254 | 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.7.4/src/atof/algorithm/math.rs:1254:17 [INFO] [stdout] | [INFO] [stdout] 1254 | 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.7.4/src/atof/algorithm/math.rs:2065:27 [INFO] [stdout] | [INFO] [stdout] 2065 | 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.7.4/src/atof/algorithm/math.rs:2065:25 [INFO] [stdout] | [INFO] [stdout] 2065 | 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] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fb5632abb658c9023ca2cdc4d4735e2838650dbefedf7e42ab8fc14e4d503c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5632abb658c9023ca2cdc4d4735e2838650dbefedf7e42ab8fc14e4d503c6f", kill_on_drop: false }` [INFO] [stdout] fb5632abb658c9023ca2cdc4d4735e2838650dbefedf7e42ab8fc14e4d503c6f